From mcp2004 at mail.ru Thu Dec 1 04:11:42 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 14:11:42 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <4ED62278.3040000@colbyconsulting.com> References: <4ED62278.3040000@colbyconsulting.com> Message-ID: Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 ?Ice Cream Sandwich? on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... From rusty.hammond at cpiqpc.com Thu Dec 1 08:59:53 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 1 Dec 2011 08:59:53 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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 Thu Dec 1 09:16:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 10:16:07 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4ED79A37.70008@colbyconsulting.com> LOL, yea what a scandal! 8o John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 9:59 AM, Rusty Hammond wrote: > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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 Thu Dec 1 10:41:22 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 08:41:22 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. With more Linux packages spreading out in the market, not only will it directly threaten Windows, at least to a small degree but it gives Linux a lot more of free advertisement and before Android Linux had virtually none. That could be very dangerous to Microsoft's previous unchallenged PC domination. But we shall see...If Microsoft released its top versions of Windows at say $100 they could halt the Linux advance but then they would be annoying the PC manufactures market from which they make most of their money. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 2:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- 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 Dec 1 11:05:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 09:05:18 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> The problem is that so far there is no way to remove it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 1 11:08:16 2011 From: john at winhaven.net (John Bartow) Date: Thu, 1 Dec 2011 11:08:16 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. From garykjos at gmail.com Thu Dec 1 11:09:07 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 1 Dec 2011 11:09:07 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- Gary Kjos garykjos at gmail.com From accessd at shaw.ca Thu Dec 1 12:00:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:00:33 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> In all the box stores around here, Staples, Future Shop, Best Buy and even Costco, the last price I saw (yesterday) was $379 plus taxes which puts it up to about $420. There are upgrades from Pro versions to Ultimate versions which can be had for a mere $189 plus tax; $210 You will have to send me one of these super cheap copies. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, December 01, 2011 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- 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 accessd at shaw.ca Thu Dec 1 12:08:39 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:08:39 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: The client wants a full version of Office, word and excel for cheap and they have been hearing how fast a Linux server is. Two years ago they would have never said such a thing. Linux, if they even cared about it, was just for geeks. Now they are asking. Android has changed all that. I have not decided what to tell them yet but if dollars are a concern stick with XP until you need new computers would be my first thought. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 01, 2011 9:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu Dec 1 12:26:12 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 1 Dec 2011 10:26:12 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: OEM versions are running 189 at New egg: http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&N=100006907&isNodeId=1&Description=windows+7+ultimate&x=0&y=0 2011/12/1 Jim Lawrence > In all the box stores around here, Staples, Future Shop, Best Buy and even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will it > > directly threaten Windows, at least to a small degree but it gives Linux > a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows at > say > > $100 they could halt the Linux advance but then they would be annoying > the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > > Cream Sandwich" on x86?: > > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. Dictating code to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating with > >> >> computers by using a broad range of both hands gestures and voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 fuller.artful at gmail.com Thu Dec 1 13:00:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Dec 2011 14:00:51 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: Assuming the availability of a big backup disk (very cheap now, 1TB for less than $100), then I'd opt for DriveImaging the Win 7 boot disk and then replacing the OS with Linux Mint 12 or Ubuntu 11.10, and after that mounging XP and/or Win7 as VMs inside Oracle VirtualBox. In fact that is precisely my plan to execute over the Christmas holidays. I'm still teaching myself C#, with the help of several books, and that's one VM; another is dedicated to my sole remaining Access+Word+Excel=Office Automation client, and there's an Ubuntu VM too. I don't run them all at once, of course; just when I need to or want to. BTW, I think that Mint 12 is pretty slick! A. From hans.andersen at phulse.com Thu Dec 1 13:32:27 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 11:32:27 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> Message-ID: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Dec 1 15:11:18 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Dec 2011 16:11:18 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> From tinanfields at torchlake.com Thu Dec 1 15:43:19 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 16:43:19 -0500 Subject: [AccessD] Paint.net In-Reply-To: <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4ED7F4F7.5030104@torchlake.com> When I try to find paint.net for download, I find GIMP. Are they the same thing? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 11/27/2011 10:53 PM, Darryl Collins wrote: > Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one ! :) thanks. > > Will download and have a look. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Monday, 28 November 2011 1:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Paint.net > > Paint.Net looks like a nice program...I have never heard of it before. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, November 27, 2011 5:40 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Paint.net > > I have to do reports over actual pictures of state documents. Of course the copy is very light. Is it possible to darken the washed out text with Paint.net without also darkening the background. IOW increase the contrast but more than that actually make the grey more black? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Dec 1 15:59:09 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 01 Dec 2011 16:59:09 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: <000601ccb074$74bab5f0$5e3021d0$@net> The "ultimate" question: difference between it and the Pro version ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, December 01, 2011 1:01 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > In all the box stores around here, Staples, Future Shop, Best Buy and > even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts > it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be > had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always > having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install > Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their > case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will > it > > directly threaten Windows, at least to a small degree but it gives > Linux a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows > at > say > > $100 they could halt the Linux advance but then they would be > annoying the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 > "Ice > > Cream Sandwich" on x86?: > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an- > android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. > ?My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. ?IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code > to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using > mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally > mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating > with > >> >> computers by using a broad range of both hands gestures and > voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and > 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 jwcolby at colbyconsulting.com Thu Dec 1 16:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 17:02:29 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED7F975.7010407@colbyconsulting.com> Not to my knowledge. http://www.paint.net/ John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 4:43 PM, Tina Norris Fields wrote: > When I try to find paint.net for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: >> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >> ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >> it possible to darken the washed out text with Paint.net without also darkening the background. >> IOW increase the contrast but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> From dbdoug at gmail.com Thu Dec 1 16:03:50 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 14:03:50 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: Try http://www.getpaint.net/index.html Doug On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net for download, I find GIMP. Are they the > same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course >> the copy is very light. Is it possible to darken the washed out text with >> Paint.net without also darkening the background. IOW increase the contrast >> but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From charlotte.foust at gmail.com Thu Dec 1 17:00:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Dec 2011 15:00:12 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: The download says paint.net but then leads to a gimp download and a site that WOT is less than thrilled with. What's going on? Charlotte Foust On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net > > for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> From hans.andersen at phulse.com Thu Dec 1 17:01:28 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 15:01:28 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F975.7010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED7F975.7010407@colbyconsulting.com> Message-ID: <8F312CA6-84B6-4AEA-954B-372468762FE4@phulse.com> Paint.Net started as a little home project (in 2004) in learning the .NET Framework around the time that Microsoft was really starting to hype .NET. It eventually evolved into a sort of showcase and proof-of-concept of a decent and strictly .NET application. The Gimp has a much longer history, beginning in the mid 90's, as an image editor on Unix. The main difference between the two is that the Gimp has more advanced features and also is cross platform (Windows, Linux, Mac). Paint.Net isn't quite as feature rich and only runs on Windows (I guess Windows XP and above, if you have .NET installed), but it also has more eye candy and a flashier interface (which can be a bit distracting in my opinion though). Popularity-wise, I'd have to say that the Gimp has a bigger user base, but thats not saying much since they are both vastly dwarfed by Photoshop. - Hans On 2011-12-01, at 2:02 PM, jwcolby wrote: > Not to my knowledge. > > http://www.paint.net/ > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 4:43 PM, Tina Norris Fields wrote: >> When I try to find paint.net for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >>> ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >>> Of Jim Lawrence >>> Sent: Monday, 28 November 2011 1:36 PM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Paint.net >>> >>> Paint.Net looks like a nice program...I have never heard of it before. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Sunday, November 27, 2011 5:40 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Paint.net >>> >>> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >>> it possible to darken the washed out text with Paint.net without also darkening the background. >>> IOW increase the contrast but more than that actually make the grey more black? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:09:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:09:11 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> Message-ID: <776135A40CBB4EC1B10997D95CFA09BC@creativesystemdesigns.com> Hi All: Here is a vid on how to go through the steps to install the latest 'gingerbread' cyanogenmod 7 update. It does not even require the product to be 'unlocked' which in some cases invalidates the operator/Cell Service Provider agreement. The modification is also not in violation of Google's agreement with reference to proprietary components...if you do have those new components, they can backed up and restored without violating any licensing agreements. (I have not looked up the methods to properly backup and restore proprietary components, yet.) http://www.youtube.com/watch?v=z3thA9OWQc8 Sorry, to say there is not an 'ice-cream sandwich' version available, yet but, in most cases, unless you have the latest hardware, there are insufficient resources to install and run that version. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Thursday, December 01, 2011 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:12:57 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> Message-ID: Of course, so lowering the price of their separate or non-OEM packages would not adversely affect their OEM hardware distributors, as the user would most likely have to buy new hardware anyway. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 01, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Dec 1 17:20:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 18:20:53 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED80BD5.8080904@torchlake.com> Well, I persevered. The links provided by John and Doug took me to the same place where all the big green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the table near the bottom of the page, I was taken to the page where small text says to click the free link over on the far right. In every page of this journey, the big green arrows all were for GIMP. What a strange experience. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:00 PM, Charlotte Foust wrote: > The download says paint.net but then leads to a gimp download and a site > that WOT is less than thrilled with. What's going on? > > Charlotte Foust > > On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> When I try to find paint.net >> >> for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>> glance) looks better. Nice one ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> From dbdoug at gmail.com Thu Dec 1 17:28:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 15:28:32 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From steve at datamanagementsolutions.biz Thu Dec 1 17:44:07 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 2 Dec 2011 12:44:07 +1300 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> I think this is just a case of a really poor and confusing website layout design. The bit towards the top right, where it says: "Get it now (free download) Paint.NET v 3.5.10" ... that's the bit that is relevant to the Paint.Net download. The big button underneath that, green, with "Download" - that's part of a big square advertisement that (for me at the moment) relates to FoxTab PDF Creator. Regards Steve -----Original Message----- From: Doug Steele Sent: Friday, December 02, 2011 12:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Paint.net I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near > the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: > http://www.databaseadvisors.**com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 1 18:55:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 1 Dec 2011 16:55:20 -0800 Subject: [AccessD] FW: FW: Windows 8 Message-ID: >From my son. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin _____ From: Noah Sutton-Smolin [mailto:heedleblambeedle at gmail.com] Sent: Thursday, December 01, 2011 4:13 PM To: Rocky Smolin Subject: Re: FW: [AccessD] Windows 8 Droid X is CIQ-Free 2011/12/1 Rocky Smolin Does your phone run Carrier IQ in the background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 2 06:00:32 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:00:32 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8BDE0.7000702@torchlake.com> Steve, You're right. I left out that part, didn't I? ALMOST all the big green arrows were for GIMP, but one, right under the Paint.NET real link was another big green arrow for FoxTab PDF Creator. I agree with you that the website layout is poor and confusing. But, as I said, I persevered and finally got Paint.net. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website > layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part > of a big square advertisement that (for me at the moment) relates to > FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table >> near the >> bottom of the page, I was taken to the page where small text says to >> click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a >>> site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: >> http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 06:02:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:02:02 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8BE3A.4030002@torchlake.com> Hi Doug, Yes, that is the site they point to. It's just really badly laid out. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:28 PM, Doug Steele wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From jwcolby at colbyconsulting.com Fri Dec 2 06:40:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:28 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8C73C.6010407@colbyconsulting.com> This happens with most of those pages that exist just to download someone else's program. they apparently get paid for clicks so they intentionally make it very confusing, they intentionally make the big green arrow go to something else entirely because they get paid a few cents of you go there, even if you just immediately click your back button. Hint, the BIG GREEN BUTTON is *not* the one you want to click on. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:20 PM, Tina Norris Fields wrote: > Well, I persevered. The links provided by John and Doug took me to the same place where all the big > green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the > table near the bottom of the page, I was taken to the page where small text says to click the free > link over on the far right. In every page of this journey, the big green arrows all were for GIMP. > What a strange experience. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 From jwcolby at colbyconsulting.com Fri Dec 2 06:40:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:35 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8C743.40302@colbyconsulting.com> No, I think it is intentional. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part of a big square advertisement > that (for me at the moment) relates to FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 07:03:38 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 08:03:38 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8C73C.6010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> Message-ID: <4ED8CCAA.10302@torchlake.com> What a goofy way to make a living! :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/2/2011 7:40 AM, jwcolby wrote: > This happens with most of those pages that exist just to download > someone else's program. they apparently get paid for clicks so they > intentionally make it very confusing, they intentionally make the big > green arrow go to something else entirely because they get paid a few > cents of you go there, even if you just immediately click your back > button. > > Hint, the BIG GREEN BUTTON is *not* the one you want to click on. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >> Well, I persevered. The links provided by John and Doug took me to >> the same place where all the big >> green arrows download GIMP. However, by following carefully and >> clicking on the dotpdn button in the >> table near the bottom of the page, I was taken to the page where >> small text says to click the free >> link over on the far right. In every page of this journey, the big >> green arrows all were for GIMP. >> What a strange experience. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 > From jwcolby at colbyconsulting.com Fri Dec 2 07:22:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 08:22:27 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8CCAA.10302@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: <4ED8D113.4070204@colbyconsulting.com> > What a goofy way to make a living! :-) LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. Well guess what, someone is PAID to trick us. I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/2/2011 8:03 AM, Tina Norris Fields wrote: > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download someone else's program. they >> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >> make the big green arrow go to something else entirely because they get paid a few cents of you go >> there, even if you just immediately click your back button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>> table near the bottom of the page, I was taken to the page where small text says to click the free >>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>> What a strange experience. >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >> From hans.andersen at phulse.com Fri Dec 2 07:28:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 05:28:40 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED8D113.4070204@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> <4ED8D113.4070204@colbyconsulting.com> Message-ID: Maybe the website operators aren't aware of it and the ads are being delivered by a third party ad network? Best regards, Hans-Christian Andersen On 2 Dec 2011, at 05:22, jwcolby wrote: > > What a goofy way to make a living! :-) > > LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. > > Well guess what, someone is PAID to trick us. > > I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. > > Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/2/2011 8:03 AM, Tina Norris Fields wrote: >> What a goofy way to make a living! :-) >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/2/2011 7:40 AM, jwcolby wrote: >>> This happens with most of those pages that exist just to download someone else's program. they >>> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >>> make the big green arrow go to something else entirely because they get paid a few cents of you go >>> there, even if you just immediately click your back button. >>> >>> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>>> table near the bottom of the page, I was taken to the page where small text says to click the free >>>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>>> What a strange experience. >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Dec 2 07:45:49 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Dec 2011 08:45:49 -0500 Subject: [AccessD] Paint.net References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com><4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: Passive income... the best kind! ;) I'll click for food... Susan H. > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download >> someone else's program. they apparently get paid for clicks so they >> intentionally make it very confusing, they intentionally make the big >> green arrow go to something else entirely because they get paid a few >> cents of you go there, even if you just immediately click your back >> button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> From garykjos at gmail.com Fri Dec 2 08:34:40 2011 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Dec 2011 08:34:40 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Most of our machines are work are still running XP and Office 2003. Works fine until you hit the row limits in Excel or something. I've never been a fan of upgrading operating systems - well not since the DOS days anyway. The hardware requirements go up with each new version and so you are usually not as happy with the new OS on old hardware as you would be with the New OS on New hardware. With the price of hardware as low as it is now I thinik it's a better choice to just replace the enter box OS and all. If you need to upgrade at all that is. The question is, what do they need to do that they can't do now? GK On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: > The client wants a full version of Office, word and excel for cheap and they > have been hearing how fast a Linux server is. Two years ago they would have > never said such a thing. Linux, if they even cared about it, was just for > geeks. Now they are asking. Android has changed all that. > > I have not decided what to tell them yet but if dollars are a concern stick > with XP until you need new computers would be my first thought. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, December 01, 2011 9:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > I never really understood what "their old XP computers do need a face-lift" > meant. Why? -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Dec 2 10:27:51 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 08:27:51 -0800 Subject: [AccessD] Solution in search of a problem Message-ID: I have had occasion to create custom spread sheets from access table data where TransferSpreadsheet wouldn't work. After all of the rows have been written, I use: objXLWS.Columns("A:U").Columns.AutoFit and all of the columns automagically adjust their widths to fit the data so when the user opens it up it looks real pretty and all the data is displayed - column set to the width of the longest value in the column - but without a lot of white space which you'd get if you tried to guess the column width needed. HTH somebody Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From markamatte at hotmail.com Fri Dec 2 10:29:04 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 16:29:04 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , Message-ID: Hello All, Anyone done any matching or standardization routines around company names? Thanks, Mark M. From jackandpat.d at gmail.com Fri Dec 2 10:33:29 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 11:33:29 -0500 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Mark, Can you give a little more info? What's the context? Are you looking for Address etc. On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > Hello All, > > Anyone done any matching or standardization routines around company names? > > Thanks, > > Mark M. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Fri Dec 2 12:24:38 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 10:24:38 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: <5441C45C-DD66-46D4-A008-B2841A18393C@phulse.com> Not to mention the massive pollution to the environment by simply discarding computer hardware just to get that new upgrade to something new or run the latest version of Windows. It would be far better to recycle and repurpose computers you presently own, if you plan to upgrade your main desktop (ie. put linux on it or turn it into a media or web server or something like that), or give it away to someone else who can make use of it. This is an oft neglected subject, simply because all the waste gets exported halfway across the world, where we don't have to see or deal with the effects of it ourselves. http://www.youtube.com/watch?v=5sMOAWW6I0k - Hans On 2011-12-02, at 6:34 AM, Gary Kjos wrote: > Most of our machines are work are still running XP and Office 2003. > Works fine until you hit the row limits in Excel or something. I've > never been a fan of upgrading operating systems - well not since the > DOS days anyway. The hardware requirements go up with each new version > and so you are usually not as happy with the new OS on old hardware as > you would be with the New OS on New hardware. With the price of > hardware as low as it is now I thinik it's a better choice to just > replace the enter box OS and all. If you need to upgrade at all that > is. The question is, what do they need to do that they can't do now? > > GK > > On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: >> The client wants a full version of Office, word and excel for cheap and they >> have been hearing how fast a Linux server is. Two years ago they would have >> never said such a thing. Linux, if they even cared about it, was just for >> geeks. Now they are asking. Android has changed all that. >> >> I have not decided what to tell them yet but if dollars are a concern stick >> with XP until you need new computers would be my first thought. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow >> Sent: Thursday, December 01, 2011 9:08 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Windows 8 >> >> I never really understood what "their old XP computers do need a face-lift" >> meant. Why? > > -- > 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 edzedz at comcast.net Fri Dec 2 12:47:22 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 11:47:22 -0700 Subject: [AccessD] Any good name matching algorithms in VBA Message-ID: <008401ccb122$d40d7d40$5bdea8c0@edz1> Does anyone know where I can find some good name matching algorithms in VBA, and or examples, that I can look into ? Thanks. Ed Zuris. edzedz at comcast.net From charlotte.foust at gmail.com Fri Dec 2 12:51:51 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:51:51 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Fri Dec 2 12:55:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:55:53 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table data > where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the data so > when the user opens it up it looks real pretty and all the data is > displayed > - column set to the width of the longest value in the column - but without > a > lot of white space which you'd get if you tried to guess the column width > needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From edzedz at comcast.net Fri Dec 2 13:33:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 12:33:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000701ccb129$40844ed0$5bdea8c0@edz1> It might be. Is there a Access example that I could study to see if would fit ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Fri Dec 2 13:52:55 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 14:52:55 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Fri Dec 2 13:55:48 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 19:55:48 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , , , Message-ID: Address standardization is everywhere...we us the postal service. Even the first/last name is covered. I'm specifically looking for company/business names. I have found a few packages/services online...I was just wondering if anyone had any experience working with or writing VBA/SQL to accomplish something like this. Thanks, Mark A. Matte > From: jackandpat.d at gmail.com > Date: Fri, 2 Dec 2011 11:33:29 -0500 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Company name matching/standardization > > Mark, > > Can you give a little more info? What's the context? Are you looking for > Address etc. > > On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > > > > Hello All, > > > > Anyone done any matching or standardization routines around company names? > > > > Thanks, > > > > Mark M. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Fri Dec 2 14:02:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Dec 2011 15:02:12 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <001e01ccb12d$4864ec00$d92ec400$@net> Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From edzedz at comcast.net Fri Dec 2 14:10:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 13:10:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <001e01ccb12d$4864ec00$d92ec400$@net> Message-ID: <000b01ccb12e$6b974730$5bdea8c0@edz1> Thanks. . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 02, 2011 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Dec 2 15:23:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 13:23:34 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Fri Dec 2 15:31:30 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 13:31:30 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Don't know. Never had an occasion to export a memo field. I've had some very long test fields which made the column width unwieldy. So after that statement I adjust the long field to something reasonable and turn on the word wrap. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 10:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Solution in search of a problem Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table > data where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the > data so when the user opens it up it looks real pretty and all the > data is displayed > - column set to the width of the longest value in the column - but > without a lot of white space which you'd get if you tried to guess the > column width needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Dec 2 15:48:50 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Dec 2011 22:48:50 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi Jim Of course, most old hardware won't do. But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. It took a little to locate the legacy ATI video drivers for Vista, though. /gustav >>> jimdettman at verizon.net 01-12-2011 22:11 >>> Try running Win 7 on older hardware and you won't like it. Jim. From stuart at lexacorp.com.pg Fri Dec 2 16:04:12 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:04:12 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:07:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:07:18 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, Message-ID: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:48:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:48:48 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> > On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > Function LevenshteinDistance(phrase1 As String, phrase2 As String) As Long 'Calculates the minimum number of edits required to transform 'Phrase1 into Phrase2 using addition, deletion, and substitution of characters 'Case insensitive Dim str1() As String Dim str2() As String Dim dist() As Long Dim lngLen1 As Long Dim lngLen2 As Long Dim i As Long Dim j As Long Dim k As Long Dim a(2) As Long Dim r As Long Dim cost As Long lngLen1 = Len(phrase1) lngLen2 = Len(phrase2) ReDim str1(lngLen1) ReDim str2(lngLen2) ReDim dist(lngLen1, lngLen2) For i = 1 To lngLen1 str1(i) = UCase$(Mid$(phrase1, i, 1)) Next For i = 1 To lngLen2 str2(i) = UCase$(Mid$(phrase2, i, 1)) Next For i = 0 To lngLen1 dist(i, 0) = i Next For j = 0 To lngLen2 dist(0, j) = j Next For i = 1 To lngLen1 For j = 1 To lngLen2 If str1(i) = str2(j) Then cost = 0 Else cost = 1 End If a(0) = dist(i - 1, j) + 1 '' deletion a(1) = dist(i, j - 1) + 1 '' insertion a(2) = dist(i - 1, j - 1) + cost '' substitution r = a(0) For k = 1 To UBound(a) If a(k) < r Then r = a(k) Next dist(i, j) = r Next Next LevenshteinDistance = dist(lngLen1, lngLen2) End Function From mcp2004 at mail.ru Fri Dec 2 17:50:19 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 03:50:19 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: References: Message-ID: Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sat Dec 3 09:21:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 03 Dec 2011 10:21:24 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: Message-ID: <591BD9DBEA5E4256B8EBECFC66083908@XPS> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines you are describing would have been considered higher end machines; not the typical entry level machines that most businesses put in place. In fact if you remember when Vista came out, the big stink was that Microsoft said flat out "buy new hardware" if you wanted to use all the features (it was more then memory, but memory was a good part of it). Many at that time asked if Vista was even worth the upgrade price considering you could not use most of the new features if you didn't get new hardware. Win 7 is a far better OS then Vista and is what Vista should have been, but it's still something I would not consider running on anything less then 2GB. I have clients that have fallen behind on five year replacement cycles and have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. And yes I know memory is cheap, but in many cases the MB is maxed out and upgrading is not possible. Replacing the station as a whole is the best approach, but they've held off. Thankfully most of them are caught up now, but I still have a few stragglers. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Friday, December 02, 2011 06:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Dec 3 09:43:49 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Dec 2011 10:43:49 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> Message-ID: <006f01ccb1d2$5a050a30$0e0f1e90$@net> Extremely interesting. Does GOOGLE use this or a proprietary variant I wonder ? http://en.wikipedia.org/wiki/Levenshtein_distance From edzedz at comcast.net Sat Dec 3 11:38:15 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:38:15 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Better solutions ? Please share. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 11:40:30 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:40:30 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <000701ccb1e2$a7124760$5bdea8c0@edz1> Thanks. . . Will look into the HotFuzz() function at the end. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/ trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:12:40 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:12:40 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000b01ccb1e7$2575a350$5bdea8c0@edz1> Thanks. http://allenbrowne.com/vba-Soundex.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:14:43 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:14:43 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Dec 3 13:50:12 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 23:50:12 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <591BD9DBEA5E4256B8EBECFC66083908@XPS> References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: Hi Jim -- Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? Thank you. -- Shamil 03 ??????? 2011, 19:22 ?? "Jim Dettman" : > > It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines > you are describing would have been considered higher end machines; not the > typical entry level machines that most businesses put in place. > > In fact if you remember when Vista came out, the big stink was that > Microsoft said flat out "buy new hardware" if you wanted to use all the > features (it was more then memory, but memory was a good part of it). Many > at that time asked if Vista was even worth the upgrade price considering you > could not use most of the new features if you didn't get new hardware. > > Win 7 is a far better OS then Vista and is what Vista should have been, but > it's still something I would not consider running on anything less then 2GB. > > I have clients that have fallen behind on five year replacement cycles and > have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. > And yes I know memory is cheap, but in many cases the MB is maxed out and > upgrading is not possible. Replacing the station as a whole is the best > approach, but they've held off. > > Thankfully most of them are caught up now, but I still have a few > stragglers. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Friday, December 02, 2011 06:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi Gustav -- > > Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop > Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... > > And this old laptop also runs rather well Windows Phone 7 emulator while > debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and > XNA development isn't available AFAIS) but still well IMO to start learning > WP7 development... > > Thank you. > > -- Shamil > > 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > > Hi Jim > > > > Of course, most old hardware won't do. > > > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion > zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 > with DirectX 9) and it runs of course not fast but smoothly. > > > > It took a little to locate the legacy ATI video drivers for Vista, though. > > > > /gustav > > > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > > > Try running Win 7 on older hardware and you won't like it. > > > > Jim. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Dec 3 16:40:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Dec 2011 08:40:20 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Message-ID: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Levenshtein and the HotFuzz() function for two, On 3 Dec 2011 at 10:38, Edward Zuris wrote: > > Better solutions ? > > Please share. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, December 02, 2011 3:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > Soundex is very limited, that are much better solutions. > > -- > Stuart > > On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > > > I used to use Soundex a lot. Is that the kind of thing you're looking > > > for? > > > > Charlotte Foust > > > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > > wrote: > > > > > > > > Does anyone know where I can find some good name > > > matching algorithms in VBA, and or examples, that > > > I can look into ? > > > > > > Thanks. > > > > > > Ed Zuris. > > > edzedz at comcast.net > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 3 18:23:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 19:23:04 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: <4EDABD68.3040307@colbyconsulting.com> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007605%2050001305&IsNodeId=1&bop=And&SrchInDesc=momentus%20xt&Page=1&PageSize=100 It adds a 4 gig "SSD" (flash) cache to store small files that are loaded often. It takes several times loading things but on the second or third pass suddenly stuff loads faster. I bought one for my laptop and I was so pleased that I did the same for my wife's notebook. It is not the same experience as a full on SSD boot disk but very close. On my WMC system downstairs I repurposed an old 30 gb SSD drive that simply wasn't big enough to make the boot disk, and I put a 15 gb readyboost cache on it and put the swap file on the rest. That too has made an enormous difference. But for a notebook where you only have a single disk slot, try the seagate momentus. It may give the old laptop an addition couple of years. I actually replaced my brand new laptop's 5400 rpm drive with this thing and man what a difference. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/3/2011 2:50 PM, Salakhetdinov Shamil wrote: > Hi Jim -- > > Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) > I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. > This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. > > Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. > 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? > > Thank you. > > -- Shamil > > > 03 ??????? 2011, 19:22 ?? "Jim Dettman": >> >> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines >> you are describing would have been considered higher end machines; not the >> typical entry level machines that most businesses put in place. >> >> In fact if you remember when Vista came out, the big stink was that >> Microsoft said flat out "buy new hardware" if you wanted to use all the >> features (it was more then memory, but memory was a good part of it). Many >> at that time asked if Vista was even worth the upgrade price considering you >> could not use most of the new features if you didn't get new hardware. >> >> Win 7 is a far better OS then Vista and is what Vista should have been, but >> it's still something I would not consider running on anything less then 2GB. >> >> I have clients that have fallen behind on five year replacement cycles and >> have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. >> And yes I know memory is cheap, but in many cases the MB is maxed out and >> upgrading is not possible. Replacing the station as a whole is the best >> approach, but they've held off. >> >> Thankfully most of them are caught up now, but I still have a few >> stragglers. >> >> Jim. >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov >> Shamil >> Sent: Friday, December 02, 2011 06:50 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Windows 8 >> >> Hi Gustav -- >> >> Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop >> Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... >> >> And this old laptop also runs rather well Windows Phone 7 emulator while >> debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and >> XNA development isn't available AFAIS) but still well IMO to start learning >> WP7 development... >> >> Thank you. >> >> -- Shamil >> >> 03 ??????? 2011, 01:45 ?? "Gustav Brock": >>> Hi Jim >>> >>> Of course, most old hardware won't do. >>> >>> But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion >> zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 >> with DirectX 9) and it runs of course not fast but smoothly. >>> >>> It took a little to locate the legacy ATI video drivers for Vista, though. >>> >>> /gustav >>> >>>>>> jimdettman at verizon.net 01-12-2011 22:11>>> >>> >>> Try running Win 7 on older hardware and you won't like it. >>> >>> Jim. >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > From jwcolby at colbyconsulting.com Sat Dec 3 20:06:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 21:06:28 -0500 Subject: [AccessD] Subversion repositories and server Message-ID: <4EDAD5A4.3020505@colbyconsulting.com> I use subversion here at my office. I have to say I find it confusing and "just use it" without really understanding it. I am trying to set it up at my clients as I am about to start doing some VS 2010 / C# stuff there to replace some less reliable Access stuff. I want the repositories to reside on the server with all of its raid and backup safety net. Here at my office I use the file:// method of accessing the repository which the way I understand it is nothing more than allowing VSN on the workstation to check in and out through a shared directory. When I started research on Google I am getting "shared directories is a bad idea, use a server", but I do not know how to do that. I have set up the server simply by downloading the VisualSVN Server msi and installing it. I created a group and a user and ser my user into the group. I then created two repositories for two different projects and added the group to the project with R/W access and disabled the Everyone user. My question is how do I get my workstation to use the server now? I am using VS 2010, and it has the VisualSVN package installed. I just need to "hook up" the VisualSVN in my workstation to get data from the repository server. Onw would think that there would be a place to go to tell VisualSVN in the workstation "your server is named XYZ" etc but I am not finding that. The "Get solution from Subversion" has a Repository URL line but it does not automatically look for and find my repository and I have no clue what the URL is. IMHO this is the shakiest part of using this stuff. Any help is much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Dec 3 21:39:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 22:39:42 -0500 Subject: [AccessD] VSN right click isn't working Message-ID: <4EDAEB7E.1090208@colbyconsulting.com> I use VSN with right click context stuff to check in and out some DLLs such as NLog which are referenced by my projects but are not stuff that I can directly open in VS and use that to do the checkin. The problem is that while the right click menu works on my systems at the office, at my client they cause Windows Explorer to crash, as in close and explorer reopens a few seconds later. Right clicking on any file or directory causes the explorer crash. I eventually found this thing called ShellExView that allows one to see the right click processes that are hooking into Explorer's right click widget, and from there I caused all of the VSNTortoise stuff to stop and the crashes stopped. So I can't use VSN's stuff on my dev machine at the client to check directories in and out of tortoise / VSN and so I have no way to check in initially. I decided to try and do this on the server directly and the right click menu works just fine there, or at least doesn't page fault explorer. However when I try to check it in, it complains about a different user or something. Sigh. AFAIC I do not have to have this in source control, i.e. the reference that I am trying to check in are just dlls which are referenced at a specific path on my hard disk and for that purpose having them in source control doesn't matter. However putting it in source control allows me to "check them out" from any other machine which needs them, and further if I get a new version of a file (nlogs.dll for example) I can check it in and then check it out on other machines to get the latest. The whole point of source control really. So long term I really want to get this working. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From gustav at cactus.dk Sun Dec 4 04:20:48 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Dec 2011 11:20:48 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi John Had the same idea about a 64 GB SSD drive I have at hand, but my old zd8000 sports an ATA interface only. No cigar. /gustav >>> jwcolby at colbyconsulting.com 04-12-2011 01:23 >>> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. From marksimms at verizon.net Sun Dec 4 09:48:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 10:48:14 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Message-ID: <000001ccb29c$22db9540$6892bfc0$@net> Best solution IMHO: Use all three....table lookup, and then the below. > Levenshtein and the HotFuzz() function for two, > From jwcolby at colbyconsulting.com Sun Dec 4 09:59:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 10:59:19 -0500 Subject: [AccessD] Users in SQL Server Message-ID: <4EDB98D7.30009@colbyconsulting.com> Several times now I have run into an issue where SQL Server does not have a pair of users I use for my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases that I am picking up on that server was already set up and has those users. When I try to set those users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. Basically I am able to create the user but not assign rights - db_reader, db_writer etc. I have always been fuzzy about how this stuff works and I just need an explanation of why it won't allow me to set these rights even though the user exists and the check boxes are enabled when I select that database. I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have a DiscoApp in the database with a set of rights for that database but when I look at it back at the server level it does not reflect those rights for that user for that database. Any assistance great fully accepted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sun Dec 4 10:13:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 11:13:31 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB98D7.30009@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> Message-ID: <4EDB9C2B.1010201@colbyconsulting.com> >I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. Unfortunately after I did this delete / re-add rigamarole I discovered that all of the rights to objects in the database were removed. For example I had rights to execute stored procedures assigned to these users but after deleting the users the rights to execute were lost. Sigh. This SQL Server Users stuff is really developer unfriendly. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 10:59 AM, jwcolby wrote: > > Several times now I have run into an issue where SQL Server does not have a pair of users I use for > my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases > that I am picking up on that server was already set up and has those users. When I try to set those > users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. > Basically I am able to create the user but not assign rights - db_reader, db_writer etc. > > I have always been fuzzy about how this stuff works and I just need an explanation of why it won't > allow me to set these rights even though the user exists and the check boxes are enabled when I > select that database. I just discovered that if I delete the user out in that database and then set > the rights through the user back in the server security stuff it happily accepts my changes and > re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have > a DiscoApp in the database with a set of rights for that database but when I look at it back at the > server level it does not reflect those rights for that user for that database. > > Any assistance great fully accepted. From marksimms at verizon.net Sun Dec 4 11:36:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 12:36:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB9C2B.1010201@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> Message-ID: <002601ccb2ab$31538290$93fa87b0$@net> John - as you are discovering (the hard way I might add), SQL Security is a whole specialty onto itself....in fact, there have been books written about just that. Here's one that may be helpful: http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 and here's another: http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 233044X/ref=pd_sim_b_6 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, December 04, 2011 11:14 AM > To: Discussion concerning MS SQL Server; Access Developers discussion > and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > >I just discovered that if I delete the user out in that database and > then set the rights through > the user back in the server security stuff it happily accepts my > changes and re-adds the user to the > database. > > Unfortunately after I did this delete / re-add rigamarole I discovered > that all of the rights to > objects in the database were removed. For example I had rights to > execute stored procedures > assigned to these users but after deleting the users the rights to > execute were lost. > > Sigh. > > This SQL Server Users stuff is really developer unfriendly. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 10:59 AM, jwcolby wrote: > > > > Several times now I have run into an issue where SQL Server does not > have a pair of users I use for > > my Access application called DiscoAdmin and DiscoApp. The problem is > that one of the the databases > > that I am picking up on that server was already set up and has those > users. When I try to set those > > users up in the server's security it tells me that "the server > principal 'DiscoApp' already exists. > > Basically I am able to create the user but not assign rights - > db_reader, db_writer etc. > > > > I have always been fuzzy about how this stuff works and I just need > an explanation of why it won't > > allow me to set these rights even though the user exists and the > check boxes are enabled when I > > select that database. I just discovered that if I delete the user out > in that database and then set > > the rights through the user back in the server security stuff it > happily accepts my changes and > > re-adds the user to the database. This just seems strange. If I don't > do this rigamarole then I have > > a DiscoApp in the database with a set of rights for that database but > when I look at it back at the > > server level it does not reflect those rights for that user for that > database. > > > > Any assistance great fully accepted. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sun Dec 4 12:47:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 04 Dec 2011 13:47:53 -0500 Subject: [AccessD] I should be able to do this Message-ID: <4EDBC059.1080609@torchlake.com> Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From ssharkins at gmail.com Sun Dec 4 12:52:18 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Dec 2011 13:52:18 -0500 Subject: [AccessD] I should be able to do this References: <4EDBC059.1080609@torchlake.com> Message-ID: <356134BD550B4B7E94EFBF1984EC2284@SusanHarkins> stu_counselor.Value = combobox.value Is stu_counselor bound to a control in your form? If it is, this should be easy enough. Susan H. > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who will > be assigned to the student whose record is displayed in the form. Once > that is updated, I want the matching name of the counselor to placed in > the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From steve at goodhall.info Sun Dec 4 12:54:43 2011 From: steve at goodhall.info (Steve Goodhall) Date: Sun, 4 Dec 2011 13:54:43 -0500 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 13:25:49 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 14:25:49 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <002601ccb2ab$31538290$93fa87b0$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> Message-ID: <4EDBC93D.8040801@colbyconsulting.com> Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), > SQL Security is a whole specialty onto itself....in fact, there have been > books written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database and >> then set the rights through >> the user back in the server security stuff it happily accepts my >> changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I discovered >> that all of the rights to >> objects in the database were removed. For example I had rights to >> execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From dw-murphy at cox.net Sun Dec 4 14:20:22 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 4 Dec 2011 12:20:22 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDBC93D.8040801@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> Message-ID: <001201ccb2c2$269e9b70$73dbd250$@cox.net> Don't know about this book but I try and get all my tech books for kindle these days. Have a kindle reader and have the pc reader on my desktop and laptop. That way I can share the book between my devices. I like it. Much less clutter on the book shelves. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, December 04, 2011 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), SQL Security > is a whole specialty onto itself....in fact, there have been books > written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultan > t/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/ > dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database >> and then set the rights through the user back in the server security >> stuff it happily accepts my changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I >> discovered that all of the rights to objects in the database were >> removed. For example I had rights to execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user >>> out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I >>> don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database >>> but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Sun Dec 4 14:27:16 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Mon, 5 Dec 2011 09:27:16 +1300 Subject: [AccessD] I should be able to do this In-Reply-To: References: <4EDBC059.1080609@torchlake.com> Message-ID: Tina, I agree with Steve. On the face of what you have told us so far, what you are trying to do here is irregular. Assuming the combobox is bound to a field in the tblStudent table, what field is it? Regards Steve -----Original Message----- From: Steve Goodhall Sent: Monday, December 05, 2011 7:54 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] I should be able to do this Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 4 15:41:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 07:41:56 +1000 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDBE924.30917.11DB6A54@stuart.lexacorp.com.pg> Bad girl! :-) tbStudent.Stu_Counselor should be a numerice field which contains the Counselor_ID foreign key. You should NOT be storing the counselor's name in individual student records. Set the Control Source of the combobox to Stu_Counselor and set its bound column to the (zero based) column number of the field you want to store in the student record. -- Stuart On 4 Dec 2011 at 13:47, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the form. > Once that is updated, I want the matching name of the counselor to > placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 4 16:48:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 14:48:47 -0800 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <9E5970D986864D8BB3B1035FBDAB2589@HAL9007> If Counselor_Lname is not a bound field in the form then there are two ways to do this: 1) an Update Query - ( cheat by writing the update query in the QBE and copy the SQL from the SQL View of the query) set db = CurrentDb, then db.Execute the update query string, 2) DAO = open a recordset of tblCounselor either filtered to include only the record you want or all records then use .FIndFirst to find the record you want. Then .Edit/.Update. Walla! HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Sunday, December 04, 2011 10:48 AM To: DatabaseAdvisors-Access Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 4 17:15:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 18:15:14 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <001201ccb2c2$269e9b70$73dbd250$@cox.net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> Message-ID: <000f01ccb2da$94de8f10$be9bad30$@net> But - can you mark-up or annotate with a Kindle ? I love to get books in PDF format and use Acrobat Pro to add notes and comments and highlighting. > Don't know about this book but I try and get all my tech books for > kindle > these days. Have a kindle reader and have the pc reader on my desktop > and > laptop. That way I can share the book between my devices. I like it. > Much > less clutter on the book shelves. From darryl at whittleconsulting.com.au Sun Dec 4 18:15:00 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:15:00 +0000 Subject: [AccessD] Multi Select. Message-ID: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hmmmm... Turns out you can only set this property when the form is in design mode, even via VBA. Why on earth would they do that? I have a couple of workarounds in the bag, so not looking for a solution (unless you have a really cool one you can share), but it seems like an odd thing to enforce on developers, especially as the form is nearly always going to be open and in use when you want to change that property 'on the fly'... Anyone got any thoughts on this? Just curious. Cheers Darryl. From jwcolby at colbyconsulting.com Sun Dec 4 18:18:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 19:18:56 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <000f01ccb2da$94de8f10$be9bad30$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> Message-ID: <4EDC0DF0.2020107@colbyconsulting.com> > But - can you mark-up or annotate with a Kindle ? Apparently to some extent that depends on the version. You apparently can with the new Kindle Touch which has a virtual keyboard and touch screen. I am looking at buying one of these. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 6:15 PM, Mark Simms wrote: > But - can you mark-up or annotate with a Kindle ? I love to get books in PDF > format and use Acrobat Pro to add notes and comments and highlighting. > >> Don't know about this book but I try and get all my tech books for >> kindle >> these days. Have a kindle reader and have the pc reader on my desktop >> and >> laptop. That way I can share the book between my devices. I like it. >> Much >> less clutter on the book shelves. > > From charlotte.foust at gmail.com Sun Dec 4 18:45:52 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 16:45:52 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a solution > (unless you have a really cool one you can share), but it seems like an odd > thing to enforce on developers, especially as the form is nearly always > going to be open and in use when you want to change that property 'on the > fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Sun Dec 4 18:58:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:58:47 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> It is not the active control itself, which I agree needs to retain its state - at least while active, but the other listboxes on the form. For example I have a form where listbox 1's default setting is 'multi-select' and if the user chooses more than one option from listbox 1, then list box 2 can only allow a single option from its list (so multi-select should = none for listbox 2). However if list box 1 has only one option selected than listbox 2 should allow multi-select to be available. So the multi-select status of listbox 2 has a dependency on what the user selects (or doesn't select) in listbox 1 and visa versa. If a user chooses multiple values in listbox 2 first, then only a single option should be allowed from listbox 1 and the status change from multi to single. Yep, I have a real live scenario where this has to happen. I have a work around which basically fakes that behaviour and it works ok. I can understand why you should not be able to change the state of the active listbox, but you cannot change any listboxes on the form, unless you are in design mode. Oh well.... Just curious - seems a bit like a case of laziness to me, but there are often other implications I am yet to grasp, maybe this is one of them. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 19:07:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:07:17 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from listbox 1, > then list box 2 can only allow a single option from its list (so > multi-select should = none for listbox 2). However if list box 1 has only > one option selected than listbox 2 should allow multi-select to be > available. So the multi-select status of listbox 2 has a dependency on > what the user selects (or doesn't select) in listbox 1 and visa versa. If > a user chooses multiple values in listbox 2 first, then only a single > option should be allowed from listbox 1 and the status change from multi to > single. > > Yep, I have a real live scenario where this has to happen. I have a work > around which basically fakes that behaviour and it works ok. I can > understand why you should not be able to change the state of the active > listbox, but you cannot change any listboxes on the form, unless you are in > design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, but > there are often other implications I am yet to grasp, maybe this is one of > them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is in > > design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Sun Dec 4 19:09:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:09:34 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC0DF0.2020107@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: Or you could buy the new Nook tablet. The Nook has had the keyboard and touch screen for a long time. ;-) Charlotte Foust On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > > But - can you mark-up or annotate with a Kindle ? > > Apparently to some extent that depends on the version. You apparently can > with the new Kindle Touch which has a virtual keyboard and touch screen. I > am looking at buying one of these. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 6:15 PM, Mark Simms wrote: > >> But - can you mark-up or annotate with a Kindle ? I love to get books in >> PDF >> format and use Acrobat Pro to add notes and comments and highlighting. >> >> Don't know about this book but I try and get all my tech books for >>> kindle >>> these days. Have a kindle reader and have the pc reader on my desktop >>> and >>> laptop. That way I can share the book between my devices. I like it. >>> Much >>> less clutter on the book shelves. >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From stuart at lexacorp.com.pg Sun Dec 4 19:10:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 11:10:02 +1000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 19:41:16 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:41:16 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EE44C@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, now that makes more sense... I figured there is likely to be a deeper reason I just didn't understand. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 5 December 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 19:53:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:53:02 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 20:19:54 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 02:19:54 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE4B7@SINPRD0402MB099.apcprd04.prod.outlook.com> Doh... proof reading is important... proof reading is important... " there is NO left to right sequence required " Bah.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, 5 December 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 21:07:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 22:07:32 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: <4EDC3574.1090602@colbyconsulting.com> Yes but the nook is sold by a company that might not be here in a year. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 8:09 PM, Charlotte Foust wrote: > Or you could buy the new Nook tablet. The Nook has had the keyboard and > touch screen for a long time. ;-) > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > >>> But - can you mark-up or annotate with a Kindle ? >> >> Apparently to some extent that depends on the version. You apparently can >> with the new Kindle Touch which has a virtual keyboard and touch screen. I >> am looking at buying one of these. >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 6:15 PM, Mark Simms wrote: >> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>> PDF >>> format and use Acrobat Pro to add notes and comments and highlighting. >>> >>> Don't know about this book but I try and get all my tech books for >>>> kindle >>>> these days. Have a kindle reader and have the pc reader on my desktop >>>> and >>>> laptop. That way I can share the book between my devices. I like it. >>>> Much >>>> less clutter on the book shelves. >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From Benson at ge.com Sun Dec 4 21:24:49 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 4 Dec 2011 22:24:49 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. From rockysmolin at bchacc.com Sun Dec 4 22:04:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 20:04:37 -0800 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: I suppose it's there in case you mistakenly start to delete all records in a table or mean to delete 100 and delete 10,000 instead. The only way I know is DoCmd.SetWarnings False but that's in code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 7:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 22:05:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:05:29 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 4 22:09:20 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:09:20 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Yeah code or a macro step I guess is all I got. I'd hoped a hot key variant on run might turn up. On Dec 4, 2011 11:05 PM, "Rocky Smolin" wrote: > I suppose it's there in case you mistakenly start to delete all records in > a > table or mean to delete 100 and delete 10,000 instead. The only way I know > is DoCmd.SetWarnings False but that's in code. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 7:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun Dec 4 22:11:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:11:59 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How are > you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror > to execute them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 22:26:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:26:37 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE68B@SINPRD0402MB099.apcprd04.prod.outlook.com> Give it a try Bill. Although I didn't read anyone who actually had any success with that approach and the message. It seems it must impact some users as MS have gone to the trouble of publishing that page. You can turn off warnings at an application level, but I am not sure if that will be effective or not with the undo warning. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 5 December 2011 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How > are you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute > them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete > Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 1 22:34:11 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 1 Dec 2011 22:34:11 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <004101ccb0ab$a3f488f0$ebdd9ad0$@comcast.net> No Messages --> CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, December 04, 2011 10:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 23:23:47 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 21:23:47 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC3574.1090602@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: Thanks for the reminder, Chicken Little. LOL Charlotte Foust On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > Yes but the nook is sold by a company that might not be here in a year. ;) > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 8:09 PM, Charlotte Foust wrote: > >> Or you could buy the new Nook tablet. The Nook has had the keyboard and >> touch screen for a long time. ;-) >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >> wrote: >> >> But - can you mark-up or annotate with a Kindle ? >>>> >>> >>> Apparently to some extent that depends on the version. You apparently >>> can >>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>> I >>> am looking at buying one of these. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>> PDF >>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>> >>>> Don't know about this book but I try and get all my tech books for >>>> >>>>> kindle >>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>> and >>>>> laptop. That way I can share the book between my devices. I like it. >>>>> Much >>>>> less clutter on the book shelves. >>>>> >>>>> >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> 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 Dec 5 06:35:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Dec 2011 07:35:00 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: <4EDCBA74.70207@colbyconsulting.com> http://www.ecolibris.net/bnindex.asp ;) It's unfortunate they stopped graphing the results. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2011 12:23 AM, Charlotte Foust wrote: > Thanks for the reminder, Chicken Little. LOL > > Charlotte Foust > > On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > >> Yes but the nook is sold by a company that might not be here in a year. ;) >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>> touch screen for a long time. ;-) >>> >>> Charlotte Foust >>> >>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >>> wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? >>>>> >>>> >>>> Apparently to some extent that depends on the version. You apparently >>>> can >>>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>>> I >>>> am looking at buying one of these. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>>> PDF >>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>> >>>>> Don't know about this book but I try and get all my tech books for >>>>> >>>>>> kindle >>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>> and >>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>> Much >>>>>> less clutter on the book shelves. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> >>>> >>>> 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 chartisinsurance.com Mon Dec 5 08:21:33 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 5 Dec 2011 09:21:33 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: Citations? :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 5:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name matching > > algorithms in VBA, and or examples, that I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 08:30:26 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 09:30:26 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Set the queries UseTransaction property to no in query design. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 10:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Mon Dec 5 08:37:02 2011 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Mon, 5 Dec 2011 09:37:02 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> References: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Message-ID: Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text-in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Mon Dec 5 12:20:45 2011 From: edzedz at comcast.net (Edward Zuris) Date: Mon, 5 Dec 2011 11:20:45 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <002401ccb37a$9bd7e0a0$5bdea8c0@edz1> Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Monday, December 05, 2011 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text -in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 14:42:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 15:42:20 -0500 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: <86C79486EC244013B7EB9E95C3C0D47E@XPS> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From Benson at ge.com Mon Dec 5 15:09:43 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 16:09:43 -0500 Subject: [AccessD] Close a form during the Activate event Message-ID: There is something that I require to be true, upon testing, or this one particular form I consider to be dangerous to use. It is a condition that may change over the session, it is not necessarily a stable condition during the user session. I understand it can be tested for on Form Open, and the opening of the form can then be canceled. But how about afterwards: For example, suppose on activation of the form, I want to test the condition again. According to an error message I just got, I am not allowed to close the form during the form's events. I am kinda stumped how to protect myself now, if I cannot make this check-environment-and-dismiss-form occur on a form's events. I guess I could have a hidden form checking this on a timed basis but I am sure that will cause some regrets. TIA... From gustav at cactus.dk Mon Dec 5 15:43:47 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Dec 2011 22:43:47 +0100 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: Thanks Jim, very promising. /gustav >>> jimdettman at verizon.net 05-12-2011 21:42 >>> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From charlotte.foust at gmail.com Mon Dec 5 15:51:33 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 13:51:33 -0800 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: I'm not clear on what the problem is. You can close a form from other events within a form. What was the message you got and what event were you trying to use? Charlotte Foust On Mon, Dec 5, 2011 at 1:09 PM, Benson, William (GE Global Research, consultant) wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Mon Dec 5 15:55:15 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 07:55:15 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Presumably when you say "dangerous to use", you are referring to triggering control events on the form. What happens if you: 1. build a function which checks for the condition and closes the form if necesary 2. Call the function as the first step in any potentially dangerous control event. -- Stuart On 5 Dec 2011 at 16:09, Benson, William (GE Global Re wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 5 17:14:29 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 15:14:29 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDCBA74.70207@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You apparently >>>>> can >>>>> with the new Kindle Touch which has a virtual keyboard and touch >>>>> screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get books >>>>> in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>>> and >>>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>> >>>>> ** >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From darryl at whittleconsulting.com.au Mon Dec 5 18:10:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:10:08 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> I think the one upside of Kindle over a tablet is probably the battery life. Personally I like a good ol' fashioned book. I love the way I can read it on the beach and never have to worry about battery issues, screen resolution, reflection or it getting too much salt and sand in the cracks. I like the tactile book thing too. The feel of the paper, the smell, the way you can get an idea of where you are in the story visually, and it make an excellent shade over your eyes when you want to have nap - try doing that with your tablet ;) The can see some upside to kindle and their ilk such as: 1: Environmental (less paper, less supply chain costs, less printing issues, less waste etc) 2: Speed of delivery (usually a lot faster than even FedEx) 3: Weight (books are heavy if you need to carry a lot of them) 4: Searchable: Much faster to search and reference But I still much prefer a decent paper book over them. Must be getting old ;) Just my thoughts Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 6 December 2011 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp x.asp> > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, >> jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the >>> keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, >>>> jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You >>>>> apparently can with the new Kindle Touch which has a virtual >>>>> keyboard and touch screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get >>>>> books in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books >>>>>> for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my >>>>>>> desktop and laptop. That way I can share the book between my >>>>>>> devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd>>>> databaseadvisors.com/****mailman/listinfo/accessd> >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> **>>>> atabaseadvisors.com/mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com>>>> s.com> >>>>> >>>>> >>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd>> baseadvisors.com/**mailman/listinfo/accessd> >>> >>> >> abaseadvisors.com/mailman/listinfo/accessd> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com>> s.com> >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 5 18:20:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 10:20:25 +1000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > From darryl at whittleconsulting.com.au Mon Dec 5 18:56:59 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:56:59 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... Message-ID: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Hehehehe.... exactly. All jokes aside, the paperback book is in many ways a nearly perfect technology. It is a bit like the traditional mousetrap or the standard design on the traditional dial telephone. Some designs are sooo close to being optimal there is little advantage in tweaking them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 6 December 2011 11:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 20:41:28 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 21:41:28 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> References: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Message-ID: Sorry, I cannot make my statement about "dangerous to use" very clear at this time. Essentially, if the form is open and a certain value has changed (say, for example, a user's privileges have changed from one class to another) then I do not want them able to see the form that they had been looking at. So it was on the activate event that this was to be checked for. That is not the exact condition, it is a representative example. To answer Charlotte's question: "this action cannot be carried out while processing a form or report event" Here is a sample of code you can put in a form that is already opened: Private Sub Form_Activate() If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub Launch the form, then deactivate it by opening a different form. Change the code to If 1 = 1 Then DoCmd.Close acForm, Me.Name Click back on the first form, you will get this error message. From stuart at lexacorp.com.pg Mon Dec 5 21:22:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 13:22:25 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, Message-ID: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear at > this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that they > had been looking at. So it was on the activate event that this was to be > checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name > End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Benson at ge.com Mon Dec 5 22:04:22 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:04:22 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> Message-ID: Not a difficult task... but not something I want to resort to. I gave up :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 05, 2011 10:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close a form during the Activate event You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear > at this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that > they had been looking at. So it was on the activate event that this > was to be checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 22:08:44 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:08:44 -0500 Subject: [AccessD] .SendObject when Outlook is not present Message-ID: I have a client who feels he will have contractors who will have Access 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to remove any references to Outlook. Well, thing is, I did not have a reference to outlook, I had Access sending some tables through .SendObject, and also I in another situation use Excel's library to attach and mail a file. I can get both applications to run these steps with no DLL reference to Outlook, however without taking Outlook itself off my machine, I cannot really be sure what would happen if the Excel or Access applications tried these steps with no Outlook. Anyone know? Will those applications still call some default e-mail client? Will they just throw off an error? Not process the command? Pls help me know what to expect, if possible, thanks. From stuart at lexacorp.com.pg Mon Dec 5 22:57:34 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 14:57:34 +1000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: Message-ID: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> SendObject will send through whatever the default MAPI client is on the workstation in question. If nothing else has been installed, it is likely to use OE or Windows Mail depending on the OS. In my case, it invokes Pegasus Mail. If there is no installed MAPI mail client, they should get a message telling them that they need to configure one. -- Stuart On 5 Dec 2011 at 23:08, Benson, William (GE Global Re wrote: > I have a client who feels he will have contractors who will have Access > 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to > remove any references to Outlook. Well, thing is, I did not have a > reference to outlook, I had Access sending some tables through > .SendObject, and also I in another situation use Excel's library to > attach and mail a file. I can get both applications to run these steps > with no DLL reference to Outlook, however without taking Outlook itself > off my machine, I cannot really be sure what would happen if the Excel > or Access applications tried these steps with no Outlook. Anyone know? > Will those applications still call some default e-mail client? Will they > just throw off an error? Not process the command? > > Pls help me know what to expect, if possible, thanks. > > -- > 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 Dec 6 09:04:37 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:04:37 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: Me too. A few years back I did an app used by several locations, a couple of which didn't use Outlook but Pegasus instead, and it was trivial. I *love * when that happens! Arthur On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan wrote: > SendObject will send through whatever the default MAPI client is on the > workstation in > question. If nothing else has been installed, it is likely to use OE or > Windows Mail depending > on the OS. In my case, it invokes Pegasus Mail. > > If there is no installed MAPI mail client, they should get a message > telling them that they > need to configure one. > > From fuller.artful at gmail.com Tue Dec 6 09:27:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:27:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. Some > designs are sooo close to being optimal there is little advantage in > tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From vbacreations at gmail.com Tue Dec 6 13:01:09 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:01:09 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a couple > of which didn't use Outlook but Pegasus instead, and it was trivial. I > *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan >wrote: > > > SendObject will send through whatever the default MAPI client is on the > > workstation in > > question. If nothing else has been installed, it is likely to use OE or > > Windows Mail depending > > on the OS. In my case, it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they > > need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Dec 6 13:06:44 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:06:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <6EC310281C8E4710AEC02AE4B4E90497@XPS> References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Tue Dec 6 14:00:06 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 06 Dec 2011 15:00:06 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 16:52:04 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 22:52:04 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> " Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." Looks good, just purchased a copy from Amazon - thanks :) Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 7 December 2011 2:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. > Some designs are sooo close to being optimal there is little advantage > in tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 17:00:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 23:00:21 +0000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Microsoft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:01:00 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:01:00 -0500 Subject: [AccessD] Turn off delete buffer warning for FasterDelete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: I accept the warning. I am much more concerned that deleting records from an open query or table has such an undo feature. Once I have pulled the trigger on a delete query, I have already done my homework. Really. Famous last words. Thanks again! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, December 06, 2011 3:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Turn off delete buffer warning for FasterDelete Queries Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, > William (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:09:51 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:09:51 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: That's a lot of dough! Very glad to be kept informed of issues like this Darryl, thanks for taking the time to add. I find it harder and harder, since working mostly from home, to keep abreast of what's going on; very gratified for others weighing in on such matters. Another issue lately is retention. I just took a battery of tests through a psychological testing company, and one of the things I found out is that with a lot of detail, my brain needs a few passes before anything sinks in enough to recall it later. If one has to solve a problem, hunts around on Google for a solution, plops it in and the program works ... forget about remembering it. If I have to mess with it and mess with it til it finally works, there is a chance. Maybe to a degree this is a lot of folk, not just me - but I have seen a marked decrease in what I can retain over only a few short years. This is my long way of saying "I may ask this again some time" and please, please don't take it as a sign of not paying attention. You can see by the fact that I have read and replied, that I was at least in the here and now, paying attention. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, December 06, 2011 6:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Micros oft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Dec 6 17:27:16 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Dec 2011 17:27:16 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: > > Benson, William: > I accept the warning. I am much more concerned that deleting records > from an open query or table has such an undo feature. Once I have pulled > the trigger on a delete query, I have already done my homework. > > Really. > > Famous last words. > > Thanks again! > I take it that you are running the delete queries from the interface. Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm options: Record Changes, Document Deletions, Action Queries? This should turn off all the safeties. I mean really, what could possibly go wrong? ;) -Ken From fuller.artful at gmail.com Tue Dec 6 19:49:54 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 20:49:54 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's an awesome work, IMO. I'm certain that you will love it, and your kids will get the best possible intro to the world of math, not to mention such things as the reason why some plants have opposing branches while others have spiraling branches, and a zillion other topics too. Have fun! I know you will. A. On Tue, Dec 6, 2011 at 5:52 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " Tangentially relevant and directed to listers with children: I want to > recommend at the highest level a book called "A Beginner's Guide to > Constructing the Universe" by Michael S. Schneider. You and your children > will have 110% fun going through this book, and both of you will end up > smarter." > > Looks good, just purchased a copy from Amazon - thanks :) > > Cheers > Darryl > > From vbacreations at gmail.com Wed Dec 7 00:54:44 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 01:54:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Hi Ken. I want the option for the current query only; that would I think affect other queries...? On Dec 6, 2011 6:28 PM, "Kenneth Ismert" wrote: > > > > Benson, William: > > I accept the warning. I am much more concerned that deleting records > > from an open query or table has such an undo feature. Once I have pulled > > the trigger on a delete query, I have already done my homework. > > > > Really. > > > > Famous last words. > > > > Thanks again! > > > > I take it that you are running the delete queries from the interface. > > Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm > options: Record Changes, Document Deletions, Action Queries? > > This should turn off all the safeties. I mean really, what could possibly > go wrong? ;) > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 7 01:29:13 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 02:29:13 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I wonder if the original website registration ran out and got scooped up by a competition On Dec 1, 2011 6:29 PM, "Doug Steele" wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > > > Well, I persevered. The links provided by John and Doug took me to the > > same place where all the big green arrows download GIMP. However, by > > following carefully and clicking on the dotpdn button in the table near > the > > bottom of the page, I was taken to the page where small text says to > click > > the free link over on the far right. In every page of this journey, the > > big green arrows all were for GIMP. What a strange experience. > > > > T > > > > Tina Norris Fields > > tinanfields at torchlake.com > > 231-322-2787 > > > > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > > > >> The download says paint.net but then leads to a gimp download and a > site > >> that WOT is less than thrilled with. What's going on? > >> > >> Charlotte Foust > >> > >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > >> tinanfields at torchlake.com> wrote: > >> > >> When I try to find paint.net > >>> > >>> for download, I find GIMP. Are they the same thing? > >>> T > >>> > >>> Tina Norris Fields > >>> tinanfields at torchlake.com > >>> 231-322-2787 > >>> > >>> > >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: > >>> > >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a > >>>> glance) looks better. Nice one ! :) thanks. > >>>> > >>>> Will download and have a look. > >>>> > >>>> Cheers > >>>> Darryl. > >>>> > >>>> > >>>> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:10:57 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:10:57 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: All, About a week or two ago, someone posted a link to a website that had info about products to enhance Windows. One of these was "Fences". I had never heard of Fences before so I installed it and I find it to be quite useful. Now I am trying to locate the info about the other products. I evidently did not keep the AccessD Email and I can't seem to get the AccessD Archive to work. Does anyone have the original post or the link? Thanks, Brad From dbdoug at gmail.com Wed Dec 7 15:15:47 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:15:47 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feedburner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:20:29 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:20:29 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Doug, Thanks. I owe ya a beer! Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, December 07, 2011 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed burner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From tinanfields at torchlake.com Wed Dec 7 15:33:11 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 16:33:11 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDFDB97.8080605@torchlake.com> Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > From dbdoug at gmail.com Wed Dec 7 15:44:43 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:44:43 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I will gladly accept one! Doug On Wed, Dec 7, 2011 at 1:20 PM, Brad Marks wrote: > Doug, > > Thanks. > > I owe ya a beer! > > Brad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Wednesday, December 07, 2011 3:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities > (such asFences) > > Here's a link to a later post on the subject of useful software from > Scott > Hanselman: > > http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed > burner.com%2FScottHanselman > > On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks > wrote: > > > All, > > > > About a week or two ago, someone posted a link to a website that had > > info about products to enhance Windows. One of these was "Fences". I > > had never heard of Fences before so I installed it and I find it to be > > quite useful. > > > > Now I am trying to locate the info about the other products. > > > > I evidently did not keep the AccessD Email and I can't seem to get the > > AccessD Archive to work. > > > > Does anyone have the original post or the link? > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 16:49:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 22:49:07 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDFDB97.8080605@torchlake.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Dec 7 17:04:15 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:04:15 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF0EF.7000202@torchlake.com> Darryl, Thanks, that is a terrific story. Yes, I think I finally have this lesson learned. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 5:49 PM, Darryl Collins wrote: > " and in my heart of hearts I did know it." > > Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. > > I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields > Sent: Thursday, 8 December 2011 8:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I should be able to do this - resolved > > Dear Friends, > > Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. > > When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. > > I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/4/2011 1:47 PM, Tina Norris Fields wrote: >> Dear Friends, >> >> Okay, I have a form with a combo-box for selecting the counselor who >> will be assigned to the student whose record is displayed in the >> form. Once that is updated, I want the matching name of the counselor >> to placed in the student's record. >> >> So combo-box is looking into the tblCounselor, which has two fields >> Counselor_ID and Counselor_LName. Once the choice is made, I want to >> update the field Stu_Counselor in the tblStudent with the name found >> in tblCounselor.Counselor_LName. >> >> I'm writing gibberish in my AfterUpdate event and I need to be >> rescued. Any help waking up my brain? >> >> Thanks, >> T >> From djkr at msn.com Wed Dec 7 17:11:59 2011 From: djkr at msn.com (DJK (John) Robinson) Date: Wed, 7 Dec 2011 23:11:59 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: A place I worked for a while had Christmas Day fall in the fourth half of the third month, for similar reasons - yes, the *fourth* half! Never assume anything ... John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 07 December 2011 22:49 To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Dec 7 17:29:33 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:29:33 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF6DD.9050605@torchlake.com> Thank you, Arthur. I have just ordered the book. "Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From darryl at whittleconsulting.com.au Wed Dec 7 17:33:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:33:02 +0000 Subject: [AccessD] Advice on A2010.... Message-ID: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From dbdoug at gmail.com Wed Dec 7 17:43:22 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 15:43:22 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 17:59:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:59:26 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. Thanks Doug! Cheers D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Dec 7 18:05:42 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 00:05:42 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF05D@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaah, I dunno. It is sooo damn random. Sometimes the same database will function for hours without issue. This morning, it is it misbehaving almost immediately. Restarted the app and now it is purring along like a little kitten - no errors or anything. Sheesh. I don't mind things not working, but it is so much easier to find the problem when there are consistent symptoms. It is the seemingly randomness that does my head in. Just when I get relaxed about it, it will fail. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Dec 7 18:40:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 07 Dec 2011 19:40:01 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001601ccb541$ebc7bfe0$c3573fa0$@net> 37 tab multipage control ? That's HUGE. I had horrible experience with multipage in 2007.... I am sure the same bugs have been carried thru to 2010. Multipage was very "touchy"....especially during design mode. I could easily crash Access consistently just by moving controls around. From stuart at lexacorp.com.pg Wed Dec 7 19:03:11 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Dec 2011 11:03:11 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > From darryl at whittleconsulting.com.au Wed Dec 7 19:16:56 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 01:16:56 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EF391@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks guys. That is the angle I am taking. Even though I have worked on databases with many more bound controls et al, it seems this is the most likely suspect for these issues. Going to unbound everything and use value only lists in the list boxes. Luckily I have all code to do this fairly quickly. Should only take a couple of days. Will let you know how it goes. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 8 December 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > -- 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 Dec 7 23:22:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 00:22:04 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I've got one like this, too. (Don't we all?) Way back when, I did an app for an insurance company's pension fund arm. The app worked just fine and everyone was happy, save one problem. (Preamble: pension funds come and go.) Everything was rock-solid save one particular report, about 90% of whose data was correct but the remainder was wonky. I fought this problem on and off for about 6 weeks, to no avail. Then one day in a meeting, someone mentioned that the company uses 360-day years. They just wrote off the other 5.26 days as if they didn't exist. Hence, on about 10& of the records, depending on calendar dates of the relevant funds, the reports were a few dollars out there and there. Once this was explained, I commented out all my clever date calculations (e.g. 365.26 is how to anticipate leap years) and pretended the world was flat, and automagically all the data conformed to the flat earth. Whew! At last, I was free to find a real job. A. From marksimms at verizon.net Thu Dec 8 07:38:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 08:38:12 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <008301ccb5ae$a1bac290$e53047b0$@net> Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? From df.waters at comcast.net Thu Dec 8 07:47:23 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 07:47:23 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) Message-ID: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 8 08:18:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:18:12 -0500 Subject: [AccessD] SQL Compression - interesting read Message-ID: <4EE0C724.1040604@colbyconsulting.com> http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/what-is-page-compression.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:29:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:29:32 -0500 Subject: [AccessD] Compression Interesting read - part 2 Message-ID: <4EE0C9CC.8090103@colbyconsulting.com> I had to go find this... http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:31:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:31:27 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <008301ccb5ae$a1bac290$e53047b0$@net> References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> <008301ccb5ae$a1bac290$e53047b0$@net> Message-ID: <4EE0CA3F.3020100@colbyconsulting.com> > So what's more important: the analysis or the coding ? This is not either / or. Problems on either end can be just as devastating. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/8/2011 8:38 AM, Mark Simms wrote: > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > From tinanfields at torchlake.com Thu Dec 8 09:07:54 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:07:54 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE0D2CA.9010609@torchlake.com> Thanks for keeping me company, Darryl. I'm going to make up a plaque that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 6:59 PM, Darryl Collins wrote: > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > Thanks Doug! > > Cheers > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, 8 December 2011 10:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Advice on A2010.... > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > 2003 if I remember correctly, the total number of open recordsets (or > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > Doug > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > >> Hi everyone, >> >> Boy, A2010 does some weird stuff. >> >> I have an accdb database. It is on my local drive, it is only me who >> uses it, it is only me who can access it. It has DAO code it uses to >> do stuff with recordsets within the currentDB only. There are no >> external connections. There is no BE / FE setup (doesn't need it). >> This database is tiny (about 7 MB) - doesn't have a lot of data or >> really do any heavy processing at all - basic stuff. >> >> The only thing that is unusual for me is I have one main form, which >> has >> 37 tabs on it which in turn has listboxes and subforms - and the >> subforms are bound to their tables - I would usually use unbound, but >> in this case there is no point. Besides they are all really small datasets. >> >> For weeks this has worked pretty well - then suddenly I started >> getting an error when trying to make design changes "Not opened in >> Exclusive mode - another user is using the database - can't save >> changes" was the gist of it. Now how can that happen? There was some >> suggestion from Google search that it maybe one of the DAO recordsets >> was being left opened and thus Access thinks there is a open >> connection and thus another user(?). I double checked I was closing >> all RS and setting them to nothing when I finished with them. >> >> Nothing seemed to work. After much poking around on Google I found >> this piece of code and added it. It seems to have helped, but I am >> not sure if that is just co-incidence or not. I had done a few tweaks >> and rebuild a couple of modules so hard to say: >> >> "'Initiate Passive Shutdown - do not allow new Users >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" >> >> This is meant to force access to reject any new users to the database. >> I wish I could say with confidence that this was what fixed it. I >> guess I could comment out the code and do some tests, but right now, >> after losing two days, I am just wanting to catch up on the days I have lost. >> >> The other weird issue I get at some point when using this database is >> "You don't have enough resources to perform the operation". WTF? >> Again this will fail on doing something low impact and simple. It is >> like Access hit some sort of limit (again maybe open connections via >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). >> But all the DAO connections are all being closed in the code - and >> usually only 1 is open at any one time (a max of 3 in a couple of >> modules) and they are all set to nothing once I have finished with >> them. Besides they are also doing bugger all work. Maybe updating 10 >> records out of a total of 50 >> - that sort of thing. What 'resources' could possibly be being >> exhausted with that sort of workload? A restart of the app will >> usually fix the problem, but what is going here? >> >> Has anyone else had these issues, and any ideas on what to do about them? >> >> Cheers >> Darryl. >> >> Darryl Collins >> Whittle Consulting Pty Ltd >> Suite 8, 660 Canterbury Rd >> Surrey Hills, VIC, 3127 >> >> p: +61 3 9898 3242 >> m: +61 418 381 548 >> f: +61 3 9898 1855 >> e: >> darryl at whittleconsulting.com.au> w: www.whittleconsulting.com.au >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Thu Dec 8 09:18:52 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:18:52 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> Message-ID: <4EE0D55C.50508@torchlake.com> Love it! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/5/2011 7:20 PM, Stuart McLachlan wrote: > http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php > > On 6 Dec 2011 at 0:10, Darryl Collins wrote: > > >> But I still much prefer a decent paper book over them. Must be getting old ;) >> >> Just my thoughts >> Darryl. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Tuesday, 6 December 2011 10:14 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> I wouldn't have a kindle on a plate! I'd simply get an android table >> and load the reader software on it. I've never liked the kindle >> layout or feel, so I see no reason to change now. >> >> Charlotte Foust >> > From jimdettman at verizon.net Thu Dec 8 10:49:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Dec 2011 11:49:36 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 10:54:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 02:54:21 +1000 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <000001ccb5af$e9f67850$bde368f0$@comcast.net> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 chartisinsurance.com Thu Dec 8 10:57:25 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 8 Dec 2011 11:57:25 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 11:03:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 03:03:49 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0D2CA.9010609@torchlake.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> Message-ID: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Like the "fast and easy" function I put in an A97 application that I built years ago which is still in use Functiion Wait(secs as long) as long DIm t as Single t = timer Do Doevents Loop until timer = t + secs End Function It worked fine for years until a couple of months ago when they ran a monthly process late at night and the Wait function was in the middle of the loop at midnight :-( -- Stuart On 8 Dec 2011 at 10:07, Tina Norris Fields wrote: > Thanks for keeping me company, Darryl. I'm going to make up a plaque > that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. > LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/7/2011 6:59 PM, Darryl Collins wrote: > > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > > > Thanks Doug! > > > > Cheers > > D > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > > Sent: Thursday, 8 December 2011 10:43 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Advice on A2010.... > > > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > > 2003 if I remember correctly, the total number of open recordsets (or > > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > > > Doug > > > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > > > >> Hi everyone, > >> > >> Boy, A2010 does some weird stuff. > >> > >> I have an accdb database. It is on my local drive, it is only me who > >> uses it, it is only me who can access it. It has DAO code it uses to > >> do stuff with recordsets within the currentDB only. There are no > >> external connections. There is no BE / FE setup (doesn't need it). > >> This database is tiny (about 7 MB) - doesn't have a lot of data or > >> really do any heavy processing at all - basic stuff. > >> > >> The only thing that is unusual for me is I have one main form, which > >> has > >> 37 tabs on it which in turn has listboxes and subforms - and the > >> subforms are bound to their tables - I would usually use unbound, but > >> in this case there is no point. Besides they are all really small datasets. > >> > >> For weeks this has worked pretty well - then suddenly I started > >> getting an error when trying to make design changes "Not opened in > >> Exclusive mode - another user is using the database - can't save > >> changes" was the gist of it. Now how can that happen? There was some > >> suggestion from Google search that it maybe one of the DAO recordsets > >> was being left opened and thus Access thinks there is a open > >> connection and thus another user(?). I double checked I was closing > >> all RS and setting them to nothing when I finished with them. > >> > >> Nothing seemed to work. After much poking around on Google I found > >> this piece of code and added it. It seems to have helped, but I am > >> not sure if that is just co-incidence or not. I had done a few tweaks > >> and rebuild a couple of modules so hard to say: > >> > >> "'Initiate Passive Shutdown - do not allow new Users > >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > >> > >> This is meant to force access to reject any new users to the database. > >> I wish I could say with confidence that this was what fixed it. I > >> guess I could comment out the code and do some tests, but right now, > >> after losing two days, I am just wanting to catch up on the days I have lost. > >> > >> The other weird issue I get at some point when using this database is > >> "You don't have enough resources to perform the operation". WTF? > >> Again this will fail on doing something low impact and simple. It is > >> like Access hit some sort of limit (again maybe open connections via > >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > >> But all the DAO connections are all being closed in the code - and > >> usually only 1 is open at any one time (a max of 3 in a couple of > >> modules) and they are all set to nothing once I have finished with > >> them. Besides they are also doing bugger all work. Maybe updating 10 > >> records out of a total of 50 > >> - that sort of thing. What 'resources' could possibly be being > >> exhausted with that sort of workload? A restart of the app will > >> usually fix the problem, but what is going here? > >> > >> Has anyone else had these issues, and any ideas on what to do about them? > >> > >> Cheers > >> Darryl. > >> > >> Darryl Collins > >> Whittle Consulting Pty Ltd > >> Suite 8, 660 Canterbury Rd > >> Surrey Hills, VIC, 3127 > >> > >> p: +61 3 9898 3242 > >> m: +61 418 381 548 > >> f: +61 3 9898 1855 > >> e: > >> darryl at whittleconsulting.com.au >> w: www.whittleconsulting.com.au > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu Dec 8 11:05:23 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 8 Dec 2011 09:05:23 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Hi Jim: Thanks for correcting my answer - my memory didn't serve me well. The problem with my mighty recipe database was the control count. Doug On Thu, Dec 8, 2011 at 8:49 AM, Jim Dettman wrote: > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have > one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I > would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you > use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count > towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has 37 > tabs on it which in turn has listboxes and subforms - and the subforms are > bound to their tables - I would usually use unbound, but in this case there > is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. > Now how can that happen? There was some suggestion from Google search that > it maybe one of the DAO recordsets was being left opened and thus Access > thinks there is a open connection and thus another user(?). I double > checked I was closing all RS and setting them to nothing when I finished > with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will > fail on doing something low impact and simple. It is like Access hit some > sort of limit (again maybe open connections via DAO.Recordset(?) - this is > where it usually fails when using code to update stuff via DAO). But all > the DAO connections are all being closed in the code - and usually only 1 > is > open at any one time (a max of 3 in a couple of modules) and they are all > set to nothing once I have finished with them. Besides they are also doing > bugger all work. Maybe updating 10 records out of a total of 50 - that > sort > of thing. What 'resources' could possibly be being exhausted with that > sort > of workload? A restart of the app will usually fix the problem, but what > is > going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Thu Dec 8 13:29:15 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 8 Dec 2011 13:29:15 -0600 Subject: [AccessD] Requirements (was: I should be able to do this -resolved) References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: "Weeks of Computer Programming Can Save You Hours of Planning" :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, December 08, 2011 7:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements (was: I should be able to do this -resolved) Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ab-mi at post3.tele.dk Thu Dec 8 14:02:59 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 8 Dec 2011 21:02:59 +0100 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Oh what a wonderful statement! Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Brad Marks Sendt: 8. december 2011 20:29 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Requirements (was: I should be able to do this-resolved) "Weeks of Computer Programming Can Save You Hours of Planning" :-) From df.waters at comcast.net Thu Dec 8 14:46:56 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 14:46:56 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> Message-ID: <001301ccb5ea$866c7010$93455030$@comcast.net> By Definition, if you are using Agile, building flexibility into your design is one of the developer's requirements! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 08, 2011 10:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this - resolved) But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with > bad plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 8 14:52:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 15:52:02 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Message-ID: <004401ccb5eb$3ce95b50$b6bc11f0$@net> I love this story !!! > Like the "fast and easy" function I put in an A97 application that I > built years ago which is still > in use > > Function Wait(secs as long) as long > DIm t as Single > t = timer > Do > Doevents > Loop until timer = t + secs > End Function > > It worked fine for years until a couple of months ago when they ran a > monthly process late at > night and the Wait function was in the middle of the loop at midnight From stuart at lexacorp.com.pg Thu Dec 8 15:06:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 07:06:41 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <004401ccb5eb$3ce95b50$b6bc11f0$@net> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> Message-ID: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Yep, there was "no way" that this would ever be run other than over a couple of hours during a normal work day. :-) -- Stuart On 8 Dec 2011 at 15:52, Mark Simms wrote: > I love this story !!! > > > Like the "fast and easy" function I put in an A97 application that I > > built years ago which is still > > in use > > > > Function Wait(secs as long) as long > > DIm t as Single > > t = timer > > Do > > Doevents > > Loop until timer = t + secs > > End Function > > > > It worked fine for years until a couple of months ago when they ran a > > monthly process late at > > night and the Wait function was in the middle of the loop at midnight > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu Dec 8 15:29:21 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Dec 2011 13:29:21 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Thu Dec 8 16:07:32 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 08:07:32 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, , Message-ID: <4EE13524.23286.13D57150@stuart.lexacorp.com.pg> That was one of the benefits of EatBloat. One way to reset the control count is Application.SaveAsText/LoadFromText. -- Stuart On 8 Dec 2011 at 13:29, Charlotte Foust wrote: > Copies of the form are full copies with the same limits. The control count > is part of the properties of the form, so importing it doesn't change a > thing. You can create a new form and copy the controls to it but then you > have to go through replacing the old form with the new one. > Charlotte Foust > On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > Jim, > > > > Regarding the (crazy) form control limit. Do you know if the count gets > > reset if you make a copy of the form? Does the new copy have a controls > > count equal to the number of controls currently on the form? What about > > importing the form into another MDB file? > > > > Just curious, I've not yet hit that limit. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > > Sent: Thursday, December 08, 2011 11:50 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Advice on A2010.... > > > > > > Couple of comments: > > > > 1. In regards to Doug's comments on connections, you really should only > > have one with DAO as long as your not using Opendatabase. Always using > > currentdb(), will use the same connection. Don't see where your bumping > > into the 255 user limit there. > > > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > > used for every table and field reference. A form with 37 tabs is huge and > > I would guess that's what your running into. > > > > 3. Access is limited to 754 controls over the life of a form, so watch how > > big you get (note the limit is not 754 - deleting and creating a control > > does not decrement/increment the count, it only increments it). Surprised > > you didn't run into that one. > > > > 4. If your working in ADO, make sure you use CurrentProject.Connection > > This is Access/Jet's ADO connection for the DB you opened and as long as > > you use it, you'll show up as only one user. If you open your open ADO > > connections, each will count as a user (when opened together) and will > > count towards the 255 limit. > > > > HTH, > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > > Sent: Wednesday, December 07, 2011 06:33 PM > > To: Access Developers discussion and problem solving > > (accessd at databaseadvisors.com) > > Subject: [AccessD] Advice on A2010.... > > > > Hi everyone, > > > > Boy, A2010 does some weird stuff. > > > > I have an accdb database. It is on my local drive, it is only me who uses > > it, it is only me who can access it. It has DAO code it uses to do stuff > > with recordsets within the currentDB only. There are no external > > connections. There is no BE / FE setup (doesn't need it). This database is > > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > > processing at all - basic stuff. > > > > The only thing that is unusual for me is I have one main form, which has > > 37 tabs on it which in turn has listboxes and subforms - and the subforms > > are bound to their tables - I would usually use unbound, but in this case > > there is no point. Besides they are all really small datasets. > > > > For weeks this has worked pretty well - then suddenly I started getting an > > error when trying to make design changes "Not opened in Exclusive mode - > > another user is using the database - can't save changes" was the gist of it. > > Now how can that happen? There was some suggestion from Google search > > that it maybe one of the DAO recordsets was being left opened and thus > > Access thinks there is a open connection and thus another user(?). I > > double checked I was closing all RS and setting them to nothing when I > > finished with them. > > > > Nothing seemed to work. After much poking around on Google I found this > > piece of code and added it. It seems to have helped, but I am not sure if > > that is just co-incidence or not. I had done a few tweaks and rebuild a > > couple of modules so hard to say: > > > > "'Initiate Passive Shutdown - do not allow new Users > > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > > > This is meant to force access to reject any new users to the database. I > > wish I could say with confidence that this was what fixed it. I guess I > > could comment out the code and do some tests, but right now, after losing > > two days, I am just wanting to catch up on the days I have lost. > > > > The other weird issue I get at some point when using this database is "You > > don't have enough resources to perform the operation". WTF? Again this > > will fail on doing something low impact and simple. It is like Access hit > > some sort of limit (again maybe open connections via DAO.Recordset(?) - > > this is where it usually fails when using code to update stuff via DAO). > > But all the DAO connections are all being closed in the code - and usually > > only 1 is open at any one time (a max of 3 in a couple of modules) and they > > are all set to nothing once I have finished with them. Besides they are > > also doing bugger all work. Maybe updating 10 records out of a total of 50 > > - that sort of thing. What 'resources' could possibly be being exhausted > > with that sort of workload? A restart of the app will usually fix the > > problem, but what is going here? > > > > Has anyone else had these issues, and any ideas on what to do about them? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > 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 Thu Dec 8 16:54:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 02:54:41 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE0C9CC.8090103@colbyconsulting.com> References: <4EE0C9CC.8090103@colbyconsulting.com> Message-ID: Hi John -- Yes, this PAGE compression feature makes using natural keys for OLAP systems more preferable than using surrogate keys.. Thank you. -- Shamil. 08 ??????? 2011, 18:31 ?? jwcolby : > I had to go find this... > > http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kismert at gmail.com Thu Dec 8 17:15:30 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 8 Dec 2011 17:15:30 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Heenan, Lambert: > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Jim Dettman: > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > There is one moderately sneaky way around this limit. Steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. Count the number of controls on your form. With the form in design view, enter this in the Immediate window: ? Forms("frmFoo").Controls.Count 2. Save the form as text, using this command: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access file. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" You should now be able to add new controls to your previously 'stuck' form. It is a little work, but probably less than copying all the controls, code and properties over to a new form. -Ken From stuart at lexacorp.com.pg Thu Dec 8 17:26:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 09:26:19 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, Message-ID: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Sorry, you've lost me completely there. Would you care to explain how data page compression has any bearing on natural v surrogate keys? -- Stuart On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > Hi John -- > > Yes, this PAGE compression feature makes using natural keys for OLAP > systems more preferable than using surrogate keys.. > > Thank you. > > -- Shamil. > From darryl at whittleconsulting.com.au Thu Dec 8 17:45:35 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:45:35 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Well, Yes and no. If you are at the absolute limit because you have > 754 controls then you are screwed - and moving to a new form won't help at all. On an existing form that is corrupt or crashing though, there is hope. Access forms are a bit stupid it seems when it comes to counting controls. If you have a single form and add 753 controls, Save the form. Then you delete the controls and add another 5. Then the form will crash even though there are only 5 controls on the form. Trouble is, the control count is absolute and doesn't decrease when you delete controls - everytime you add a control it adds 1 to the count regardless of if the control still exists or not. This is highly bothersome if you consistently copy a default type form and then remove and add new controls. Sooner or later you hit the limit regardless of the number of controls on the form. In this instance importing the controls into a brand new form DOES help, as the control count starts a zero on a new form. Many times, on control heavy forms I have used this to get out of bother. Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 December 2011 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count > gets reset if you make a copy of the form? Does the new copy have a > controls count equal to the number of controls currently on the form? > What about importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should > only have one with DAO as long as your not using Opendatabase. Always > using currentdb(), will use the same connection. Don't see where your > bumping into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID > is used for every table and field reference. A form with 37 tabs is > huge and I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch > how big you get (note the limit is not 754 - deleting and creating a > control does not decrement/increment the count, it only increments > it). Surprised you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long > as you use it, you'll show up as only one user. If you open your open > ADO connections, each will count as a user (when opened together) and > will count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Dec 8 17:52:53 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:52:53 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F064A@SINPRD0402MB099.apcprd04.prod.outlook.com> Jim, Many thanks. Yep, Point 1 was initially my main concern with using 37 tabs on a single form. I was aware of the control limit on forms and have hit it many times in the past, but usually due to the issue I mentioned in the other post (control count not adjusting when controls are deleted etc). I feel point 2 is probably what is happening. 2048 sound like a big number, but if every listbox is bound then you can gobble them up rather quickly. I need to leave some of the subforms bound as I am using them as datasheet views. However, yesterday I bit the bullet and did what I should have done from day 1 and converted all of the listboxes to Value lists only (waves at Tina ;)). Whilst I was running out of enthusiasm with the huge shebang and I need to test it a lot more, the database didn't seem to have any more issues (fingers crossed) and using value lists load and respond a darn site faster anyway. Only down side to them is there is a limit to just how much data you can fit into a value list (at least loading them they I am via an "adstring" command). In this case it doesn't matter. Most of the lists only have 1-20 entries anyway - so easy. I am using DAO for all connections - well I was, I am using an ADO connection to create the listbox strings for the value list. But that is all working good. Really appreciate your time and effort on this. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 9 December 2011 3:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Dec 8 19:33:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:33:14 -0500 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: <003d01ccb612$85552c80$8fff8580$@net> PULEASE - no more KEY WARS !!!! (although Shamil is right) > Sorry, you've lost me completely there. Would you care to explain how > data page compression has any bearing on natural v surrogate keys? From marksimms at verizon.net Thu Dec 8 19:35:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:35:06 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <003e01ccb612$c81e3070$585a9150$@net> Re: "Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA." Two words: MEMORY MANAGEMENT Access is still written in C++ AFAIK. From fuller.artful at gmail.com Thu Dec 8 21:41:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 22:41:04 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > From darryl at whittleconsulting.com.au Thu Dec 8 22:02:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Dec 2011 04:02:47 +0000 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <56653D383CB80341995245C537A9E7B55F0794@SINPRD0402MB099.apcprd04.prod.outlook.com> Heh.. Outstanding. And I totally agree - many times I have ended up making much more mulla than the original spec as the stakeholders are unable to agree on much. Person X will request this feature, Person Y want something else. You add both, and then their manager will make changes again - or remove the said functions. Good for the invoice, but it can be frustrating. Indeed for one client I almost never deleted any feature they had been requested and built, I would merely turn if 'off' or made it invisible. It was fairly common for a 'deleted' function to be reinstated in a month or two at the insistence of someone in the organisation. Fun stuff. I always document who requested what and when - and often even show it as a line item on the invoice for those hours. This makes any discussion about budget overruns easier to deal with I find. Sure, there maybe some heat and fire from the accounting dept, but at least I am not in the firing line ;) Live and learn... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 9 December 2011 2:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this-resolved) Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Fri Dec 9 03:26:35 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:26:35 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- Thank you for your question. AFAIU MS SQL page compression feature substitutes all the duplicate entries in data records columns of a DB file page by one/two/... bytes long references to "dictionary" area located on the same page. By "duplicate entries" are meant not only full length columns' values but also their values' leading parts... Please read the articles/blog entries JC referred in his postings for details. Please correct me if you'll find I'm wrong. Thank you. -- Shamil P.S. Stuart, please note I've written "using natural keys for *OLAP* systems" - I have no any intentions in re-starting "surrogate vs. natural keys" generic discussion covering OLTP systems - I'm *currently* strong advocate of using surrogate keys in OLTP systems.... 09 ??????? 2011, 03:27 ?? "Stuart McLachlan" : > Sorry, you've lost me completely there. Would you care to explain how data page > compression has any bearing on natural v surrogate keys? > > -- > Stuart > > On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > > > Hi John -- > > > > Yes, this PAGE compression feature makes using natural keys for OLAP > > systems more preferable than using surrogate keys.. > > > > Thank you. > > > > -- Shamil. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 9 03:30:29 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:30:29 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <003d01ccb612$85552c80$8fff8580$@net> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> <003d01ccb612$85552c80$8fff8580$@net> Message-ID: Hi Mark -- Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. Thank you. -- Shamil 09 ??????? 2011, 05:34 ?? "Mark Simms" : > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > Sorry, you've lost me completely there. Would you care to explain how > > data page compression has any bearing on natural v surrogate keys? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 9 03:43:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 19:43:07 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, <003d01ccb612$85552c80$8fff8580$@net>, Message-ID: <4EE1D82B.9612.16524732@stuart.lexacorp.com.pg> I wasn't trying to start a war either :-) I just couldn't see the relationship between data compression and the different type of keys. I'm still not sure that I do, I will have to look at the original article more carefully. On 9 Dec 2011 at 13:30, Salakhetdinov Shamil wrote: > Hi Mark -- > > Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. > > Thank you. > > -- Shamil > > > 09 2011, 05:34 "Mark Simms" : > > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > > > Sorry, you've lost me completely there. Would you care to explain how > > > data page compression has any bearing on natural v surrogate keys? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Fri Dec 9 04:07:28 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:07:28 +1300 Subject: [AccessD] OpenRecordset Error Message-ID: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Fri Dec 9 04:22:23 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:22:23 +1300 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.c o.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111209102235.CGYG28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Never mind. I found it - I had closed db in an earlier part of the code between setting it and referring to rst2. At 9/12/2011, David Emerson wrote: >It is getting late. Can anyone see why I am getting error 91 Object >variable or With block variable not set) when the "Set rst2" line is >run? I have checked the value of strSQL and it looks ok. I have >put the sql into a query and it returns the expected result. Could >it be because OpenRecordset doesn't like group by queries? > > Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String > > Set db = CurrentDb() > > strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, > tblTenantInvoiceMeter.TenantInvoiceIDNo " > strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN > tblTenantInvoiceMeterTran ON > tblTenantInvoiceMeter.TenantInvoiceMeterID = > tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " > strSQL = strSQL & "GROUP BY > tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING > tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" > Set rst2 = db.OpenRecordset(strSQL) > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Dec 9 08:10:03 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 9 Dec 2011 06:10:03 -0800 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I can't see it either but what I do in cases like this is put strSQL into a text box on my form, then copy the contest of the text box to the SQL view of a new query and go to design view. If it makes it that far, I run it. Lots of times it will tell me what the real error is. The error 91 would seem to be pointing to db as not being set. Is the reference to DAO set correctly? The next thing I'd do is Dim db2 as dao.Databaser and set db2 = CurrentDb. Then use db2 to set rst2 and see if it makes a difference. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, December 09, 2011 2:07 AM To: access Developers discussion and problem solving Subject: [AccessD] OpenRecordset Error It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 9 10:41:59 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:41:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Message-ID: <4EE23A57.40009@torchlake.com> Oh boy! Yeah, the user has a very different perspective from the developer. My township had an Excel spreadsheet for registered voters. The state developed a new standard and the spreadsheet had to be updated to match. Of course, in the township's spreadsheet the voter's name was just one cell, with no standardization for data entry (my name, for instance, could have been entered as "Tina Norris Fields," "Fields, Tina N.," "Fields, Tina Norris," "Mr.s Tina Fields," and any other configurations you can think of). So, I was asked to help. When it got to the field for a name suffix, such as "Jr.," "Sr.," "III," "Esq." and the like, the office assistant actually said to me, "No, we don't have to worry about that, there aren't that many of them." It had never dawned on her that the field would be required if there was even one person with a name suffix. I get it that our different perspectives color the way we see the problem. I just haven't figured out how to properly anticipate the user's likely take on it. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 4:06 PM, Stuart McLachlan wrote: > Yep, there was "no way" that this would ever be run other than over a couple of hours during > a normal work day. :-) > From tinanfields at torchlake.com Fri Dec 9 10:42:55 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:42:55 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23A8F.4020205@torchlake.com> ROTFLMAO!!! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 2:29 PM, Brad Marks wrote: > "Weeks of Computer Programming Can Save You Hours of Planning" > > :-) > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, December 08, 2011 7:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Requirements (was: I should be able to do this > -resolved) > > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Fri Dec 9 10:45:36 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:45:36 -0500 Subject: [AccessD] Requirements (was: I should be able to dothis-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23B30.2050302@torchlake.com> Yay, Arthur! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 10:41 PM, Arthur Fuller wrote: > Referring back to my original whine about this problem, in the absence of a > definition of calendar-years, how was I supposed to know there might be a > difference between the real world and the world of pension-funds? A > pension-fund specialist or programmer of apps in this field might have > known to ask this question, but I didn't, nor did any of the > requirements-people deem it worth mentioning. > > Granted, now that I've been severely bitten and savaged by this, I know > enough to ask about the definition of a year. But even granting that, what > about the definition of a month? How to handle leap-years? How many > Requirements-meetings shall be consumed discovering these anomalies? Thank > God that I have subsequently learned that Gathering and Verifying > Requirements is a (and perhaps The Most) billable item on the ultimate > invoice; and that any subsequent changes to the Requirements document is > also billable vis-a-vis the Development spec. The beauty part of this > arrangement is that when some flunky wants this to work that way instead of > the previously-accepted spec, I get to say, "Ok, but it's going to cost you > another $10+K. Are you sure you want to make this change?" Which adroitly > punts the ball to her or him, and forces her or him to justify the change > in specs. Even more elegant, all such requests for change are directly > traceable to the person who requested them. LOL. Twice bitten, thrice shy, > as it were. "You want to fork with me? Go ahead, it's all billable, > directly to you! So there, MoFo." Go ahead, stretch your middle-management > muscles, but your bosses will know precisely whom to blame for the OverRuns. > > A. > > On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > >> Oh what a wonderful statement! >> Asger >> >> From jimdettman at verizon.net Fri Dec 9 10:55:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Dec 2011 11:55:24 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <413332D02540427285BB20F711596C16@XPS> No, un-changed, and nope. Every control you create increments the count. Deleting a control does not decrement it, so the count only goes up. Importing into a new DB does not reset the count. Once you hit the limit, all you can do is create a new form and then copy controls into it. You can't add any more controls to the existing form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 08, 2011 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Dec 9 11:41:03 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Dec 2011 12:41:03 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: Interesting theory, which I am in no position to prove or disprove. But I am thinking of JC's JIT-tabbed forms construct. Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Alternatively, am I missing the point completely? (Wouldn't be the first time!) A. On Fri, Dec 9, 2011 at 11:55 AM, Jim Dettman wrote: > > No, un-changed, and nope. > > Every control you create increments the count. Deleting a control does > not decrement it, so the count only goes up. > > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > > Jim. > > From marksimms at verizon.net Fri Dec 9 12:08:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 13:08:23 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <000a01ccb69d$8b0d7f20$a1287d60$@net> Is there some VBA to do this ? > all you can do is create a new form and then copy controls into it. From BradM at blackforestltd.com Fri Dec 9 13:25:17 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 9 Dec 2011 13:25:17 -0600 Subject: [AccessD] Controlling an Access 2007 EIS Application via RealVNC on the iPad - almost as good as Angry Birds References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com><47774217B25C456C9FDB2FBEE1C32CB2@XPS><413332D02540427285BB20F711596C16@XPS> <000a01ccb69d$8b0d7f20$a1287d60$@net> Message-ID: All, I have built an Executive Information System (reports, graphs, gauges, etc.) with Access 2007 that runs on a remote server. Most of the data comes from a SQL Server database. The remote server has the "server component" of a remote control product called RealVNC. Last week I learned that there was a $5.00 RealVNC "Client" component available for the iPad. (I believe that the "Server" component is about $50.00) You folks may already being using this kind of stuff, but this was a new adventure for me. Picture this... sitting in the living room at night, feet up on the recliner, beer in one hand, "Dancing with the Stars" on TV, fireplace is stoked up (Minnesota), pretending to be carrying on a conversation with my wife, but really controlling the EIS Access application on the iPad. As we used to say in the 1960's "Wow... far out - this is a whole bunch of groovey". I guess the younger generation would say something like "This Rocks". Anyway, being able to use this application on the iPad (and future iPhone) opens up all kinds of new possibilities. Admittedly this isn't the ticket for an application that demands a ton of data entry, but for an inquiry system, it seems pretty cool. The only problem is that we may now need to get a second iPad as my wife, kids, and two grandkids are pretty hooked on Angry Birds :-) Brad From jwcolby at colbyconsulting.com Fri Dec 9 13:29:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Dec 2011 14:29:42 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <4EE261A6.4080505@colbyconsulting.com> >Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Nope it doesn't remain in memory if the subform on a tab unloads when you click off a tab. All objects on any form or subform loads into memory when the form loads, and unloads when the form unloads. My JIT stuff simply delays the loading of the subform until the user clicks the tab that the subform is on. I then (may) unload the subform(s) on that tab when the user clicks on another tab. The database connections form a pool. As any object in Access needs a connection, it goes to the pool to get one and when that object closes it returns the connection to the pool. The objects on a form are related to the number of available connections in that when it is time to load a form, all connections that the loading form needs have to exist (be available) when the form loads. However as the form unloads, it returns the connections back to the pool. That is quite the point of JIT subforms, to only get the connections when the user actually cares (is trying to look at the subform) and return these precious connections once the user moves on. All of which has absolutely nothing to do with the number of objects (controls) a form can contain initially or how many can be added to the form right now. Each form has a similar pool of controls that it can add. The difference is that as you delete a control off a form it does not return that "spot" in the pool back to the pool. Thus over time, as you add and delete controls on the form, the number of available "spots" slowly diminishes until they are all used up. This "objects on a given form" pool has nothing to do with the "available database connections" pool. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 12:41 PM, Arthur Fuller wrote: > Interesting theory, which I am in no position to prove or disprove. But I > am thinking of JC's JIT-tabbed forms construct. Are you suggesting that > despite JC's innovative solution to the many-tabs problem, that all this > shyte remains in memory despite JC's unloading of the various sub-forms? > Alternatively, am I missing the point completely? (Wouldn't be the first > time!) > > A. From kismert at gmail.com Fri Dec 9 14:21:53 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 9 Dec 2011 14:21:53 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Stuart, Darryl, Charlotte & Jim: > Stuart McLachlan: > ... > One way to reset the control count is Application.SaveAsText/LoadFromText. > This does not work by itself. You have to reset the ItemSuffix attribute in the resulting text file before loading it back in. And, you can't have any controls with default names. See my earlier post under this topic. Darryl Collins: > ... > In this instance importing the controls into a brand new form DOES help, > as the control count starts a zero on a new form. > Many times, on control heavy forms I have used this to get out of bother. > Now why they have the limit, and why it doesn't decrease when delete > controls is a question for someone deep in the MS bunker, Redmond WA USA > Try my variation on the SaveAsText/LoadFromText method that I outlined in my earlier post. I have verified this to work. Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user. Charlotte Foust: > ... > Copies of the form are full copies with the same limits. The control > count is part of the properties of the form, so importing it doesn't change > a thing. You can create a new form and copy the controls to it but then > you have to go through replacing the old form with the new one. > > Jim Dettman: > ... > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > You both are right that imports and form copies don't reset the count. You can only copy the controls, code and properties to a new form, or use my technique. -Ken From marksimms at verizon.net Fri Dec 9 18:22:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 19:22:48 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <008601ccb6d1$d9119510$8b34bf30$@net> Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? From jwcolby at colbyconsulting.com Sat Dec 10 09:44:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Dec 2011 10:44:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <4EE37E52.2090702@colbyconsulting.com> Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, but > there are 270 controls reserved for internal use by the application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY > WASN'T THE LIMIT RAISED ? > > From john at winhaven.net Sat Dec 10 10:04:07 2011 From: john at winhaven.net (John Bartow) Date: Sat, 10 Dec 2011 10:04:07 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE37E52.2090702@colbyconsulting.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <4EE37E52.2090702@colbyconsulting.com> Message-ID: <038e01ccb755$58d63c00$0a82b400$@winhaven.net> A-hem, that's "Ribbons" ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 10, 2011 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, > but there are 270 controls reserved for internal use by the > application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS > TIME WHY WASN'T THE LIMIT RAISED ? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 10 21:14:28 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 10 Dec 2011 22:14:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> I would love to hear MS's defense of this "lifetime" limitation. Especially a number like 754! Number theorists, have at it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 09, 2011 7:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 11 18:17:22 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Dec 2011 19:17:22 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <00d701ccb7b2$ff06d000$fd147000$@gmail.com> Message-ID: <001501ccb863$6b5e5880$421b0980$@net> Bill -What Balmer did recently was to "distribute" the product manager role for Access. There are now multiple product managers...all over the globe. >From what I know, Clint Covington is either no longer involved or no longer with Microsoft. I'm sure he had taken a LOT of heat past 3 years. So he got out of the kitchen, so-to-speak. Now, NO ONE PERSON is responsible for Access. Slick move by Balmer, eh ? Never liked the guy, never will. From Chester_Kaup at kindermorgan.com Mon Dec 12 10:17:37 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 10:17:37 -0600 Subject: [AccessD] Append Query syntax error Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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 rockysmolin at bchacc.com Mon Dec 12 10:31:38 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:31:38 -0800 Subject: [AccessD] Maximize in A2010 Message-ID: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From cjlabs at att.net Mon Dec 12 10:39:58 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 10:39:58 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 10:56:56 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:56:56 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 10:57:28 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 08:57:28 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cjlabs at att.net Mon Dec 12 11:06:50 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 11:06:50 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <6126DBCEE4A74D8DB9A87053C941E480@Dell> It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 11:21:01 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 09:21:01 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <6126DBCEE4A74D8DB9A87053C941E480@Dell> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <6126DBCEE4A74D8DB9A87053C941E480@Dell> Message-ID: So far just maximizing. Forms in question open down and to the right. When I drag them up and to the left so I can see the control box, and click the maximize button, it maximizes just fine with all the controls correctly sized for the monitor. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 9:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Dec 12 11:27:10 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 11:27:10 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 11:33:41 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 09:33:41 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 12:25:41 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 12:25:41 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 12:53:14 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 10:53:14 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 13:40:44 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 13:40:44 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B96A@houex1.kindermorgan.com> I used your suggestion but was getting some duplicates. Here is the final solution I ended up with. Thanks for the help INSERT INTO [tbl Monthly Well Count] ( [Eng Area], [Well Count] ) SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Dec 12 14:25:59 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 12 Dec 2011 14:25:59 -0600 Subject: [AccessD] ACCDE Questions References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I have an Access 2007 application that I have been deploying as an ACCDR file to a small number of users. Recently, I have been thinking about deploying it as an ACCDE file. I have some basic questions. Is there a way to generate an ACCDE file via a batch script with Command Line Switches? I have done some digging but have not been able to find a way to do this. If I create an ACCDE file, it appears that I can rename it to ACCDR to accomplish further "lock down". Is this Okay to do? Are there any "Gotchas" that a person should be aware of when using ACCDE files? The application in question does not allow users to change any form, report, VBA code, etc. However, there is VBA code that does change query defs behind the scenes. Is this going to be a problem with an ACCDE file? Thanks, Brad From kismert at gmail.com Mon Dec 12 14:51:10 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 14:51:10 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation. Especially > a number like 754! Number theorists, have at it! > I can account for 255 of the 'missing' controls: Access queries have a 255 field limit. Correspondingly, on an Access form, there are 255 AccessField objects reserved for holding query row values. AccessField objects allow you to refer to the underlying field's value without binding it to a control Subtract 255 from 1024 and you get 769. So that is 754 user controls, plus 15 'system reserved'. These could be things like navigation buttons, record selectors, datasheet support, PrtDevMode and PrtMip. Mark Simms: > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME > WHY > WASN'T THE LIMIT RAISED > I can't give you specifics, but I can tell you that a project like Access has a tremendous amount of inertia. Unless you build in flexibility from the very beginning, changing fundamental constants when a project is mature becomes very difficult. The cost of fixing all the things that would break when changing limits like this would likely exceed the cost of building a new system from scratch. Thus, the emphasis on 'window dressing'. Its all flash and noise dedicated to selling the same old thing, which buys time for newer projects like LightSwitch to gain traction. -Ken From kismert at gmail.com Mon Dec 12 15:10:29 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:10:29 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > Mark Simms > Is there some VBA to do this ? > > > all you can do is create a new form and then copy controls into it. > Yes, I developed just such a product. It copies all controls and form properties over, and all properties for each control, rebuilding the form from scratch. It worked perfectly. Doing a half-assed version in VBA is not so hard. Doing it right is really, really involved. You are really better off doing it by hand. The kicker is I did this when I worked for another company, and they own the rights to the code, so I can't distribute it. Maybe one day I will make the case for them to BSD-license it. -Ken From kismert at gmail.com Mon Dec 12 15:26:50 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:26:50 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken From charlotte.foust at gmail.com Mon Dec 12 15:31:44 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 13:31:44 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: Amen, Ken. I used to have code to build forms using a code library and some templates. It was a complicated operation and took me forever to make it work, and I discovered that doing it by hand was easier. Charlotte Foust On Mon, Dec 12, 2011 at 1:10 PM, Kenneth Ismert wrote: > > > > Mark Simms > > Is there some VBA to do this ? > > > > > all you can do is create a new form and then copy controls into it. > > > > Yes, I developed just such a product. It copies all controls and form > properties over, and all properties for each control, rebuilding the form > from scratch. It worked perfectly. > > Doing a half-assed version in VBA is not so hard. Doing it right is really, > really involved. You are really better off doing it by hand. > > The kicker is I did this when I worked for another company, and they own > the rights to the code, so I can't distribute it. Maybe one day I will make > the case for them to BSD-license it. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Mon Dec 12 17:19:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:19:09 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon Dec 12 17:21:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:21:29 +0000 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Ken, That is a good and clear explanation. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, 13 December 2011 8:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Dec 12 17:41:56 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:41:56 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008501ccb927$a31e3230$e95a9690$@net> Wow - thanks for the "heads-up" Ken. Very impressive. > Doing a half-assed version in VBA is not so hard. Doing it right is > really, really involved. You are really better off doing it by hand. > From marksimms at verizon.net Mon Dec 12 17:44:33 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:44:33 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008601ccb928$009f6be0$01de43a0$@net> But let me ask...for complex forms with a lot of controls in specific positions and "tight registration"... Isn't the manual rebuild a monumental task in some cases ? > Amen, Ken. I used to have code to build forms using a code library and > some templates. It was a complicated operation and took me forever to > make it work, and I discovered that doing it by hand was easier. > > Charlotte Foust From vbacreations at gmail.com Mon Dec 12 18:36:52 2011 From: vbacreations at gmail.com (William Benson) Date: Mon, 12 Dec 2011 19:36:52 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 12 19:01:03 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 17:01:03 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <008601ccb928$009f6be0$01de43a0$@net> References: <008601ccb928$009f6be0$01de43a0$@net> Message-ID: You might change your mind if you start writing code to copy the controls over! The code I had took me forever to write and tweak and I did it only because I was building UIs for survey input that included questions and answers and used multiple subforms and navigation buttons based on a limited set of control types to capture specific types of data. There was never a time when it was totally automated. I only built the code because the company's business was corporate direct marketing and I was building survey UIs on a daily basis. It wouldn't have been worth it otherwise. Charlotte Foust On Mon, Dec 12, 2011 at 3:44 PM, Mark Simms wrote: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > > Amen, Ken. I used to have code to build forms using a code library and > > some templates. It was a complicated operation and took me forever to > > make it work, and I discovered that doing it by hand was easier. > > > > Charlotte Foust > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Mon Dec 12 19:24:49 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 17:24:49 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 08:31:59 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 09:31:59 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> The default control names may have something to do with it, but it's not the entire answer. I just ran the code below in A2003 and was able to create 895 controls. I tried the same code in other versions as well: A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Apparently the control creation limit is not a hard limit, but based on some other internal constraint. This is similar to the table ID limit, which is stated as 2048, but actually floats a bit. These limits are somehow tied to the way Access internally handles open objects, but what that process is is un-clear. Jim. Public Sub CheckControlCreation() Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 12, 2011 07:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 13 08:33:46 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 13 Dec 2011 09:33:46 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 13 09:15:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:15:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> Message-ID: <4EE76C10.4050400@colbyconsulting.com> Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From jimdettman at verizon.net Tue Dec 13 09:32:39 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 10:32:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE76C10.4050400@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> Message-ID: <5B9F45562C414FF89415B34BFB2F845A@XPS> Have always been curious about the limit; 754 is just such an odd number. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, December 13, 2011 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Dec 13 09:39:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Dec 2011 10:39:35 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: First, it's an even number, not odd. And second, a WAG... 768 - 14 overhead bytes? LOL. A. On Tue, Dec 13, 2011 at 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > From jwcolby at colbyconsulting.com Tue Dec 13 09:58:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:58:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: <4EE77628.4000404@colbyconsulting.com> >754 is just such an odd number. That it is! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, December 13, 2011 10:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Wow! > > Obviously you need answers badly or you don't have enough paying work. ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/13/2011 9:31 AM, Jim Dettman wrote: >> >> The default control names may have something to do with it, but it's not >> the entire answer. I just ran the code below in A2003 and was able to >> create 895 controls. I tried the same code in other versions as well: >> >> A2000 - 800 >> A2002 - 894 >> A2007 - 1040 >> A2010 - 1040 >> >> Apparently the control creation limit is not a hard limit, but based on >> some other internal constraint. This is similar to the table ID limit, >> which is stated as 2048, but actually floats a bit. >> >> These limits are somehow tied to the way Access internally handles open >> objects, but what that process is is un-clear. >> >> Jim. >> >> Public Sub CheckControlCreation() >> >> Dim frm As Form >> Dim ctlText As Control >> Dim ctlLabel As Control >> Dim intK As Integer >> >> ' Create form based on Customers form. >> Set frm = CreateForm() >> >> For intK = 1 To 2000 >> >> ' Create unbound default-size text box in detail section. >> Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + >> intK, 100 + intK, 200, 200) >> >> ' Create child label control for text box. >> Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", > 100, >> 100) >> >> Debug.Print ctlText.Name, ctlLabel.Name >> >> Next intK >> >> End Sub >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> Sent: Monday, December 12, 2011 07:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >> Great explanations. Thanks Mark and Ken. >> On Dec 12, 2011 6:22 PM, "Darryl Collins" >> wrote: >> >>> Thanks Ken, >>> >>> That is a good and clear explanation. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto: >>> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >>> Sent: Tuesday, 13 December 2011 8:27 AM >>> To: accessd at databaseadvisors.com >>> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >>> A2010....) >>> >>>> >>>> William Benson: >>>> I would love to hear MS's defense of this "lifetime" limitation.... >>>> >>> >>> To answer the first part of your question, it all has to do with default >>> control names. >>> >>> When you insert a control in a form, it is given a default name, like >>> text10 or label121. The counter that names the controls is the Lifetime >>> Control Limit counter. Once it hits 754, it gives up. >>> >>> The reason for that is name collisions. You can't just reset the counter, >>> especially when lots of controls on the form have default names. In this >>> scenario, Access might try to name a new control 'text203', and that name >>> would already exist. In pathological cases, all possible new names for a >>> control could already exist, and then you're stuck. >>> >>> That is why, in my earlier instructions, I required that you rename all >>> controls with default number-suffixed names before resetting the counter. >>> >>> It was to avoid name collisions. >>> >>> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >>> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >>> for what they surely imagined was going to be a rare event. >>> >>> -Ken >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> 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 Dec 13 10:06:00 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 08:06:00 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Gotta try that. Awkward because I need to make the mde in 2003 then copy to machine #2 to test. But I'll give it a whirl. "an unhandled runtime error which stops Access from doing what it should?" Is there such a thing? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Tuesday, December 13, 2011 6:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Dec 13 11:11:24 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 13 Dec 2011 21:11:24 +0400 Subject: [AccessD] =?utf-8?q?FYI=3A_Excel_Web_App_hosted_on_SkyDrive=2E=2E?= =?utf-8?q?=2E?= Message-ID: Hi All, FYI: http://www.excelmashup.com/ Thank you. -- Shamil? From jwcolby at colbyconsulting.com Tue Dec 13 11:21:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 12:21:55 -0500 Subject: [AccessD] FYI: Excel Web App hosted on SkyDrive... In-Reply-To: References: Message-ID: <4EE789B3.2030104@colbyconsulting.com> I spend all of my day trying to prevent my data from getting mashed up and then Microsoft promotes this! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 12:11 PM, Salakhetdinov Shamil wrote: > Hi All, > > FYI: http://www.excelmashup.com/ > > Thank you. > > -- Shamil From vbacreations at gmail.com Tue Dec 13 15:22:51 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 13 Dec 2011 16:22:51 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left the > role I was in where it was a problem before a fix was required (they were > only testing A2007 at the time to suss out issues) - Google is likely to > turn up something useful if you are lucky. The form resizing was > definitely an issue at the time. Not much help for you right now I know, > but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort of > housekeeping in the Open module of every form - use the ADH form resizing > code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of my > customers are still on 2003 or 2007 and I would prefer not to have to > support two version and find out which version they're on before sending > them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Dec 13 15:58:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 16:58:39 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? Message-ID: <4EE7CA8F.5040001@colbyconsulting.com> I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading part of the name. They point to a SQL server Express database that physically does not exist any more. I have discovered that these links to old stuff cause massive slowing opening real linked tables so I need to find and delete these links, but I am at a loss to discover how. ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Dec 13 16:12:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 17:12:07 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? In-Reply-To: <4EE7CA8F.5040001@colbyconsulting.com> References: <4EE7CA8F.5040001@colbyconsulting.com> Message-ID: <4EE7CDB7.8000807@colbyconsulting.com> Never mind. that was from tables already deleted. When I exited the db and came back in these were gone. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 4:58 PM, jwcolby wrote: > I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading > part of the name. They point to a SQL server Express database that physically does not exist any > more. I have discovered that these links to old stuff cause massive slowing opening real linked > tables so I need to find and delete these links, but I am at a loss to discover how. > > ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > From darryl at whittleconsulting.com.au Tue Dec 13 16:13:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 13 Dec 2011 22:13:18 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5601060@SINPRD0402MB099.apcprd04.prod.outlook.com> Perhaps, but my experience would suggest it is more of a bug than anything else. Or perhaps a deliberate attempt to move folks off MDE to accde instead. The premise is simple. If a form is set to docmd.maximise then that is what it should do upon open (or event). It works as expected in A2003 as MDB or MDE. But in A2007 the docmd.maximise is seemingly ignored. The form usually opens as a float - I think it also did it for MDB format stuff as well - can't recall. >From memory if you click on the form or moved it - it would immediately maximise and snap to full size. As I said, it has been a while, but I do recall it coming up consistently in the testing we were doing. Annoying. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 14 December 2011 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Dec 13 16:58:46 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 16:58:46 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken From kismert at gmail.com Tue Dec 13 17:26:20 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 17:26:20 -0600 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: > > Mark Simms: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > Charlotte Foust: > You might change your mind if you start writing code to copy the controls > over! ... I only built the code because ... I was building survey UIs on > a > daily basis. It wouldn't have been worth it otherwise. > I agree with Charlotte. You have to be strongly motivated to tackle this project. In my case, the company's flagship A2K product had a crippling case of bloat that none of the normal methods (including EatBloat) could cure. It took 3 months full-time to develop the 'complete rebuild' fix, which did finally work (to everyone's great relief)! Mark: if you are forced to rebuild a huge form, try these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. In the Immediate window, count the number of controls: ? Forms("frmFoo").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access database. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" I have observed this to work. -Ken From rockysmolin at bchacc.com Tue Dec 13 19:24:40 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 17:24:40 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: No - you get the same error message - just no Debug option. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 13, 2011 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 19:30:42 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 20:30:42 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, December 13, 2011 05:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 13 20:52:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 02:52:10 +0000 Subject: [AccessD] UDF in Access called to Excel Message-ID: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi guys and girls. One of my colleagues is using a UDF embedded into an Access Query. The query runs find in access by when he is calling the query from Excel VBA (via qd.openrecordset). The code fails with a 'undefined function' error. I read on google the following which was a response to a similar issue: "Access uses Jet, and the combination of Access and Jet understands VBA functions. DAO is a generic data access layer that doesn't understand VBA functions. When you use DAO, you're not automating Access, merely using that bridge to get to the data. Even though some versions of Access use DAO internally to communicate with Jet, the ability to understand VBA is programmed into Access, not DAO." So, is that correct. I would have thought the DOA would have only sent the command to open the query and Access would still do all of the processing? Any thoughts on this. I personally wouldn't do it this way. I would use the Function from Excel to get all of the parameters first and then pass them to the query as needed. In this case the function is built into the query itself in Access. Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From stuart at lexacorp.com.pg Tue Dec 13 21:26:37 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Dec 2011 13:26:37 +1000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. From darryl at whittleconsulting.com.au Tue Dec 13 21:30:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 03:30:17 +0000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B5601256@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Stuart. That clears that up. I will tell him to go to Plan B instead. Cheers darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 December 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] UDF in Access called to Excel On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 13 21:44:17 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 13 Dec 2011 22:44:17 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <003c01ccba12$a84eb590$f8ec20b0$@net> Thanks a ton Ken ! Simply excellent technical investigative work. Well done. > 5. Import the form using: > Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & > "\" & > "Form_frmFoo.txt" > > I have observed this to work. > > -Ken From vbacreations at gmail.com Tue Dec 13 22:17:49 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 13 Dec 2011 23:17:49 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <001201ccba17$579a35c0$06cea140$@gmail.com> If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From darryl at whittleconsulting.com.au Tue Dec 13 22:35:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 04:35:10 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <56653D383CB80341995245C537A9E7B56012C7@SINPRD0402MB099.apcprd04.prod.outlook.com> That is what I normally do - which is probably why it is nearly always much more work to code it than do it all manually. The copy / paste way is usually fast, even with many hundreds of controls it doesn't take more than a few minutes I find. The only other step is to ensure you copy the form code over as well to the new form. I usually rename the old form "frmMyForm_OLD" first, create a new form and save it "frmMyForm", copy the controls, copy the code, save and test. If the new form works as expected I then delete the old form entirely (of course I have an original one on an older backup version). Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 14 December 2011 3:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Dec 14 02:11:59 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 14 Dec 2011 09:11:59 +0100 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. From jwcolby at colbyconsulting.com Wed Dec 14 06:05:11 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 07:05:11 -0500 Subject: [AccessD] Access bounc form - Data has changed Message-ID: <4EE890F7.6000204@colbyconsulting.com> I am moving to SQL Server and when a user tries to update data that has changed a message is generated. The nice part is that Access places the change in the paste buffer. How do I handle that at the form? Trap the error and requery the form then the prompt the user to insert the paste buffer? I will be testing that stuff but have no experience here. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jimdettman at verizon.net Wed Dec 14 07:24:32 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 08:24:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: BTW, one of the things I did try was creating text only controls rather then a text/label combination. Got the same results, but other control types might yield different numbers. If they do, then the limit would seem more related to object management rather then some inherent limitation with form objects themselves (in terms of storage). I'll play with that today if I have time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 14, 2011 03:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 14 09:16:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 10:16:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <4EE8BDC2.5010108@colbyconsulting.com> I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > From marksimms at verizon.net Wed Dec 14 09:49:28 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 10:49:28 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <000001ccba77$f6c10060$e4430120$@net> Apparently the important last control number is "inherited" from the old form..... that's why you must go to text... And then edit the number. > If rebuilding the form completely, why doesn't copying the controls to > a new > form and renaming the form suffice? > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From charlotte.foust at gmail.com Wed Dec 14 10:49:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 08:49:20 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <000001ccba77$f6c10060$e4430120$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: You avoid that issue entirely if you name all your controls in the first place. Charlotte Foust On Wed, Dec 14, 2011 at 7:49 AM, Mark Simms wrote: > Apparently the important last control number is "inherited" from the old > form..... > that's why you must go to text... > And then edit the number. > > > If rebuilding the form completely, why doesn't copying the controls to > > a new > > form and renaming the form suffice? > > > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< > > > -- > 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 Dec 14 11:10:59 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Dec 2011 12:10:59 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE890F7.6000204@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: Without pretending to expertise on this topic, although admitting some experience, I have found that the best way to handle this stuff is via Views. Which is also a statement of principle: never let Anyone but God touch the tables, me and in your case You assuming the God role, allow no mortal to ever touch the tables: that is Your province; they all go through sprocs or views; it happens that in an Access app, I prefer views, because they are much more flexible: simple, simple, simple: main form has one view, details form has another view, linked Master and subForm keys; drop-dead simple, and works like a charm. Maybe not scalable to hundreds of users, although I have made it work with 70+ users, and it was Fast. I have no complaints about that approach, although I am also looking at C# and LightSwitch alternatives, and attempting to re-write client apps on these new models. It's a learning experience. A. On Wed, Dec 14, 2011 at 7:05 AM, jwcolby wrote: > I am moving to SQL Server and when a user tries to update data that has > changed a message is generated. The nice part is that Access places the > change in the paste buffer. > > How do I handle that at the form? Trap the error and requery the form > then the prompt the user to insert the paste buffer? > > I will be testing that stuff but have no experience here. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From jwcolby at colbyconsulting.com Wed Dec 14 12:13:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:13:42 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: <4EE8E756.9000603@colbyconsulting.com> I am not sure what difference a view would make though. The data behind the scenes has still changed. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 12:10 PM, Arthur Fuller wrote: > Without pretending to expertise on this topic, although admitting some > experience, I have found that the best way to handle this stuff is via > Views. Which is also a statement of principle: never let Anyone but God > touch the tables, me and in your case You assuming the God role, allow no > mortal to ever touch the tables: that is Your province; they all go through > sprocs or views; it happens that in an Access app, I prefer views, because > they are much more flexible: simple, simple, simple: main form has one > view, details form has another view, linked Master and subForm keys; > drop-dead simple, and works like a charm. Maybe not scalable to hundreds of > users, although I have made it work with 70+ users, and it was Fast. I have > no complaints about that approach, although I am also looking at C# and > LightSwitch alternatives, and attempting to re-write client apps on these > new models. It's a learning experience. > > A. > > On Wed, Dec 14, 2011 at 7:05 AM, jwcolbywrote: > >> I am moving to SQL Server and when a user tries to update data that has >> changed a message is generated. The nice part is that Access places the >> change in the paste buffer. >> >> How do I handle that at the form? Trap the error and requery the form >> then the prompt the user to insert the paste buffer? >> >> I will be testing that stuff but have no experience here. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> > > > From charlotte.foust at gmail.com Wed Dec 14 12:18:07 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 10:18:07 -0800 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE8E756.9000603@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: It's a security feature. Regular users simply don't have the role permission to change the data in the tables, they have to do it through a view. Charlotte Foust On Wed, Dec 14, 2011 at 10:13 AM, jwcolby wrote: > I am not sure what difference a view would make though. The data behind > the scenes has still changed. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/14/2011 12:10 PM, Arthur Fuller wrote: > >> Without pretending to expertise on this topic, although admitting some >> experience, I have found that the best way to handle this stuff is via >> Views. Which is also a statement of principle: never let Anyone but God >> touch the tables, me and in your case You assuming the God role, allow no >> mortal to ever touch the tables: that is Your province; they all go >> through >> sprocs or views; it happens that in an Access app, I prefer views, because >> they are much more flexible: simple, simple, simple: main form has one >> view, details form has another view, linked Master and subForm keys; >> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >> of >> users, although I have made it work with 70+ users, and it was Fast. I >> have >> no complaints about that approach, although I am also looking at C# and >> LightSwitch alternatives, and attempting to re-write client apps on these >> new models. It's a learning experience. >> >> A. >> >> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >> >wrote: >> >> I am moving to SQL Server and when a user tries to update data that has >>> changed a message is generated. The nice part is that Access places the >>> change in the paste buffer. >>> >>> How do I handle that at the form? Trap the error and requery the form >>> then the prompt the user to insert the paste buffer? >>> >>> I will be testing that stuff but have no experience here. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From marksimms at verizon.net Wed Dec 14 12:30:59 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 13:30:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: <003c01ccba8e$877313d0$96593b70$@net> You mean RENAME, right ? Every control has a name property by default. i.e. there are no unnamed controls. > You avoid that issue entirely if you name all your controls in the > first place. > > Charlotte Foust From jwcolby at colbyconsulting.com Wed Dec 14 12:38:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:38:16 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: <4EE8ED18.1050604@colbyconsulting.com> Yes I understand that but I have set up users and such and their permissions. The message I am getting is that another user has changed the data. I have to do something to cause the form to discover that the data has been written and refresh the data in the current form so that changes to the data in the current form are now allowed. AFAIK that has nothing to do with views per se. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 1:18 PM, Charlotte Foust wrote: > It's a security feature. Regular users simply don't have the role > permission to change the data in the tables, they have to do it through a > view. > > Charlotte Foust > > On Wed, Dec 14, 2011 at 10:13 AM, jwcolbywrote: > >> I am not sure what difference a view would make though. The data behind >> the scenes has still changed. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/14/2011 12:10 PM, Arthur Fuller wrote: >> >>> Without pretending to expertise on this topic, although admitting some >>> experience, I have found that the best way to handle this stuff is via >>> Views. Which is also a statement of principle: never let Anyone but God >>> touch the tables, me and in your case You assuming the God role, allow no >>> mortal to ever touch the tables: that is Your province; they all go >>> through >>> sprocs or views; it happens that in an Access app, I prefer views, because >>> they are much more flexible: simple, simple, simple: main form has one >>> view, details form has another view, linked Master and subForm keys; >>> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >>> of >>> users, although I have made it work with 70+ users, and it was Fast. I >>> have >>> no complaints about that approach, although I am also looking at C# and >>> LightSwitch alternatives, and attempting to re-write client apps on these >>> new models. It's a learning experience. >>> >>> A. >>> >>> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >>>> wrote: >>> >>> I am moving to SQL Server and when a user tries to update data that has >>>> changed a message is generated. The nice part is that Access places the >>>> change in the paste buffer. >>>> >>>> How do I handle that at the form? Trap the error and requery the form >>>> then the prompt the user to insert the paste buffer? >>>> >>>> I will be testing that stuff but have no experience here. >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> Website: http://www.databaseadvisors. >>>> >>>> ****com >>>> >>>>> >>>> >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From jimdettman at verizon.net Wed Dec 14 13:15:02 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 14:15:02 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE8BDC2.5010108@colbyconsulting.com> References: <4EE8BDC2.5010108@colbyconsulting.com> Message-ID: No, that's not the case. When I ran the tests, it didn't matter if I did text and label controls or just text controls as I would get the same number of total controls either way. I had been testing to see if the type of control affected the out come (because of the difference in the number of PEM's) in the total number of controls, but it didn't (at least not for text vs label vs all text, which should have been different enough to show up). And it doesn't seem like the naming is related to the limit. The tests for A2000 and up all yielded control names >754 and A2007 and up went from three to four positions for the numeric portion of the naming. That means you would be able to get 9,999 controls for each control type without a conflict in names. However the numeric suffix counter applies to all controls, so you should be able to get to 9,999 without a problem, but the limit is far short of that. I don't think it's related to the storage method either; all the numbers are odd (not 256, 512, 1024, etc). You just can't come up with any number of bits that represent the numbers shown. Only possibility is the one Ken raised where internal objects are using some of the mapping (ie. 1024 - x number of internal objects = objects available to you). But it seems more related to internal memory management then it does to anything else we've seen so far as the value seems to float from version to version. It's like the table ID limit which also floats a bit; one minute you can be fine with a query or form and the next you get an "out of memory" message. What I'd really like to see happen is those test numbers change a bit on the same machine or between machines. That would really imply that it's related to memory management. A hard coded limit or a limit based on the storage method would always be consistent no matter when or where checked. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 14, 2011 10:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Dec 14 13:14:02 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 11:14:02 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <003c01ccba8e$877313d0$96593b70$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> <003c01ccba8e$877313d0$96593b70$@net> Message-ID: I meant specifically name the controls instead of accepting the defaults, which are less than useless anyhow. And that includes the attached labels and page breaks and all the other items you put on there. I always named them at creation to make it easier to untangle later, so I never ran into issues with default names. Charlotte Foust On Wed, Dec 14, 2011 at 10:30 AM, Mark Simms wrote: > You mean RENAME, right ? Every control has a name property by default. > i.e. there are no unnamed controls. > > > You avoid that issue entirely if you name all your controls in the > > first place. > > > > Charlotte Foust > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From kismert at gmail.com Wed Dec 14 14:23:35 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:23:35 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > Jim Dettman: > < correct only for Access 97.>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > I think the simplest explanation is A97 allowed 1024 controls. Subtract 255 'AccessField' controls (for the maximum fields in a query), and you get 769. That leaves 753 'user' controls and 16 'reserved' controls, things like RecordSelectors, DataSheet support, Record Navigation, the default Detail section, etc. But, on some service pack of Access 2000, the counter limit was raised to 16 bits, or even 32 bits. Supporting 4 billion controls was just silly, so they just picked an arbitrary limit of 800, and kept raising that over time. What I'd really like to see happen is those test numbers change a bit on > the same machine or between machines. That would really imply that it's > related to memory management. A hard coded limit or a limit based on the > storage method would always be consistent no matter when or where checked. Well, AccessD community, test away! Is the limit truly fixed for each version, or does it change? The results will be interesting. -Ken From kismert at gmail.com Wed Dec 14 14:46:02 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:46:02 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to a > new > form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken From jwcolby at colbyconsulting.com Wed Dec 14 15:28:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 16:28:18 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <4EE914F2.4020404@colbyconsulting.com> Good points Ken. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 3:46 PM, Kenneth Ismert wrote: >> >> William Benson: >> If rebuilding the form completely, why doesn't copying the controls to a >> new >> form and renaming the form suffice? >> > > Because you also have to manually duplicate all of the form properties, > which don't copy over automatically. > > For example, if your form allows datasheets, all the column width settings > will be reset to their defaults. > > Further, the copy-and-paste approach can mess up subtle things like display > order, so controls that show up on the original won't be visible on the > copy. > > Thus, if all you need to do is reset the count, I recommend my method, > because the whole form gets copied, leaving no surprises. > > Charlotte Foust: >> You avoid that issue entirely if you name all your controls in the first >> place. >> > > Giving controls meaningful names is best practice. But that doesn't reset > the counter. > > Try modifying Jim's code to give each control a non-default name before the > next is created. The limit didn't change for me. > > -Ken From kismert at gmail.com Wed Dec 14 15:55:22 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 15:55:22 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: All, I just tried another experiment: 1. In Access 2000 or later, call TestControlLifetimeLimit below (a modification of Jim's code) to populate form controls to their limit 2. Delete some or all of the highest-numbered controls 3. Call TestControlLifetimeLimit(Forms(0)) to populate more controls. What I found is that as long as you delete the highest-numbered controls, the counter limit isn't enforced. I ran this until the counter got up to 17213! Can others duplicate this? So, my new theory is that, for some service pack of Office 2000, this got sort-of fixed. (I recall running into this problem a decade ago in an early release of 2000). The maximum control limit is enforced, but the counter will keep going up, as long as you delete some of the higher-order controls. However, the 754-control limit will persist for forms & reports imported from Access 97. This is why the 'rebuild from scratch' is required to totally cure the problem in very old projects. There is simply no other way to keep the form from inheriting the old A97 behavior. Code: Public Sub TestControlLifetimeLimit(Optional ByVal rObj As Object = Nothing) Dim rFrm As Access.Form Dim rText As Control Dim rLabel As Control Dim i As Integer On Error GoTo HandleErr If rObj Is Nothing Then Set rFrm = CreateForm() rFrm.HasModule = True ElseIf TypeOf rObj Is Access.Form Then Set rFrm = rObj ElseIf TypeOf rObj Is Access.Controls Then Set rFrm = rObj.Parent Else Exit Sub End If i = rFrm.Controls.Count Do Set rText = CreateControl(rFrm.Name, acTextBox, acDetail, , , (i Mod 100) * 100, (i \ 100) * 400, 200, 200) Set rLabel = CreateControl(rFrm.Name, acLabel, , rText.Name, "", (i Mod 100) * 100 + 50, (i \ 100) * 400, 200, 200) i = i + 1 Loop While i < 2000 ExitHere: Debug.Print "Control Count: " & rFrm.Controls.Count Exit Sub HandleErr: Debug.Print "Error: " & Err.Number & vbCrLf & Err.Description & vbCrLf & Err.Source GoTo ExitHere End Sub -Ken From darryl at whittleconsulting.com.au Wed Dec 14 16:36:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 22:36:08 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B560147A@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, those are good points. In the past virtually all my forms are unbound and I rarely used datasheet view - although in my current role I do a lot more. Mind you in this role performance trumps elegance so it doesn't matter if the form looks a bit scrappy as I, or the immediate team, are the only users. And we know how to fix it if something goes *splat*. Thanks for shedding some light onto this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, 15 December 2011 7:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Advice on A2010.... > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to > a new form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Wed Dec 14 17:10:38 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 17:10:38 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken From vbacreations at gmail.com Wed Dec 14 20:12:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 14 Dec 2011 21:12:16 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <002601ccbace$f819ee20$e84dca60$@gmail.com> And how do you recommend deleting *precisely* the first 400 controls?;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 06:47:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 07:47:16 -0500 Subject: [AccessD] It just goes to show ya Message-ID: <4EE9EC54.1070108@colbyconsulting.com> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From charlotte.foust at gmail.com Thu Dec 15 07:09:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 05:09:27 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very careful > and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From df.waters at comcast.net Thu Dec 15 07:12:35 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 07:12:35 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <001401ccbb2b$366c0b20$a3442160$@comcast.net> Facebook? What's Facebook? I have work to do! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 15, 2011 7:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Thu Dec 15 07:59:23 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 15 Dec 2011 08:59:23 -0500 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. No question, I know it's not legit. Susan H. >I got an email this morning - XYZ wants to be your friend on facebook. I >don't know xyz, but I often go look to see if maybe I do know them out in a >circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. From vbacreations at gmail.com Thu Dec 15 08:10:53 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:10:53 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <003001ccbb33$5ba3cf10$12eb6d30$@gmail.com> Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 15 08:14:39 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:14:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) References: Message-ID: <003101ccbb33$e2c18000$a8448000$@gmail.com> Uh, yes it was, thanks Jim D. on Dec 13. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, December 15, 2011 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Thu Dec 15 08:18:06 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 15 Dec 2011 08:18:06 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From jimdettman at verizon.net Thu Dec 15 09:39:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Dec 2011 10:39:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <21D3D45A0B814AEAACDE39A52483D58D@XPS> Really scary I know...some of the stuff is getting pretty darn good. Almost got bit last year. E-mail came in telling me I had a problem with something, which by coincidence I had just done the previous day and it looked legit. Clicked without thinking and Trend saved my butt. After the blocked page message came up, it was only then that I realized I should not be getting an e-mail like that. That was too close for comfort And here I am the one telling everybody "Don't click on anything in an e-mail" and absolutely know better then not to. Part of the problem is though, there are still people sending e-mails (valid ones) with links in them (NY's Easy pass comes to mind). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 07:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 10:02:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 11:02:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com> <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> Message-ID: <4EEA1A0D.2020109@colbyconsulting.com> >> I turned my facebook messaging off LOL, I discovered that Facebook had "opted me in" to a TON of crap that they were sending. Of course I went in and disabled it but it is truly annoying that they would do that, and it raises the question - am I opted in to whatever they may decide I really should be receiving in the future? Where do these companies get off deciding that they can send me crap I didn't ask for? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 8:59 AM, Susan Harkins wrote: > I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. > No question, I know it's not legit. > > Susan H. > > >> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I >> often go look to see if maybe I do know them out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a page to do something bad to my >> computer. > From BradM at blackforestltd.com Thu Dec 15 10:05:08 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 15 Dec 2011 10:05:08 -0600 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: I would guess that almost everyone has been burned by a virus in the past. Here are some things that I have done to reduce the risk on the "main" PC that I use for work purposes. Use an iPad for "web surfing" Have multiple PCs so that the teenagers don't use the "main" one Use Microsoft Security Essentials (free) Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Gary Kjos Sent: Thu 12/15/2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kathryn at bassett.net Thu Dec 15 13:35:47 2011 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 15 Dec 2011 11:35:47 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <011501ccbb60$bec27010$3c475030$@net> I'm fortunate! I've never ended up with a virus and I've been online since the beginning. Now my husband, on the other hand... I'm glad he's got his own computer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Thursday, December 15, 2011 8:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > I would guess that almost everyone has been burned by a virus in the > past. > > Here are some things that I have done to reduce the risk on the "main" > PC that I use for work purposes. > > Use an iPad for "web surfing" > Have multiple PCs so that the teenagers don't use the "main" one Use > Microsoft Security Essentials (free) > > Brad From hans.andersen at phulse.com Thu Dec 15 14:32:54 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 15 Dec 2011 12:32:54 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I think the last time I had a virus, it was a boot sector virus from an infected floppy via the sneakernet. Saying that, viruses are so advanced these days that, just because you think you are clean, you could still very well be infected by something on a root kit level. The truth is, as soon as you spot an infection, you cannot trust your pc anymore even if your antivirus claims to have cleaned your machine. The only thing to do is format your machine completely and reinstall. - Hans Sent from my iPhone On 2011-12-15, at 11:35 AM, "Kathryn Bassett" wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Brad Marks >> Sent: Thursday, December 15, 2011 8:05 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] It just goes to show ya >> >> I would guess that almost everyone has been burned by a virus in the >> past. >> >> Here are some things that I have done to reduce the risk on the "main" >> PC that I use for work purposes. >> >> Use an iPad for "web surfing" >> Have multiple PCs so that the teenagers don't use the "main" one Use >> Microsoft Security Essentials (free) >> >> Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Dec 15 15:05:30 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 13:05:30 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I had one for the first time earlier this year. I still haven't figured out where it came from, but it was the joke virus, so it didn't do any actual damage just slowed my machine down. I switched to Vipre Internet Security after that, since it was the only thing I found that actually removed it. Charlotte Foust On Thu, Dec 15, 2011 at 11:35 AM, Kathryn Bassett wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 15, 2011 8:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] It just goes to show ya > > > > I would guess that almost everyone has been burned by a virus in the > > past. > > > > Here are some things that I have done to reduce the risk on the "main" > > PC that I use for work purposes. > > > > Use an iPad for "web surfing" > > Have multiple PCs so that the teenagers don't use the "main" one Use > > Microsoft Security Essentials (free) > > > > Brad > > > -- > 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 Dec 15 15:33:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:33:22 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. From Lambert.Heenan at chartisinsurance.com Thu Dec 15 15:37:20 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 16:37:20 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 15:37:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:37:27 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: <4EEA6897.3030800@colbyconsulting.com> I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Thu Dec 15 15:49:44 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:49:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > From jwcolby at colbyconsulting.com Thu Dec 15 15:48:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:48:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: <4EEA6B3C.8070309@colbyconsulting.com> Yep, an image immediately after doing all of the install / patch stuff, then another periodically. I have to tell you though, things like DropMyRights and noScript goes a long ways towards thwarting the bad guys. Sand boxes really do work well. running all Web facing apps in a sandbox prevents the nasties from doing bad stuff. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 4:37 PM, Heenan, Lambert wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Thursday, December 15, 2011 4:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. > > I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. > > A. > -- > 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 Dec 15 15:55:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:55:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EEA6B3C.8070309@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> <4EEA6B3C.8070309@colbyconsulting.com> Message-ID: Hearty agreement on that! I run a few VMs (not all at once, given my meager 4GB of RAM), and have come to the conclusion that it's always the safest path to create a new VM prior to installing anything new; run it there and see what explodes; end result is the VM explodes and the rest of my baby is intact. A. On Thu, Dec 15, 2011 at 4:48 PM, jwcolby wrote: > Yep, an image immediately after doing all of the install / patch stuff, > then another periodically. > > I have to tell you though, things like DropMyRights and noScript goes a > long ways towards thwarting the bad guys. Sand boxes really do work well. > running all Web facing apps in a sandbox prevents the nasties from doing > bad stuff. > > From Lambert.Heenan at chartisinsurance.com Thu Dec 15 16:11:30 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 17:11:30 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: DriveImageXML is free for personal use, Arthur. Only $69 for commercial use too. http://www.runtime.org/driveimage-xml.htm ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? *(...'?'.. ) *????????.??? ????????*? .? ... Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot > drive to a different drive every now and then. I find I can restore > the whole thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 16:21:01 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 16:21:01 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > And how do you recommend deleting *precisely* the first 400 controls?;-) > I tweaked Jim's code so the controls display in four rows of 200 each. So it is easy to highlight the first two rows of controls, and delete them. From darryl at whittleconsulting.com.au Thu Dec 15 16:21:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Dec 2011 22:21:26 +0000 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B560181C@SINPRD0402MB099.apcprd04.prod.outlook.com> I am one of the 9 people on the planet who doesn't use FB at all - even so I get scammer emails saying "X has commented on your photo" or "Y wants to be your friend" click on the link blah blah - not having a FB profile saves me a lot of time and bother. Mind you, only yesterday I did have someone pop up on yahoo msgnr on a profile of someone I hadn't spoken to in years wanting me to click on a link so I could apply for a free Apple computer or product - apparently Apple are giving away product in honour of Steve Jobs. Yeah... right.... "Delete!". I was lucky as that one was clearly a scam. That said, I think John has a great point - you really can't be too careful and even the experienced and knowledgeable can get caught out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 16 December 2011 12:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 15 16:22:00 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 17:22:00 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for commercial > use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* > .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > From hkotsch at arcor.de Thu Dec 15 16:27:49 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:27:49 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: Testimonials & Reviews See what our customers and the press have to say View Products View all our products Buy Now! Order our products online now! How-to-Guides Step-by-step solutions for common problems. Documentation View the software help files and other resources. Contact Us For Technical Support and all other inquiries. Languages BBB Last updated: October 23, 2011 For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Thu Dec 15 16:35:45 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:35:45 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 15 16:40:25 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 16:40:25 -0600 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEA6897.3030800@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> Message-ID: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Yes - Library referencing can be a pain. At my customers each client has a shortcut which points to an AutoUpdater file. The AutoUpdater file will check to see if the Main and Library files on the client are older than the files on the server. If so, it will copy those files up to the client in the same folder. But here's the problem - the main file on the client will still reference the library file on the server. The way I get around that is to leave the library file on the server with an XX in the name - that way the main file on the client can't find it so it re-references to the library file on the client (they're in the same folder). When the autoupdater file does its thing, it compares modified dates between Library.mdb on the client and LibraryXX.mdb on the server. If the server has the newer file, then autoupdater will copy and rename the LibraryXX.mdb file on the server to Library.mdb on the client. Another problem is that the Library.mdb file is renamed on the server (your dev/test system), so you can't open it until you manually retype the name, and then you have to remember to retype it back when you're done. To solve that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the following code: '------------------------ Public Function StartupChangeXX() On Error GoTo EH Dim stg As String Dim rst As DAO.Recordset Dim fso As FileSystemObject Dim blnAddXX As Boolean Dim stgXXFile As String Dim stgExtension As String Dim stgPrompt As String Dim blnNeedManualPrompt As Boolean Dim blnFoundAllClear As Boolean Dim blnFoundAllXX As Boolean Dim blnFirstLoopComplete As Boolean Dim stgSystemMode As String stgSystemMode = Command() ' stgSystemMode = "Review" '-- TEST Set fso = CreateObject("Scripting.FileSystemObject") '-- Do the files exist? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If fso.FileExists(rst("FileFullPath")) = False And fso.FileExists(stgXXFile) = False Then MsgBox "The file " & rst("FileFullPath") & " does not exist!", vbExclamation + vbOKOnly, "Missing File" rst.Close Set rst = Nothing Application.Quit End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Are all files clear or all XX? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False If blnFirstLoopComplete = False Then If fso.FileExists(rst("FileFullPath")) = True Then blnFoundAllClear = True blnAddXX = True Else blnFoundAllClear = False blnAddXX = False End If blnFirstLoopComplete = True Else If fso.FileExists(rst("FileFullPath")) = True Then If blnFoundAllClear = False Then blnNeedManualPrompt = True Exit Do End If Else If blnFoundAllClear = True Then blnNeedManualPrompt = True Exit Do End If End If End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Select to add XX or Remove XX If blnNeedManualPrompt = True Then stgPrompt = "Push Yes to add XX." _ & vbNewLine & vbNewLine _ & "Push No to remove XX." If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, "Change XX") = vbYes Then blnAddXX = True Else blnAddXX = False End If End If '-- Add or remove XX stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If blnAddXX = True Then If fso.FileExists(rst("FileFullPath")) = True Then fso.CopyFile rst("FileFullPath"), stgXXFile, True fso.DeleteFile rst("FileFullPath") End If Else If fso.FileExists(stgXXFile) = True Then fso.CopyFile stgXXFile, rst("FileFullPath"), True fso.DeleteFile stgXXFile End If End If rst.MoveNext Loop rst.Close Set rst = Nothing If blnAddXX = True Then CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" Else CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" End If Application.Quit Exit Function EH: MsgBox "Error!" _ & vbNewLine & vbNewLine _ & "Code: " & Err.Number & vbNewLine _ & "Desc: " & Err.Description & vbNewLine _ & "Line: " & Erl End Function '----------------------- There is also a tblParameters which contains information about which actual system I'm working on - I have three at each customer. Prod, Test, and Review. The shortcut on the desktop which opens ChangeXX.mdb has a command argument (like '/cmd Test') so the code will know which system it's supposed to be working on. Also, there is a popup message that stays open for 1 second to tell me whether it added the XX or removed the XX, then ChangeXX.mdb quits. Just click the ChangeXX shortcut on the server's desktop until it says 'Added XX' or 'Removed XX', and you're done! Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 3:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] libraries, References and some subtleties to be considered I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 17:08:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 17:08:13 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: Here is my proposal for how to best fix Form Control Limit problems: Control Limits =========== Access imposes limits on how may controls you can put on a form or report: A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Thanks to Jim Dettman for working out these limits. If you try to add more controls than your version of Access allows, you will see: Error: 29053 can't create any more controls on this form or report. At this point, check the number of controls on the form: ? forms("Form1").Controls.Count If that number is less than the stated limit, you can still add more controls, but you have to reset the control counter. Here's how: Access 2000 or Later ================= If you CREATED the form in Access 2000 or later, follow these steps: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" This should reset your control list, allowing you to keep adding up to the stated limit. Notes: * This is a lot easier than copying the controls to a new form, and manually changing all form properties to match the old * EatBloat will also reset the counter for such forms, as it uses this basic technique Access 97 ======== If the form was created in Access 97, and you imported it into a later version, there is more work to do. Follow these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. This eliminates all possibility of name collisions. 2. In the Immediate window, count the number of controls: ? Forms("Form1").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Import the form using: Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" -Ken From vbacreations at gmail.com Thu Dec 15 18:09:39 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 15 Dec 2011 19:09:39 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Control name property is read only in runtime right? So for ac97 this a manual find and rename operation? On Dec 15, 2011 6:09 PM, "Kenneth Ismert" wrote: > Here is my proposal for how to best fix Form Control Limit problems: > > Control Limits > =========== > Access imposes limits on how may controls you can put on a form or report: > A97 - 753 > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Thanks to Jim Dettman for working out these limits. > > If you try to add more controls than your version of Access allows, you > will see: > Error: 29053 > can't create any more controls on this form or report. > > At this point, check the number of controls on the form: > ? forms("Form1").Controls.Count > > If that number is less than the stated limit, you can still add more > controls, but you have to reset the control counter. Here's how: > > Access 2000 or Later > ================= > If you CREATED the form in Access 2000 or later, follow these steps: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1" > > This should reset your control list, allowing you to keep adding up to the > stated limit. Notes: > * This is a lot easier than copying the controls to a new form, and > manually changing all form properties to match the old > * EatBloat will also reset the counter for such forms, as it uses this > basic technique > > Access 97 > ======== > If the form was created in Access 97, and you imported it into a later > version, there is more work to do. Follow these steps: > > 1. Rename all form controls with a default numeric suffix, like 'label123' > and 'text234'. This eliminates all possibility of name collisions. > > 2. In the Immediate window, count the number of controls: > ? Forms("Form1").Controls.Count > > 2. Save the form as text: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and > edit it to the number of controls +1: > ItemSuffix =128 > > 4. Import the form using: > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 15 20:50:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 21:50:39 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Message-ID: <4EEAB1FF.9040103@colbyconsulting.com> Thanks for those suggestions. My methods are crude and I have always wanted to get a little more sophisticated. I will have to spend a little time thinking about the suggestions you discuss. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 5:40 PM, Dan Waters wrote: > Yes - Library referencing can be a pain. > > At my customers each client has a shortcut which points to an AutoUpdater > file. The AutoUpdater file will check to see if the Main and Library files > on the client are older than the files on the server. If so, it will copy > those files up to the client in the same folder. > > But here's the problem - the main file on the client will still reference > the library file on the server. The way I get around that is to leave the > library file on the server with an XX in the name - that way the main file > on the client can't find it so it re-references to the library file on the > client (they're in the same folder). > > When the autoupdater file does its thing, it compares modified dates between > Library.mdb on the client and LibraryXX.mdb on the server. If the server > has the newer file, then autoupdater will copy and rename the LibraryXX.mdb > file on the server to Library.mdb on the client. > > Another problem is that the Library.mdb file is renamed on the server (your > dev/test system), so you can't open it until you manually retype the name, > and then you have to remember to retype it back when you're done. To solve > that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the > following code: > > '------------------------ > Public Function StartupChangeXX() > On Error GoTo EH > > Dim stg As String > Dim rst As DAO.Recordset > Dim fso As FileSystemObject > Dim blnAddXX As Boolean > Dim stgXXFile As String > Dim stgExtension As String > Dim stgPrompt As String > Dim blnNeedManualPrompt As Boolean > Dim blnFoundAllClear As Boolean > Dim blnFoundAllXX As Boolean > Dim blnFirstLoopComplete As Boolean > Dim stgSystemMode As String > > stgSystemMode = Command() > ' stgSystemMode = "Review" '-- TEST > > Set fso = CreateObject("Scripting.FileSystemObject") > > '-- Do the files exist? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If fso.FileExists(rst("FileFullPath")) = False And > fso.FileExists(stgXXFile) = False Then > MsgBox "The file "& rst("FileFullPath")& " does not exist!", > vbExclamation + vbOKOnly, "Missing File" > rst.Close > Set rst = Nothing > Application.Quit > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Are all files clear or all XX? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > If blnFirstLoopComplete = False Then > If fso.FileExists(rst("FileFullPath")) = True Then > blnFoundAllClear = True > blnAddXX = True > Else > blnFoundAllClear = False > blnAddXX = False > End If > blnFirstLoopComplete = True > Else > If fso.FileExists(rst("FileFullPath")) = True Then > If blnFoundAllClear = False Then > blnNeedManualPrompt = True > Exit Do > End If > Else > If blnFoundAllClear = True Then > blnNeedManualPrompt = True > Exit Do > End If > End If > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Select to add XX or Remove XX > If blnNeedManualPrompt = True Then > stgPrompt = "Push Yes to add XX." _ > & vbNewLine& vbNewLine _ > & "Push No to remove XX." > If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, > "Change XX") = vbYes Then > blnAddXX = True > Else > blnAddXX = False > End If > End If > > > '-- Add or remove XX > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If blnAddXX = True Then > > If fso.FileExists(rst("FileFullPath")) = True Then > fso.CopyFile rst("FileFullPath"), stgXXFile, True > fso.DeleteFile rst("FileFullPath") > End If > > Else > > If fso.FileExists(stgXXFile) = True Then > fso.CopyFile stgXXFile, rst("FileFullPath"), True > fso.DeleteFile stgXXFile > End If > > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > If blnAddXX = True Then > CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" > Else > CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" > End If > > Application.Quit > > Exit Function > > EH: > MsgBox "Error!" _ > & vbNewLine& vbNewLine _ > & "Code: "& Err.Number& vbNewLine _ > & "Desc: "& Err.Description& vbNewLine _ > & "Line: "& Erl > > End Function > '----------------------- > > There is also a tblParameters which contains information about which actual > system I'm working on - I have three at each customer. Prod, Test, and > Review. The shortcut on the desktop which opens ChangeXX.mdb has a command > argument (like '/cmd Test') so the code will know which system it's supposed > to be working on. > > Also, there is a popup message that stays open for 1 second to tell me > whether it added the XX or removed the XX, then ChangeXX.mdb quits. > > Just click the ChangeXX shortcut on the server's desktop until it says > 'Added XX' or 'Removed XX', and you're done! > > Hope this helps! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 3:37 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] libraries, References and some subtleties to be > considered > > I use libraries - MDAs - to hold common code, variables and constants. > Libraries are essentially places to put common code so that many different > applications can do things the same way. If a bug is found it can be fixed > in the library, in just one place. > > It is possible for a lib to reference another lib. For example my C2DbFW3G > understands and uses my Presentation Level Security System and so it > references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can > be used without my FW3G. Should I have just merged the two into one big > lib? > That is a conversation for another day. > > While on this subject, two more things. There can be no circular references > between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference > FW3G. Any lib can reference another lib but the reference can never "circle > back around". Additionally the order of reference comes into play if there > are two functions, classes, variables etc with the same name. We all > understand the scope thing (local function, module, global) but the same > issue exists in libraries in that if a name is not found in the local > container the compiler starts looking at other referenced objects, starting > from the top reference in the references dialog and working down. > > This can cause oddities if we have a function (for example) with the same > name found in the application and the library. Code in the application will > use the function inside of the application container, whereas code in the > library will use the function in the library container. > If you use libraries and you write a function and move it to the library, do > not forget to delete the function from the application or you will have > problems. > > I have two main libraries, C2DbFW3G which is the 3rd generation of my > framework, and C2DbPLSS which is my Presentation Level Security System. > > Having an application reference a library causes some issues shall we say > which do not exist if you do not use them, and I just thought I would walk > through my findings and how I handle things in order to start a conversation > on the subject. > > Some tidbits in no particular order. > > When the developer references a library they do so via a browse button and > so the reference ends up specific to a location available from the > developer's machine. This implies that the location may or may not be > available to another user opening the application. > > When the application opens, it tries to find the file at the location > specified in the existing reference. If found it uses that copy of the > library, no questions asked. > > If the library cannot be found at that referenced location then the > application silently begins to search a set of paths to find the library. > > http://support.microsoft.com/kb/824255 > > If the library is found the search immediately ceases and the reference is > "fixed up" to point to that location. When the application closes it saves > that new reference location. So the application has been silently > "re-referenced" to the new location. When I say silently, I mean that there > is no immediate in-your-face indication that any of this happened. > > This silent re-reference can cause odd problems. Let's take some real life > scenarios that I encounter at my client. > > I have a directory on my C: drive at the client called C:\Dev\DisNew\ This > path, in particular the Dev\ part, is unique to my machine (standing for > development). I build a framework and an application in this location. I > reference the lib from the application, browsing to that location and voila, > the reference points to a library in a location that does not physically > exist anywhere else in the company. > > I copy the two files up to X:\DisNew\Test which is the production > (X:\DisNew) test directory. the user has a batch file which builds a > directory on their local C: drive, copies the library and application to > that local directory and opens the application. The application tries to > find the lib at my dev directory and fails, so it tries to find it in the > local directory and succeeds. Life is good. > > Now... I go into the X:\Disnew\Tester directory and open the application > file. Guess what happens? > The application opens and tests the reference and... finds it because it > can see my dev path. The file works. Life is good, nothing changes. > > A user goes into the X:\DisNew\Tester directory and opens the application > file and ... the application cannot find my dev directory so it starts "the > search". It finds the library in the X:\DisNew\Test directory and > re-references and the application works. Now when the user closes the > file... the file is referenced to the lib on the network. Life is no longer > good! > > Now we decide that the application file tests good and copy it to production > where it is copied, along with the lib down to the user's hard disk. The > user opens the copy on their hard disk and... > the application is referenced to the lib on the network (test directory) and > so it opens the lib on the network. Now I am trying to copy a new version > of the lib to tester and the file is locked. Or something. Life is not > good. > > Let's discuss decompile for a minute. Decompile flushes the pcode buffers > in the Access container, which, simply put, means that all of the "compiled" > code is flushed out. Yes I understand that Access is an interpreter but it > actually compiles the English (VBA) language stuff we write into P-Code and > interprets the P-Code. The compile of the Decompile / Compile matched pair > simply recompiles every single line of VBA code into P-Code and stuffs it > back into the buffers. > > When you perform a decompile / compile, you *REALLY* need to decompile / > compile the library first, then the application using the application. I > don't understand all of the stuff but apparently there is a table of > pointers built by the compile, things like the entry point to functions and > the locations of constant and variables. Apparently when you compile the > application, it goes out and searches the library for these tables in order > to correctly call functions and variables in the library. > > But why do we do a decompile / compile in the first place? Because it is > possible and in fact not uncommon, for the P-Code to get corrupted over > time. If the lib is corrupted and you recompile the app, then the app calls > into corrupted lib stuff. So, decompile / compile the lib *before* you > decompile the application that references the lib. And if you decompile / > compile the lib, then you must must *must* recompile the app because the lib > entry points and variables might change. > > Guess what? If you happen to get confused and decompile / compile anything > on a network share... it may (or may not) cause weird things like the app > refusing to close. So never never *never* decompile / compile anything that > is not local to your hard disk. > > Unfortunately the simple fact that FW3G references the PLSS does not expose > the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and > the application references C2DbPLSS *and* C2DbFW3G because it directly uses > code in both. Oh my goodness. Now I have to decompile / compile the PLSS > first, then the FW3G (because it references PLSS), and then the application > (which directly references both libs). All of this must be done on my local > machine so as to avoid the "can't close" issue discussed above, and then > copied to the final destination for public consumption. > > Furthermore I need to make sure that I reference the PLSS in the FW3G to the > DEV path on my local machine, and likewise reference PLSS and FW3G inside of > the application to the dev path of my local machine. Why? Because that > path is not public to the company and will trigger the re-reference when the > user downloads all this stuff to their local machine. > > But wait, there's more. I have three different applications that use the > PLSS and the framework. > So if I decompile / compile the PLSS / FW3G, all of the applications that > use these libs need to be recompiled. Again, if I make changes to the libs, > any app that I do not decompile will not reacquire the pointer tables in the > libs and may start to fail. > > > And around and around we go. > > I use batch files to copy these pieces to the user's system so that the user > ends up with local copies and doesn't end up permanently re-referencing > things back to the production location. This works reasonably well as long > as everyone plays by the rules. If anyone (other than myself) actually > opens any of these files up in tester or production, then the references > silently change and things go south in a hurry. It took me awhile to figure > out that this was happening (a long time ago) and it took me awhile to > remember that this occurs when I started having strange things happening > recently. That is the reason for starting this thread, to remind the list > how this stuff works and to get input from other list members on their > experiences with this stuff. > > I am a believer in libraries to hold common code. They exist for the simple > reason that changes to that code, bug fixes etc can be done in one place and > propagated to every place the change is needed. It is important to > understand what goes on behind the scenes however or you can have some > strange things happening that will be very difficult to figure out. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 16 06:30:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:30:35 +0100 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: Hi John I think you just won the prize of the year for the longest code-less post! /gustav >>> jwcolby at colbyconsulting.com 15-12-2011 22:37 >>> I use libraries - From Gustav at cactus.dk Fri Dec 16 06:51:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:51:55 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Darryl Even if you don't, some sites you visit may link back to FB (Check for "like this" or similar). If so and if you use WinXP and IE8, you may experience that whenever you open such site, Windows resource usage at once raises from the few percent in idle mode to about 30% because of services.exe doing something unknown - probably some phone-home-to-FB thingy. It may be so aggressive that it eats every second or third keystroke you do while IE8 has focus. A method to kill this misbehaviour is to go to Options .. Security and add to the "dirty" (non-secure) list of sites: *.facebook.com Bingo! Usage drops to a few percent. /gustav PS: I think we are 10 people. >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> I am one of the 9 people on the planet who doesn't use FB at all - From jwcolby at colbyconsulting.com Fri Dec 16 06:50:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 07:50:32 -0500 Subject: [AccessD] Browser Sandbox - Run any browser instantly from the web Message-ID: <4EEB3E98.1040206@colbyconsulting.com> I stumbled across this today. I have Googled Spoon.net and it appears to be up and up, and netcraft gives them a "zero risk" rating. http://codingstrategist.posterous.com/what-is-spoonnet http://spoon.net/browsers -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From marksimms at verizon.net Fri Dec 16 07:53:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 16 Dec 2011 08:53:51 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEAB1FF.9040103@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> Message-ID: <005001ccbbfa$251b5c70$6f521550$@net> John - great post on your use of the libraries....very few developers do this. My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? Any advantage one way or the other ? > > Thanks for those suggestions. My methods are crude and I have always > wanted to get a little more > sophisticated. I will have to spend a little time thinking about the > suggestions you discuss. > > John W. Colby > Colby Consulting From Lambert.Heenan at chartisinsurance.com Fri Dec 16 08:05:02 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 16 Dec 2011 09:05:02 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I cannot claim any credit. I found it on one of the many ASCII Art sites out there, and of course I cannot locate the exact source now, but here's a good one... http://www.ascii-art.de/ Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for > commercial use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? > '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 16 09:07:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:07:01 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: References: Message-ID: <4EEB5E95.1070606@colbyconsulting.com> ROTFL. It's a convoluted subject. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 7:30 AM, Gustav Brock wrote: > Hi John > > I think you just won the prize of the year for the longest code-less post! > > /gustav > > >>>> jwcolby at colbyconsulting.com 15-12-2011 22:37>>> > I use libraries - > > From jwcolby at colbyconsulting.com Fri Dec 16 09:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:15:35 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <005001ccbbfa$251b5c70$6f521550$@net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> <005001ccbbfa$251b5c70$6f521550$@net> Message-ID: <4EEB6097.1080306@colbyconsulting.com> The extension .MDA is just a convention and really doesn't enforce anything. The library can have an MDB, MDE or even XYZ and still be referenced and used. I know because I just renamed one of my libraries to have an extension .XYZ and referenced it. While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. Access can in fact still open the file but you can no longer just double click it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 8:53 AM, Mark Simms wrote: > John - great post on your use of the libraries....very few developers do > this. > My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? > Any advantage one way or the other ? >> >> Thanks for those suggestions. My methods are crude and I have always >> wanted to get a little more >> sophisticated. I will have to spend a little time thinking about the >> suggestions you discuss. >> >> John W. Colby >> Colby Consulting > > From kismert at gmail.com Fri Dec 16 10:14:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 16 Dec 2011 10:14:07 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: > > William Benson: > Control name property is read only in runtime right? So for ac97 this a > manual find and rename operation? > You're correct, name is a design-time property. You can fairly easily write code to rename controls with the form in design view. For the purposes of Lifetime Control Limits, the names don't even have to be meaningful, just different from the defaults. But this code would have to: * Rename control references and event handlers in the form's module * Find and fix all control references in form and control property expressions, as well as in underlying queries. * Find and fix control references in queries, forms, reports, macros and modules outside of the form in question. So, if you have to maintain a monster form that was created in A97, and are running into control limit issues, the task of fixing it could be huge. If that is the case, maybe its time to start from scratch with a simpler solution that spreads functionality among a number of smaller forms. -Ken From charlotte.foust at gmail.com Fri Dec 16 12:19:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:19:22 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From john at winhaven.net Fri Dec 16 12:34:21 2011 From: john at winhaven.net (John Bartow) Date: Fri, 16 Dec 2011 12:34:21 -0600 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Facebook makes its money from advertising. That's why it's free. They will collect as much information from you as they can and they will use it. If you want to prevent that as much as possible you need to go in and thoroughly go through the settings and change them. From charlotte.foust at gmail.com Fri Dec 16 12:39:57 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:39:57 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: <022d01ccbc21$54100360$fc300a20$@winhaven.net> References: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Message-ID: Amen, John! Charlotte Foust On Fri, Dec 16, 2011 at 10:34 AM, John Bartow wrote: > Facebook makes its money from advertising. That's why it's free. They will > collect as much information from you as they can and they will use it. If > you want to prevent that as much as possible you need to go in and > thoroughly go through the settings and change them. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rusty.hammond at cpiqpc.com Fri Dec 16 15:33:54 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 16 Dec 2011 15:33:54 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Another thing I've done is setup an opendns account for my home. It's free and does a nice job of content filtering. No need to install filtering software on the computers, but I do run the opendns ip address update client on my desktop that's on all the time. www.opendns.com Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 6:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 stuart at lexacorp.com.pg Fri Dec 16 16:35:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 17 Dec 2011 08:35:31 +1000 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEB6097.1080306@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com>, <005001ccbbfa$251b5c70$6f521550$@net>, <4EEB6097.1080306@colbyconsulting.com> Message-ID: <4EEBC7B3.9577.A21BA4E@stuart.lexacorp.com.pg> I rename whenever I use an mdb as data storage for a PB application. -- Stuart On 16 Dec 2011 at 10:15, jwcolby wrote: > While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to > obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. > Access can in fact still open the file but you can no longer just double click it. > From vbacreations at gmail.com Fri Dec 16 22:06:42 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:06:42 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Is anyone aware of some Addin or developer tool which takes care of all those referencing issues when renaming controls? It would sure be a plus to have something like that. Maybe no way to fool proof it. I agree about starting from scratch. On Dec 16, 2011 11:16 AM, "Kenneth Ismert" wrote: > > > > William Benson: > > Control name property is read only in runtime right? So for ac97 this a > > manual find and rename operation? > > > > You're correct, name is a design-time property. > > You can fairly easily write code to rename controls with the form in design > view. For the purposes of Lifetime Control Limits, the names don't even > have to be meaningful, just different from the defaults. > > But this code would have to: > * Rename control references and event handlers in the form's module > * Find and fix all control references in form and control property > expressions, as well as in underlying queries. > * Find and fix control references in queries, forms, reports, macros and > modules outside of the form in question. > > So, if you have to maintain a monster form that was created in A97, and are > running into control limit issues, the task of fixing it could be huge. > > If that is the case, maybe its time to start from scratch with a simpler > solution that spreads functionality among a number of smaller forms. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Dec 16 22:09:45 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:09:45 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Would I be mistaken in guessing that EatBloat is a recommended preventive maintenance? From hans.andersen at phulse.com Sat Dec 17 04:08:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 02:08:40 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip address > update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them out > in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page > to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 17 05:34:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 17 Dec 2011 12:34:24 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Charlotte and John You missed that I wrote "whenever you open such site". That's all. No login is needed (or done). This is a WinXP/IE8 combo issue. I don't see it with Vista/IE9. /gustav >>> charlotte.foust at gmail.com 16-12-2011 19:19 >>> Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - From df.waters at comcast.net Sat Dec 17 08:12:50 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 08:12:50 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> Message-ID: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> I use different email addresses, and also log into 4 different customers with 4 different VPN methods. Would OpenDNS cause an issue with any of this? I'm also using Comcast as an ISP - is that OK? I looked at the OpenDNS site, but I didn't see a good explanation of what it was actually doing, or even a general description of how it worked. I don't have my own 'network' - is it helpful without that? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Saturday, December 17, 2011 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip > address update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 09:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 10:06:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <4EECAFED.7070902@colbyconsulting.com> OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 17 09:13:42 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 09:13:42 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <002101ccbcce$76eead20$64cc0760$@comcast.net> I have no doubt that the son of John Colby is very sophisticated, computer literate, and determined! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 9:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different > customers with 4 different VPN methods. Would OpenDNS cause an issue > with any of this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of > what it was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hans-Christian Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if > there are any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. >> It's free and does a nice job of content filtering. No need to >> install filtering software on the computers, but I do run the opendns >> ip address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************* >> * >> 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. >> ********************************************************************* >> * >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 10:15:36 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 11:15:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <002101ccbcce$76eead20$64cc0760$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> <002101ccbcce$76eead20$64cc0760$@comcast.net> Message-ID: <4EECC028.70600@colbyconsulting.com> LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, computer > literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name Server > takes names such as Microsoft.Com and turns that into a numeric IP address > www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses > and filters them against known attributes and makes a decision whether to > perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter out > specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not allowed to > surf to that site. My son then embarks on a concerted attempt to circumvent > this issue and within minutes has discovered what is going on and has > locally set his system to use a different Domain name server. 15 minutes > later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name server > such as OpenDNS, which is a much more secure implementation method. The > problem is that IIRC if you set the NIC itself to use a specific DNS then it > goes around the router. > > But in general, other than for very sophisticated, computer literate and > determined teenagers, a service like OpenDNS works rather well, for what it > is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan From hans.andersen at phulse.com Sat Dec 17 15:31:12 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 13:31:12 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> OpenDNS basically just does the same thing your ISP does, in terms of telling your computer what public IP address (in other words, which public server(s)) are responsible for a given domain name. Your ISP normally provides this service and when you configure your router, it generally gives you those settings automatically, but there is no reason you can't use another provider (if you are a web developer/sys ops person such as myself, it is very useful to query different DNS servers around the world to see if there are problems with your configuration and how it is propagating around). It's just a matter of changing the IP address for DNS in your router or even just specific individual computers/networked devices. What makes OpenDNS stand out is that they add additional features beyond just DNS resolution that you don't get from your ISP at all. Domain filtering, statistics, malware monitoring and phishing/malware filtering (on a DNS level) and so forth. The only thing they ask for in exchange is that you allow them to display their search page with their advertising instead of an error page when you type in a bad domain in your browser address bar. Its a cheap way of providing basic filtering and protection for home, school or business, so, as long as you don't mind a third party company knowing what domains you visit, it's well worth it. They also spend a lot of effort speeding up DNS lookups, so it will be a slight boost to your Internet usage. Also, for those who are security minded and know the technical merits of it, OpenDNS uses DNSCurve (an alternative to DNSSEC), to avoid DNS cache poisoning and so forth, something many ISPs have yet to adopt. Like John said, however, it's trivial for anyone who knows basic networking, so it's not foolproof. But there you go. You get what you pay for (or not). Best regards, Hans-Christian Andersen On 17 Dec 2011, at 06:12, "Dan Waters" wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 17 15:53:15 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 17 Dec 2011 13:53:15 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECC028.70600@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com><002101ccbcce$76eead20$64cc0760$@comcast.net> <4EECC028.70600@colbyconsulting.com> Message-ID: <9CF110EE28CA43C38D0F30CE013A296B@HAL9007> I used to have some illusions about control but they got the crap kicked out of them. 21 is beyond my control. 15 is not interested in porn - more interested in torrenting SkyRim and SolidWorks. And making the robots dance and sing. So far so good. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, > computer literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name > Server takes names such as Microsoft.Com and turns that into a numeric > IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural > language" IP addresses and filters them against known attributes and > makes a decision whether to perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter > out specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not > allowed to surf to that site. My son then embarks on a concerted > attempt to circumvent this issue and within minutes has discovered > what is going on and has locally set his system to use a different > Domain name server. 15 minutes later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name > server such as OpenDNS, which is a much more secure implementation > method. The problem is that IIRC if you set the NIC itself to use a > specific DNS then it goes around the router. > > But in general, other than for very sophisticated, computer literate > and determined teenagers, a service like OpenDNS works rather well, > for what it is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 16:00:58 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 08:00:58 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> Message-ID: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if a client's IP addess is on any blacklists, to check whether their SMTP server is working and not an open relay , check that they have a valid PTR record etc). To query different DNS servers, I use DIG - you can get a Windows CLI version here: http://members.shaw.ca/nicholas.fong/dig/ -- Stuart On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > if you are a web developer/sys ops person such as myself, it is very > useful to query different DNS servers around the world to see if there > are problems with your configuration and how it is propagating around From hans.andersen at phulse.com Sat Dec 17 18:06:48 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 16:06:48 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> They made a Windows version? That's neat. Is that without using Cygwin? - Hans Sent from my iPhone On 2011-12-17, at 2:00 PM, "Stuart McLachlan" wrote: > I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if > a client's IP addess is on any blacklists, to check whether their SMTP server is working and > not an open relay , check that they have a valid PTR record etc). > > To query different DNS servers, I use DIG - you can get a Windows CLI version here: > http://members.shaw.ca/nicholas.fong/dig/ > > -- > Stuart > > On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > >> if you are a web developer/sys ops person such as myself, it is very >> useful to query different DNS servers around the world to see if there >> are problems with your configuration and how it is propagating around > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 18:35:50 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 10:35:50 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg>, <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> Message-ID: <4EED3566.6653.FB61FB2@stuart.lexacorp.com.pg> It uses Cygwin. The zip contains: 12/06/2008 09:35 AM 1,872,884 cygwin1.dll 14/12/2005 01:29 PM 73,728 dig.exe 14/12/2005 01:28 PM 61,440 host.exe 14/12/2005 01:26 PM 21,504 libbind9.dll 14/12/2005 01:23 PM 1,007,616 libdns.dll 16/10/2003 12:09 PM 737,280 libeay32.dll 14/12/2005 01:21 PM 217,088 libisc.dll 14/12/2005 01:25 PM 53,248 libisccfg.dll 14/12/2005 01:26 PM 35,328 liblwres.dll 24/01/2006 08:44 PM 344,064 msvcr70.dll 30/05/2009 07:39 AM 0 resolv.conf 12/05/2008 03:12 PM 19,968 sha1sum.exe 18/11/2009 11:48 PM 80,092 whois.exe On 17 Dec 2011 at 16:06, Hans-Christian Andersen wrote: > They made a Windows version? That's neat. Is that without using Cygwin? > > - Hans > From jimdettman at verizon.net Sun Dec 18 11:30:09 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 18 Dec 2011 12:30:09 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <5DB682B02ABE4F40AA490E1CA5ED2AAA@XPS> << My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse.>> Tongue in cheek or not, wait till he finds out about proxy servers. Even DNS filtering doesn't help you then. Having raised three boys, I can tell you it was a real challenge at times to stay ahead of them. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 10:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 20 12:57:57 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 12:57:57 -0600 Subject: [AccessD] Calculation in query problem Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> I have the following query SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (((GA_Details.UNIT)="PCT")) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) ORDER BY scada_V_All_Meter_Volumes.ReadingDate; The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 I have a feeling I am missing something in the order of calculations as done by Access. Any thoughts appreciated. 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 dw-murphy at cox.net Tue Dec 20 13:28:53 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 20 Dec 2011 11:28:53 -0800 Subject: [AccessD] Access 2010 help functionality problem Message-ID: <001401ccbf4d$9bb725c0$d3257140$@cox.net> Folks, Here is another interesting behavior in Access 2010. It is probably specific to my installation. Today when I was working on a project I hit the F1 key in the VBA IDE to get the parameters for a command. Instead of the help window opening I get a Download authorization dialog that asks if I want to save Transition.htm from MS.MSACESS.DEV.14.1033. So I say yes and it saves the file then I open it and it tries to open itself again. Is there some file association setting that has gotten changed, registry setting that got hosed, or ???? Help has worked. I shut down Access and restarted the computer to make sure it wasn't just something that failed to load. Problem still there. Any suggestions would be appreciated. I don't use Access help that often but I do like to use the help from the object browser and that is broken also. Thanks in advance. Doug From stuart at lexacorp.com.pg Tue Dec 20 15:59:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Dec 2011 07:59:21 +1000 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 Dec 20 16:44:15 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 16:44:15 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D35BE@houex1.kindermorgan.com> Good observation. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 20, 2011 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculation in query problem You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:13:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:13:43 -0500 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <00a101ccbf6d$04a75f40$0df61dc0$@net> Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:22:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:22:11 -0500 Subject: [AccessD] I told you of this one before.....and now another Message-ID: <00a201ccbf6e$33b96e80$9b2c4b80$@net> The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. From marksimms at verizon.net Tue Dec 20 18:12:45 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:12:45 -0500 Subject: [AccessD] And now the other... In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <00a701ccbf75$440949c0$cc1bdd40$@net> Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 18:20:59 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 18:20:59 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00a201ccbf6e$33b96e80$9b2c4b80$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> Message-ID: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Yes! Did I say Yes! Customers tend to buy on who 'sounds' like experts, even though the customer has no way to know who is really qualified. I have a specific process I go through to avoid this. It has two major steps - Requirements and Development. In the Requirements stage, the deliverable is a set of requirements that could be used by anyone. I will estimate the amount of time (money) this will take, but I won't get pinned down. I end up with a set of screenshots that were developed by me and a user group over time. During this phase, I simply bill by the hour. During this time, I am working as a consultant just to create requirements. >From the requirements, I quote a fixed amount to do the Development phase. The customer is free to take the requirements and have them quoted by someone else. If they want to find a cheaper company, so be it - but it hasn't happened yet. At some point during Requirements, I'll start giving a range of what the Development might cost, and I've learned to err on the high side. Another good practice is to do bite-sized pieces. Whatever get chewed off in the beginning will determine what they want to eat later on! Maybe you could now 'ride in on the white horse?' Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] I told you of this one before.....and now another The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 18:46:42 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:46:42 -0500 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Message-ID: <00d701ccbf7a$02897560$079c6020$@net> Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. From ab-mi at post3.tele.dk Tue Dec 20 18:55:19 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 21 Dec 2011 01:55:19 +0100 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <06470800591B41B3B7468FEFA76D4E04@abpc> I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 20 19:05:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 01:05:19 +0000 Subject: [AccessD] And now the other... In-Reply-To: <06470800591B41B3B7468FEFA76D4E04@abpc> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <06470800591B41B3B7468FEFA76D4E04@abpc> Message-ID: <56653D383CB80341995245C537A9E7B560616A@SINPRD0402MB099.apcprd04.prod.outlook.com> This sort of thing is exactly what is hurting a local accounting software company very badly. Their 'upgrade' to a new system has been botched pretty badly. Many complaints and screams from the 1% of customers who are using the new software to date. It is awful that even MYOB's own business partners are recommending that users stay on their legacy software or more to other competing platforms. MYOB haven't handled this very well to date. <> Is a good summary. The forums are interesting reading if you have the time and interest in these sort of things. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Wednesday, 21 December 2011 11:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] And now the other... I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Dec 20 19:09:43 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Dec 2011 20:09:43 -0500 Subject: [AccessD] And now the other... References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> I recently was asked to consult, albeit just a quick opinion, on a similar project. In truth, things didn't look particularly bad, but I didn't spend much time reviewing the code, etc. A developer, via a small consulting firm, WAAAAAAAAAAAAYYYYYYYYY underbid and then stopped working when he tired of the project. The developer claimed the client was guilty of scope creep -- the guy didn't know whether he was or not. There was no formal spec sheet, if the guy was honest with me about it. The budget for the project's been spent and it isn't done. The poor guy is stuck -- boss is mad. At some point in the conversation, sitting in his office, it became apparent to me that he thought I was going to finish it for free. Um... no, and why would I? I just said, "I don't care whether you pay me or whether the consulting firm you originally hired pays me." FWIW, I don't work for that firm, I was just doing someone a quick favor. I'm sitting across from the client and he says, "Developers aren't looking too good to me right now." So not my problem. I finally told him he needed to take it up with the consulting firm and ask for a refund or for someone to complete the project. I doubt he got either. Susan H. > > Well this one should end this final chapter in my career which has become > repetitive with these situations, stressful, and unjust. I'm almost > without > words about how I feel about this awful dev business today thru agencies. > I > do the work, they make the money. I thought slavery was abolished !. > But NO.....because when all of the Indian insourcing and outsourcing was > instituted, the net effect has been reduced opportunities and reduced > wages. > So slavery has come back to America...at least in the IT contracting > world. > What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 20:06:55 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 20:06:55 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00d701ccbf7a$02897560$079c6020$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> Message-ID: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Sounds like this marine shipping company jumped into a leaky boat and headed of in the wrong direction! ;-) They should have known better than that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before.....and now another Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 21:08:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:08:01 -0500 Subject: [AccessD] And now the other...WOW SUSAN In-Reply-To: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <0707F689F69B490FA7954485A33D30B1@SusanHarkins> Message-ID: <000101ccbf8d$c0382260$40a86720$@net> Wow Susan, WHAT A STORY ! The "attitudes" were just so....TELLING. From marksimms at verizon.net Tue Dec 20 21:25:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:25:40 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Message-ID: <000201ccbf90$37605e00$a6211a00$@net> Re: "wrong direction" Your are right, but IT GETS EVEN BETTER : After I installed the really complex and fully integrated with their CRM database Access add-on that provided them with another $300k in services fee income, they later wanted to offer me "Fulltime employment". This was AFTER I made the $80k Access proposal which they rejected. (Remember, they are currently sitting at $180k in dev expenses and NO SYSTEM has been delivered) Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete agreement. The agency decided that they were a "big part" of this (they did NOTHING) and should get a whopping $30k one-time fee for that employment contract. That put me way under $100k as a salary for which I felt entitled...especially given the 60 mile roundtrip commute I was facing daily if I were to commit to them. So I rejected the offer; and then they immediately contracted with that consulting company.... And ..."The Rest Is History" as they say. Incredible story, no ? Susan, something to publish perhaps ? From fuller.artful at gmail.com Wed Dec 21 03:40:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 04:40:25 -0500 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: I feel your pain, but at the same time I predicted this outcome over 10 years ago. We developers have become the MayTag repair-persons of this century. We wait for something to fix, and in the meantime do next to nothing Arthur From darryl at whittleconsulting.com.au Wed Dec 21 04:43:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 10:43:01 +0000 Subject: [AccessD] OT: Book Message-ID: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Arthur, Got my copy of the book today that you recommended. Just want to say thanks. It is great and will be a wonderful resource for both myself and my boys as they grow up. Most excellent indeed. Alos a good time to say a big thank you and merrry xmas to everyone on this list. Once again, you have been an invaluable source of help and support over the past year. I have learnt more from you guys and girls than any course could offer. You are an amazing and always educational resource. So Cheers! :) Darryl. From fuller.artful at gmail.com Wed Dec 21 05:49:46 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 06:49:46 -0500 Subject: [AccessD] OT: Book In-Reply-To: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I'm glad to hear that you like the book. On Wed, Dec 21, 2011 at 5:43 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Arthur, > > Got my copy of the book today that you recommended. Just want to say > thanks. It is great and will be a wonderful resource for both myself and my > boys as they grow up. Most excellent indeed. > > -- Arthur Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 07:54:04 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 08:54:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> Message-ID: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> > > Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete > agreement. > The agency decided that they were a "big part" of this (they did NOTHING) > and should get a whopping $30k one-time fee for that employment contract. > That put me way under $100k as a salary for which I felt > entitled...especially given the 60 mile roundtrip commute I was facing > daily > if I were to commit to them. ========The non-compete was 100% binding? Most will have a clause that restricts you for a certain number of weeks or even months, so how long were you there? > So I rejected the offer; and then they immediately contracted with that > consulting company.... > > And ..."The Rest Is History" as they say. > > Incredible story, no ? > > Susan, something to publish perhaps ? ========10 developers tell their favorite Scrooge stories :) Susan H. From guss at beechnutconsulting.com Wed Dec 21 11:29:10 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Wed, 21 Dec 2011 11:29:10 -0600 Subject: [AccessD] Using MS Access to read the Windows Index Message-ID: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> I have created a folder where I scan documents into searchable pdf files. I have windows (7 Ultimate) indexing setup to index on the contents, and now I want to write a query that uses the Windows Index file as the recordsource. I am hoping to set up this as perhaps a linked table, and build a query that looks something like: Select filename, path FROM WindowsIndexFile where IndexedContent = mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally guessing what the fields are. My computer tells me that the index is stored on C:\Program Data\Windows, but there are a lot of folders under that, and I have no clue about where to look or what the file is or how to access it. Any suggestions appreciated. Thanks. Sincerely yours, Guss Ginsburg Beechnut Consulting Services From davidmcafee at gmail.com Wed Dec 21 12:12:00 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 10:12:00 -0800 Subject: [AccessD] Varying results in an A2007/A2010 ADP stored procedure Message-ID: A coworker wrote a new stored procedure that works just fine when ran from SSMS. If either of these are ran from SSMS: EXEC stpR6Payouts '1/1/2011','11/30/2011','' EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL The data is returned as expected. If, the sproc is ran from VBA, or directly through the immediate window, we get different results. The sproc run from Access will return a few rows short, and data is being calculated incorrectly on the rows that are returned. Hit F5 in Access, and a different row count (and data on the returned rows) will be different. I've always assumed SQL was doing all the work and returning a resultset to Access, but it doesn't appear this is actually what happens. Does anyone have any ideas? TIA, David From marksimms at verizon.net Wed Dec 21 12:35:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:35:43 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> Message-ID: <010901ccc00f$593c53b0$0bb4fb10$@net> You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how long > were you there? > > > Susan H. From df.waters at comcast.net Wed Dec 21 12:43:48 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 12:43:48 -0600 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <010901ccc00f$593c53b0$0bb4fb10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> Message-ID: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> What I'm familiar with is an agreement where the client can't hire a temp until at least x days have passed (typically 90). If they hire a temp after that and before the contract expires, the agency then gets a prorated 'kickback' to cover their lost income. But I've never heard of a restriction After the original working time expires. This sounds onerous enough to wonder if it's legal. Or perhaps legal in one state but not in another. Sounds like a 'job-killer'. Seriously, call your congressman to get this fixed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before....."wrong direction" You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how > long were you there? > > > Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 12:46:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:46:23 -0500 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> Message-ID: <011a01ccc010$d6afb1b0$840f1510$@net> I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I > have windows (7 Ultimate) indexing setup to index on the contents, and > now I > want to write a query that uses the Windows Index file as the > recordsource. > I am hoping to set up this as perhaps a linked table, and build a query > that > looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Wed Dec 21 13:01:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 13:01:52 -0600 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <011a01ccc010$d6afb1b0$840f1510$@net> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> <011a01ccc010$d6afb1b0$840f1510$@net> Message-ID: <01b301ccc013$0035cfe0$00a16fa0$@comcast.net> Hi Guss, You can do a lot with FileSystemObject (Microsoft Scripting Runtime). This is an example of changing the read only property of files in a folder: '------------------- Dim fso As FileSystemObject Dim fol As Folder Dim fil As File Dim filList As Object Dim fProperty As Object Set fso = CreateObject("Scripting.FileSystemObject") Set fol = fso.GetFolder(stgFolderPath) Set filList = f.Files For Each fil In fc '-- Set file as read-only stgFilePath = stgFolderPath & "\" & f1.Name Set fProperties = fso.GetFile(stgFilePath) If blnReadOnly = True Then fProperties.Attributes = 1 Else fProperties.Attributes = 0 End If Next '------------------ There is much more you can do with the methods and properties from FileSystemObject. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Using MS Access to read the Windows Index I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I have windows (7 Ultimate) indexing setup to index on the > contents, and now I want to write a query that uses the Windows Index > file as the recordsource. > I am hoping to set up this as perhaps a linked table, and build a > query that looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Dec 21 13:23:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:23:57 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Did you know about this clause when you signed up? Susan H. > It was a onerous 1 year agreement. The count-down BEGINS the day after no > longer do any work for that client. > Since the client used this agency for other personnel fill-ins as well, > they > did not want to chance a lawsuit over breaking this agreement. > The agencies get away with this because the downside EFFECTS of such an > agreement are never made known. It's the agency's "big secret". That's why > this is such a great story of CAUSE and EFFECT. Here is a clear cut case > of > the clause causing harm to the client. You never hear or read about the > stories related to this, do you ? I can see it now.... > "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > > > >> ========The non-compete was 100% binding? Most will have a clause that >> restricts you for a certain number of weeks or even months, so how >> long were you there? >> >> >> Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 13:37:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:37:58 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Message-ID: <013c01ccc018$0b995cd0$22cc1670$@net> You bet. No leverage to negotiate...natch. I later discovered thru an online forum that Robert Half is one of the most hated and complained about agencies in the country. > > Did you know about this clause when you signed up? > > Susan H. From marksimms at verizon.net Wed Dec 21 13:43:41 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:43:41 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <013d01ccc018$d7d6abe0$878403a0$@net> Exactly Dan. Had it gone to a lawsuit, it would have been your typical "pissing match" by lawyers. No one would win....but they would be enriched in the process. I have heard of these non-compete cases going on for literally decades...I'm not kidding. I had a friend who did exactly that when she set-up her own Orthodontal office near her old boss. Finally settled after 20 years. Today everyone is blaming America's woes on capitalism. That's entirely BOGUS. Capitalism is about FREE MARKETS. However, today's laws and lawyers prevent capitalism to work as it was originally intended to work. We are in a quasi-socialistic environment where the "big boys" and businessmen with political influence rule our world. > But I've never heard of a restriction After the original working time > expires. This sounds onerous enough to wonder if it's legal. Or > perhaps legal in one state but not in another. Sounds like a 'job-killer'. > Seriously, call your congressman to get this fixed. > > Dan From ssharkins at gmail.com Wed Dec 21 13:55:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:55:44 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: My dad sold a small business in the early 80's. The buyer tried to force a non-compete clause that was absolutely ridiculous. My dad would've had to move to work! His lawyer told the buyer no way... they haggled for a long time, but eventually left it out. I guess you can't blame people for trying, we just have to know when to say no. Susan H. > Exactly Dan. Had it gone to a lawsuit, it would have been your typical > "pissing match" by lawyers. > No one would win....but they would be enriched in the process. > I have heard of these non-compete cases going on for literally > decades...I'm > not kidding. > I had a friend who did exactly that when she set-up her own Orthodontal > office near her old boss. > Finally settled after 20 years. From davidmcafee at gmail.com Wed Dec 21 14:37:45 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:37:45 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: I created a new mdb and it returns correctly, as expected via a pass through query. I'm going to try a box with an Access version <2007 to test the ADP. On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > How does it look if you try this in a Pass-Through query? > > Duane Hookom > MS Access MVP > > > > From: davidmcafee at GMAIL.COM > > > > A coworker wrote a new stored procedure that works just fine when ran > from > > SSMS. > > > > > > If either of these are ran from SSMS: > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011','' > > > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL > > > > The data is returned as expected. > > > > > > If, the sproc is ran from VBA, or directly through the immediate window, > we > > get different results. > > > > The sproc run from Access will return a few rows short, and data is being > > calculated incorrectly on the rows that are returned. > > > > Hit F5 in Access, and a different row count (and data on the returned > rows) > > will be different. > > > > I've always assumed SQL was doing all the work and returning a resultset > to > > Access, but it doesn't appear this is actually what happens. > > > > Does anyone have any ideas? > > -------------------------------------------------------------------------- > The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft > international's LISTSERV(R) software. For subscription/signoff info > and archives, see http://peach.ease.lsoft.com/archives/access-l.html . > COPYRIGHT INFO: > http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L > From davidmcafee at gmail.com Wed Dec 21 14:58:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:58:27 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, I tested the ADP on a box with Access 2002. It returned the same, incorrect row count and values. I tried running the stored procedure from a different ADP and it also returns incorrect records. So far the only way to get the correct results besides running it directly in SSMS is to run it from an mdb using a pass through query. What occurs differently between running a pass through vs running the sproc directly from the Access database window? David On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > I created a new mdb and it returns correctly, as expected via a pass > through query. > > I'm going to try a box with an Access version <2007 to test the ADP. > > > > > On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > >> How does it look if you try this in a Pass-Through query? >> >> Duane Hookom >> MS Access MVP >> >> >> > From: davidmcafee at GMAIL.COM >> > >> > A coworker wrote a new stored procedure that works just fine when ran >> from >> > SSMS. >> > >> > >> > If either of these are ran from SSMS: >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >> > >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >> > >> > The data is returned as expected. >> > >> > >> > If, the sproc is ran from VBA, or directly through the immediate >> window, we >> > get different results. >> > >> > The sproc run from Access will return a few rows short, and data is >> being >> > calculated incorrectly on the rows that are returned. >> > >> > Hit F5 in Access, and a different row count (and data on the returned >> rows) >> > will be different. >> > >> > I've always assumed SQL was doing all the work and returning a >> resultset to >> > Access, but it doesn't appear this is actually what happens. >> > >> > Does anyone have any ideas? >> >> -------------------------------------------------------------------------- >> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >> international's LISTSERV(R) software. For subscription/signoff info >> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >> COPYRIGHT INFO: >> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >> > > From marksimms at verizon.net Wed Dec 21 15:06:15 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 16:06:15 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: <002d01ccc024$60a4a3e0$21edeba0$@net> True, but in this economic climate, I am unable to say "no". 15 years ago ? No problem. > we just have to know when to say no. > > Susan H. From davidmcafee at gmail.com Wed Dec 21 15:44:35 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 13:44:35 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, we ran a Trace on the different ways we are running the sproc. When it is called from the ADP, the sproc is called via an RPC, not directly as a passthrough query (as I've assumed it was called). >From the ADP, if I run this: Private Sub Command8_Click() Dim rs As Recordset Set rs = CurrentProject.Connection.Execute("EXEC RRMS.dbo.stpR6Payouts '1/1/2011','11/30/2011',null") Debug.Print rs.RecordCount I get the correct count! If I put an break point on the last line above and run this from the immediate window: rs.MoveFirst ? rs![CustName] STAR FORD ? rs![IndividualPayCalc] 5368 I get the correct amount (that 5368 is never correct when running the sproc from the immediate window in the ADP). So this tells me the rendering in the ADP is having issues, correct? This is scary. How many other things have I trusted to be correct and weren't? :/ Any ideas? David On Wed, Dec 21, 2011 at 12:58 PM, David McAfee wrote: > OK, I tested the ADP on a box with Access 2002. > It returned the same, incorrect row count and values. > > I tried running the stored procedure from a different ADP and it also > returns incorrect records. > > So far the only way to get the correct results besides running it directly > in SSMS is to run it from an mdb using a pass through query. > > What occurs differently between running a pass through vs running the > sproc directly from the Access database window? > > David > > > On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > >> I created a new mdb and it returns correctly, as expected via a pass >> through query. >> >> I'm going to try a box with an Access version <2007 to test the ADP. >> >> >> >> >> On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: >> >>> How does it look if you try this in a Pass-Through query? >>> >>> Duane Hookom >>> MS Access MVP >>> >>> >>> > From: davidmcafee at GMAIL.COM >>> > >>> > A coworker wrote a new stored procedure that works just fine when ran >>> from >>> > SSMS. >>> > >>> > >>> > If either of these are ran from SSMS: >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >>> > >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >>> > >>> > The data is returned as expected. >>> > >>> > >>> > If, the sproc is ran from VBA, or directly through the immediate >>> window, we >>> > get different results. >>> > >>> > The sproc run from Access will return a few rows short, and data is >>> being >>> > calculated incorrectly on the rows that are returned. >>> > >>> > Hit F5 in Access, and a different row count (and data on the returned >>> rows) >>> > will be different. >>> > >>> > I've always assumed SQL was doing all the work and returning a >>> resultset to >>> > Access, but it doesn't appear this is actually what happens. >>> > >>> > Does anyone have any ideas? >>> >>> >>> -------------------------------------------------------------------------- >>> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >>> international's LISTSERV(R) software. For subscription/signoff info >>> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >>> COPYRIGHT INFO: >>> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >>> >> >> > From ssharkins at gmail.com Wed Dec 21 18:09:51 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:09:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Yeah, I understand. I've never turned down work. Susan H. > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > >> we just have to know when to say no. >> >> Susan H. From fuller.artful at gmail.com Wed Dec 21 18:26:12 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 19:26:12 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I don't mean to start a war here, Susan, but I venture to suggest that you ought to learn how to fire clients. Clues include: a) they don't pay within 30 days; b) they don't respond to emails within 24 hours. If either or both of these occur, move on, my lovely lady; call it a lesson learned and move on! But before doing so, document this somewhere findable (FaceBook etc.) to warn us all of dealing with this scumfork client. We have your six, Susan! Love and kisses and Merry Christmas, and know that I meant what I said in the second-previous sentence. You need reinforcements, you got 'em. My arms and reach are long, and extend way past this group. Snap your fingers, and something might happen. A. On Wed, Dec 21, 2011 at 7:09 PM, Susan Harkins wrote: > Yeah, I understand. I've never turned down work. > Susan H. > > True, but in this economic climate, I am unable to say "no". >> 15 years ago ? No problem. >> >> we just have to know when to say no. >>> >>> Susan H. >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 18:47:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:47:24 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net><002d01ccc024$60a4a3e0$21edeba0$@net><68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I would if I needed to -- don't need to. I haven't had a bad client in a long, long time, thank you Jesus. :) What I meant was, if the clients I have need something, I find a way to get it to them. That's because they pay within 30 days and always respond quickly. ;) Susan H. >I don't mean to start a war here, Susan, but I venture to suggest that you > ought to learn how to fire clients. Clues include: > > a) they don't pay within 30 days; > b) they don't respond to emails within 24 hours. > > If either or both of these occur, move on, my lovely lady; call it a > lesson > learned and move on! But before doing so, document this somewhere findable > (FaceBook etc.) to warn us all of dealing with this scumfork client. We > have your six, Susan! > > Love and kisses and Merry Christmas, and know that I meant what I said in > the second-previous sentence. You need reinforcements, you got 'em. My > arms > and reach are long, and extend way past this group. Snap your fingers, and > something might happen. > From marksimms at verizon.net Wed Dec 21 22:13:04 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 23:13:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: <002401ccc060$00acf4b0$0206de10$@net> Wow Art, that is prophetic as a measure of a client. And I totally agree. Their payment practices speak volumes for their commitment and integrity. Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law firm, they spend an enormous amount of time doing what ? SIZING UP THEIR POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. Trust me, I have a good friend in that business. I had a client from hell. Indian guy...IT director. Fired his employee....then a lawsuit ensued (OF COURSE !!). I got hired to pick up that work. It was crap (heard this before ?). I worked like a madman to learn their business, their operations, etc....there was no documentation (heard this before ?) The Access database was in need of a total rewrite. No time for that (heard this before ?) So I kept on working....without getting paid. Then they fired me, just when I had finished it all. Asked for their really expensive laptop back. I REFUSED to give it back without being paid. Agency stepped in....called for a demo. I demoed, they were happy, I got paid...on-the-spot, in full. I was contacted to do some enhancements, they didn't like my price or time estimates... so I never heard from them again. From vbacreations at gmail.com Wed Dec 21 22:26:35 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:26:35 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccc024$60a4a3e0$21edeba0$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: @Art... spot on. The longer one stays associated with a bad gig the less self respect one retains. If you stay on past the point where you can feel yourself beginning to resent this client or employer you might start to show a side of yourself which you wouldn't in a more healthy environment. It usually pays to be diplomatic in how you "fire" a client.Try not to give them a reason to blackball you and offer to do knowledge tranfer ... even if you despise them. When it comes to improving your situation SEEK AND YOU SHALL FIND!!! On Dec 21, 2011 4:07 PM, "Mark Simms" wrote: > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > > > we just have to know when to say no. > > > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 21 22:34:31 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:34:31 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002401ccc060$00acf4b0$0206de10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: When it comes to love you never forget your first. But in the working world you never forget your worst, eh Mark? On Dec 21, 2011 11:14 PM, "Mark Simms" wrote: > Wow Art, that is prophetic as a measure of a client. > And I totally agree. Their payment practices speak volumes for their > commitment and integrity. > Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law > firm, they spend an enormous amount of time doing what ? SIZING UP THEIR > POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. > Trust me, I have a good friend in that business. > > I had a client from hell. Indian guy...IT director. > Fired his employee....then a lawsuit ensued (OF COURSE !!). > I got hired to pick up that work. It was crap (heard this before ?). > I worked like a madman to learn their business, their operations, > etc....there was no documentation (heard this before ?) > The Access database was in need of a total rewrite. No time for that (heard > this before ?) > > So I kept on working....without getting paid. > Then they fired me, just when I had finished it all. > Asked for their really expensive laptop back. > I REFUSED to give it back without being paid. > > Agency stepped in....called for a demo. > I demoed, they were happy, I got paid...on-the-spot, in full. > > I was contacted to do some enhancements, they didn't like my price or time > estimates... > so I never heard from them again. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Dec 22 12:35:38 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 22 Dec 2011 12:35:38 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112221135.pBMBZcol009844@mailhostC.plex.net> Hello Group, i want the last dat from tbl1 Pat Date Result A1 01-01-11 15 A1 10-10-11 7 A1 11-11-11 6 When i use the query: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 GROUP BY tbl1.Pat, tbl1.Result; Then is stil have these three records because of the Result What i need is only record that is really the last date, regardless what value there is for result Pat LastDate Result A1 11-11-11 6 I have done this before, but i can't remember how. Is has to been done with a subquery. Who can help me? Thanks Pedro From fuller.artful at gmail.com Thu Dec 22 06:05:26 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Dec 2011 07:05:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From garykjos at gmail.com Thu Dec 22 08:03:57 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 22 Dec 2011 08:03:57 -0600 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Remove the tbl1.Result from the Group By so you only group by Pat. GK On Thu, Dec 22, 2011 at 6:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat ? ? Date ? ? ? Result > A1 ? ? 01-01-11 ? ?15 > A1 ? ? 10-10-11 ? ? 7 > A1 ? ? 11-11-11 ? ? 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what value there is for result > > Pat ? ? LastDate ? ? ? ? Result > A1 ? ? 11-11-11 ? ? ? ? ? 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > 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 marksimms at verizon.net Thu Dec 22 08:46:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 09:46:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: <007801ccc0b8$8b0e2fe0$a12a8fa0$@net> > When it comes to love you never forget your first. But in the working > world you never forget your worst, eh Mark? I just love that quip Bill. From vbacreations at gmail.com Thu Dec 22 11:02:06 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:02:06 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Ill go out on a limb and suppose that you really meant the Max date since the sample data was in ascending date order. Select tbl1.Pat, tbl1.Result from Tbl1 where tbl1.date =(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat) That is "air code" I have not tested it. On Dec 22, 2011 6:39 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Thu Dec 22 11:02:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 12:02:31 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Instead of using the number format to properly display the numbers, the original developer would use the Format function to round a large series of individual values, and then total-up the rounded results instead of the original values. As you are aware, precision is likely lost in doing it this way. Ex: .55+.55=1.1 His method would be to first "round-up" the .55 to .6: Ex: .6+.6=1.2 In this case, the total is now "off" by almost 10% ! And...this is a vital model that helps to run the company's main processing unit. Wowzer indeed. From vbacreations at gmail.com Thu Dec 22 11:13:33 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:13:33 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Dec 22 11:17:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 09:17:27 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date = B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; The only thing to warn you about Pedro is if you have more than one record with the same last date. For instance. A1 01/01/11 6 B1 01/01/11 5 Also "Date" is a bad name for a field name as it is a reserved word. HTH David McAfee From jwcolby at colbyconsulting.com Thu Dec 22 11:31:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 12:31:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF36984.3020502@colbyconsulting.com> BACKUP the original!!! You need to be able to prove that the old sucked and the new... sucks less... (you can only fix what you find). Then you need to start a document of each thing like this that you find. It will provide a huge evidence base for when you present the case for "your application sucks and this is why it takes so long to get it working". John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 12:02 PM, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > From tinanfields at torchlake.com Thu Dec 22 12:26:48 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 22 Dec 2011 13:26:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net><000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <4EF37668.3010809@torchlake.com> ABSOLUTELY!!! John is right on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/22/2011 12:31 PM, jwcolby wrote: > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge evidence base for when you present the > case for "your application sucks and this is why it takes so long to > get it working". > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/22/2011 12:02 PM, Mark Simms wrote: >> Instead of using the number format to properly display the numbers, >> the original developer would use the Format function to round a large >> series >> of individual values, >> and then total-up the rounded results instead of the original values. >> As you are aware, precision is likely lost in doing it this way. >> Ex: .55+.55=1.1 >> His method would be to first "round-up" the .55 to .6: >> Ex: .6+.6=1.2 >> In this case, the total is now "off" by almost 10% ! >> >> And...this is a vital model that helps to run the company's main >> processing >> unit. >> >> Wowzer indeed. >> >> >> > From steve at datamanagementsolutions.biz Thu Dec 22 14:20:45 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Dec 2011 09:20:45 +1300 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Agreed. Assuming you mean the most recent date, i.e. Max rather than Last, then Arthur's suggestion is how I would do it. Regards Steve -----Original Message----- From: Arthur Fuller Sent: Friday, December 23, 2011 1:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Date Query I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- From stuart at lexacorp.com.pg Thu Dec 22 14:42:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 06:42:41 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> It depends on the situation. If you are rounding prices to the nearest 10c, accountants don't like accounts that show : Item 1 0.60 Item 2 0.60 ============ Total 1.10 If you want the total to equal the sum of all of the line items, you need to round each item (using either ROUND() or FORMAT(). and sum the rounded result. That is standard practice in accounting. -- Stuart On 22 Dec 2011 at 12:02, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 22 14:54:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 15:54:08 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> Message-ID: <4EF398F0.4030401@colbyconsulting.com> It is also standard practice to use a datatype appropriate for currency. That is why currency data types exist. It is also standard practice in banking to round 1/2 of the numbers up and the other down. But that is a discussion for another day. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 3:42 PM, Stuart McLachlan wrote: > It depends on the situation. > > If you are rounding prices to the nearest 10c, accountants don't like accounts that show : > > Item 1 0.60 > Item 2 0.60 > ============ > Total 1.10 > > If you want the total to equal the sum of all of the line items, you need to round each item > (using either ROUND() or FORMAT(). and sum the rounded result. That is standard > practice in accounting. > From stuart at lexacorp.com.pg Thu Dec 22 15:39:28 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 07:39:28 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF398F0.4030401@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg>, <4EF398F0.4030401@colbyconsulting.com> Message-ID: <4EF3A390.30457.28D4B5BD@stuart.lexacorp.com.pg> How do you do that in Excel? ALL numbers in Excel are stored as Doubles, you can only change the display - not the storage format. -- Stuart On 22 Dec 2011 at 15:54, jwcolby wrote: > It is also standard practice to use a datatype appropriate for currency. That is why currency data > types exist. From vbacreations at gmail.com Thu Dec 22 15:49:26 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 16:49:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Since now two posts have been made since I offered my idea that what was really wanted was Max.... and neither commented one way or another on my query .... what was incorrect about how I did it? On Dec 22, 2011 3:22 PM, "Steve Schapel" wrote: > Agreed. Assuming you mean the most recent date, i.e. Max rather than > Last, then Arthur's suggestion is how I would do it. > > Regards > Steve > > -----Original Message----- From: Arthur Fuller > Sent: Friday, December 23, 2011 1:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Last Date Query > > I think what you want is this: > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > FROM tbl1 > ORDER BY tbl1.Date DESC; > > HTH, > Arthur > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > >> Hello Group, i want the last dat from tbl1 >> >> Pat Date Result >> A1 01-01-11 15 >> A1 10-10-11 7 >> A1 11-11-11 6 >> >> When i use the query: >> >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result >> FROM tbl1 >> GROUP BY tbl1.Pat, tbl1.Result; >> >> Then is stil have these three records because of the Result >> >> What i need is only record that is really the last date, regardless what >> value there is for result >> >> Pat LastDate Result >> A1 11-11-11 6 >> >> >> I have done this before, but i can't remember how. >> Is has to been done with a subquery. >> >> Who can help me? >> >> Thanks >> >> Pedro >> -- >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From davidmcafee at gmail.com Thu Dec 22 16:02:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 14:02:59 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Nothing, I think that would work, and would also return more than one record as my suggestion would, if there were indeed more than one record on that max date. D On Thu, Dec 22, 2011 at 1:49 PM, William Benson wrote: > Since now two posts have been made since I offered my idea that what was > really wanted was Max.... and neither commented one way or another on my > query .... what was incorrect about how I did it? > On Dec 22, 2011 3:22 PM, "Steve Schapel" < > steve at datamanagementsolutions.biz> > wrote: > > > Agreed. Assuming you mean the most recent date, i.e. Max rather than > > Last, then Arthur's suggestion is how I would do it. > > > > Regards > > Steve > > > > -----Original Message----- From: Arthur Fuller > > Sent: Friday, December 23, 2011 1:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Last Date Query > > > > I think what you want is this: > > > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > > FROM tbl1 > > ORDER BY tbl1.Date DESC; > > > > HTH, > > Arthur > > > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > > > > >> Hello Group, i want the last dat from tbl1 > >> > >> Pat Date Result > >> A1 01-01-11 15 > >> A1 10-10-11 7 > >> A1 11-11-11 6 > >> > >> When i use the query: > >> > >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > >> FROM tbl1 > >> GROUP BY tbl1.Pat, tbl1.Result; > >> > >> Then is stil have these three records because of the Result > >> > >> What i need is only record that is really the last date, regardless what > >> value there is for result > >> > >> Pat LastDate Result > >> A1 11-11-11 6 > >> > >> > >> I have done this before, but i can't remember how. > >> Is has to been done with a subquery. > >> > >> Who can help me? > >> > >> Thanks > >> > >> Pedro > >> -- > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 16:28:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 22:28:21 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 22 16:59:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 17:59:47 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <005c01ccc0fd$6757d4d0$36077e70$@net> Thanks John - exactly. I hit them with it and they were shocked. Keep in mind, I had to really push them to do this remediation.... they were dragging and kicking their feet. > > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks > less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge > evidence base for when you present the case for "your application sucks > and this is why it takes so > long to get it working". > > John W. Colby > Colby Consulting From marksimms at verizon.net Thu Dec 22 17:06:24 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 18:06:24 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <005d01ccc0fe$54079130$fc16b390$@net> Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error From darryl at whittleconsulting.com.au Thu Dec 22 17:36:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 23:36:46 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <005d01ccc0fe$54079130$fc16b390$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Mark, They had four risk bands (1-4) with each band having a heavier weighting to compensate for the higher risk. There were also four questions (the matching 4's with the questions and banding is a coincidence and not related at all - althought the 4 questions within each combobox is related to the risk banding scale). In this instance it related to property insurance (mainly for fire risk) so the questions were about type of construction, roof, interior and how old the wiring and plumbing was. You get the idea. - it was fairly high level stuff. The maths worked like this. Each of the 4 questions had 4 possible responses. The 4 responses were scaled from 1 to 4 depending on how risky they were. The sum of the four responses were divided by 4 to give a risk band rating. As the division can result in non-integers the value needed to be rounded up or down to the nearest whole to give the correct rating. For example. If the responses were 1 1 2 3 (Total of 7) 7/4 = 1.75 So this customer should be paying the rate from risk band 2. However the code was doing this INT(7/4) to make the integer which would always return a 1 regardless. The only time you would ever get a 2 rating was if the result was > than 2 already. So they were underquoting on their risk for many of their clients. This was really bad for when high level rating 3 types were not being rated as 4 (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). Had a fun one at an oil company with rounding and zeros too. Story for another day. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 10:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Dec 22 19:26:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 20:26:58 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001301ccc111$f7649270$e62db750$@net> (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. From darryl at whittleconsulting.com.au Thu Dec 22 19:35:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 01:35:01 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <001301ccc111$f7649270$e62db750$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes... Fully agree. They (the portfolio risk manager) were really unhappy as the business had already been written, the risk paid for by the client. Nothing they could do except wait out the term of the agreement. of course then it puts them in the situation next year when the client want to renew and the business manager now has to decline it. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 12:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 22 20:56:51 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 21:56:51 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really unhappy > as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as a 3 > would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 21:10:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 03:10:07 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5606FBF@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes, rounding was the oil company problem as well. In short the Aussie HO used to look after all the deliveries to all the piddly little Pacific Islands (right out to Guam etc). A lot of these places would only want less than 500,000 BOE delivered each time the ship showed up. Say Island X wanted 250,000 K of BOE this month. In the Spreadsheet used to track all this stuff the girl would key in 250,000 BOE but the workbook was rounded to display millions of BOE as the minimum display (fair enough I guess as most places do use millions and millions of BOE). Anyway, as expected the 250K would show as Zero in the workbook. Of course whilst the data was in XL the reports would still calculate correctly as the underlying value was indeed 250K, even though it was displayed as zero. But of course they used SAP for their accounting and control. So what happened was the girl would print out her Spreadsheet, send it to another dept who would then (re)key the data into SAP. Suddenly all those little oil deliveries were being entered as Zeros, not their real amounts. BAM! Big problem as millions of BOE started to vanish from the system. Easy enough to fix once I tracked down where the problem was (I ended up showing them how push the data from XL directly into SAP without all the printing, internal mail and rekeying business and also modded the format to show a different format if the zero value was not a true zero. Rounding and formats. Approach with some caution I say. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really > unhappy as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as > a 3 would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 02:18:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 03:18:35 -0500 Subject: [AccessD] Copy and execute from Access Message-ID: <4EF4395B.3010207@colbyconsulting.com> I have written a small app that allows me to define an access application and the file(s) that make it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb and passes in a command line argument which is looked up in a table. The recordset opened then defines what files to copy, the source and destination, the FE to execute, and then opens that app. It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a normal Access application which can be seen until the target FE is up and running and CopyAndExecute closes. Is there a way to cause Access to open invisible? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Fri Dec 23 04:01:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Dec 2011 11:01:31 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Darryl et al Sorry to destroy the party, but all it takes is well defined criteria (business rules) - which seems to have been present here and trivial too - as well as a skilled programmer in this area - no guru or genius is required. If you deal with calculations and feel you can't handle rounding properly, you should put this item on the agenda to fill one of the empty(!) spaces in the upcoming Christmas holiday season. It isn't difficult at all. Hint: The only native function of VB(A) that handles 4/5 rounding correctly is Format. It is, however, not very fast so if speed is a concern you have to run a custom function. And no, the VB(A) function Round is not the answer to any serious task: http://www.xbeat.net/vbspeed/c_Round.htm#Round16 And don't forget: Math is fun! /gustav >>> darryl at whittleconsulting.com.au 22-12-2011 23:28 >>> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. From pedro at plex.nl Fri Dec 23 13:01:41 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 23 Dec 2011 13:01:41 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112231201.pBNC1fGY024467@mailhostC.plex.net> Dear group, thanks for all the help. I have tried all the suggestions. Also i have added some records to the test-table, to exclude double dates etc. Here is the test table: Pat Date Result A1 1-1-20111 5 A1 10-10-2011 7 A1 11-11-2011 8 A1 11-11-2011 6 B2 4-4-2011 6 B2 5-5-2011 3 B2 1-1-2011 15 B2 1-1-2011 4 B2 5-5-2011 5 B2 5-5-2011 1 The result shout be: Pat LastDate Result A1 11-11-2011 8 B2 5-5-2011 5 Here are the result given by the groupmembers, with the result en at last the correct solution. 1-------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, Last(tbl1.Result) AS LastResult FROM tbl1 GROUP BY tbl1.Pat; Pat LastDate LastResult A1 11-11-2011 6 B2 5-5-2011 1 2--------------- SELECT tbl1.Pat, Max(tbl1.Date) AS MaxDate, Max(tbl1.Result) AS MaxResult FROM tbl1 GROUP BY tbl1.Pat; Pat MaxDate MaxResult A1 11-11-2011 8 B2 5-5-2011 6 3--------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date=B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; Pat LastDate Result A1 11-11-2011 6 A1 11-11-2011 8 4------------- SELECT Tbl1.Pat, Tbl1.Date, Tbl1.Result FROM Tbl1 WHERE (((Tbl1.Date)=(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat))); Pat Date Result A1 11-11-2011 8 A1 11-11-2011 6 B2 5-5-2011 3 B2 5-5-2011 5 B2 5-5-2011 1 This solution from Wiliam gives me the all the results with the last date. These i can easily query by: SELECT Query5.Pat, Query5.Date, Max(Query5.Result) AS MaxVanResult FROM Query5 GROUP BY Query5.Pat, Query5.Date; Pat Date MaxVanResult A1 11-11-2011 8 B2 5-5-2011 5 Thanks en best wishes Pedro p.s. David, normally i never use "date" as a fieldname. I was just for this example. From marksimms at verizon.net Fri Dec 23 07:27:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 23 Dec 2011 08:27:39 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From jwcolby at colbyconsulting.com Fri Dec 23 09:34:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 10:34:48 -0500 Subject: [AccessD] Migrate to SQL Server Message-ID: <4EF49F98.5030909@colbyconsulting.com> I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Fri Dec 23 10:05:04 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 23 Dec 2011 20:05:04 +0400 Subject: [AccessD] =?utf-8?q?My_Excel_project=2E=2E=2Eyou_won=27t_believe_?= =?utf-8?q?this_one?= In-Reply-To: <004a01ccc176$a4ce31a0$ee6a94e0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Fri Dec 23 10:05:07 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:05:07 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> John, I've done like you describe with just importing the tables, doing all the fixing up of the tables, relationships, etc... afterwards. Not fun, especially with lots of tables, but that was back on Access 97 and SQL 2000. Have you looked that the SQL Server Migration Assistant (SSMA) at Microsoft? http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp x#Access Here's an old article (July 2003) from Susan Harkins about using the Upsizing Wizard in Access 2003, probably outdated for newer versions of SQL Server http://www.techrepublic.com/article/upsizing-an-existing-microsoft-acces s-database/5035130 HTH Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 9:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 Dec 23 10:26:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:26:51 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4EF4ABCB.2070008@colbyconsulting.com> The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access From rusty.hammond at cpiqpc.com Fri Dec 23 10:42:17 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:42:17 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- 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 df.waters at comcast.net Fri Dec 23 10:47:40 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:47:40 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <015601ccc192$959333e0$c0b99ba0$@comcast.net> Hi John, Honestly, I've used SSMA for Access and it was a little funky. I recently just used the upsizing wizard in Access and that went fine with one strong caveat. I purchased an app named Must for upsizing, and it's better than using the upsizing wizard in Access - for me it pinpointed a bad date in a date field which prevented upsizing in Access. Must does have a little learning curve so go through that for an hour or so and you'll like it. You should upsize Indexes, Validation Rules, Defaults, but do not upsize relationships between tables. This will give you Triggers and Constraints which will be intended to duplicate the functionality of a relationship. That works, but in Diagrams on SQL Server you can create any number of different table relationship diagrams. But when you create the diagrams, you've now duplicated the table relationship functionality with the upsized Triggers and Constraints. SQL Server has good screens for creating both indexes and table relationships, and you should use those. Also, do add timestamp fields - these will allow 'edited record' functionality to work in SQL Server. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Dec 23 10:52:01 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:52:01 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <015a01ccc193$318c66e0$94a534a0$@comcast.net> And - after you click on the Migration Tool tab you have to select 'Access' from the dropdown list under the 'migrating from' square. Otherwise it just looks like SSMA is only for Oracle to SQL Server. Maybe today's version is better than the one I used. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Friday, December 23, 2011 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty From jwcolby at colbyconsulting.com Fri Dec 23 10:54:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:54:44 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <015601ccc192$959333e0$c0b99ba0$@comcast.net> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <015601ccc192$959333e0$c0b99ba0$@comcast.net> Message-ID: <4EF4B254.2030901@colbyconsulting.com> Must looks pretty cheap. I might give that a try. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:47 AM, Dan Waters wrote: > Hi John, > > Honestly, I've used SSMA for Access and it was a little funky. I recently > just used the upsizing wizard in Access and that went fine with one strong > caveat. I purchased an app named Must for upsizing, and it's better than > using the upsizing wizard in Access - for me it pinpointed a bad date in a > date field which prevented upsizing in Access. Must does have a little > learning curve so go through that for an hour or so and you'll like it. > > You should upsize Indexes, Validation Rules, Defaults, but do not upsize > relationships between tables. This will give you Triggers and Constraints > which will be intended to duplicate the functionality of a relationship. > That works, but in Diagrams on SQL Server you can create any number of > different table relationship diagrams. But when you create the diagrams, > you've now duplicated the table relationship functionality with the upsized > Triggers and Constraints. SQL Server has good screens for creating both > indexes and table relationships, and you should use those. > > Also, do add timestamp fields - these will allow 'edited record' > functionality to work in SQL Server. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 10:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Migrate to SQL Server > > The SQL Server migration tool seems to have disappeared. All that's left is > ... a document on how to and links to companies (Microsoft partners?) that > do this. > > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: >> http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp >> x#Access > From jimdettman at verizon.net Fri Dec 23 12:51:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 13:51:49 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <4B6F63DA6C5C4180A0185048B6E2593A@XPS> John, For some great tips on using Access with SQL Server, download "Best of both worlds" from here: http://www.jstreettech.com/cartgenie/pg_developerDownloads.asp Also not sure if it was you or someone else that posted a MSKB/MSDN link that had tons on the deep internals of how Access uses a unique key with table linking and how you could control it in Access. I'll have to dig for that one. I know it was posted to the list at one point (pretty sure I posted the above link as well in the past, but it's worth a re-post). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 14:31:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 15:31:21 -0500 Subject: [AccessD] textbox value is null Message-ID: <4EF4E519.5030106@colbyconsulting.com> I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From guss at beechnutconsulting.com Fri Dec 23 14:46:15 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Fri, 23 Dec 2011 14:46:15 -0600 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <00a101ccc1b3$ea35e890$bea1b9b0$@beechnutconsulting.com> John, I usually accomplish this by using the AfterUpdate event. If the entry is bound to a field then you may want to do validation testing on the entry (such as "is it null?", etc) in the before update event. Once validated, the after update event can populate the derived value into txtB. Sincerely yours, Guss Ginsburg Beechnut Consulting Services -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Dec 23 14:58:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 15:58:49 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <63C61366D5D745588E069510909C22B9@XPS> Until the control is updated, you need to grab the value in the buffer with the .Text property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 03:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Dec 23 15:00:09 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 07:00:09 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Try this: Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) txtB = "C:\Access\" & txtA.Text & IIf(txtA.Text = "", "", "\") End Sub -- Stuart On 23 Dec 2011 at 15:31, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory > location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 23 15:04:31 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 24 Dec 2011 01:04:31 +0400 Subject: [AccessD] =?utf-8?q?Migrate_to_SQL_Server?= In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: Hi John at all -- > The SQL Server migration tool seems to have disappeared. It didn't. I have just used MS Access 2010 and its Database Tools -> SQL Server feature to get upsized my customer model MS Access database into MS SQL Server 2008 R2 database. All worked flawlessly: - autonumbers went upsized into identity fields, - relationships - into DRI (option to be selected in upsizing setup dialog), .... Here is screenshot of relationships diagrams, the one for MS SQL was built and arranged automatically after I have added all the tables to a new empty MS SQL Database Diagram: http://smsconsulting.spb.ru/stest/fm.png Thank you. -- Shamil 23 ??????? 2011, 20:29 ?? jwcolby : > The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how > to and links to companies (Microsoft partners?) that do this. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: > > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > > x#Access > > --> AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Fri Dec 23 15:45:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 23 Dec 2011 13:45:38 -0800 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: I'm not sure value will work the way you want it to, but you might try using the beforeupdate of the first textbox to write the text in the box (not the value) to the second textbox. I may be confusing VB.Net and VBA, so don't take my advice as gospel. Charlotte Foust On Fri, Dec 23, 2011 at 12:31 PM, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a > string in another text box. IOW I type 'a' in txt1 and txt2 is set to > 'C:\Access\a\'. The C:\Access is a constant directory location and I am > inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after > update) so the string I am building looks like 'C:\Access\\' since a null > is being inserted between the 'C:\Access\' and the '\'. I thought I was > going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Fri Dec 23 15:52:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 16:52:46 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <63C61366D5D745588E069510909C22B9@XPS> References: <4EF4E519.5030106@colbyconsulting.com> <63C61366D5D745588E069510909C22B9@XPS> Message-ID: <4EF4F82E.8010903@colbyconsulting.com> OK, thanks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 3:58 PM, Jim Dettman wrote: > > Until the control is updated, you need to grab the value in the buffer with > the .Text property. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 03:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] textbox value is null > > I am trying to use the value of a text box I am typing into to create a > string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access > is a constant directory > location and I am inserting 'C:\Access\'& txtA.Value& '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) > so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the > 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never > really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > From vbacreations at gmail.com Fri Dec 23 21:42:48 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 23 Dec 2011 22:42:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Ok good article ... seems to have been written before ac2010 but I am certainly willing to believe that VBA does no better job of these things than it ever did. THAT SAID... my hope (and trust) is that the Excel interface and its functions would do a better job with calculations. Wherever possible I try to use the worksheet to do as much work as possible. Is that a mistake? I would hate to think I really need to be adding such tedious Udfs to formulas just to get accurate results ?? On Dec 23, 2011 11:06 AM, "Salakhetdinov Shamil" wrote: > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Dec 23 23:45:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 00:45:51 -0500 Subject: [AccessD] Further to libraries Message-ID: <4EF5670F.2050505@colbyconsulting.com> Libraries solve a problem of making fixes and enhancements in one location. They create another problem which is having to test all the applications that use the library to ensure that they all work with the libs before releasing the libs for general use. The reality is that software is so complex that a problem may be found even after "the tests" which may mean backing out the lib (or the app). One way of dealing with that is to have a directory with all of the files required to run the app including the libs. When any of the required files is updated, zip up all of the files and replace whatever files. If a problem is found down the road, unzip all of the files to be back at the previous state. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From vbacreations at gmail.com Sat Dec 24 01:29:03 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 02:29:03 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: I guess even the brief time the application is visible between SET MYACCESS = NEW ACCESS.APPLICATION MYACCESS.VISIBLE = FALSE is not acceptable? On Dec 23, 2011 3:21 AM, "jwcolby" wrote: > I have written a small app that allows me to define an access application > and the file(s) that make it up, and a destination directory to copy it to. > A shortcut opens the access CopyAndExecute.mdb and passes in a command > line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a normal Access application which can be seen > until the target FE is up and running and CopyAndExecute closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From stuart at lexacorp.com.pg Sat Dec 24 03:46:04 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 19:46:04 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 06:39:55 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 24 Dec 2011 07:39:55 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> Message-ID: <001d01ccc239$244b2290$6ce167b0$@gmail.com> But that shortcut... how do you execute it from code, which I think was the original plan?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 24, 2011 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy and execute from Access You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 24 09:31:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:31:24 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Mark Round is and has always been buggy. It is not the same as it will never fit a purpose but for serious use it is not reliable. >From that site (from the link) you can run the test for any custom rounding function. As noted - and (still) to the surprise for many - the only function of VB(A) and Access Basic (version 2.0) too - that performs correct 4/5 rounding is Format. All the Cxxx converter functions perform Banker's Rounding which is not "wrong", just not "clean" 4/5 rounding as you learned in school. /gustav >>> marksimms at verizon.net 23-12-2011 14:27 >>> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From gustav at cactus.dk Sat Dec 24 09:35:46 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:35:46 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Shamil Well, that article is more about the normal precautions to take when dealing with floating point numbers more than rounding issues. It is with rounding as with many other tasks that many methods exist and no one is wrong. It all depends. /gustav >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav From gustav at cactus.dk Sat Dec 24 09:40:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:40:42 +0100 Subject: [AccessD] OT: Merry Christmas Message-ID: Hi all On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. Thanks to all! /gustav From vbacreations at gmail.com Sat Dec 24 09:39:13 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 10:39:13 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 11:43:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 12:43:59 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little more > review. I opened the EIasT.mdb with a breakpoint to allow stepping thru the > code. In the problem data base, the queries and forms - up to the problem > form - are all exported as text as expected. After the error, the code > stops > on a STOP statement, as it should. If I step through, it continues with the > next procedure in code and does Import the text that was previously > exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to perform > this operation. Close unneeded programs and try the operation again". Seems > the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database and > all was well. It did build a directory and saved all queries, forms, > reports > and nodules (I don't have any macros), It did import all the text. It does > Compact and Repair. And the database , original and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I especially > like the line numbers in the vba. I take it that is based on your use of > FMC > utilities. The progress bars are a nice feature - seems there are lots of > people trying to build these based on forums I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 24 11:58:38 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 24 Dec 2011 11:58:38 -0600 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Hi William, I have a version of this that I made for myself. It works on all objects except tables. I can email a copy to you offline if you'd like. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, December 24, 2011 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - further review I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little > more review. I opened the EIasT.mdb with a breakpoint to allow > stepping thru the code. In the problem data base, the queries and > forms - up to the problem form - are all exported as text as expected. > After the error, the code stops on a STOP statement, as it should. If > I step through, it continues with the next procedure in code and does > Import the text that was previously exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to > perform this operation. Close unneeded programs and try the operation > again". Seems the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database > and all was well. It did build a directory and saved all queries, > forms, reports and nodules (I don't have any macros), It did import > all the text. It does Compact and Repair. And the database , original > and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I > especially like the line numbers in the vba. I take it that is based > on your use of FMC utilities. The progress bars are a nice feature - > seems there are lots of people trying to build these based on forums > I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 24 12:01:18 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 13:01:18 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> References: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Message-ID: For sure! THANKS IN ADVANCE. On Dec 24, 2011 1:00 PM, "Dan Waters" wrote: > Hi William, > > I have a version of this that I made for myself. It works on all objects > except tables. > > I can email a copy to you offline if you'd like. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Saturday, December 24, 2011 11:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - > further review > > I am missing the original message where this EIasT.mdb was described / > offered. Reading this message leaves me curious. May I ask someone to send > me this link offlist? > On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > > > Dan, > > > > > > > > Further to my (off list) note from late last night, I did a little > > more review. I opened the EIasT.mdb with a breakpoint to allow > > stepping thru the code. In the problem data base, the queries and > > forms - up to the problem form - are all exported as text as expected. > > After the error, the code stops on a STOP statement, as it should. If > > I step through, it continues with the next procedure in code and does > > Import the text that was previously exported. > > > > > > > > It seems I have a corrupted Form and that its source can not be > retrieved. > > I > > did not find any resolution to the "there isn't enough memory to > > perform this operation. Close unneeded programs and try the operation > > again". Seems the consensus is to rebuild the form involved. > > > > > > > > So from an EIasT view, I did use the utility against another database > > and all was well. It did build a directory and saved all queries, > > forms, reports and nodules (I don't have any macros), It did import > > all the text. It does Compact and Repair. And the database , original > > and rebuilt are available. > > Good stuuf. > > > > > > > > I'm impressed with your code. No wasted code; very concise. I > > especially like the line numbers in the vba. I take it that is based > > on your use of FMC utilities. The progress bars are a nice feature - > > seems there are lots of people trying to build these based on forums > > I've seen. > > > > > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > > Perhaps it should be made available at databaseadvisors as a utility. > > > > > > > > Jack > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Dec 24 13:53:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 14:53:02 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: <004801ccc275$a5cbc9a0$f1635ce0$@net> Thanks to all who responded...fascinating story of a software behemoth that just doesn't care. I don't want to hear the BS that they couldn't fix it because it would something. Total BS. Just an excuse not to fix. > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html From hans.andersen at phulse.com Sat Dec 24 14:10:45 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 24 Dec 2011 12:10:45 -0800 Subject: [AccessD] OT: Merry Christmas In-Reply-To: References: Message-ID: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Glaedelig jul og godt tub'aar. ;) - Hans On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > Hi all > > On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. > Thanks to all! > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 24 14:45:22 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Dec 2011 06:45:22 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <001d01ccc239$244b2290$6ce167b0$@gmail.com> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> Message-ID: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the CopyExecute flash up on screen. My solution does that. On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > But that shortcut... how do you execute it from code, which I think was the > original plan?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, December 24, 2011 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy and execute from Access > > You need two steps: > > 1. Hide on Startup. You can call the following function from an Autoexec > macro: > Option Compare Database > Option Explicit > Const SW_HIDE = 0 > Const SW_NORMAL = 1 > Const SW_MINIMIZED = 2 > Const SW_MAXIMIZED = 3 > > Private Declare Function ShowWindow Lib "user32" _ > (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long > > Function Startup() As Long > Call ShowWindow(hWndAccessApp, SW_HIDE) > End Function > > By itself, that shows a flash of Access as it opens. Tou get rid of that > flash, create a shortcut > to the Access application, set it's "Run:" property to Minimized. Open > your application via > the shortcut and you shouldn't see a thing. > > -- > Stuart > > > On 23 Dec 2011 at 3:18, jwcolby wrote: > > > I have written a small app that allows me to define an access application > and the file(s) that make > > it up, and a destination directory to copy it to. A shortcut opens the > access CopyAndExecute.mdb > > and passes in a command line argument which is looked up in a table. The > recordset opened then > > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a > > normal Access application which can be seen until the target FE is up and > running and CopyAndExecute > > closes. > > > > Is there a way to cause Access to open invisible? > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 24 15:30:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:30:27 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64473.3000305@colbyconsulting.com> Right you are Stuart. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From jwcolby at colbyconsulting.com Sat Dec 24 15:41:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:41:53 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64721.9080009@colbyconsulting.com> That worked perfectly Stuart. I set the shortcut visible attribute to false and then set the Run Minimized attribute and I never even see the CopyAndRun open. I now have a splash form that opens to say "be patient" and off we go. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From vbacreations at gmail.com Sat Dec 24 15:49:37 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:49:37 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF64721.9080009@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I am asking how do you run a shortcut in code. Isn't john doing this with vba? TIA for answering my question so I can follow along. On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > That worked perfectly Stuart. I set the shortcut visible attribute to > false and then set the Run Minimized attribute and I never even see the > CopyAndRun open. I now have a splash form that opens to say "be patient" > and off we go. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > >> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >> not have the >> CopyExecute flash up on screen. My solution does that. >> >> >> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >> >> But that shortcut... how do you execute it from code, which I think was >>> the >>> original plan?? >>> -----Original Message----- >>> From: accessd-bounces@**databaseadvisors.com >>> [mailto:accessd-bounces@**databaseadvisors.com] >>> On Behalf Of Stuart McLachlan >>> Sent: Saturday, December 24, 2011 4:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Copy and execute from Access >>> >>> You need two steps: >>> >>> 1. Hide on Startup. You can call the following function from an Autoexec >>> macro: >>> Option Compare Database >>> Option Explicit >>> Const SW_HIDE = 0 >>> Const SW_NORMAL = 1 >>> Const SW_MINIMIZED = 2 >>> Const SW_MAXIMIZED = 3 >>> >>> Private Declare Function ShowWindow Lib "user32" _ >>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>> >>> Function Startup() As Long >>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>> End Function >>> >>> By itself, that shows a flash of Access as it opens. Tou get rid of that >>> flash, create a shortcut >>> to the Access application, set it's "Run:" property to Minimized. Open >>> your application via >>> the shortcut and you shouldn't see a thing. >>> >>> -- >>> Stuart >>> >>> >>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>> >>> I have written a small app that allows me to define an access >>>> application >>>> >>> and the file(s) that make >>> >>>> it up, and a destination directory to copy it to. A shortcut opens the >>>> >>> access CopyAndExecute.mdb >>> >>>> and passes in a command line argument which is looked up in a table. >>>> The >>>> >>> recordset opened then >>> >>>> defines what files to copy, the source and destination, the FE to >>>> execute, >>>> >>> and then opens that app. >>> >>>> >>>> It all is working now however I would like CopyAndExecute to open >>>> >>> invisible. ATM it opens as a >>> >>>> normal Access application which can be seen until the target FE is up >>>> and >>>> >>> running and CopyAndExecute >>> >>>> closes. >>>> >>>> Is there a way to cause Access to open invisible? >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From vbacreations at gmail.com Sat Dec 24 15:58:44 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:58:44 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I guess I am connecting the wrong dots... when john said "I have written a small app that allows.... I thought his app calls something else via a shortcut. He wrote "A shortcut opens the copyandexecute.mdb..." so i thought this was the first thing his app did. I didnt realize he meant "I use a shortcut to launch my app which is named CopyandExecute.mdb" MY FAULT.pay me no mind. On Dec 24, 2011 4:49 PM, "William Benson" wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/24/2011 3:45 PM, Stuart McLachlan wrote: >> >>> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >>> not have the >>> CopyExecute flash up on screen. My solution does that. >>> >>> >>> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >>> >>> But that shortcut... how do you execute it from code, which I think was >>>> the >>>> original plan?? >>>> -----Original Message----- >>>> From: accessd-bounces@**databaseadvisors.com >>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>> On Behalf Of Stuart McLachlan >>>> Sent: Saturday, December 24, 2011 4:46 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Copy and execute from Access >>>> >>>> You need two steps: >>>> >>>> 1. Hide on Startup. You can call the following function from an Autoexec >>>> macro: >>>> Option Compare Database >>>> Option Explicit >>>> Const SW_HIDE = 0 >>>> Const SW_NORMAL = 1 >>>> Const SW_MINIMIZED = 2 >>>> Const SW_MAXIMIZED = 3 >>>> >>>> Private Declare Function ShowWindow Lib "user32" _ >>>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>>> >>>> Function Startup() As Long >>>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>>> End Function >>>> >>>> By itself, that shows a flash of Access as it opens. Tou get rid of >>>> that >>>> flash, create a shortcut >>>> to the Access application, set it's "Run:" property to Minimized. >>>> Open >>>> your application via >>>> the shortcut and you shouldn't see a thing. >>>> >>>> -- >>>> Stuart >>>> >>>> >>>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>>> >>>> I have written a small app that allows me to define an access >>>>> application >>>>> >>>> and the file(s) that make >>>> >>>>> it up, and a destination directory to copy it to. A shortcut opens the >>>>> >>>> access CopyAndExecute.mdb >>>> >>>>> and passes in a command line argument which is looked up in a table. >>>>> The >>>>> >>>> recordset opened then >>>> >>>>> defines what files to copy, the source and destination, the FE to >>>>> execute, >>>>> >>>> and then opens that app. >>>> >>>>> >>>>> It all is working now however I would like CopyAndExecute to open >>>>> >>>> invisible. ATM it opens as a >>>> >>>>> normal Access application which can be seen until the target FE is up >>>>> and >>>>> >>>> running and CopyAndExecute >>>> >>>>> closes. >>>>> >>>>> Is there a way to cause Access to open invisible? >>>>> >>>>> -- >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> 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 Sat Dec 24 17:26:50 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 18:26:50 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <004801ccc275$a5cbc9a0$f1635ce0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> Message-ID: <000c01ccc293$83bd8b00$8b38a100$@net> Correction in CAPS: I don't want to hear the BS that they couldn't fix it because it would BREAK something. Merry Christmas AccessD members ! From gustav at cactus.dk Sun Dec 25 05:24:40 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 25 Dec 2011 12:24:40 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi William We can't disagree on that. I work mostly with accounting systems and routines related to that where correct and predictable rounding is a high priority area. The issue is that all the Cxx converter functions and Round too perform Banker's Rounding. This is not wrong, only different from what most people expect because very little is told about it. The Int and Fix functions work correctly too and also much more as people expect them to do. What is missing is a function that clearly and correctly performs a true 4/5 rounding as we learned in school, and very few expect the "secret" Format to be that only function which does that. What messes up the picture further, is that Round is buggy as the test function from the link I posted shows. /gustav >>> vbacreations at gmail.com 24-12-2011 16:39 >>> I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil From jwcolby at colbyconsulting.com Sun Dec 25 08:44:10 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Dec 2011 09:44:10 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: <4EF736BA.1070505@colbyconsulting.com> William, What I am trying to do is have a shortcut open a program and keep it invisible. That program copies a bunch of files, then opens a second program, whereupon the first program shuts down. The shortcut properties invisible / minimized cause the first program to never appear. The first program puts up a "working, be patient" splash screen while it is opening the second program. Stuart's suggestion was to use the invisible / minimized properties of the shortcut to cause the first program to not ever even be visible, which is what I was after. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 4:49 PM, William Benson wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting From rockysmolin at bchacc.com Sun Dec 25 12:10:44 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 10:10:44 -0800 Subject: [AccessD] Odd Form Behavior Message-ID: <42452AC49FFE4219B2805935A87BE633@HAL9007> Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From vbacreations at gmail.com Sun Dec 25 16:10:43 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 17:10:43 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <004901ccc352$0c5a2270$250e6750$@gmail.com> Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 16:45:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 14:45:20 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <65B284E7EE1C4E56B7897C75635B070C@HAL9007> William: *** In line. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? *** Yes Is the table, that the form is bound to, located in the same database? *** No - back end Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? *** Tried that but no - same behavior Would it navigate fine if you removed all form module code? *** YES!!! SO now the old binary search to find out which it the offending module, I guess. Merry Christmas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 16:50:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 08:50:06 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 17:24:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:24:21 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 17:42:04 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 18:42:04 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: <004d01ccc35e$cf3d6070$6db82150$@gmail.com> I think of all the questions I asked, only the one about VBA code was worth worrying about. I had misread another post online which had to do with back-end freezing (this seems more like a front end issue). Anyway, here was what I read: http://bytes.com/topic/access/answers/828312-access-back-end-sometimes-freez es -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 17:56:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:56:42 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 18:52:27 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 19:52:27 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Message-ID: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 19:02:03 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 11:02:03 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007>, <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007>, <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: <4EF7C78B.19649.39014499@stuart.lexacorp.com.pg> Define "best". It depends on the needs of the application and what your users are used to. Generally, my users understand and like the fact that changes to a record are "autosaved". If I don't want that behaviour, I give them a read-only form - what's the point of changing data if you don't want the changes saved? -- Stuart On 25 Dec 2011 at 19:52, William Benson (VBACreations. wrote: > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) > If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 19:06:12 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 17:06:12 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com><86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I've done it both ways. I've put Save buttons on the bound form and trapped it when they try to move to a new record with a message "The record has changed since you last saved it. Save it now?". Then, if no, Me.Undo. Kind of depends on the user. And the nature of the data. In this case the data is fairly static, they have an Undo button, and they learn pretty quickly that changes are permanent unless they click the Undo. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 4:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 21:15:42 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 25 Dec 2011 22:15:42 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I would take the approach to prompt that if they continue they will lose unsaved changes. If they say cancel then they cancel the move, if they say ok then do the me.undo. I would never erase the users work just because they didn't want to save unless they agreed they wanted to DISCARD. Same way GMAIL will work with this email. If I press my BACK key I will be asked if I want to discard these changes. If I say cancel I am back to my edits. GOOGLE is more concerned with the bigger risk... losing unsaved changes... than performing my BACK command. On Dec 25, 2011 8:07 PM, "Rocky Smolin" wrote: > I've done it both ways. I've put Save buttons on the bound form and > trapped > it when they try to move to a new record with a message "The record has > changed since you last saved it. Save it now?". Then, if no, Me.Undo. > > Kind of depends on the user. And the nature of the data. > > In this case the data is fairly static, they have an Undo button, and they > learn pretty quickly that changes are permanent unless they click the Undo. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 4:52 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed > to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields > from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form > seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves > the > record but the navigation buttons are still not functional and I can't go > to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this > record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the > same > results. > > I would prefer not to use the save on the dirty event because I have an > undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue Dec 27 08:54:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 09:54:16 -0500 Subject: [AccessD] OT: Merry Christmas In-Reply-To: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> References: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Message-ID: Merry Christmas, a tad late (I've been sick) and Happy New Year to all. Arthur On Sat, Dec 24, 2011 at 3:10 PM, Hans-Christian Andersen < hans.andersen at phulse.com> wrote: > > Glaedelig jul og godt tub'aar. ;) > > - Hans > > > > On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > > > Hi all > > > > On this evening - Merry Christmas to all after another year with a lot > of learning experiences and input at this list (and its sister lists) which > still stands out from all the other fora you and I join. > > Thanks to all! > > > > /gustav > > > > > From fuller.artful at gmail.com Tue Dec 27 11:01:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 12:01:16 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF736BA.1070505@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> <4EF736BA.1070505@colbyconsulting.com> Message-ID: This thread would appear to me to be about a subject addressed by my good friend Dejan Sunderic, in his books about SQL Server, which contained a chapter about inheriting databases. At the time it was a very novel idea, even though at that time I was well-acquainted with O-O software. Building on Dejan's lead, I investigated remodeling the modeldb database, and including a number of oft-used databases, and this has worked even better than I expected. In SQL Server, the core model is called modeldb. What I ended up doing was creating several different versions of this db, with names such as modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each based on modeldb but adding the tables of interest, so that simply by renaming a couple of dbs and then issuing a Create New I had a whole bunch of the core tables (transactions and lookups) instantly installed and populated and ready to go. Perhaps not an ideal solution, but it has worked for me. When doing an Access db, I do it manually, importing tables and forms and queries from databases whose content is isolated (e.g. Geography.mdb, CustomersAndOrders.mdb, COA.mdb), but the key to making this work coherently is precisely named, consistent columns in all the dbs -- it is always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, SupplierID, etc., and that never changes; may not need all of them, but it's all predefined in the inheritable databases and it's always consistent; that's the big trick). I haven't automated this, as JC wants his solution to work. If I'm "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent upon me to remember to "inherit" all the tables and relevant queries and forms, and occasionally, modules. But force of habit causes few mistakes, and upon discovery of one, it's pretty easy to return and grab the missing object. Anyway, Happy New Year to everyone on this list! Arthur On Sun, Dec 25, 2011 at 9:44 AM, jwcolby wrote: > William, > > What I am trying to do is have a shortcut open a program and keep it > invisible. That program copies a bunch of files, then opens a second > program, whereupon the first program shuts down. > > The shortcut properties invisible / minimized cause the first program to > never appear. The first program puts up a "working, be patient" splash > screen while it is opening the second program. > > Stuart's suggestion was to use the invisible / minimized properties of the > shortcut to cause the first program to not ever even be visible, which is > what I was after. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 4:49 PM, William Benson wrote: > >> I am asking how do you run a shortcut in code. Isn't john doing this with >> vba? >> >> TIA for answering my question so I can follow along. >> On Dec 24, 2011 4:44 PM, "jwcolby"> >> wrote: >> >> That worked perfectly Stuart. I set the shortcut visible attribute to >>> false and then set the Run Minimized attribute and I never even see the >>> CopyAndRun open. I now have a splash form that opens to say "be patient" >>> and off we go. >>> >>> John W. Colby >>> Colby Consulting >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From marksimms at verizon.net Tue Dec 27 11:22:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 27 Dec 2011 12:22:47 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <000c01ccc293$83bd8b00$8b38a100$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> <000c01ccc293$83bd8b00$8b38a100$@net> Message-ID: <007501ccc4bc$27c242c0$7746c840$@net> Art - lack of season greatings... I think it's been a "Bah Humbug" Christmas for Access and Excel developers. From mcp2004 at mail.ru Tue Dec 27 12:26:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 27 Dec 2011 22:26:05 +0400 Subject: [AccessD] =?utf-8?q?Copy_and_execute_from_Access?= In-Reply-To: References: <4EF736BA.1070505@colbyconsulting.com> <4EF4395B.3010207@colbyconsulting.com> Message-ID: > Anyway, Happy New Year to everyone on this list! Happy New Year Arthur and All! -- Shamil 27 ??????? 2011, 21:02 ?? Arthur Fuller : > This thread would appear to me to be about a subject addressed by my good > friend Dejan Sunderic, in his books about SQL Server, which contained a > chapter about inheriting databases. At the time it was a very novel idea, > even though at that time I was well-acquainted with O-O software. Building > on Dejan's lead, I investigated remodeling the modeldb database, and > including a number of oft-used databases, and this has worked even better > than I expected. > > In SQL Server, the core model is called modeldb. What I ended up doing was > creating several different versions of this db, with names such as > modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each > based on modeldb but adding the tables of interest, so that simply by > renaming a couple of dbs and then issuing a Create New I had a whole bunch > of the core tables (transactions and lookups) instantly installed and > populated and ready to go. > > Perhaps not an ideal solution, but it has worked for me. When doing an > Access db, I do it manually, importing tables and forms and queries from > databases whose content is isolated (e.g. Geography.mdb, > CustomersAndOrders.mdb, COA.mdb), but the key to making this work > coherently is precisely named, consistent columns in all the dbs -- it is > always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, > SupplierID, etc., and that never changes; may not need all of them, but > it's all predefined in the inheritable databases and it's always > consistent; that's the big trick). > > I haven't automated this, as JC wants his solution to work. If I'm > "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent > upon me to remember to "inherit" all the tables and relevant queries and > forms, and occasionally, modules. But force of habit causes few mistakes, > and upon discovery of one, it's pretty easy to return and grab the missing > object. > > Anyway, Happy New Year to everyone on this list! > Arthur > <<< skipped >>> From jwcolby at colbyconsulting.com Tue Dec 27 20:54:41 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Dec 2011 21:54:41 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> References: <4EF4E519.5030106@colbyconsulting.com> <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Message-ID: <4EFA84F1.3090506@colbyconsulting.com> Yep, that works. I have gotten used to always using .Value which apparently is not valid till AfterUpdate. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > Try this: > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > End Sub > From stuart at lexacorp.com.pg Tue Dec 27 21:21:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 13:21:02 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EFA84F1.3090506@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com>, <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg>, <4EFA84F1.3090506@colbyconsulting.com> Message-ID: <4EFA8B1E.27502.43CD6174@stuart.lexacorp.com.pg> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Dec 28 03:26:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Dec 2011 10:26:46 +0100 Subject: [AccessD] textbox value is null Message-ID: Hi Stuart You may add that property Text is available only when the TextBox (or other type of control) has focus. /gustav >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub From stuart at lexacorp.com.pg Wed Dec 28 03:49:40 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 19:49:40 +1000 Subject: [AccessD] textbox value is null In-Reply-To: References: Message-ID: <4EFAE634.18576.4531333B@stuart.lexacorp.com.pg> Good point. On 28 Dec 2011 at 10:26, Gustav Brock wrote: > Hi Stuart > > You may add that property Text is available only when the TextBox (or other type of control) has focus. > > /gustav > > > >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> > .Value is the underlying "value" of the textbox. It does not change during editing of the > textbox. Only when the control loses focus. It can be a string, a number or a Null. > > .Text is the text string currently *displayed* contents of the textbox, it changes as the content > of the textbox is edited. It is always a string. > > Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an > empty string (that's why the sample code tests for an empty string, not a null.) > > -- > Stuart > > > On 27 Dec 2011 at 21:54, jwcolby wrote: > > > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > > AfterUpdate. > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > > Try this: > > > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Dec 28 08:50:15 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 09:50:15 -0500 Subject: [AccessD] Ya just gotta love it Message-ID: <4EFB2CA7.9080704@colbyconsulting.com> On my workstation at the client I have Access2K and AccessXP (2002) installed. Access 2002 is the one that opens if I just double click a database. I have written this CopyAndRun application for copying the FE and libs to the user's workstation and opening it. C&R uses office automation to open the file just copied. This is the code which actually opens the application just copied. Sub OpenApp(strFEToOpen As String) Dim appAccess As Access.Application ' Create new instance of Microsoft Access. Set appAccess = CreateObject("Access.Application") ' Open database in Microsoft Access window. appAccess.OpenCurrentDatabase strFEToOpen End Sub One of the users has Access2K SP1 installed, and when he uses C&R it does in fact open the target app but it is hidden, i.e. there is an Access process in Task Manager Processes but Access is not listed in Applications. So I try testing it with my system. I use a shortcut to Access 2K (which has SP3) to directly open C&R. I then click a test button which opens the target app. When it opens it is running under Access 2002. IOW even though the code above is running in Access 2K once the dust settles the target is running in Access XP. Not ideal for testing eh? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Wed Dec 28 09:07:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 10:07:08 -0500 Subject: [AccessD] Setting the program default application Message-ID: <4EFB309C.7070908@colbyconsulting.com> I thought that you could right click on an access database file, then Open with / Choose Program / Always use the selected program / browse / then find the program to use and select that and it would permanently modify the double click program used to open that file type. That is not happening, in fact even as I select Access2K and do the open it immediately uses AccessXP to perform the open. WTHO? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Chester_Kaup at kindermorgan.com Wed Dec 28 10:13:39 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:13:39 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <00a101ccbf6d$04a75f40$0df61dc0$@net> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <00a101ccbf6d$04a75f40$0df61dc0$@net> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C39@houex1.kindermorgan.com> Thanks for the suggestion on how to write a better query. The extra records were caused by there being 11 records for each gas meter in the table GA_Details. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculation in query problem Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 Chester_Kaup at kindermorgan.com Wed Dec 28 10:24:49 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:24:49 -0600 Subject: [AccessD] Iif satement problem in query Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Custom Formats Custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null values. For example, you could use the following custom Currency format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null" This number format contains four sections separated by semicolons and uses a different format for each section. If you use multiple sections but don't specify a format for each section, entries for which there is no format either will display nothing or will default to the formatting of the first section. HTH, Stephen > I have a report that displays monetary fields with a 'Standard' > format, 2 decimal places. > > Currently it is showing negative numbers as -1,234.00 > > How can I make this display (1,234.00)? > > I know this can be done if the field is formatted as Currency, but > the client doesn't want to see the dollar sign. > > > > Any ideas? > > > > Thanks, > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc > > From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Custom Formats Custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null values. For example, you could use the following custom Currency format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null" This number format contains four sections separated by semicolons and uses a different format for each section. If you use multiple sections but don't specify a format for each section, entries for which there is no format either will display nothing or will default to the formatting of the first section. HTH, Stephen > I have a report that displays monetary fields with a 'Standard' > format, 2 decimal places. > > Currently it is showing negative numbers as -1,234.00 > > How can I make this display (1,234.00)? > > I know this can be done if the field is formatted as Currency, but > the client doesn't want to see the dollar sign. > > > > Any ideas? > > > > Thanks, > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: power I was giving my users, and make a conscious effort to prevent them from doing things they were not authorized to do. Cascade delete is a tool that has little or no justifiable use in the hands of the end user. There are simply too many scenarios where people that have no business or understanding of the consequences, end up with the ability to delete stuff. Like your example, most of us use(d) it because we didn't think about it. There are ways around enabling it. Queries can be built that will delete the data. Objects can be set up that allow qualified users (supervisors) to delete things when necessary. And of course that is a lot of work. Cascade delete is "free". It's only cost is disaster in the wrong hands. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, February 08, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Cascade-delete (was: Estimating Help) I come a bit late to this thread (but that's not new for me). I've tried to follow it but it ain't always been easy. I am using cascade delete in an app for a client who rents audio visual equipment and am wondering if this is good design runs afoul of anybody's catechism on the subject: The Rental Agreement header has one to many relationship with several table : Equipment to be rented (with one-to-one with a CheckIn/CheckOut table) Items sold at retail Labor Sub-Rental Header (with its own detail records might be more - I forget. So in order to delete a rental agreement (which they want to do from time to time) either they have to go in and delete all the detail records first, or I give them cascade delete. They opted for cascade delete. I do give them a very clear warning message about what's going to be deleted and have them confirm. What say you all to this? Rocky Smolin Beach Access Software P.S. I though everybody was used to Colby's rhetorical style by this time. He's been quite - well relatively - civil on this subject. Try him on the phrases 'unbound form' and 'natural key'. From a distance, of course. :) ----- Original Message ----- From: "John W. Colby" To: Sent: Wednesday, February 05, 2003 10:39 AM Subject: RE: [AccessD] Cascade-delete (was: Estimating Help) > Aww grow up guys. > > I never said never. I stated very plainly that if everyone has the right to > delete the records then it doesn't matter. John then states (finally, in > the last email) that this is the case. So it doesn't matter (in this case). > > So where exactly is the beef? > > I don't give a rat's patuty if you turn on cascade delete for every table, > every time, in every database. To search around struggling to find exactly > the instance where it is useful is a waste of everyone's time. If it works > for you, and you don't get fired when records disappear who really cares. > In any event, you can always blame the user after all. "Hey, I warned > them". > > In any case, I certainly don't care, it isn't my database, nor my job on the > line. And I am not getting my users fired for not doing my job correctly. > > Sorry if that was "derisive" but really, look at what I said. I was very > very VERY clear in my statements. And I see no reason to modify any of > them. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: the Access 2000 Developer?s Handbook Volume 2, I gather that the answer is that record locking is a function of the database. So since an ADP bypasses Jet and goes straight through SQL Server OLE DB then it is true record level locking when accessing the data through a form within an ADP. So record locking when accessing data within a MDB via another MDB is page locking because of Jet (although I know Access 2000 and greater does allow for record locking if told to). ****Quick question on this then, if an MDB use linked ODBC tables to access data within a SQL database is page locking employed because it passes through Jet? I think my confusion on record locking employed when using an ADP was actually a result of what I was reading in the Access 2000 Developer?s Handbook Volume 2. It covers a great deal of Client Server development using MS Access in chapter 3. But what it doesn?t seem to mention much about in the client server chapter is ADP?s and how they differ from an MDB (there is some there but not a lot). Later in the book it provides a lot of information on ADP?s but it never really comes out and says some of what I was looking for. It does come out and say Optimistic locking but I didn?t get a clear picture that it was saying true record locking. I guess I was reading too much into it. If I?m mistaken please let me know but a bound form within an ADP to a SQL2000 database will employ true Optimistic record locking only on the current record. So in a data entry only environment (where no one works on the same records) there should not be much in the manner of record locking? To everyone who took the time to comment on this I appreciate your assistance immensely. Thank you very much. Bob __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?] Order By DateAssigned DESC); Good luck, Drew -----Original Message----- From: Eric Goetz [mailto:EricGoetz at egisystems.com] Sent: Monday, February 17, 2003 10:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] select most recent Hi Gustav, Thank you for taking up my question. That comes tantalizingly close. The trouble is that with the [ManagerID] in the GROUP BY, I end up with most of the managers that have been assigned to the territory prior to [DateSelect] instead of just the most recent one. If a manager had been in the territory more than once, only the most recent assignment is returned. So I do get some filtering. My sample data looks like this: ManagerID Territory ID DateAssigned 1 1 11/1/2002 2 1 12/1/2002 1 1 1/1/2003 3 2 1/1/2003 4 2 2/1/2003 For a report as of 1/31/2003, I am trying to get: ManagerID Territory ID DateAssigned 1 1 1/1/2003 3 2 1/1/2003 I use this: SELECT tblManagerAssignments.TerritoryID, tblManagerAssignments.MangerID, Max(tblManagerAssignments.DateAssigned) AS MaxOfDateAssigned FROM tblManagerAssignments WHERE (((tblManagerAssignments.DateAssigned)<=#1/31/2003#)) GROUP BY tblManagerAssignments.TerritoryID, tblManagerAssignments.MangerID; I end up with this: ManagerID Territory ID DateAssigned 2 1 12/1/2002 1 1 1/1/2003 3 2 1/1/2003 I could add a [DateCancelled] field, but I just don't feel right about a design that incorporates NULL fields. Maybe I could calculate the [DateCancelled] field. Got any more ideas? Thanks, Eric -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, February 17, 2003 2:16 AM To: Eric Goetz Subject: Re: [AccessD] select most recent Hi Eric That could be something like: PARAMETERS DateSelect DateTime; SELECT TerritoryID, ManagerID, Max(DateAssigned) AS DateAssigned FROM tblManagerAssignments WHERE (DateAssigned <= [DateSelect]) GROUP BY TerritoryID, ManagerID; This, of course, assumes that a territory is assigned to a specific manager until assigned to another. If assignment can be cancelled without reassignment, you'll need to add a new field, DateCancelled, and add to the Where statement: AND (DateCancelled Is Null OR DateCancelled > [DateSelect]) If you wish to list territories not assigned a manager, create a query with all territories and an outer join to the query above; those not assigned will have a Null for ManagerID. Vice versa for managers without a territory. Please note that ManagerID and TerritoryID will both be foreign keys. And, as you note later, strip the name fields etc. from this table. ------_=_NextPart_001_01C2D70F.32E95930 Content-Type: text/html; charset="iso-8859-1" Re: [AccessD] select most recent
Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you have below.  Then I used this SQL statement to produce the results you want:
 
Select ManagerID, TerritoryID, DateAssigned
From tblTest As T1
Where DateAssigned In
(Select Top 1 DateAssigned
From tblTest
Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?]
Order By DateAssigned DESC);
 
Good luck,
 
Drew
-----Original Message-----
From: Eric Goetz [mailto:EricGoetz at egisystems.com]
Sent: Monday, February 17, 2003 10:00 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] select most recent

Hi Gustav,

 

Thank you for taking up my question. That comes tantalizingly close. The trouble is that with the [ManagerID] in the GROUP BY, I end up with most of the managers that have been assigned to the territory prior to [DateSelect] instead of just the most recent one. If a manager had been in the territory more than once, only the most recent assignment is returned. So I do get some filtering.

 

My sample data looks like this:

 

ManagerID  Territory ID  DateAssigned

1                  1                11/1/2002

2                  1                12/1/2002

1                  1                  1/1/2003

3                  2                  1/1/2003

4                  2                  2/1/2003

 

For a report as of 1/31/2003, I am trying to get:

 

ManagerID  Territory ID  DateAssigned

1                  1                  1/1/2003

3                  2                  1/1/2003

 

I use this:

<SQL>

SELECT

  tblManagerAssignments.TerritoryID,

  tblManagerAssignments.MangerID,

  Max(tblManagerAssignments.DateAssigned) AS MaxOfDateAssigned

FROM tblManagerAssignments

WHERE (((tblManagerAssignments.DateAssigned)<=#1/31/2003#))

GROUP BY

  tblManagerAssignments.TerritoryID,

  tblManagerAssignments.MangerID;

</SQL>

 

I end up with this:

 

ManagerID  Territory ID  DateAssigned

2                  1                12/1/2002

1                  1                  1/1/2003

3                  2                  1/1/2003

 

I could add a [DateCancelled] field, but I just don't feel right about a design that incorporates NULL fields. Maybe I could calculate the [DateCancelled] field. Got any more ideas?

 

Thanks,

 

Eric

 

-----Original Message-----
From: Gustav Brock [mailto:gustav at cactus.dk]
Sent:
Monday, February 17, 2003 2:16 AM
To: Eric Goetz
Subject: Re: [AccessD] select most recent

 

Hi Eric

That could be something like:

<SQL>

PARAMETERS
  DateSelect DateTime;
SELECT
  TerritoryID,
  ManagerID,
  Max(DateAssigned) AS DateAssigned
FROM
  tblManagerAssignments
WHERE
  (DateAssigned <= [DateSelect])
GROUP BY
  TerritoryID,
  ManagerID;

</SQL>

This, of course, assumes that a territory is assigned to a specific
manager until assigned to another. If assignment can be cancelled
without reassignment, you'll need to add a new field, DateCancelled,
and add to the Where statement:

  AND
  (DateCancelled Is Null OR DateCancelled > [DateSelect])

If you wish to list territories not assigned a manager, create a query
with all territories and an outer join to the query above; those not
assigned will have a Null for ManagerID. Vice versa for managers
without a territory.

Please note that ManagerID and TerritoryID will both be foreign keys.
And, as you note later, strip the name fields etc. from this table.

------_=_NextPart_001_01C2D70F.32E95930-- From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where TerritoryID=3DT1.TerritoryID And DateAssigned<=3D[What Report Date would you like to use?] Order By DateAssigned DESC); =20 Good luck, =20 Drew =20 ------_=_NextPart_001_01C2D77F.2BDB4DEA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [AccessD] select most recent

Hi Drew,

 

Wow! It’s like magic. I would = never have come up with this, especially the part = “TerritoryID=3DT1.TerritoryID”. I still don’t really understand how it works. I’ve looked = through all my books, but it seems my library needs another book (to the = astonishment of my wife!) Will you please suggest a book that explains this type of = query?

 

Thanks,

 

Eric

 

-----Original = Message-----
From: Drew Wutka [mailto:DWUTKA at marlow.com]
Sent:
Monday, February 17, 2003 9:33 PM
To: = 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] = select most recent

 

Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you = have below.  Then I used this SQL statement to produce the results you = want:

 

Select = ManagerID, TerritoryID, DateAssigned
From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where DateAssigned In
(Select Top 1 DateAssigned
From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where TerritoryID=3DT1.TerritoryID And DateAssigned<=3D[What Report = Date would you like to use?]
Order By DateAssigned DESC);

 

Good = luck,

 

Drew

 

=00 ------_=_NextPart_001_01C2D77F.2BDB4DEA-- From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?] Order By DateAssigned DESC); Good luck, Drew ------_=_NextPart_001_01C2D79C.CFF73570 Content-Type: text/html; charset="iso-8859-1" Re: [AccessD] select most recent
Quite frankly I haven't touched a book about Access or even remotely computer related since I started using Access.  I had a 'basic' Access book, that I used to figure out where to start looking in the help files, and from then on....no more books.  (With one exception.  I did check out a book on C++ this past summer from the library....so that's 1 book (about computer stuff) in almost 5 years.).
 
 
Lately I have been doing more 'contributing' then asking, but I learn just as much as I contribute from just reading other posts.  For example, the proposed solution I gave you is something I have never done in any of my own projects.  It just so happens that I had a post on a similar issue on Woody's lounge, that i solved using the subquery method...which is something I just remember reading about somewhere (can't remember where to be truthful), so I looked it up in Access 97's help files, and whalla.  Right after I posted to the lounge, I read your last post, so I posted a modified version for you.
 
I am not recommending that you forsake 'book knowledge', I just can't give you any good titles.
 
Drew
-----Original Message-----
From: Eric Goetz [mailto:EricGoetz at egisystems.com]
Sent: Tuesday, February 18, 2003 12:55 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] select most recent

Hi Drew,

 

Wow! It's like magic. I would never have come up with this, especially the part "TerritoryID=T1.TerritoryID". I still don't really understand how it works. I've looked through all my books, but it seems my library needs another book (to the astonishment of my wife!) Will you please suggest a book that explains this type of query?

 

Thanks,

 

Eric

 

-----Original Message-----
From: Drew Wutka [mailto:DWUTKA at marlow.com]
Sent:
Monday, February 17, 2003 9:33 PM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] select most recent

 

Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you have below.  Then I used this SQL statement to produce the results you want:

 

Select ManagerID, TerritoryID, DateAssigned
From tblTest As T1
Where DateAssigned In
(Select Top 1 DateAssigned
From tblTest
Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?]
Order By DateAssigned DESC);

 

Good luck,

 

Drew

 

------_=_NextPart_001_01C2D79C.CFF73570-- From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------=_NextPart_000_00E0_01C2D823.C3976890 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IisTAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgATAA4AIAAAAAMAIAEB A5AGADgKAAAkAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAAbAAAAW0FjY2Vzc0RdIExvc3QgV2FybmluZ3MuLi4AAAIBcQABAAAAFgAAAAHC 2E2sKl4yGGiplUKSg5VPVaMS7wsAAAIBHQwBAAAAIAAAAFNNVFA6SkNPTEJZQENPTEJZQ09OU1VM VElORy5DT00ACwABDgAAAABAAAYOAHhlkk3YwgECAQoOAQAAABgAAAAAAAAACzbtW7yqMkWQ5Nfi NltZxcKAAAALAB8OAQAAAAIBCRABAAAA2QUAANUFAAAiDAAATFpGdSUtnTsDAAoAcmNwZzEyNRYy APgLYG4OEDAzM08B9wKkA+MCAGNoCsBzsGV0MCAHEwKAfQqBknYIkHdrC4BkNAxgjmMAUAsDC7Ug VGgEkBRlJwQgdBPgIHZvAw3gFHBvZiBleHAvBnEJ8BTBAZBsEmFnIeAgIDstKQqiCoQKgIhKb2gD oFcuIAhQeGxieRakF+MX0QCAdaxsdBYRFqR3GfAuF+NVGPguBaBtFqotHCJPPQUQZwuAB0AF0AeQ c2EsZ2UcIxakRgNhOiAHANAUwAQQZC1hZG3RC4BAZGEBkWERIB8AlRIgcwWwcxsiIFsAwDEDEHRv Oh6PH59dT6kDoEJlEPBsFQBPFQBeQxDxCQACQBRwRghgc150FqQGYAIwHmBXCYBuEweQIhB5LCTA ZWJy5nUKwBjQMTkmcAHQD1CBJ1A6MjIgUE0WpB5UIRAediIPGyhTdWImagWQJbFSRR5gW0HBIUNE XSBMbyUAF6B/CsADAA8gIFAtIBaqFqREpQIgJwVAcHUFQEUQ4PhvID0TwCbAFHALgBRDjRUgaQVA AmBvY2secH8JACYQF8An8C7hMGEv1nLvA2AFwBDwEoBsBJAecAQgcHdlbGwmcAeQFUBjnQcxbBjQ BpAecG55FFD3FhEvwAQgZxSgNQEhAC7AkG9wIHU2EGEgB4GrHTIG4HgxQU8UUXID8aplJnB5CGAn M4AgJhB+djMBESAVsRRhNog0kWRfFEMDYC7gC4AUcHcug2ZnNCEUQTqBZ2g1shRSRb8wVy1LJD8b jxyfHaxCCXC/AkAjgArAKXI8ECC2QkKG2kABkHAz4RkBdCbAKzD+aQIgIxMK4yVmJyAXwDiQnGxq ANA2YCdjMTEnwNsBQCg3JyjPH/knKo8rn78srxaqI2AU0zkTTCJ2B0D/JtACYBRwMvAEEBkBFEFJ APwgSU+xTHEJgBRDEPE6IA53JlA1IjXBQUxXQR5ZBfAu0hRSLnBDbWT6LgZgdExmL3MmcFNULxPX L4M6AlNUSAhhZwtgBBF+RgdAESAvxjyoJnA0cW3/GNA6hgdAJKAREBRBTCAUcP8RIRlSIFAWUBPQ UGFRwViD/zBhBQBC0QeQJnAyHzNQAxD1AyBjULFuNjIBgDMBMGDrESAj0CEWqkU4khDwOJD/W/AE cTCCB+A2MQPwFFAvBNcRITWyVxM/FlBTRvAIgZtMMUjwbS/iNPJJJ2CBvTiGbl9LP29Afx3oRyTx r2BwQhEwsiC2Z2jTQEbww0rwJPAuZGtdJS8mP2EnRTM6MzURYCgZREsJcAfgVy7ga2FKTmVnS19M bxaqSGlusxaqPv9QgAIwE/ElABryYvEvQDRx+3CkW/xkMLBTgREhUcBUBf91ATDABCAv0XQmFFJq kmcRlzYARQJcYW4kgCBqJPH3MyI2YCSgbTXwQqAm8Q7xfzUQI6Bi4VCQB0BRwQQga+9sEAfgNcF0 JmJgkQrAARBvGTBhdFO5bHBiLuFQkGSeaWwALqEJcAdAaXovsftbMQhgbDogeEM7UANheNf/ESAE EEURNbKDNXIrHiIUQP8HcTwjhYI4AThhUQEwYBfA/kIu4FiBL+JaEkbwgzFscP9XIS9AIbA6IDZg gSA60VBD/3ThETB4kWJDL4Y4AQXAMlvtcisvahQWql+OL48/kAr/FqRwpTZwINE08oEgJQZwpQtI 7yBjaAJAcDovL9uTnxsxLyDCA4EvknILgN0CEC8hNRaka+BiAJAkoP8eYJTlGfKVXyBykA+cH5BP /5Ffkm+Tf5SPlZ+Wr5e/mM//ol+a76jfnQ+eH58voD+hT/+tj6NvpH+lj6afKjmp77ZP/6ovqz+s T61fKjmuz6/fsO//sf+zD7svLZxmCcQ/xU/GK/0WpEkEIHuQINEVwRYCFODvOJKLA2xBYuFNAHBn gYr024VzYYNlyZADEEJxQFrC/yglJvEwYQNQCeAWQcCJyvgLGzcR4QDPEAAAAB4AQhABAAAARQAA ADxFNjFGQzFENEIxOTE4MjQ0OTA1QjExM0M2ODBCRUE4NjI2RDNFOUBJTkZPU0VSVkVSMDEuaW5m b3N0YXQubG9jYWw+AAAAAAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwAigAggBgAA AAAAwAAAAAAAAEYAAAAAUoUAAHN5AQALAC+ACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMA MYAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAEYUA AAAAAAADADOACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAMATYAIIAYAAAAAAMAAAAAAAABG AAAAAAGFAAAAAAAAHgBsgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAbYAI IAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAACwCHgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEA AAACAfgPAQAAABAAAAALNu1bvKoyRZDk1+I2W1nFAgH6DwEAAAAQAAAACzbtW7yqMkWQ5NfiNltZ xQIB+w8BAAAAmAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB +b+4AQCqADfZbgAAAEQ6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcamNvbGJ5XExvY2FsIFNldHRp bmdzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUA AAADAA00/TcAAAIBfwABAAAAOgAAADxEQ0VGSkFPRU5NTkVOTEFBT0ZHUEVFR0pDUEFBLmpjb2xi eUBjb2xieWNvbnN1bHRpbmcuY29tPgAAAAMABhC/r+REAwAHEAMIAAADABAQAAAAAAMAERAAAAAA HgAIEAEAAABlAAAAVEhFUkVTVEhFVk9JQ0VPRkVYUEVSSUVOQ0VUQUxLSU5HOy0pSk9ITldDT0xC WUNPTEJZQ09OU1VMVElOR1dXV0NPTEJZQ09OU1VMVElOR0NPTS0tLS0tT1JJR0lOQUxNRVNTQQAA AAAw4w== ------=_NextPart_000_00E0_01C2D823.C3976890-- From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her hair glistened in the rain like nose hair after a sneeze.


Her eyes were like two brown circles with big black dots in the centre.


Her vocabulary was as bad as, like, whatever.


He was as tall as a six-foot-three-inch tree.


The hailstones leaped from the pavement, just like maggots when you fry
them in hot grease.


Long separated by cruel fate, the star-crossed lovers raced across the
grassy field toward each other like two freight trains, one having left
Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 p.m. at a speed of 35 mph.


The politician was gone but unnoticed, like the full stop after the Dr.
on a Dr Pepper can.


John and Mary had never met. They were like two hummingbirds who had
also never met.


The thunder was ominous sounding, much like the sound of a thin sheet of
metal being shaken backstage during the storm scene in a play.


The red brick wall was the colour of a brick-red crayon.


He fell for her like his heart was a mob informant and she was the East
River.


Even in his last years, Grandpa had a mind like a steel trap, only one
that had been left out so long, it had rusted shut.


The plan was simple, like my brother-in-law Phil. But unlike Phil, this
plan just might work.


The young fighter had a hungry look, the kind you get from not eating
for a while.


Her artistic sense was exquisitely refined, like someone who can tell
butter from I Can't Believe It's Not Butter.


She had a deep, throaty, genuine laugh like that sound a dog makes just
before it throws up.


It came down the stairs looking very much like something no one had ever
seen before.


The ballerina rose gracefully en pointe and extended one slender leg
behind her, like a dog at a fire hydrant.


It was an American tradition, like fathers chasing kids around with
power tools.


She was as easy as the "TV Guide" crossword.


She grew on him like she was a colony of E. coli and he was
room-temperature beef.


She walked into my office like a centipede with 98 missing legs.


It hurt - the way your tongue hurts after you accidentally staple it to
the wall.


Andy Lacey
Click to bookmark this address http://www.minstersystems.co.uk

Analogies and Metaphors Found in School Essays, stupid but funny:


His thoughts tumbled in his head, making and breaking alliances like
underpants in a dryer without Cling Free.


He spoke with the wisdom that can only come from experience, like a guy
who went blind because he looked at a solar eclipse without one of those
boxes with a pinhole in it and now goes around the country speaking at
high schools about the dangers of looking at a solar eclipse without one
of those boxes with a pinhole in it.


The little boat gently drifted across the pond exactly the way a bowling
ball wouldn't.


From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her hair glistened in the rain like nose hair after a sneeze.


Her eyes were like two brown circles with big black dots in the centre.


Her vocabulary was as bad as, like, whatever.


He was as tall as a six-foot-three-inch tree.


The hailstones leaped from the pavement, just like maggots when you fry
them in hot grease.


Long separated by cruel fate, the star-crossed lovers raced across the
grassy field toward each other like two freight trains, one having left
Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 p.m. at a speed of 35 mph.


The politician was gone but unnoticed, like the full stop after the Dr.
on a Dr Pepper can.


John and Mary had never met. They were like two hummingbirds who had
also never met.


The thunder was ominous sounding, much like the sound of a thin sheet of
metal being shaken backstage during the storm scene in a play.


The red brick wall was the colour of a brick-red crayon.


He fell for her like his heart was a mob informant and she was the East
River.


Even in his last years, Grandpa had a mind like a steel trap, only one
that had been left out so long, it had rusted shut.


The plan was simple, like my brother-in-law Phil. But unlike Phil, this
plan just might work.


The young fighter had a hungry look, the kind you get from not eating
for a while.


Her artistic sense was exquisitely refined, like someone who can tell
butter from I Can't Believe It's Not Butter.


She had a deep, throaty, genuine laugh like that sound a dog makes just
before it throws up.


It came down the stairs looking very much like something no one had ever
seen before.


The ballerina rose gracefully en pointe and extended one slender leg
behind her, like a dog at a fire hydrant.


It was an American tradition, like fathers chasing kids around with
power tools.


She was as easy as the "TV Guide" crossword.


She grew on him like she was a colony of E. coli and he was
room-temperature beef.


She walked into my office like a centipede with 98 missing legs.


It hurt - the way your tongue hurts after you accidentally staple it to
the wall.


Andy Lacey
Click to bookmark this address http://www.minstersystems.co.uk




_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com


_____________________________________________________________
Global Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com
----=0F30FCA5F30B42FE97A7_1442_06F9_DB50-- From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey Click to bookmark this address http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:37:14 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:37:14 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey Click to bookmark this address http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com ------_=_NextPart_001_01C2D9D1.0C7AAD16 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
You=20 betcha!
 

Rick Ehlers
Energy Merchant Business Unit
=
Power Transactions & Regulatory=20 Settlements
4th & = Main - Room=20 540A
Phone: (513) = 287-3406=20
EMail: = rhehlers at cinergy.com=20

-----Original Message-----
From: = budge at magicaldesk.com=20 [mailto:budge at magicaldesk.com]
Sent: Friday, February 21, = 2003 12:39=20 PM
To: accessd at databaseadvisors.com
Subject: Re: = RE:=20 [AccessD] OT Friday Analogies

Not to mention Uff = Da and=20 the ubiquitous =3D wanna go with?=20 =

;-)

Pamela


************************************= ************************
BBarabash at tappeconstruction.com=20 wrote on=20 = 2/21/2003
************************************************************=
Or=20 there is the Minnesota variant, Doncha know?

-----Original=20 Message-----
From: Charlotte Foust=20 [mailto:cfoust at infostatsystems.com]
Sent: Friday, February 21, 2003 = 11:15=20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT = Friday=20 Analogies


Hah! "Y'know" was *invented* in the San Fernando = valley=20 in Southern
California. I believe you Brits have your own version, = a=20 contraction of
"do you know" as well, but the rest of that "like,=20 whatever", etc. is
pure valley-speak!

Charlotte=20 Foust

-----Original Message-----
From: = andy at minstersystems.co.uk=20 [mailto:andy at minstersystems.co.uk]
Sent: Friday, February 21, 2003 = 8:57=20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT = Friday=20 Analogies


My favourite too, although I thought it lacked a = "y'know"=20 or is that
just an epidemic over here?

Andy Lacey
http://www.minstersystems.co.uk

-- Original = Message=20 --
From: Charlotte Foust
To:=20 accessd at databaseadvisors.com
Send: 2003-02-21
Subject: RE: = [AccessD] OT=20 Friday Analogies

>>Her vocabulary was as bad as, like,=20 whatever.

I LOVED that one!! :o}

Charlotte=20 Foust

-----Original Message-----
From: Andy Lacey=20 [mailto:andy at minstersystems.co.uk]

Sent: Thursday, February 20, = 2003=20 11:49 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] OT = Friday=20 Analogies



Analogies and Metaphors Found in School = Essays,=20 stupid but funny:


His thoughts tumbled in his head, making = and=20 breaking alliances like
underpants in a dryer without Cling=20 Free.


He spoke with the wisdom that can only come from = experience,=20 like a guy
who went blind because he looked at a solar eclipse = without one=20 of those
boxes with a pinhole in it and now goes around the country = speaking at
high schools about the dangers of looking at a solar = eclipse=20 without one
of those boxes with a pinhole in it.


The = little boat=20 gently drifted across the pond exactly the way a bowling
ball=20 wouldn't.


From the attic came an unearthly howl. The whole = scene=20 had an eerie,
surreal quality, like when you're on vacation in = another city=20 and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her = hair=20 glistened in the rain like nose hair after a sneeze.


Her = eyes were=20 like two brown circles with big black dots in the = centre.


Her=20 vocabulary was as bad as, like, whatever.


He was as tall as = a=20 six-foot-three-inch tree.


The hailstones leaped from the = pavement,=20 just like maggots when you fry
them in hot grease.


Long=20 separated by cruel fate, the star-crossed lovers raced across = the
grassy=20 field toward each other like two freight trains, one having = left
Cleveland=20 at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 = p.m. at a=20 speed of 35 mph.


The politician was gone but unnoticed, = like the=20 full stop after the Dr.
on a Dr Pepper can.


John and = Mary had=20 never met. They were like two hummingbirds who had
also never=20 met.


The thunder was ominous sounding, much like the sound = of a=20 thin sheet of
metal being shaken backstage during the storm scene = in a=20 play.


The red brick wall was the colour of a brick-red=20 crayon.


He fell for her like his heart was a mob informant = and she=20 was the East
River.


Even in his last years, Grandpa had = a mind=20 like a steel trap, only one
that had been left out so long, it had = rusted=20 shut.


The plan was simple, like my brother-in-law Phil. But = unlike=20 Phil, this
plan just might work.


The young fighter had a = hungry=20 look, the kind you get from not eating
for a while.


Her = artistic=20 sense was exquisitely refined, like someone who can tell
butter = from I=20 Can't Believe It's Not Butter.


She had a deep, throaty, = genuine=20 laugh like that sound a dog makes just
before it throws = up.


It=20 came down the stairs looking very much like something no one had = ever
seen=20 before.


The ballerina rose gracefully en pointe and = extended one=20 slender leg
behind her, like a dog at a fire hydrant.


It = was an=20 American tradition, like fathers chasing kids around with
power=20 tools.


She was as easy as the "TV Guide" = crossword.


She=20 grew on him like she was a colony of E. coli and he = was
room-temperature=20 beef.


She walked into my office like a centipede with 98 = missing=20 legs.


It hurt - the way your tongue hurts after you = accidentally=20 staple it to
the wall.


Andy Lacey
http://www.minstersystems.co.uk

Analogies and = Metaphors=20 Found in School Essays, stupid but funny:


His thoughts = tumbled in=20 his head, making and breaking alliances like
underpants in a dryer = without=20 Cling Free.


He spoke with the wisdom that can only come = from=20 experience, like a guy
who went blind because he looked at a solar = eclipse=20 without one of those
boxes with a pinhole in it and now goes around = the=20 country speaking at
high schools about the dangers of looking at a = solar=20 eclipse without one
of those boxes with a pinhole in = it.


The=20 little boat gently drifted across the pond exactly the way a = bowling
ball=20 wouldn't.


From the attic came an unearthly howl. The whole = scene=20 had an eerie,
surreal quality, like when you're on vacation in = another city=20 and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her = hair=20 glistened in the rain like nose hair after a sneeze.


Her = eyes were=20 like two brown circles with big black dots in the = centre.


Her=20 vocabulary was as bad as, like, whatever.


He was as tall as = a=20 six-foot-three-inch tree.


The hailstones leaped from the = pavement,=20 just like maggots when you fry
them in hot grease.


Long=20 separated by cruel fate, the star-crossed lovers raced across = the
grassy=20 field toward each other like two freight trains, one having = left
Cleveland=20 at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 = p.m. at a=20 speed of 35 mph.


The politician was gone but unnoticed, = like the=20 full stop after the Dr.
on a Dr Pepper can.


John and = Mary had=20 never met. They were like two hummingbirds who had
also never=20 met.


The thunder was ominous sounding, much like the sound = of a=20 thin sheet of
metal being shaken backstage during the storm scene = in a=20 play.


The red brick wall was the colour of a brick-red=20 crayon.


He fell for her like his heart was a mob informant = and she=20 was the East
River.


Even in his last years, Grandpa had = a mind=20 like a steel trap, only one
that had been left out so long, it had = rusted=20 shut.


The plan was simple, like my brother-in-law Phil. But = unlike=20 Phil, this
plan just might work.


The young fighter had a = hungry=20 look, the kind you get from not eating
for a while.


Her = artistic=20 sense was exquisitely refined, like someone who can tell
butter = from I=20 Can't Believe It's Not Butter.


She had a deep, throaty, = genuine=20 laugh like that sound a dog makes just
before it throws = up.


It=20 came down the stairs looking very much like something no one had = ever
seen=20 before.


The ballerina rose gracefully en pointe and = extended one=20 slender leg
behind her, like a dog at a fire hydrant.


It = was an=20 American tradition, like fathers chasing kids around with
power=20 tools.


She was as easy as the "TV Guide" = crossword.


She=20 grew on him like she was a colony of E. coli and he = was
room-temperature=20 beef.


She walked into my office like a centipede with 98 = missing=20 legs.


It hurt - the way your tongue hurts after you = accidentally=20 staple it to
the wall.


Andy Lacey
http://www.minstersystems.co.uk




______= _________________________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com
______________________= _________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com
______________________= _________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com


______________= _______________________________________________
Global=20 Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com
------_=_NextPart_001_01C2D9D1.0C7AAD16-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Custom Formats Custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null values. For example, you could use the following custom Currency format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null" This number format contains four sections separated by semicolons and uses a different format for each section. If you use multiple sections but don't specify a format for each section, entries for which there is no format either will display nothing or will default to the formatting of the first section. HTH, Stephen > I have a report that displays monetary fields with a 'Standard' > format, 2 decimal places. > > Currently it is showing negative numbers as -1,234.00 > > How can I make this display (1,234.00)? > > I know this can be done if the field is formatted as Currency, but > the client doesn't want to see the dollar sign. > > > > Any ideas? > > > > Thanks, > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc > > From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Custom Formats Custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null values. For example, you could use the following custom Currency format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null" This number format contains four sections separated by semicolons and uses a different format for each section. If you use multiple sections but don't specify a format for each section, entries for which there is no format either will display nothing or will default to the formatting of the first section. HTH, Stephen > I have a report that displays monetary fields with a 'Standard' > format, 2 decimal places. > > Currently it is showing negative numbers as -1,234.00 > > How can I make this display (1,234.00)? > > I know this can be done if the field is formatted as Currency, but > the client doesn't want to see the dollar sign. > > > > Any ideas? > > > > Thanks, > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: power I was giving my users, and make a conscious effort to prevent them from doing things they were not authorized to do. Cascade delete is a tool that has little or no justifiable use in the hands of the end user. There are simply too many scenarios where people that have no business or understanding of the consequences, end up with the ability to delete stuff. Like your example, most of us use(d) it because we didn't think about it. There are ways around enabling it. Queries can be built that will delete the data. Objects can be set up that allow qualified users (supervisors) to delete things when necessary. And of course that is a lot of work. Cascade delete is "free". It's only cost is disaster in the wrong hands. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, February 08, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Cascade-delete (was: Estimating Help) I come a bit late to this thread (but that's not new for me). I've tried to follow it but it ain't always been easy. I am using cascade delete in an app for a client who rents audio visual equipment and am wondering if this is good design runs afoul of anybody's catechism on the subject: The Rental Agreement header has one to many relationship with several table : Equipment to be rented (with one-to-one with a CheckIn/CheckOut table) Items sold at retail Labor Sub-Rental Header (with its own detail records might be more - I forget. So in order to delete a rental agreement (which they want to do from time to time) either they have to go in and delete all the detail records first, or I give them cascade delete. They opted for cascade delete. I do give them a very clear warning message about what's going to be deleted and have them confirm. What say you all to this? Rocky Smolin Beach Access Software P.S. I though everybody was used to Colby's rhetorical style by this time. He's been quite - well relatively - civil on this subject. Try him on the phrases 'unbound form' and 'natural key'. From a distance, of course. :) ----- Original Message ----- From: "John W. Colby" To: Sent: Wednesday, February 05, 2003 10:39 AM Subject: RE: [AccessD] Cascade-delete (was: Estimating Help) > Aww grow up guys. > > I never said never. I stated very plainly that if everyone has the right to > delete the records then it doesn't matter. John then states (finally, in > the last email) that this is the case. So it doesn't matter (in this case). > > So where exactly is the beef? > > I don't give a rat's patuty if you turn on cascade delete for every table, > every time, in every database. To search around struggling to find exactly > the instance where it is useful is a waste of everyone's time. If it works > for you, and you don't get fired when records disappear who really cares. > In any event, you can always blame the user after all. "Hey, I warned > them". > > In any case, I certainly don't care, it isn't my database, nor my job on the > line. And I am not getting my users fired for not doing my job correctly. > > Sorry if that was "derisive" but really, look at what I said. I was very > very VERY clear in my statements. And I see no reason to modify any of > them. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: the Access 2000 Developer?s Handbook Volume 2, I gather that the answer is that record locking is a function of the database. So since an ADP bypasses Jet and goes straight through SQL Server OLE DB then it is true record level locking when accessing the data through a form within an ADP. So record locking when accessing data within a MDB via another MDB is page locking because of Jet (although I know Access 2000 and greater does allow for record locking if told to). ****Quick question on this then, if an MDB use linked ODBC tables to access data within a SQL database is page locking employed because it passes through Jet? I think my confusion on record locking employed when using an ADP was actually a result of what I was reading in the Access 2000 Developer?s Handbook Volume 2. It covers a great deal of Client Server development using MS Access in chapter 3. But what it doesn?t seem to mention much about in the client server chapter is ADP?s and how they differ from an MDB (there is some there but not a lot). Later in the book it provides a lot of information on ADP?s but it never really comes out and says some of what I was looking for. It does come out and say Optimistic locking but I didn?t get a clear picture that it was saying true record locking. I guess I was reading too much into it. If I?m mistaken please let me know but a bound form within an ADP to a SQL2000 database will employ true Optimistic record locking only on the current record. So in a data entry only environment (where no one works on the same records) there should not be much in the manner of record locking? To everyone who took the time to comment on this I appreciate your assistance immensely. Thank you very much. Bob __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?] Order By DateAssigned DESC); Good luck, Drew -----Original Message----- From: Eric Goetz [mailto:EricGoetz at egisystems.com] Sent: Monday, February 17, 2003 10:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] select most recent Hi Gustav, Thank you for taking up my question. That comes tantalizingly close. The trouble is that with the [ManagerID] in the GROUP BY, I end up with most of the managers that have been assigned to the territory prior to [DateSelect] instead of just the most recent one. If a manager had been in the territory more than once, only the most recent assignment is returned. So I do get some filtering. My sample data looks like this: ManagerID Territory ID DateAssigned 1 1 11/1/2002 2 1 12/1/2002 1 1 1/1/2003 3 2 1/1/2003 4 2 2/1/2003 For a report as of 1/31/2003, I am trying to get: ManagerID Territory ID DateAssigned 1 1 1/1/2003 3 2 1/1/2003 I use this: SELECT tblManagerAssignments.TerritoryID, tblManagerAssignments.MangerID, Max(tblManagerAssignments.DateAssigned) AS MaxOfDateAssigned FROM tblManagerAssignments WHERE (((tblManagerAssignments.DateAssigned)<=#1/31/2003#)) GROUP BY tblManagerAssignments.TerritoryID, tblManagerAssignments.MangerID; I end up with this: ManagerID Territory ID DateAssigned 2 1 12/1/2002 1 1 1/1/2003 3 2 1/1/2003 I could add a [DateCancelled] field, but I just don't feel right about a design that incorporates NULL fields. Maybe I could calculate the [DateCancelled] field. Got any more ideas? Thanks, Eric -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, February 17, 2003 2:16 AM To: Eric Goetz Subject: Re: [AccessD] select most recent Hi Eric That could be something like: PARAMETERS DateSelect DateTime; SELECT TerritoryID, ManagerID, Max(DateAssigned) AS DateAssigned FROM tblManagerAssignments WHERE (DateAssigned <= [DateSelect]) GROUP BY TerritoryID, ManagerID; This, of course, assumes that a territory is assigned to a specific manager until assigned to another. If assignment can be cancelled without reassignment, you'll need to add a new field, DateCancelled, and add to the Where statement: AND (DateCancelled Is Null OR DateCancelled > [DateSelect]) If you wish to list territories not assigned a manager, create a query with all territories and an outer join to the query above; those not assigned will have a Null for ManagerID. Vice versa for managers without a territory. Please note that ManagerID and TerritoryID will both be foreign keys. And, as you note later, strip the name fields etc. from this table. ------_=_NextPart_001_01C2D70F.32E95930 Content-Type: text/html; charset="iso-8859-1" Re: [AccessD] select most recent
Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you have below.  Then I used this SQL statement to produce the results you want:
 
Select ManagerID, TerritoryID, DateAssigned
From tblTest As T1
Where DateAssigned In
(Select Top 1 DateAssigned
From tblTest
Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?]
Order By DateAssigned DESC);
 
Good luck,
 
Drew
-----Original Message-----
From: Eric Goetz [mailto:EricGoetz at egisystems.com]
Sent: Monday, February 17, 2003 10:00 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] select most recent

Hi Gustav,

 

Thank you for taking up my question. That comes tantalizingly close. The trouble is that with the [ManagerID] in the GROUP BY, I end up with most of the managers that have been assigned to the territory prior to [DateSelect] instead of just the most recent one. If a manager had been in the territory more than once, only the most recent assignment is returned. So I do get some filtering.

 

My sample data looks like this:

 

ManagerID  Territory ID  DateAssigned

1                  1                11/1/2002

2                  1                12/1/2002

1                  1                  1/1/2003

3                  2                  1/1/2003

4                  2                  2/1/2003

 

For a report as of 1/31/2003, I am trying to get:

 

ManagerID  Territory ID  DateAssigned

1                  1                  1/1/2003

3                  2                  1/1/2003

 

I use this:

<SQL>

SELECT

  tblManagerAssignments.TerritoryID,

  tblManagerAssignments.MangerID,

  Max(tblManagerAssignments.DateAssigned) AS MaxOfDateAssigned

FROM tblManagerAssignments

WHERE (((tblManagerAssignments.DateAssigned)<=#1/31/2003#))

GROUP BY

  tblManagerAssignments.TerritoryID,

  tblManagerAssignments.MangerID;

</SQL>

 

I end up with this:

 

ManagerID  Territory ID  DateAssigned

2                  1                12/1/2002

1                  1                  1/1/2003

3                  2                  1/1/2003

 

I could add a [DateCancelled] field, but I just don't feel right about a design that incorporates NULL fields. Maybe I could calculate the [DateCancelled] field. Got any more ideas?

 

Thanks,

 

Eric

 

-----Original Message-----
From: Gustav Brock [mailto:gustav at cactus.dk]
Sent:
Monday, February 17, 2003 2:16 AM
To: Eric Goetz
Subject: Re: [AccessD] select most recent

 

Hi Eric

That could be something like:

<SQL>

PARAMETERS
  DateSelect DateTime;
SELECT
  TerritoryID,
  ManagerID,
  Max(DateAssigned) AS DateAssigned
FROM
  tblManagerAssignments
WHERE
  (DateAssigned <= [DateSelect])
GROUP BY
  TerritoryID,
  ManagerID;

</SQL>

This, of course, assumes that a territory is assigned to a specific
manager until assigned to another. If assignment can be cancelled
without reassignment, you'll need to add a new field, DateCancelled,
and add to the Where statement:

  AND
  (DateCancelled Is Null OR DateCancelled > [DateSelect])

If you wish to list territories not assigned a manager, create a query
with all territories and an outer join to the query above; those not
assigned will have a Null for ManagerID. Vice versa for managers
without a territory.

Please note that ManagerID and TerritoryID will both be foreign keys.
And, as you note later, strip the name fields etc. from this table.

------_=_NextPart_001_01C2D70F.32E95930-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where TerritoryID=3DT1.TerritoryID And DateAssigned<=3D[What Report Date would you like to use?] Order By DateAssigned DESC); =20 Good luck, =20 Drew =20 ------_=_NextPart_001_01C2D77F.2BDB4DEA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [AccessD] select most recent

Hi Drew,

 

Wow! It’s like magic. I would = never have come up with this, especially the part = “TerritoryID=3DT1.TerritoryID”. I still don’t really understand how it works. I’ve looked = through all my books, but it seems my library needs another book (to the = astonishment of my wife!) Will you please suggest a book that explains this type of = query?

 

Thanks,

 

Eric

 

-----Original = Message-----
From: Drew Wutka [mailto:DWUTKA at marlow.com]
Sent:
Monday, February 17, 2003 9:33 PM
To: = 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] = select most recent

 

Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you = have below.  Then I used this SQL statement to produce the results you = want:

 

Select = ManagerID, TerritoryID, DateAssigned
From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where DateAssigned In
(Select Top 1 DateAssigned
From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where TerritoryID=3DT1.TerritoryID And DateAssigned<=3D[What Report = Date would you like to use?]
Order By DateAssigned DESC);

 

Good = luck,

 

Drew

 

=00 ------_=_NextPart_001_01C2D77F.2BDB4DEA-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?] Order By DateAssigned DESC); Good luck, Drew ------_=_NextPart_001_01C2D79C.CFF73570 Content-Type: text/html; charset="iso-8859-1" Re: [AccessD] select most recent
Quite frankly I haven't touched a book about Access or even remotely computer related since I started using Access.  I had a 'basic' Access book, that I used to figure out where to start looking in the help files, and from then on....no more books.  (With one exception.  I did check out a book on C++ this past summer from the library....so that's 1 book (about computer stuff) in almost 5 years.).
 
It's not like I learn by magic, my resources are 'Trial and Error' (probably the biggest chunk...hehehehe), Access 97 help files (next in line), the MSDN (The version I have is what came with Access 2000 Developer's edition...3 CD's, plenty of stuff), then a lot of online resources, like the List, The Access Web (http://mvps.org/Access), comp.databases.ms-access (though that has gone down hill a bit lately), and lately Woody's lounge.
 
Lately I have been doing more 'contributing' then asking, but I learn just as much as I contribute from just reading other posts.  For example, the proposed solution I gave you is something I have never done in any of my own projects.  It just so happens that I had a post on a similar issue on Woody's lounge, that i solved using the subquery method...which is something I just remember reading about somewhere (can't remember where to be truthful), so I looked it up in Access 97's help files, and whalla.  Right after I posted to the lounge, I read your last post, so I posted a modified version for you.
 
I am not recommending that you forsake 'book knowledge', I just can't give you any good titles.
 
Drew
-----Original Message-----
From: Eric Goetz [mailto:EricGoetz at egisystems.com]
Sent: Tuesday, February 18, 2003 12:55 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] select most recent

Hi Drew,

 

Wow! It's like magic. I would never have come up with this, especially the part "TerritoryID=T1.TerritoryID". I still don't really understand how it works. I've looked through all my books, but it seems my library needs another book (to the astonishment of my wife!) Will you please suggest a book that explains this type of query?

 

Thanks,

 

Eric

 

-----Original Message-----
From: Drew Wutka [mailto:DWUTKA at marlow.com]
Sent:
Monday, February 17, 2003 9:33 PM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] select most recent

 

Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you have below.  Then I used this SQL statement to produce the results you want:

 

Select ManagerID, TerritoryID, DateAssigned
From tblTest As T1
Where DateAssigned In
(Select Top 1 DateAssigned
From tblTest
Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?]
Order By DateAssigned DESC);

 

Good luck,

 

Drew

 

------_=_NextPart_001_01C2D79C.CFF73570-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------=_NextPart_000_00E0_01C2D823.C3976890 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IisTAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgATAA4AIAAAAAMAIAEB A5AGADgKAAAkAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAAbAAAAW0FjY2Vzc0RdIExvc3QgV2FybmluZ3MuLi4AAAIBcQABAAAAFgAAAAHC 2E2sKl4yGGiplUKSg5VPVaMS7wsAAAIBHQwBAAAAIAAAAFNNVFA6SkNPTEJZQENPTEJZQ09OU1VM VElORy5DT00ACwABDgAAAABAAAYOAHhlkk3YwgECAQoOAQAAABgAAAAAAAAACzbtW7yqMkWQ5Nfi NltZxcKAAAALAB8OAQAAAAIBCRABAAAA2QUAANUFAAAiDAAATFpGdSUtnTsDAAoAcmNwZzEyNRYy APgLYG4OEDAzM08B9wKkA+MCAGNoCsBzsGV0MCAHEwKAfQqBknYIkHdrC4BkNAxgjmMAUAsDC7Ug VGgEkBRlJwQgdBPgIHZvAw3gFHBvZiBleHAvBnEJ8BTBAZBsEmFnIeAgIDstKQqiCoQKgIhKb2gD oFcuIAhQeGxieRakF+MX0QCAdaxsdBYRFqR3GfAuF+NVGPguBaBtFqotHCJPPQUQZwuAB0AF0AeQ c2EsZ2UcIxakRgNhOiAHANAUwAQQZC1hZG3RC4BAZGEBkWERIB8AlRIgcwWwcxsiIFsAwDEDEHRv Oh6PH59dT6kDoEJlEPBsFQBPFQBeQxDxCQACQBRwRghgc150FqQGYAIwHmBXCYBuEweQIhB5LCTA ZWJy5nUKwBjQMTkmcAHQD1CBJ1A6MjIgUE0WpB5UIRAediIPGyhTdWImagWQJbFSRR5gW0HBIUNE XSBMbyUAF6B/CsADAA8gIFAtIBaqFqREpQIgJwVAcHUFQEUQ4PhvID0TwCbAFHALgBRDjRUgaQVA AmBvY2secH8JACYQF8An8C7hMGEv1nLvA2AFwBDwEoBsBJAecAQgcHdlbGwmcAeQFUBjnQcxbBjQ BpAecG55FFD3FhEvwAQgZxSgNQEhAC7AkG9wIHU2EGEgB4GrHTIG4HgxQU8UUXID8aplJnB5CGAn M4AgJhB+djMBESAVsRRhNog0kWRfFEMDYC7gC4AUcHcug2ZnNCEUQTqBZ2g1shRSRb8wVy1LJD8b jxyfHaxCCXC/AkAjgArAKXI8ECC2QkKG2kABkHAz4RkBdCbAKzD+aQIgIxMK4yVmJyAXwDiQnGxq ANA2YCdjMTEnwNsBQCg3JyjPH/knKo8rn78srxaqI2AU0zkTTCJ2B0D/JtACYBRwMvAEEBkBFEFJ APwgSU+xTHEJgBRDEPE6IA53JlA1IjXBQUxXQR5ZBfAu0hRSLnBDbWT6LgZgdExmL3MmcFNULxPX L4M6AlNUSAhhZwtgBBF+RgdAESAvxjyoJnA0cW3/GNA6hgdAJKAREBRBTCAUcP8RIRlSIFAWUBPQ UGFRwViD/zBhBQBC0QeQJnAyHzNQAxD1AyBjULFuNjIBgDMBMGDrESAj0CEWqkU4khDwOJD/W/AE cTCCB+A2MQPwFFAvBNcRITWyVxM/FlBTRvAIgZtMMUjwbS/iNPJJJ2CBvTiGbl9LP29Afx3oRyTx r2BwQhEwsiC2Z2jTQEbww0rwJPAuZGtdJS8mP2EnRTM6MzURYCgZREsJcAfgVy7ga2FKTmVnS19M bxaqSGlusxaqPv9QgAIwE/ElABryYvEvQDRx+3CkW/xkMLBTgREhUcBUBf91ATDABCAv0XQmFFJq kmcRlzYARQJcYW4kgCBqJPH3MyI2YCSgbTXwQqAm8Q7xfzUQI6Bi4VCQB0BRwQQga+9sEAfgNcF0 JmJgkQrAARBvGTBhdFO5bHBiLuFQkGSeaWwALqEJcAdAaXovsftbMQhgbDogeEM7UANheNf/ESAE EEURNbKDNXIrHiIUQP8HcTwjhYI4AThhUQEwYBfA/kIu4FiBL+JaEkbwgzFscP9XIS9AIbA6IDZg gSA60VBD/3ThETB4kWJDL4Y4AQXAMlvtcisvahQWql+OL48/kAr/FqRwpTZwINE08oEgJQZwpQtI 7yBjaAJAcDovL9uTnxsxLyDCA4EvknILgN0CEC8hNRaka+BiAJAkoP8eYJTlGfKVXyBykA+cH5BP /5Ffkm+Tf5SPlZ+Wr5e/mM//ol+a76jfnQ+eH58voD+hT/+tj6NvpH+lj6afKjmp77ZP/6ovqz+s T61fKjmuz6/fsO//sf+zD7svLZxmCcQ/xU/GK/0WpEkEIHuQINEVwRYCFODvOJKLA2xBYuFNAHBn gYr024VzYYNlyZADEEJxQFrC/yglJvEwYQNQCeAWQcCJyvgLGzcR4QDPEAAAAB4AQhABAAAARQAA ADxFNjFGQzFENEIxOTE4MjQ0OTA1QjExM0M2ODBCRUE4NjI2RDNFOUBJTkZPU0VSVkVSMDEuaW5m b3N0YXQubG9jYWw+AAAAAAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwAigAggBgAA AAAAwAAAAAAAAEYAAAAAUoUAAHN5AQALAC+ACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMA MYAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAEYUA AAAAAAADADOACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAMATYAIIAYAAAAAAMAAAAAAAABG AAAAAAGFAAAAAAAAHgBsgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAbYAI IAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAACwCHgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEA AAACAfgPAQAAABAAAAALNu1bvKoyRZDk1+I2W1nFAgH6DwEAAAAQAAAACzbtW7yqMkWQ5NfiNltZ xQIB+w8BAAAAmAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB +b+4AQCqADfZbgAAAEQ6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcamNvbGJ5XExvY2FsIFNldHRp bmdzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUA AAADAA00/TcAAAIBfwABAAAAOgAAADxEQ0VGSkFPRU5NTkVOTEFBT0ZHUEVFR0pDUEFBLmpjb2xi eUBjb2xieWNvbnN1bHRpbmcuY29tPgAAAAMABhC/r+REAwAHEAMIAAADABAQAAAAAAMAERAAAAAA HgAIEAEAAABlAAAAVEhFUkVTVEhFVk9JQ0VPRkVYUEVSSUVOQ0VUQUxLSU5HOy0pSk9ITldDT0xC WUNPTEJZQ09OU1VMVElOR1dXV0NPTEJZQ09OU1VMVElOR0NPTS0tLS0tT1JJR0lOQUxNRVNTQQAA AAAw4w== ------=_NextPart_000_00E0_01C2D823.C3976890-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her hair glistened in the rain like nose hair after a sneeze.


Her eyes were like two brown circles with big black dots in the centre.


Her vocabulary was as bad as, like, whatever.


He was as tall as a six-foot-three-inch tree.


The hailstones leaped from the pavement, just like maggots when you fry
them in hot grease.


Long separated by cruel fate, the star-crossed lovers raced across the
grassy field toward each other like two freight trains, one having left
Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 p.m. at a speed of 35 mph.


The politician was gone but unnoticed, like the full stop after the Dr.
on a Dr Pepper can.


John and Mary had never met. They were like two hummingbirds who had
also never met.


The thunder was ominous sounding, much like the sound of a thin sheet of
metal being shaken backstage during the storm scene in a play.


The red brick wall was the colour of a brick-red crayon.


He fell for her like his heart was a mob informant and she was the East
River.


Even in his last years, Grandpa had a mind like a steel trap, only one
that had been left out so long, it had rusted shut.


The plan was simple, like my brother-in-law Phil. But unlike Phil, this
plan just might work.


The young fighter had a hungry look, the kind you get from not eating
for a while.


Her artistic sense was exquisitely refined, like someone who can tell
butter from I Can't Believe It's Not Butter.


She had a deep, throaty, genuine laugh like that sound a dog makes just
before it throws up.


It came down the stairs looking very much like something no one had ever
seen before.


The ballerina rose gracefully en pointe and extended one slender leg
behind her, like a dog at a fire hydrant.


It was an American tradition, like fathers chasing kids around with
power tools.


She was as easy as the "TV Guide" crossword.


She grew on him like she was a colony of E. coli and he was
room-temperature beef.


She walked into my office like a centipede with 98 missing legs.


It hurt - the way your tongue hurts after you accidentally staple it to
the wall.


Andy Lacey
Click to bookmark this address http://www.minstersystems.co.uk

Analogies and Metaphors Found in School Essays, stupid but funny:


His thoughts tumbled in his head, making and breaking alliances like
underpants in a dryer without Cling Free.


He spoke with the wisdom that can only come from experience, like a guy
who went blind because he looked at a solar eclipse without one of those
boxes with a pinhole in it and now goes around the country speaking at
high schools about the dangers of looking at a solar eclipse without one
of those boxes with a pinhole in it.


The little boat gently drifted across the pond exactly the way a bowling
ball wouldn't.


From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her hair glistened in the rain like nose hair after a sneeze.


Her eyes were like two brown circles with big black dots in the centre.


Her vocabulary was as bad as, like, whatever.


He was as tall as a six-foot-three-inch tree.


The hailstones leaped from the pavement, just like maggots when you fry
them in hot grease.


Long separated by cruel fate, the star-crossed lovers raced across the
grassy field toward each other like two freight trains, one having left
Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 p.m. at a speed of 35 mph.


The politician was gone but unnoticed, like the full stop after the Dr.
on a Dr Pepper can.


John and Mary had never met. They were like two hummingbirds who had
also never met.


The thunder was ominous sounding, much like the sound of a thin sheet of
metal being shaken backstage during the storm scene in a play.


The red brick wall was the colour of a brick-red crayon.


He fell for her like his heart was a mob informant and she was the East
River.


Even in his last years, Grandpa had a mind like a steel trap, only one
that had been left out so long, it had rusted shut.


The plan was simple, like my brother-in-law Phil. But unlike Phil, this
plan just might work.


The young fighter had a hungry look, the kind you get from not eating
for a while.


Her artistic sense was exquisitely refined, like someone who can tell
butter from I Can't Believe It's Not Butter.


She had a deep, throaty, genuine laugh like that sound a dog makes just
before it throws up.


It came down the stairs looking very much like something no one had ever
seen before.


The ballerina rose gracefully en pointe and extended one slender leg
behind her, like a dog at a fire hydrant.


It was an American tradition, like fathers chasing kids around with
power tools.


She was as easy as the "TV Guide" crossword.


She grew on him like she was a colony of E. coli and he was
room-temperature beef.


She walked into my office like a centipede with 98 missing legs.


It hurt - the way your tongue hurts after you accidentally staple it to
the wall.


Andy Lacey
Click to bookmark this address http://www.minstersystems.co.uk




_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com


_____________________________________________________________
Global Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com
----=0F30FCA5F30B42FE97A7_1442_06F9_DB50-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey Click to bookmark this address http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey Click to bookmark this address http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com ------_=_NextPart_001_01C2D9D1.0C7AAD16 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
You=20 betcha!
 

Rick Ehlers
Energy Merchant Business Unit
=
Power Transactions & Regulatory=20 Settlements
4th & = Main - Room=20 540A
Phone: (513) = 287-3406=20
EMail: = rhehlers at cinergy.com=20

-----Original Message-----
From: = budge at magicaldesk.com=20 [mailto:budge at magicaldesk.com]
Sent: Friday, February 21, = 2003 12:39=20 PM
To: accessd at databaseadvisors.com
Subject: Re: = RE:=20 [AccessD] OT Friday Analogies

Not to mention Uff = Da and=20 the ubiquitous =3D wanna go with?=20 =

;-)

Pamela


************************************= ************************
BBarabash at tappeconstruction.com=20 wrote on=20 = 2/21/2003
************************************************************=
Or=20 there is the Minnesota variant, Doncha know?

-----Original=20 Message-----
From: Charlotte Foust=20 [mailto:cfoust at infostatsystems.com]
Sent: Friday, February 21, 2003 = 11:15=20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT = Friday=20 Analogies


Hah! "Y'know" was *invented* in the San Fernando = valley=20 in Southern
California. I believe you Brits have your own version, = a=20 contraction of
"do you know" as well, but the rest of that "like,=20 whatever", etc. is
pure valley-speak!

Charlotte=20 Foust

-----Original Message-----
From: = andy at minstersystems.co.uk=20 [mailto:andy at minstersystems.co.uk]
Sent: Friday, February 21, 2003 = 8:57=20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT = Friday=20 Analogies


My favourite too, although I thought it lacked a = "y'know"=20 or is that
just an epidemic over here?

Andy Lacey
http://www.minstersystems.co.uk

-- Original = Message=20 --
From: Charlotte Foust
To:=20 accessd at databaseadvisors.com
Send: 2003-02-21
Subject: RE: = [AccessD] OT=20 Friday Analogies

>>Her vocabulary was as bad as, like,=20 whatever.

I LOVED that one!! :o}

Charlotte=20 Foust

-----Original Message-----
From: Andy Lacey=20 [mailto:andy at minstersystems.co.uk]

Sent: Thursday, February 20, = 2003=20 11:49 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] OT = Friday=20 Analogies



Analogies and Metaphors Found in School = Essays,=20 stupid but funny:


His thoughts tumbled in his head, making = and=20 breaking alliances like
underpants in a dryer without Cling=20 Free.


He spoke with the wisdom that can only come from = experience,=20 like a guy
who went blind because he looked at a solar eclipse = without one=20 of those
boxes with a pinhole in it and now goes around the country = speaking at
high schools about the dangers of looking at a solar = eclipse=20 without one
of those boxes with a pinhole in it.


The = little boat=20 gently drifted across the pond exactly the way a bowling
ball=20 wouldn't.


From the attic came an unearthly howl. The whole = scene=20 had an eerie,
surreal quality, like when you're on vacation in = another city=20 and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her = hair=20 glistened in the rain like nose hair after a sneeze.


Her = eyes were=20 like two brown circles with big black dots in the = centre.


Her=20 vocabulary was as bad as, like, whatever.


He was as tall as = a=20 six-foot-three-inch tree.


The hailstones leaped from the = pavement,=20 just like maggots when you fry
them in hot grease.


Long=20 separated by cruel fate, the star-crossed lovers raced across = the
grassy=20 field toward each other like two freight trains, one having = left
Cleveland=20 at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 = p.m. at a=20 speed of 35 mph.


The politician was gone but unnoticed, = like the=20 full stop after the Dr.
on a Dr Pepper can.


John and = Mary had=20 never met. They were like two hummingbirds who had
also never=20 met.


The thunder was ominous sounding, much like the sound = of a=20 thin sheet of
metal being shaken backstage during the storm scene = in a=20 play.


The red brick wall was the colour of a brick-red=20 crayon.


He fell for her like his heart was a mob informant = and she=20 was the East
River.


Even in his last years, Grandpa had = a mind=20 like a steel trap, only one
that had been left out so long, it had = rusted=20 shut.


The plan was simple, like my brother-in-law Phil. But = unlike=20 Phil, this
plan just might work.


The young fighter had a = hungry=20 look, the kind you get from not eating
for a while.


Her = artistic=20 sense was exquisitely refined, like someone who can tell
butter = from I=20 Can't Believe It's Not Butter.


She had a deep, throaty, = genuine=20 laugh like that sound a dog makes just
before it throws = up.


It=20 came down the stairs looking very much like something no one had = ever
seen=20 before.


The ballerina rose gracefully en pointe and = extended one=20 slender leg
behind her, like a dog at a fire hydrant.


It = was an=20 American tradition, like fathers chasing kids around with
power=20 tools.


She was as easy as the "TV Guide" = crossword.


She=20 grew on him like she was a colony of E. coli and he = was
room-temperature=20 beef.


She walked into my office like a centipede with 98 = missing=20 legs.


It hurt - the way your tongue hurts after you = accidentally=20 staple it to
the wall.


Andy Lacey
http://www.minstersystems.co.uk

Analogies and = Metaphors=20 Found in School Essays, stupid but funny:


His thoughts = tumbled in=20 his head, making and breaking alliances like
underpants in a dryer = without=20 Cling Free.


He spoke with the wisdom that can only come = from=20 experience, like a guy
who went blind because he looked at a solar = eclipse=20 without one of those
boxes with a pinhole in it and now goes around = the=20 country speaking at
high schools about the dangers of looking at a = solar=20 eclipse without one
of those boxes with a pinhole in = it.


The=20 little boat gently drifted across the pond exactly the way a = bowling
ball=20 wouldn't.


From the attic came an unearthly howl. The whole = scene=20 had an eerie,
surreal quality, like when you're on vacation in = another city=20 and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her = hair=20 glistened in the rain like nose hair after a sneeze.


Her = eyes were=20 like two brown circles with big black dots in the = centre.


Her=20 vocabulary was as bad as, like, whatever.


He was as tall as = a=20 six-foot-three-inch tree.


The hailstones leaped from the = pavement,=20 just like maggots when you fry
them in hot grease.


Long=20 separated by cruel fate, the star-crossed lovers raced across = the
grassy=20 field toward each other like two freight trains, one having = left
Cleveland=20 at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 = p.m. at a=20 speed of 35 mph.


The politician was gone but unnoticed, = like the=20 full stop after the Dr.
on a Dr Pepper can.


John and = Mary had=20 never met. They were like two hummingbirds who had
also never=20 met.


The thunder was ominous sounding, much like the sound = of a=20 thin sheet of
metal being shaken backstage during the storm scene = in a=20 play.


The red brick wall was the colour of a brick-red=20 crayon.


He fell for her like his heart was a mob informant = and she=20 was the East
River.


Even in his last years, Grandpa had = a mind=20 like a steel trap, only one
that had been left out so long, it had = rusted=20 shut.


The plan was simple, like my brother-in-law Phil. But = unlike=20 Phil, this
plan just might work.


The young fighter had a = hungry=20 look, the kind you get from not eating
for a while.


Her = artistic=20 sense was exquisitely refined, like someone who can tell
butter = from I=20 Can't Believe It's Not Butter.


She had a deep, throaty, = genuine=20 laugh like that sound a dog makes just
before it throws = up.


It=20 came down the stairs looking very much like something no one had = ever
seen=20 before.


The ballerina rose gracefully en pointe and = extended one=20 slender leg
behind her, like a dog at a fire hydrant.


It = was an=20 American tradition, like fathers chasing kids around with
power=20 tools.


She was as easy as the "TV Guide" = crossword.


She=20 grew on him like she was a colony of E. coli and he = was
room-temperature=20 beef.


She walked into my office like a centipede with 98 = missing=20 legs.


It hurt - the way your tongue hurts after you = accidentally=20 staple it to
the wall.


Andy Lacey
http://www.minstersystems.co.uk




______= _________________________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com
______________________= _________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com
______________________= _________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com


______________= _______________________________________________
Global=20 Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com
------_=_NextPart_001_01C2D9D1.0C7AAD16-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: There are two kinds of strings: variable-length and fixed-length strings. A variable-length string can contain up to approximately 2 billion (2^31) characters. A fixed-length string can contain 1 to approximately 64K (2^16) characters. In a application I use a text file is placed into a string variable defined by Public myString as String. I was under the impression that this line defined a variable length string, but ran into a text file of approximately 5mb. This file would not fit. The file contains less than 100k characters. So I asked around the office and was told that actually the variable length string with 2bill char limit referenced here is for VB only, and that VBA has a hard limit of 64K chars. The actual error is: Run Time Error 14: (out of string space) Can anyone confirm this, or have any thoughts on the subject? From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: There are two kinds of strings: variable-length and fixed-length strings. A variable-length string can contain up to approximately 2 billion (2^31) characters. A fixed-length string can contain 1 to approximately 64K (2^16) characters. In a application I use a text file is placed into a string variable defined by Public myString as String. I was under the impression that this line defined a variable length string, but ran into a text file of approximately 5mb. This file would not fit. The file contains less than 100k characters. So I asked around the office and was told that actually the variable length string with 2bill char limit referenced here is for VB only, and that VBA has a hard limit of 64K chars. The actual error is: Run Time Error 14: (out of string space) Can anyone confirm this, or have any thoughts on the subject? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------=_NextPart_000_0028_01C2DD7E.0B894B00 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IiIPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgAaAAoAAQAAAAMABAEB A5AGABgJAAAkAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAA4AAAAW0FjY2Vzc0RdIHZhcmlhYmxlIHN0cmluZyBsZW5ndGggdnMgZml4ZWQg c3RyaW5nIGxlbmd0aAACAXEAAQAAABYAAAABwt2n9Ajl+zp2U3VFOKm5CB+NrzWFAAACAR0MAQAA ACAAAABTTVRQOkpDT0xCWUBDT0xCWUNPTlNVTFRJTkcuQ09NAAsAAQ4AAAAAQAAGDgCekt+n3cIB AgEKDgEAAAAYAAAAAAAAAAs27Vu8qjJFkOTX4jZbWcXCgAAACwAfDgEAAAACAQkQAQAAAK0EAACp BAAAKwgAAExaRnWp9rxnAwAKAHJjcGcxMjUWMgD4C2BuDhAwMzNPAfcCpAPjAgBjaArAc7BldDAg BxMCgH0KgZJ2CJB3awuAZDQMYB5jAFALAwu1BdB5IHTiaAhgZ2h0BCACIBPxQGUgc3ViagWQdMou FXAgB3BhZwuAFOCpANB0dQdAbBPgYQQQDGlnAwAPICAyIGL5AxBsaRSREOIWMQSQBCDsdG8WIBTw dAUQDyAVkLQgQwOReQhgFPBhE+BhA+BhcCBmAxAU4G/GdgSQDvBvdz8KogqEEQqAOy0pG4pKb2iN A6BXFZAIUGxieRuExx2zHaEAgHVsdBchG4Radx/ALh2zHsguBaBt9RuKLSHyTwUQFeEHQAXQsweQ GhBnZSHzG4RGA2EKOhYhYyLhZC1hZGJtC4BAZGEBkRbAZask0BIgcwWwcyD4WwDAmwMQGLA6JF8l b11PA6AEQmUQ8GxmIE9mFxuEFpAawC4Q8G5udVRtQAWgLhpgayrQbvhjLnUQsBuTBmACMCQwHlcJ gBYAJ6AaICwgRihlYnIWYHIT4DI2xy2AAdAPUCA5Og5AEWB6TRuEVCcwJEYoLyD4UxMVFCQwW0En Y0RdIL52CsAHMAJgFOEZEyAawN8PIBQAMxAEIBqgeAmAM6yzG4obhEhpFiAWgCwbij8j8hFgJ2Mu YhFQFNBscHo6G4pUFNAJcBYgOpF0vncYwBJiFHEqABkEcyQw/TMmLTQlAHA1ADTDPOY71douG4RB PF8ztWMDkQWgMwIwC3EgdRqAGLJwcD0DYHgVsRhgFpEXaCgy+F4zMRxlGAg+5z2vQL1CMUHPIDY0 S0NyMdw2KRf5PuUbhEkDoBjg30IBF7BA4B8gFJFJQZARILsY0RhgeAVAGqMEACALUf8ncDUAC4AY uTMYAQEV8QsxGxuiHeZQFRBLQSBtef5TM8QWwAYAGRQbikvBGmD9BCB1EoAEkBSzB3BCICLh/xfC FAAwYBPxTPEXsBYBTwWfGNEzJzWaGQQtgGJ1BUC/GDADoE2VTFg7oUIMNQbQfxWQOmBM8RqjOxAf ADUAbvxvdBuEGqAVYFqxFOAao79BJVTxOMJUcUdRLoBrSUr/BgAYwEvQFsArsFXBA2BTIf8UshuE O6AaoCdwPVNS4hiw/1uRVHMWNxTCVg0zpgPwNGH+MheCQ+hVASfwV/EBEDqBnyvgNPE6c1riBbFW QhSB/xaQLYA9YlRzaBA/UBDwBCD/GOAQ8TUAZkQ7oBuESKIQ4/dJ+1yiFjQgBJADYAXABACdOZVS UyBasAdxIEVtI3QxNCQwKAhgamIzpnP/CrAncBxrGZIAcBnQFgFBIf0aoHI4cFTCLYAFsRDwGwDv cXIT/xUFG3tfdd9273e6/z71MqRQsCbxM+MEAFvlMpWXME8g+HPgdDmALy97T+0hAS8m4gOBL3oi C4ACEO4vJ1UbhCzwYgCQGGAkMP985R/CfV8hDSE/hM+F34a7+0plBCBlJuJzgCugFyIa8tcZwgXA LVE/GXBNAHAjEW+JZB8gbmFk82WKIAMQQv5vBBAZYS81LgFmcQNQCeC+IRlwgRmLiCEHEeEAj6AA AAAeAEIQAQAAADgAAAA8T0YwMTBDQ0NBRi4zRjAwQkU4NS1PTjg1MjU2Q0Q5LjAwNEZDODUzQGNv Lndha2UubmMudXM+AAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwAigAggBgAAAAAA wAAAAAAAAEYAAAAAUoUAAHN5AQALAC+ACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMAMYAI IAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAA AAADADOACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAMATYAIIAYAAAAAAMAAAAAAAABGAAAA AAGFAAAAAAAAHgBsgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAbYAIIAYA AAAAAMAAAAAAAABGAAAAAAaFAAAAAAAACwCHgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEAAAAC AfgPAQAAABAAAAALNu1bvKoyRZDk1+I2W1nFAgH6DwEAAAAQAAAACzbtW7yqMkWQ5NfiNltZxQIB +w8BAAAAmAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB+b+4 AQCqADfZbgAAAEQ6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcamNvbGJ5XExvY2FsIFNldHRpbmdz XEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUAAAAD AA00/TcAAAIBfwABAAAAOgAAADxEQ0VGSkFPRU5NTkVOTEFBT0ZHUENFRUVEQUFBLmpjb2xieUBj b2xieWNvbnN1bHRpbmcuY29tPgAAAAMABhA4570cAwAHEGQFAAADABAQAAAAAAMAERAAAAAAHgAI EAEAAABlAAAATVlUSE9VR0hUU09OVEhFU1VCSkVDVElNQUdJTkVBQ1RVQUxMWUFTU0lHTklORzJC SUxMSU9OQ0hBUkFDVEVSU1RPQVNUUklOR0NBTllPVVNBWVNXQVBGSUxFT1ZFUkZMT1c/OwAAAAAy eQ== ------=_NextPart_000_0028_01C2DD7E.0B894B00-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Error 49: "Bad DLL calling convention" can occur for no apparent reason. Sometimes commenting the code where the error occurs, compiling, then uncommenting that code, and recompile again fixes this problem, at least for a while. However other times only a /decompile will fix this problem. Martin Quoting Charlotte Foust : > This problem has been haunting us ever since we started working with > Windows 2000 but it really annoys in Windows XP. I wasn't able to > track > it down in Access 97 and I still can't in Access XP, but at least I > can > see it now. I realize it has to be related to a declared function but > I > can't see that any of them we use in reattaching tables is passing the > wrong kind of parameter. Has anyone else tackled and solved this? > > Charlotte Foust > > From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: gets an object pointer to the correct printer, and Set Application.Printer = prt then activates that printer as the new application default. Kind of like getting a record bookmark and then resetting it back when you're done. Seth On Fri, 2003-02-28 at 09:26, Susan Harkins wrote: > OK, wait a minute -- apparently, I'm missing a gear or two. > > Dim prt As Access.Printer > Set prt = Application.Printers(lngPrinter) > > isn't the same as > > Set Application.Printer = prt > > ???? > > Susan H. > > > ----- Original Message ----- > From: "Mike and Doris Manning" > To: > Sent: Friday, February 28, 2003 10:14 AM > Subject: RE: [AccessD] more on printing > > > > Your problem is that you haven't actually changed the default printer. > You > > need to add the line below just before you open the report. > > > > Set Application.Printer = prt > > > > And it is strongly recommended that you hold the default printer somewhere > > so you can easily switch it back to being the default. > > > > Doris Manning > > Database Administrator > > Hargrove Inc. > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins > > Sent: Friday, February 28, 2003 10:07 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] more on printing > > > > > > OK, I've done that. > > > > Dim prt As Access.Printer > > Dim strReport As String > > Dim strPrinter As String > > Dim lngPrinter As Long > > lngPrinter = cboPrinter > > strReport = cboReport > > Set prt = Application.Printers(lngPrinter) > > prt.Orientation = fraOrientation > > prt.Copies = txtCopies > > prt.PaperSize = cboPaperSize > > DoCmd.OpenReport strReport, acViewNormal > > > > Now, I've installed a few printers, but I only actually have one and the > > above always sends to the actual (default) printer, even if I select one > of > > the others -- I expected an error. In addition, if I do a preview, I don't > > see the changes in orientation, etc. that I might have selected. So, I'm > > doing something wrong. I'm wondering if Access is smart enough to know I > > don't really have that printer connected, and so it just ignores > everything > > -- but then, I'd still expect an error. > > > > Thanks for your help Doris. > > Susan H. > > > > ----- Original Message ----- > > From: "Mike and Doris Manning" > > To: > > Sent: Friday, February 28, 2003 8:37 AM > > Subject: RE: [AccessD] more on printing > > > > > > > Once you change the Application.Printer, you open and print the report > > just > > > like you normally would. > > > > > > Doris Manning > > > Database Administrator > > > Hargrove Inc. > > > www.hargroveinc.com > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins > > > Sent: Thursday, February 27, 2003 11:34 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] more on printing > > > > > > > > > After setting all the appropriate Printer properties and choosing a > > > nondefault printer, how do you actually print a report? Will the > > OpenReport > > > method print to the set printer or always print to the default > > > printer? > > > > > > Susan H. > > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The catapults on carriers are tested by shooting a heavy steel device = off the deck. This device has wheels, is about the size of a VW bug, and = just like a VW, it floats (so it can be retrieved and used again). This test = is usually done in a shipyard after the water area in front of the carrier = is cleared and 'quarantined'. Dan > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]=20 > Sent: Friday, February 28, 2003 11:47 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: for Friday - the fine art of anvil > shooting >=20 > http://www.wikipedia.org/wiki/Aircraft_carrier >=20 > Aircraft carriers have two basic configurations. The most common has a > flat top deck that serves as a take-off and landing area for = airplanes. A > steam-powered catapult accelerates an aircraft under full throttle, = from 0 > to 165 mph in 2 seconds during take-off to help it reach take-off = speed.=20 >=20 > John W. Colby > Colby Consulting > www.ColbyConsulting.com >=20 > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Friday, February 28, 2003 12:30 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: for Friday - the fine art of anvil shooting >=20 >=20 > The US Navy's Aircraft carriers (at least most of them), have a steam > powered catapult system. It is an extremely powerful mechanism, which > launches a jet from a stand still to speeds close to several hundred = miles > an hour (don't know the exact specs off the top of my head....) in a > distance of probably less then 100 feet. >=20 > I personally have never seen proof, but rumors abound that all sorts = of > things have been used to 'test' those catapults. (I've heard of vw = bugs, > and various other 'heavy' objects). >=20 > Drew >=20 > -----Original Message----- > From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] > Sent: Friday, February 28, 2003 10:34 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: for Friday - the fine art of anvil shooting >=20 >=20 > That's great! Once on TV I saw this story about this old British > landowner > whose hobby is hurling objects from his giant catapult. They showed = him > launching a Volkswagen and a burning piano. His dream is to one day = get a > catapult powerful enough to throw a double decker bus. Great fun! >=20 >=20 > Mark Whittinghill > Symphony Information Services > Minneapolis, Minnesota > Email: mark at symphonyinfo.com > Phone: 612-333-1311 > ----- Original Message ----- > From: "Seth Galitzer" > To: "accessd" > Sent: Friday, February 28, 2003 9:34 AM > Subject: [AccessD] OT: for Friday - the fine art of anvil shooting >=20 >=20 > > Been chuckling at this today. It's almost too funny to believe. > > > > Detailed info and history > > http://ncollier.com/anvils.htm > > > > Good pictures of actual shooting > > http://members.sockets.net/~mbollinger/ > > > > The funny part is that they are so serious about it. > > > > Happy Friday! > > > > Seth > > > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >=20 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >=20 >=20 >=20 > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. =20 > Try it free! http://www.eMailBoss.com ------=_NextPart_000_0016_01C2DF23.3F3766C0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IicSAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgAcAAwADgAAAAUAFwEB A5AGAIwPAAAsAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAA6AAAAW0FjY2Vzc0RdIE9UOiBmb3IgRnJpZGF5IC0gdGhlIGZpbmUgYXJ0IG9m IGFudmlsIHNob290aW5nAAAAAgFxAAEAAAAbAAAAAcLfUXKljoud9zadTO+/tPEAzhuk0wAAtvsg AAIBHQwBAAAAHAAAAFNNVFA6RFdBVEVSU0BVU0lOVEVSTkVULkNPTQALAAEOAAAAAEAABg4A5J0q Vd/CAQIBCg4BAAAAGAAAAAAAAAArhZLEdePBEZyZLk5d5TuIwoAAAAMAFA4AAAAACwAfDgEAAAAe ACgOAQAAACUAAAAwMDAwMDAwMQFkd2F0ZXJzQHVzaW50ZXJuZXQuY29tAUhvbWUAAAAAHgApDgEA AAAlAAAAMDAwMDAwMDEBZHdhdGVyc0B1c2ludGVybmV0LmNvbQFIb21lAAAAAAIBCRABAAAAmAoA AJQKAACcGAAATFpGdeFB330DAAoAcmNwZzEyNRYyAPgLYG4OEDAzM08B9wKkA+MCAGNoCsBz8GV0 MCAHEwKDAFAQZhhwcnEOUBDYVGFomwNxAoB9CoAIyCA7CW/tDjA1AoAUMioJsAnwBJDUYXQFsVIN 4GgJgAHQACA1LjQwLjExmC4yMg9AAoBcdgiQpHdrC4BkNAxgYwBQTQsDYxICC8QgRgNhICRteQew YXYbQGRhuHlzOgqiCoQKgFQXoAQgYxcgYXB1bHT3BCACIBzxcgiCBCAKwBzgRnQHkB6gZCBiG0Bz qRPAb3QLgGceUCAXoLsbch7BZQMgAQAY8GMc4B5vASAekBzRBYFrLiC9E5BoBAAgphDwBCB3F6Dx IIBzLCAiMQGgCGAFQJshYgCQeiECH8FWVx8AnHVnI3AAcB7wanUewPAgbGlrHOAk4iNxBUCNDvBv FyAEIChzbyayWx0AA6BiHOAJcHQIgXavHuElgiXQKLJnC3EpIebXHqIjgiXQdQdAbBuRAiDfHOAL gB/BH0AFIHkLER5Q9wGABJAhU3cXICyxHmEf0H8roQNRAjAkoiFiHdUjgmPObCAACXElcydxKvAX EKcCMAuACYAnLhwKRABw5xwKCvQmEDM2AUAaIAFA1xKwH3AFkHQL0jQh8BH0UDE2IC01Qk8FEGev C4AHQAXQB5BzKXBlNUMfHAYz5DOxCxMz5mktMcY0GCAzITE4MAFADNC1OONiGtM6AzAMkmIRUAcA 0CDwBBBkLWFkbb0LgEAbsAGRIuAgAGQY8NsncBEQLgWgGxBbAfEIkGxsZBaSDvBkC4AewHsASFlQ RVJMSU64SyAiAMADEBcwOjsf/TwvIhQQAfE9oBEQHWAAAP8dUBoSGyA/T0BfPNQUEBjQ/TTGXQrj CoE6EAZgAjAb8Bs6pRrgaRuxI3BGZWLmcjBhG0AyOCNwAdAPUKIgGFA6NDcRYE1Ghz5UQ2A6nURf PPJGiHViJmo0EUdXUkU6cFtB5UOTREZgT1Q6cAIQBcD/R+Q1MCFTOLArcQrALkMAcP8Y8AMgH0Yy HDdvNBIzNAu1Cz1fPmtoAkBwOi8v2ndXsC4D8BkwcAmABzAaLgWwZ1egWAEvQWn2cgUALIFfHdVB z0LSV0//WF9ZakWjC8UcGVkmHcgQ8PsooB6QdyeAPDEN4BzwAiDtOLBnCHAXIGkCIDzgIgH/HOAE YCXhPQEEYAOgItIf0PMO8SQBb3AhkyFRZFERIL5yKKAeQWPyAZAmMC0hIn8lgg8BVjEfsS2ST7IL cHIXC1EW8GKhQSBCYW0t+HBvdwSQHuEdBjsDL5BvFxFloiuxX9Z1GVAssWbvHVADICFgM+F0L5Aj cANSTiARUBcwSXA2NRsgcNpoK5IyZVFh0WQiQQhx7x+hZidtgRegbGSgJsEtkXsQ4GYYc1xgCYAh 4BwKSrRvaAOgVyHgCFBsHxD/HARzU3NBAIAdUVI3VW8+a/9b4nNTdGhBj0KWd094VF5f/xwENU82 XTo0Q49L/xwEPU+PPl9DT4AfPPJdT254v59C34SPhZx7eSHwQmUQ8GpsIUBPIUBECXAH4Fd5I/Br YRwERxNH30jpMvQ6MxFQUEn1SpEwMEtP/TyJJ4yVTaVOj0+fUK9Rv+0cDlUF8BtiJwQgX88nUJ9k US+RJeFjEy5kbSkjcN9g4yvRaOIcBGk/cxvQHqCabSHhSSqDA5FleChg/5sQIIAbQJyDbCEbIAWQ EPD5AwBzbSNwIxAXgRwEC2D/a8AXkWPyTcAm0Rrym7Ilgv8ewAMQbFEngHGjL2JjIB6B76NxKJEX EAMgaGvBL8KI0P8vkBCwHBMDkRPACHAnUCtR8icFQGtuaUAhU56wAND7ZUFcYGMdgSE1ZIIksRsx 9x/xceCp4SkrkxwEgqCiov8g859AA2A8MAJgG0ClsSoxrxegA6APQBFQZgngdDEb/kmfQB4hAiAr A2DjFvCksX9lUayhM9EhICNwJTBwkXX/BGAeMiPRJZFlEysBHzAJEf+oYhwEIWAfkWDFKBCsoSkj 922BpwAesSchUaQiHQch4XgoSSdhAR/xLFEksXbfB+AlMSNgpeYe8HYKwGJw7yXQHZAhYQXAJx/z tNCrwP1NwnMpwDErjAF8L30/fk72TQrAZPBXIiACQB+RIiBvbEGBz4Lfh/JtoJG+t0D3nZBt8QIg eQuAAhB4f4dNd8G/wsuKil2Mn42vSUMwf48QNIBJ5o/SkC+Av5JYZf+TD5QflS+WPxw5FyCYgQnB PRcgISHwhlAg8gOgVFb7nhAfMGGnYiIxHsAFsBtA7yPGIjEG8B7wQgUQH4AfQH9m42lAFvEcBCMQ pCITwGL3HxEiMaUQciYQH6G5hW0E3yIivFAwkRz3IeNlHyNpUF8e8CIgTPWhRB+UVgbwa/8D4DZh K7ElkR/QJTAEoB+S7nDawcNAIfBIIjItkRsQ/yoiJ4ArYs/CFtBqIRwEabf/n1cJ8AhgvvBtcmxy B+Af0H8rUE2gL5AhkyyxJTC10kfT06JsEW4h0g8Kvj/IBffCpZ4QwyFyAMBiYgZSINL9pdVNC4AW 8B0wBvAEACNw7+rzJ3ABkBwERYfCOnAAwLe+UMYvHARQwtHOQTYOIOotD2AzONAzGFC7ec8A97w9 NTR+iiIGYCFg5YAHQEcmwCSAWhAgPHOzMGEkeEDeAHUuCYB1Pv2PeCKINfPBy488ifTFyG/9SJ05 yoqSV85/z4/Qn9GvvRxVPotBrKEQ4BmQa9lT/2RSKhMEcBvAnfOYgQdAYxP/FzAngOXx6SFtgSgQ JhAokfcxFfTFAGBEETCH0R7hwxL/JXMiIdWCAAa/b1Z/W7GhcOt0EAQhcjzyL/5jPOBbcL/Dj1sq Cd8K5Ht/BOdHH2D/HvDfYDQgbxChoSSyEIG8gd/+zAdvCH9bk5/gbSgQPNGPJ3Dk4bXBFvB0L34V APcNIv8gmZAvC09bORTvFf3/Dn8E52LSA3Qy4SqDZRMhYf/VsZ7gsgFlUrhTI8QmwAR+/ki1gCwg +KXmJQTn8vIEjf82xiIU8zcRgPQKAAZzUG3w+9YAZzJTqDFckOtx4YASn28Tr1uxafDswC7xkC4R Lv/0VRYQ8/MW71s5Kd8q5hqvbQVScNuBEPFQZvHhgFDXtWDu4KQQZwb3S9rQNlD9Y/BTR3Bo4JgA 3xCvYWGQ9nQG9gAGXzRPNV82KgAG//vFh7NnMicyNz32n0zIEn8/KH9bkzn/CmLswuzAbi//JzLD EgqQ9ZUrfxgIPg8/H/dAKS6/AGBX+UAzEe8RO7//PM9btUKfw29bD0mvez8Eqf/wBDYvUR82b1+h N8841jl//zqPRy9IP0JvQ38//0svQh//Wg9bH0VPT/BGn1evSL9eH/9K30vvZQ9OD0/va29SD1Mf /1QvVT9WT2KvY79wD18fW5//Zq9zr3S/X99g72H/cj9kH/94r2Y/Z09/n2lv/4zwCYZ/f4ePiGut xaGwmxDs0bFwYbZr2WOvYnmmgvjhP+Vw/+dQ8RDxoYsjEdCf4KCAH1Dt1yBl51D+kEKagLXS9NX/ +ZEfUKIhrSDT4Xz/fg+CVV+NOICfga+RvIQPfWpwAAGWsB4AQhABAAAAOgAAADxEQ0VGSkFPRU5N TkVOTEFBT0ZHUEdFS0hEQUFBLmpjb2xieUBjb2xieWNvbnN1bHRpbmcuY29tPgAAAAMAkhAAAAAA AwDeP59OAAADAAJZAAAWAAMACVkDAAAAAwBAZQAAAAALAACACCAGAAAAAADAAAAAAAAARgAAAAAD hQAAAAAAAAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAFgAggBgAAAAAAwAAAAAAA AEYAAAAAUoUAABuXAQAeACWACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAUAAAAxMC4wAAAA AAMAJoAIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAvgAggBgAAAAAAwAAAAAAAAEYAAAAA DoUAAAAAAAADADKACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAsA24AIIAYAAAAAAMAAAAAA AABGAAAAAAaFAAAAAAAACwDfgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAAAAAACAfgPAQAAABAA AAArhZLEdePBEZyZLk5d5TuIAgH6DwEAAAAQAAAAK4WSxHXjwRGcmS5OXeU7iAIB+w8BAAAAiQAA AAAAAAA4obsQBeUQGqG7CAArKlbCAABtc3BzdC5kbGwAAAAAAE5JVEH5v7gBAKoAN9luAAAAQzpc RG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xEYW4gV2F0ZXJzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9z b2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAAAAAwD+DwUAAAADAA00/TcCAAIBFDQBAAAAEAAAAE5J VEH5v7gBAKoAN9luAAACAX8AAQAAADEAAAAwMDAwMDAwMDJCODU5MkM0NzVFM0MxMTE5Qzk5MkU0 RTVERTUzQjg4RTQ4MDJGMDAAAAAAAwAGEOzvXeUDAAcQ+QsAAAMAEBAAAAAAAwAREAAAAAAeAAgQ AQAAAGUAAABGUk9NTVlOQVZZREFZUzpUSEVDQVRBUFVMVFNPTkNBUlJJRVJTQVJFVEVTVEVEQllT SE9PVElOR0FIRUFWWVNURUVMREVWSUNFT0ZGVEhFREVDS1RISVNERVZJQ0VIQVNXSEVFAAAAAGIW ------=_NextPart_000_0016_01C2DF23.3F3766C0-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: in the mix, is if and how, they would use Domain security? Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, March 03, 2003 3:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Server Needed I was reading some threads that suggested that a Linux box might be used as the server. I have no idea how to configure this. Boxes a-f hit a server which hitherto has been a winX box. If have read the thread correctly, I can subst a Linux box for any given server in the farm. Small company, say 4 servers. Can I build server Documents as a Linux box and hit it from the numerous WinX boxes like they didn't even know it was a Linux server? I tend to stay at one level, so forgive me if my questions reveal much ignorance. Could I put a huge number of documents mostly media and DWMX &c. files on a Linux box and transparently hit them from a local inst of DWMX, say, running on winXP and having no idea that the server in question is running Mandrake 9.x? Is this true? If so, way cool! And how do I build it? If so, how far can one push this scenario? Could an Access MDB live on a Linux server and be accessible from x, y and z users on win98, 2K and XP? I'm not an OS-level guy, hence these questions :-) Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 3, 2003 10:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky ------_=_NextPart_001_01C2E1D1.29F4D1C0 Content-Type: text/html; charset="iso-8859-1"
From what I know yes.  What I would like to know about using Linux servers in the mix, is if and how, they would use Domain security?
 
Drew
-----Original Message-----
From: Arthur Fuller [mailto:artful at rogers.com]
Sent: Monday, March 03, 2003 3:48 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT: Server Needed

I was reading some threads that suggested that a Linux box might be used as the server. I have no idea how to configure this. Boxes a-f hit a server which hitherto has been a winX box. If have read the thread correctly, I can subst a Linux box for any given server in the farm. Small company, say 4 servers. Can I build server Documents as a Linux box and hit it from the numerous WinX boxes like they didn't even know it was a Linux server? I tend to stay at one level, so forgive me if my questions reveal much ignorance. Could I put a huge number of documents mostly media and DWMX &c. files on a Linux box and transparently hit them from a local inst of DWMX, say, running on winXP and having no idea that the server in question is running Mandrake 9.x? Is this true? If so, way cool! And how do I build it?

 

If so, how far can one push this scenario? Could an Access MDB live on a Linux server and be accessible from x, y and z users on win98, 2K and XP? I'm not an OS-level guy, hence these questions J

 

Arthur

 

-----Original Message-----
From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka
Sent: March 3, 2003 10:20 AM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] OT: Server Needed

 

Rocky, it is a common misconception that you need a rocking CPU for a server.  That is absolutely not true.  There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory.

 

1 - File Sharing

2 - Domain Control

3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc).

4 - Server Computing (Hard data crunching)

5 - Server Side databases.

 

You need to realize the real limiting factors on a server.  First is network bandwidth.  a 100 megabit line is roughly 12 megabytes per second.  That is not a lot.  It is a fraction of the speed of a typical IDE drive.  If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration).  So, if you are just setting up file transfers, then you don't need much of a machine to do it.  It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do).  This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through).  A faster CPU or more memory isn't going to push the data through faster.

 

Domain Controllers don't need to be whoppers either.  I think we are running a Pentium II (desktop) for a Primary Domain Controller here.  No problems.  It doesn't have to do all that much as far as processing goes.

 

Network services.  Well, it depends.  We run everything but our mail server on Pentium III desktops.  (Proxy, web, intranet, etc.).  It all runs fine.  Again, it is going to boil down to the network tunnel involved.  With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions.  Absolutely not true.  In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection.  Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'.  But again, you don't need a Cray.  Email servers can require a bit more power though.  We use an Exchange Server.  It's got a dual processor, with 2 gigs of RAM.  The real catch is how heavy it is used internally.  (for in house comms).

 

Server Computing.  This is where the most power is needed.  There are software packages out there that use server CPU time pretty heavily.  For example, we have a package called FlowTherm, and FlowStress.  These packages perform massive heat calculations, over and over and over.  If you run this software on a server, obviously the more CPU and memory you have the better.

 

Server Side Databases.  You do need power on these.  But again, you are limitted by your network speed.  However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot.

 

Just my two cents.

 

Drew

-----Original Message-----
From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com]
Sent: Sunday, March 02, 2003 12:06 AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] OT: Server Needed

Dear List:

 

Excuse the OT please but I know someone will know the answer:

 

I have a client who wants to upgrade the server on his network.  There's about 10 seats on his network, of which maybe 6 are being used.  Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc.  Which is well under $1000 these days from dell, or gateway, with three years on-site.

 

A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is.  Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD".  Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote.

 

Right now his "server" is an old Win98 box, slow, but effective.

 

My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer?  Does he need a server?

 

MTIA,

 

Rocky

 

------_=_NextPart_001_01C2E1D1.29F4D1C0-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: just an answer. 8-( John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 7:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address John, Are you doing this from the interface or from code? If you're doing it from code, you should be able to dump the addresses into an array and pick one. If you're doing it from the interface, then is this an OT thread? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address I understand that, and I have some people for example that have three email addresses. Now I want to send an email to the second email address for this person. How do I do that? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 6:43 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [ mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------_=_NextPart_001_01C2E31F.807381A0 Content-Type: text/html; charset="iso-8859-1" RE: [AccessD] Using Outlook second or third email address
John,
Is there any way you can supress the graphic that attaches itself to your messages?  Every time I open one of your messages, my company firewall dialog pops up.
 
Alternatively, I didn't see a plain text option in the list messages options.  Is there a way to do this?
 
-----Original Message-----
From: John W. Colby [mailto:jcolby at colbyconsulting.com]
Sent: Tuesday, March 04, 2003 6:23 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] OT: Using Outlook second or third email address

From interface.  It is indeed off topic.  I wasn't interested in a thread, just an answer.  8-(

John W. Colby
Colby Consulting
www.ColbyConsulting.com



I've stopped 9,259 spam messages. You can too!
Get your free, safe spam protection at www.cloudmark.com
Cloudmark SpamNet - Join the fight against spam!
-----Original Message-----
From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust
Sent: Tuesday, March 04, 2003 7:10 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Using Outlook second or third email address

John,

Are you doing this from the interface or from code?  If you're doing it from code, you should be able to dump the addresses into an array and pick one.  If you're doing it from the interface, then is this an OT thread?

Charlotte Foust

     -----Original Message-----
    From:   accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com On Behalf Of John W. Colby
    Sent:   Tuesday, March 04, 2003 3:59 PM
    To:     accessd at databaseadvisors.com
    Subject:        RE: [AccessD] Using Outlook second or third email address

    I understand that, and I have some people for example that have three email addresses.  Now I want to send an email to the second email address for this person.  How do I do that?

    John W. Colby
    Colby Consulting
    www.ColbyConsulting.com


    I've stopped 9,259 spam messages. You can too!
    Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/

    -----Original Message-----
    From: accessd-admin at databaseadvisors.com
    [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark
    Sent: Tuesday, March 04, 2003 6:43 PM
    To: 'accessd at databaseadvisors.com'
    Subject: RE: [AccessD] Using Outlook second or third email address


    There is a drop-down button between the email label and text box, this gives
    you selections (email 1,2,3).  Whichever one is selected will determine
    which email slot the email address will occupy. 

    Mark


    -----Original Message-----
    From: John W. Colby [mailto:jcolby at colbyconsulting.com]
    Sent: Tuesday, March 04, 2003 2:30 PM
    To: AccessD
    Subject: [AccessD] Using Outlook second or third email address


    Outlook allows you to store three email addresses for a contact.  However I
    cannot figure out how to use anything except the first address.  Even if I
    select the second or third to display when the contact is open, the address
    when selected still uses the first.  does anyone know how to use the second
    or third address?

    John W. Colby
    Colby Consulting
    www.ColbyConsulting.com


    I've stopped 9,258 spam messages. You can too!
    Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/

    ----------------------------------------------------
    Is email taking over your day?  Manage your time with eMailBoss.
    Try it free!  http://www.eMailBoss.com


    _______________________________________________
    AccessD mailing list
    AccessD at databaseadvisors.com
    http://databaseadvisors.com/mailman/listinfo/accessd
    Website: http://www.databaseadvisors.com


    This transmittal may contain confidential information intended solely for
    the addressee. If you are not the intended recipient, you are hereby
    notified that you have received this transmittal in error; any review,
    dissemination, distribution or copying of this transmittal is strictly
    prohibited. If you have received this communication in error, please notify
    us immediately by reply or by telephone (collect at 907-564-1000) and ask to
    speak with the message sender. In addition, please immediately delete this
    message and all attachments. Thank you.
    _______________________________________________
    AccessD mailing list
    AccessD at databaseadvisors.com
    http://databaseadvisors.com/mailman/listinfo/accessd
    Website: http://www.databaseadvisors.com



    ----------------------------------------------------
    Is email taking over your day?  Manage your time with eMailBoss. 
    Try it free!  http://www.eMailBoss.com


Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com
------_=_NextPart_001_01C2E31F.807381A0-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: answer. So I guess I Ghost it first, test it, dink around, dink around... If I find any absolute answers I'll let you all know. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Wednesday, March 05, 2003 3:22 PM To: AccessD Subject: [AccessD] multiple version of the ODE tools Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The Nz method of the data source control is suppose to replace Null values with a zero (0) or some other specified value. However, the method does not replace Null values as expected. And ... Although the Nz Method is correctly documented in Microsoft Script Editor Help, it does not function as expected However, the article doesn't explain what it *DOES* do--that unexpected behavior. I've never had any problems with Nz, so I can't agree with your "flaky" assessment. It works for me, yet the article says it "does not function as expected". Maybe I have different expectations? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 07, 2003 4:43 AM To: Charlotte Foust Subject: Re: [AccessD] Nz function in Access 2002 Hi Charlotte > I ran across an MSKB article today > http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that > says the Nz function works in 2002 but it may not work as expected! Say > what?? It works, but it doesn't? How can you read that from the article? It reads: The Nz method of the data source control is supposed to replace Null values with a zero (0) or some other specified value. However, the method does not replace Null values as expected. So it doesn't work in A2002. However, Nz() has always been flaky - to quote myself from 12. May 2002: Did you know that - when used to return an expression in a query - Nz() always returns a string even if it is supposed not to do so? Like this: Expr1: Nz([fldNumeric]) or: Expr1: Nz([fldNumeric], 0) If you need a numeric value, you'll have to wrap it in Int(): NumExpr1: Int(Nz([fldNumeric])) Even if fldNumeric is a long, this will return a long when fldNumeric is not Null but an integer for Null. If you wish a long in any case, the zero for Null values for some reason must be present: NumExpr1: Int(Nz([fldNumeric], 0)) Alternatively, Nz() can be replaced with the good old IIf() construction: NumExpr1: IIf(IsNull([fldNumeric]), 0,[fldNumeric]) This is tested for Access 95, 97 and 2000. Don't know about 2002. /gustav > Has anyone run into this? Nz isn't always the most appropriate > function, but I've never seen it fail, at least not that I knew about. > We use this a lot, and I'm concerned about migrating our apps from 97 > to 2002 and having a lot of code fall over. I wondered if it could be > the result of not passing in the optional argument, but the article > seemed rather vague to me. Does anyone else have first-hand knowledge > of the problem? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: John Pontiac Grand Prix Jill Pontiac Grand Prix Bill Pontiac Grand Am Joe Chevy Camaro Tami Dodge Intrepid Dave Pontiac Grand Prix Mike Pontiac Grand Am Jeff Chevy Camaro Mary Pontiac Grand Prix Kim Pontiac Grand Am I want it to give me: Pontiac Grand Prix 4 Pontiac Grand Am 3 Chevy Camaro 2 Dodge Intrepid 1 If it makes a difference, the car make and the model are in a table that is linked to the main table, where the name would be, by a number (PK). For instance, Pontiac Grand Prix would be represented in John's record with a 10 maybe. And, to muck up things worse (although I hope not), this list of cars is might change (i.e. next year there might be a Ford Focus, and maybe there won't be something that is there now.). Thanks for any help you may be able to give. This is a continuation of my last post (Counting "unknown" fields), and I am so close to pumping this program out...I just need to finish this and another problem that I have already done previously...with the list's help of course. Take care! John W Clark From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: John Pontiac Grand Prix Jill Pontiac Grand Prix Bill Pontiac Grand Am Joe Chevy Camaro Tami Dodge Intrepid Dave Pontiac Grand Prix Mike Pontiac Grand Am Jeff Chevy Camaro Mary Pontiac Grand Prix Kim Pontiac Grand Am I want it to give me: Pontiac Grand Prix 4 Pontiac Grand Am 3 Chevy Camaro 2 Dodge Intrepid 1 If it makes a difference, the car make and the model are in a table that is linked to the main table, where the name would be, by a number (PK). For instance, Pontiac Grand Prix would be represented in John's record with a 10 maybe. And, to muck up things worse (although I hope not), this list of cars is might change (i.e. next year there might be a Ford Focus, and maybe there won't be something that is there now.). Thanks for any help you may be able to give. This is a continuation of my last post (Counting "unknown" fields), and I am so close to pumping this program out...I just need to finish this and another problem that I have already done previously...with the list's help of course. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: John Pontiac Grand Prix Jill Pontiac Grand Prix Bill Pontiac Grand Am Joe Chevy Camaro Tami Dodge Intrepid Dave Pontiac Grand Prix Mike Pontiac Grand Am Jeff Chevy Camaro Mary Pontiac Grand Prix Kim Pontiac Grand Am I want it to give me: Pontiac Grand Prix 4 Pontiac Grand Am 3 Chevy Camaro 2 Dodge Intrepid 1 If it makes a difference, the car make and the model are in a table that is linked to the main table, where the name would be, by a number (PK). For instance, Pontiac Grand Prix would be represented in John's record with a 10 maybe. And, to muck up things worse (although I hope not), this list of cars is might change (i.e. next year there might be a Ford Focus, and maybe there won't be something that is there now.). Thanks for any help you may be able to give. This is a continuation of my last post (Counting "unknown" fields), and I am so close to pumping this program out...I just need to finish this and another problem that I have already done previously...with the list's help of course. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Couls you give me the sql for Year and Year+1. Maybe then i undersatnd things better. Greetings Pedro ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Saturday, March 08, 2003 11:55 AM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > Drew Wutka his query is working (Thanks for that Drew), but you were right > > it is very slow. For 10000 records it almost takes 20 minutes. > > You gave me a unionquery that i can't seem to work. Maybe i don't understand > > the fields in your query and what do you mean with: > > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > > > Could you explain a little more. > > Sure. In addition to the correct comments of Drew, here is the union > query which collects data from maximum three years. If you need more > years, simply insert more "Union Select ..." sections where you for > each section increase by 1 the number to add to Year. > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > UNION > SELECT TOP 5 > Year+2 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > ID; > > > > You will, of course, have to change the names of table and fields to > those of your table. > > /gustav > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Pedro Janssen" > > Sent: Wednesday, March 05, 2003 8:36 PM > > Subject: Re: [AccessD] first five dates per year > > > >> Hi Pedro > >> > >> > I have a table with 10000 records. I would like to filter out, by > >> > query, the first 5 or 10 dates per different years. > >> > Is this possible. > >> > >> For a large table the use of a subquery may be painfully or even > >> unacceptably slow. > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> > >> ... > >> > >> UNION > >> SELECT TOP 5 > >> Year+n AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+n,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Couls you give me the sql for Year and Year+1. Maybe then i undersatnd things better. Greetings Pedro ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Saturday, March 08, 2003 11:55 AM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > Drew Wutka his query is working (Thanks for that Drew), but you were right > > it is very slow. For 10000 records it almost takes 20 minutes. > > You gave me a unionquery that i can't seem to work. Maybe i don't understand > > the fields in your query and what do you mean with: > > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > > > Could you explain a little more. > > Sure. In addition to the correct comments of Drew, here is the union > query which collects data from maximum three years. If you need more > years, simply insert more "Union Select ..." sections where you for > each section increase by 1 the number to add to Year. > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > UNION > SELECT TOP 5 > Year+2 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > ID; > > > > You will, of course, have to change the names of table and fields to > those of your table. > > /gustav > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Pedro Janssen" > > Sent: Wednesday, March 05, 2003 8:36 PM > > Subject: Re: [AccessD] first five dates per year > > > >> Hi Pedro > >> > >> > I have a table with 10000 records. I would like to filter out, by > >> > query, the first 5 or 10 dates per different years. > >> > Is this possible. > >> > >> For a large table the use of a subquery may be painfully or even > >> unacceptably slow. > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> > >> ... > >> > >> UNION > >> SELECT TOP 5 > >> Year+n AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+n,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: forms makes things simpler for you, but not the user, I don't know -- on the other hand, some forms really do try to do too much and subsequent forms can keep the user on track. Susan H. > For about a decade I have worked on the principle that the same form can > handle displays, inserts and updates. > Lately I have been experimenting, and my tentative conclusions are that I > have been wrong for a decade; that a better approach is to have a reead-only > navigation form of some sort, containing an edit button, which does not flip > flags in the current form but rather loads an frmEditMyDataSource form > specifically designed for insert or edit. > > In this model, no single form contains the logic for multiple operations. > Rather, one designs forms for Insert and Edit separately. The behaviours are > radically different. Why complicate the logic of one form by injecting two > purposes? > > I'm not throwing this out as a definitive conclusion, but merely one of my > regular queries (select * from projects where decision_certainty < .8). > I have coded innumerable dual/treble purpose forms, with logic distributed > among their controls, and in a few recent experiments have noticed that the > logic is a lot cleaner if I code something like this: > > On DoubleClick > If Me.NewRecord = True Then > Open the Insert form > Else > Open the Edit form > End If > > Opinions? Diatribes? Scathing denunciations? > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: March 5, 2003 2:56 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Editing Records > > In cases where a number of items (boolean variables in this case) must be > true for an event to occur I usually multiply the booleans by each other. > If I get a 0 result I know the event should not happen: > > blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) > > If blnDoTheEvent Then > 'do it here > End If > > HTH, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: Bob Gajewski [mailto:bob at renaissancesiding.com] > Sent: Wednesday, March 05, 2003 2:50 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Editing Records > > > Andy > > Just shooting from the hip, but couldn't that be done using a loop? > > Seems like it might be a lot of coding, even for just 13 validations ... and > then it would handle more if they were added later. > > Regards, > Bob Gajewski > > On Wednesday, March 05, 2003 14:22 PM, Andy Lacey > [SMTP:andy at minstersystems.co.uk] wrote: > > Tim > > Just a suggestion > > > > Dim blnNeedsUpdate As Boolean > > > > > > blnNeedsUpdate =False > > > > If validation1 = false then > > blnNeedsUpdate =True > > > > End if > > > > If validation2 = false then > > blnNeedsUpdate =True > > > > End if > > > > > > etc > > > > if blnNeedsUpdate = true > > > > ..edit > > > > change all fields > > > > ..update > > > > > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > > Timothy B > > Sent: 05 March 2003 13:06 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Editing Records > > > > > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > > cycles through the data validating/updating several fields for each > > record. My question is, what is the best way to do this, > > > > Like this > > > > ..edit > > If validation1 = false then > > change data > > End if > > > > If validation2 = false then > > change data > > End if > > ..update > > > > Or > > > > If validation1 = false then > > .edit > > change data > > .update > > End if > > > > If validation2 = false then > > .edit > > change data > > .update > > End if > > > > I have about 13 validations that need to be done on about 90,000 > > records. Each validation goes to a SQL Server BE and check the validity > > of the data. There is a huge difference in speed opening and closing > > the recordset so many times, but if that is the better way to go, then > > so be it. All help is appreciated. TIA > > > > Tim > > > > << File: ATT00006.htm >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health Plan > (HS/HHP) that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named recipient, > please notify us immediately, either by contacting the sender at the > electronic mail address noted above or calling HS/HHP at (914) 631-1611. If > you are not the intended recipient, please do not forward this email to > anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: 1. Set objWord = "JA45.dot" ' an existing Word template on disk 2. objWord.Application.Visible = true 3. With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource _ Name:="this MDB name", _ LinkToSource:=True, _ Connection:="QUERY qry name in the MDB" .Execute 4. End With This worked great until ... the customer wanted some security features. To the same MDW as I used to create the MDB, I added a couple of Groups and their Users, and in the basAutoExec code closed out immediately if the user was 'admin' (user trying to use a vanilla MDW). Each user must now log in with a username and password. In this new environment, when line 3 above executes, another copy of the MDB opens and attempts to login, and gets thrown out, and the DDE connection fails. That is, except when I log in as me with my username/password (I'm the owner of the MDB and all components of), then it works fine. I don't have much hair to pull out, and the various combinations of Permissions I tried to get this to work with the other users has got me at the wall. Because the thing needed to be up and running yesterday, I have got around this problem by creating a MailMerge .txt file external to the MDB and pointing the Word templates to this .txt file. Line 3 above has become: With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource Name:="the .txt file on disk" .Execute and this works. I am still interested in what is going on. My suspicion is that it has something to do with the Word templates not opening the MDB with the same username/password used to get in to the original MDB. But if I am right, how do you do that? MTIA. Stephen Bond Otatara, South Island, New Zealand From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: 1. Set objWord = "JA45.dot" ' an existing Word template on disk From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The Count of queries: qryCountOfType1... SELECT qryTypes1.Type, Count(qryTypes1.Type) AS CountOfType FROM qryTypes1 GROUP BY qryTypes1.Type; qryCountOfType2... SELECT qryTypes2.Type, Count(qryTypes2.Type) AS CountOfType FROM qryTypes2 GROUP BY qryTypes2.Type; Finally a Union query with an extra field to sort by the two types of groups. The Union query SELECT '1' as SortOrder, * FROM qryCountOfType1 UNION SELECT '2' as SortOrder, * From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: This was a long way to go about doing this when you could easily do the Crosstab query suggested in another post then run a report that sums the colums and the rows. The only problem with the Crosstab is that you must modify the report if new types are added. My way does not matter if new types are created as long as the last 3 characters are one type and the other characters are another type (you could modify this to use a delimiter and then not have to worry about the length). Scott Marcus -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 11, 2003 4:55 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Painted into a corner No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Union Select TopicText, TopicID From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Order By TopicID Now you have a recordset with All at the top. Now for your Question combo's query: Select Question, QID, [Forms]![Form2]![cmbTopic] As Expr1 From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Where TopicID=[Forms]![Form2]![cmbTopic] Or [Forms]![Form2]![cmbTopic]=0 Then just have the Topics combo requery the question combo. Drew -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Wednesday, March 12, 2003 11:41 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Building a search form Drew, my problem with that is the way I synchronize two combo boxes. Each is set to a query and I use the ID in the first combo as the criteria for the query used as a source for the second box. Now, what criteria do I use for "all"? -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 11:38 AM To: ''accessd at databaseadvisors.com' ' Subject: RE: [AccessD] Building a search form Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: serious problem. If a department in your organization develops a program (from inside or outside) without coordinating with the people who will need to manage the equipment this program runs on and probably manage the program itself, it's guaranteed that there will be serious problems to come. I am just starting as an independent, but I can't imagine not cooperating closely with the IT folks right from the start. Light a fire under your boss and get this resolved before it happens again! Good Luck! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, March 13, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: The name Schengen originates from a small town in Luxembourg. In March = 1995, seven European Union countries signed a treaty to end internal = border checkpoints and controls. More countries have joined the treaty = over the past years. At present (February 2003), there are 15 Schengen = countries, all in Europe.=20 The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, = France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, = Norway, Portugal, Spain and Sweden. The collected territories of these = countries are known as the Schengen area.=20 All countries except Norway and Iceland are European Union members. = Conversely, the United Kingdom and Ireland are in the European Union but = are not parties to the Schengen treaty.=20 Source: http://www.eurovisa.info/SchengenCountries.htm=20 ----- Original Message -----=20 From: "Mark Whittinghill" To: Sent: Friday, March 14, 2003 10:01 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? Does that mean the European Union or is it > something else? Just curious. >=20 >=20 > Mark Whittinghill > Symphony Information Services > Minneapolis, Minnesota > Email: mark at symphonyinfo.com > Phone: 612-333-1311 > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Friday, March 14, 2003 12:17 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... >=20 >=20 > > Hi All, > > > > We made it! - I've got Visum to Netherlands (Shengen States) for = myself > and > > my two kids for twenty days today! I fly to Amsterdam on 20 March = 2003. I > > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go = back > > home on 03 of April 2003. > > > > Without your great moral support and hints of Marty I would have not = had > > Visum today... > > And of course Onno van Shelven who is not on the list these days but = who I > > contact from time to time with was the main helping hand - he helped = me to > > define a concept and then edit/augment a letter, which I wrote and = sent to > > the Consul and which made this incredible bombing effect and holed > > bureaucracy wall... > > > > Well, I had to pay second time for their services and I didn't hear = any > > words of excuses or something like that but all that doesn't matter = when > > what was almost impossible on Monday becomes a reality on Friday... > > > > THNX a lot again to everybody, > > Have nice weekend, > > Shamil :) > > >=20 >=20 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ------=_NextPart_000_01E5_01C2EA77.8392A9B0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

> What is Shengen=20 States?

http://www.wikipedia.org/wiki/Schengen_treaty

Schengen = treaty

From Wikipedia, the free = encyclopedia.=20

The name Schengen originates from a small = town in=20 Luxembourg. In March = 1995, seven = European Union countries = signed a=20 treaty to end internal border checkpoints and controls. More countries = have=20 joined the treaty over the past years. At present (February 2003), there = are 15=20 Schengen countries, all in Europe.

The 15 Schengen countries are: Austria, = Belgium, = Denmark, = Finland, = France, = Germany, = Iceland, = Italy, = Greece, = Luxembourg, the = Netherlands, Norway, Portugal, Spain and Sweden. The collected = territories of=20 these countries are known as the Schengen area.

All countries except Norway and Iceland = are European=20 Union members. Conversely, the United Kingdom and = Ireland are = in the European=20 Union but are not parties to the Schengen treaty.

Source: http://www.eurovisa.info/SchengenCountries.htm

----- Original Message ----- =

From: "Mark Whittinghill" <mwhittinghill at symphonyinfo.com>
To: <accessd at databaseadvisors.com>
Sent: Friday, March 14, 2003 10:01 = PM
Subject: Re: [AccessD] OT: "Chevaux de = frise" of=20 free world...

> What is Shengen States?  Does that mean the European = Union or=20 is it
> something else?  Just curious.
>
> =
> Mark=20 Whittinghill
> Symphony Information Services
> Minneapolis,=20 Minnesota
> Email:
mark at symphonyinfo.com
> Phone: 612-333-1311
> ----- Original Message = -----
>=20 From: "Shamil Salakhetdinov" <
shamil at smsconsulting.spb.ru>
> To: <
accessd at databaseadvisors.com>
> Sent: Friday, March 14, 2003 12:17 PM
> = Subject: Re:=20 [AccessD] OT: "Chevaux de frise" of free world...
>
> =
> >=20 Hi All,
> >
> > We made it! - I've got Visum to = Netherlands=20 (Shengen States) for myself
> and
> > my two kids for = twenty days=20 today! I fly to Amsterdam on 20 March 2003. I
> > plan to visit = also=20 Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back
> > home = on 03=20 of April 2003.
> >
> > Without your great moral = support and=20 hints of Marty I would have not had
> > Visum today...
> = > And=20 of course Onno van Shelven who is not on the list these days but who = I
>=20 > contact from time to time with was the main helping hand - he = helped me=20 to
> > define a concept and then edit/augment a letter, which I = wrote=20 and sent to
> > the Consul and which made this incredible = bombing=20 effect and holed
> > bureaucracy wall...
> >
> = >=20 Well, I had to pay second time for their services and I didn't hear = any
>=20 > words of excuses or something like that but all that doesn't matter = when
> > what was almost impossible on Monday becomes a reality = on=20 Friday...
> >
> > THNX a lot again to = everybody,
> >=20 Have nice weekend,
> > Shamil :)
> >
>
> =
>=20 _______________________________________________
> AccessD mailing=20 list
>
AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd<= BR>> Website: http://www.databaseadvisors.com ------=_NextPart_000_01E5_01C2EA77.8392A9B0-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Rocky Smolin Beach Access Software ----- Original Message -----=20 From: Joe K Anderson=20 To: Joe Anderson ; Barry Hynum ; Bob Heygood ; Dixon Foss ; Ed Lance ; = Greg Otero ; Rocky Smolin ; Tim Henning ; Wayne Warren-Angelucci=20 Sent: Monday, March 17, 2003 11:03 PM Subject: Fw: Feb 2003 Access-VB-SQL, pg 10 'Database Problem' Guys ... FYI .... joe ----- Original Message -----=20 From: Joe K Anderson=20 To: mikegroh at earthlink.net=20 Sent: 03-17-2003 23:02 Subject: Feb 2003 Access-VB-SQL, pg 10 'Database Problem' Hi Mike ... Thanks for continuing to be involved with a high quality magazine like = Access-VB-SQL. In fact I have every issue since day one. Regarding the "Error Accessing File. Network Connection may have been = lost" problem: The good news is that is has nothing to do with networks, split MDB's, = LDB's etc. It's a totally bogus error message. =20 The bad news is the mdb is *usually* corrupted beyond repair ... even = the 'decompile' trick does not fix it, nor does the JetComp utility. = The code behind a form(s) and/or code in a VBA module(s) is corrupted. = Odd, because Decompile fixes about 99% of all VBA corruption problems In Office 2000, there is a certain version of the Vbe6.dll that causes = the problem This knowledge base article gives all the details. http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;304548 I indicated *usually* above because I was never able to fix the = corruption with any trick I was aware of. I don't recall the original = KB article discussing any resolutions ... just mentioning the DLL and to = get Office 2000 Service Pack 3 ... which *did* fix the problem. =20 The bottom line usually was just as Microsoft states at the bottom of = 'RESOLUTION': "If you do not have a computer without the version of Vbe6.dll mentioned = in the "Cause" section, you must revert to a known good backup copy of = the database. To prevent this problem from happening again, use one of = the following methods, depending on which version of Access you are = using." BTW .. neither of the 'Methods' mentioned were 100% reliable!! Anyway ... since I've had first hand experience with this ugly problem = .. I thought I would pass this info on to you. Joe Anderson AllData, Inc. www.alldatacorp.com 858.270.4400 ------=_NextPart_000_00CB_01C2ED35.BBB89140 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
From a friend.  FYI.
 
Rocky Smolin
Beach Access = Software
 
----- Original Message -----=20
From: Joe K = Anderson=20
To: Joe=20 Anderson ; Barry=20 Hynum ; Bob Heygood ; Dixon Foss = ; Ed Lance = ; Greg=20 Otero ; Rocky=20 Smolin ; Tim=20 Henning ; Wayne Warren-Angelucci =
Sent: Monday, March 17, 2003 11:03 PM
Subject: Fw: Feb 2003 Access-VB-SQL, pg 10 'Database=20 Problem'

Guys ... FYI ....
 
joe
 
----- Original Message -----=20
From: Joe K = Anderson=20
Sent: 03-17-2003 23:02
Subject: Feb 2003 Access-VB-SQL, pg 10 'Database=20 Problem'

Hi Mike ...
 
Thanks for continuing to be involved with a high quality magazine = like=20 Access-VB-SQL.  In fact I have every issue since day = one.
 
Regarding the "Error Accessing File.  Network = Connection may=20 have been lost" problem:
 
The good news is that is has nothing to do with = networks,=20 split MDB's, LDB's etc.  It's a totally bogus error = message. =20
 
The bad news is the mdb is *usually* corrupted = beyond repair=20 ... even the 'decompile' trick does not fix it, nor does the JetComp=20 utility.  The code behind a form(s) and/or code in a VBA module(s) = is=20 corrupted.  Odd, because Decompile fixes about 99% of all VBA = corruption=20 problems
 
In Office 2000, there is a certain version of the = Vbe6.dll=20 that causes the problem
 
This knowledge base article gives all the=20 details.
 
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;304548
 
 
I indicated *usually* above because I was never able = to fix=20 the corruption with any trick I was aware of.  I don't recall the = original=20 KB article discussing any resolutions ... just mentioning the DLL and to = get=20 Office 2000 Service Pack 3 ... which *did* fix the problem.  =
 
The bottom line usually was just as Microsoft = states at=20 the bottom of 'RESOLUTION':
 
"If you do not have a computer without the version of Vbe6.dll=20 mentioned in the "Cause" section, you must = revert to=20 a known good backup copy of the database. To prevent = this=20 problem from happening again, use one of the following methods, = depending on=20 which version of Access you are using."
 
BTW .. neither of the 'Methods' mentioned were 100% = reliable!!
 
Anyway ... since I've had first hand experience with this ugly = problem=20 .. I thought I would pass this info on to you.
 
Joe Anderson
AllData, Inc.
www.alldatacorp.com
858.270.44= 00
------=_NextPart_000_00CB_01C2ED35.BBB89140-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: that=20 person, including the public key, is stored in the contact = info. =20 Obvious this isn't going to work as expected with the list since = the=20 message is retransmitted.  In fact I have no idea what is = going to=20 happen in this case, we shall just have to wait and = see.

That public key from the contact = can then be=20 used to encrypt email and theoretically an attachment as = well. =20 Since the public key is stored in the contact record, it is used = for the=20 encryption, and the message (and attachments) can only be = decoded by the=20 matching private key.  I.e. automatic digital signature and = easy to=20 use (though not automatic) encryption of messages.  Since = your=20 friend's certificate is stored with his contact info on your = computer,=20 any email and attachments sent to him can be encrypted using his = public=20 key.

I say easy to use though not = automatic=20 encryption because in order to encrypt a given message you have = to go to=20 the properties of that message and select encryption.  = There is=20 however an option to encrypt all messages.  I assume that = if the=20 contact selected as the recipient has no certificate, no = encryption=20 takes place, so it appears that maybe a totally automatic / = always on=20 encryption scheme can take place with any contacts that you have = received and stored a certificate for.  However... I tested = this...=20 if you send an encrypted message to a contact with a certificate = in your=20 contact book, and CC a contact without a certificate, the = message is=20 encrypted.  You are warned that the person without a = certificate=20 will not be able to see the message (because it is encrypted) = and that=20 does indeed happen.

Anyway, I have always wanted to = have this=20 capability.  I have contacts with clients that should be = kept=20 confidential, for example transferring BE databases that contain = customer data to me for my work at my home office etc.  The = ability=20 to encrypt these things is or should be important.  I = understand=20 that there are now laws that state that if you transmit people's = SSNs=20 across the internet you must take specific precautions or you = are=20 breaking the law.  I haven't seen this law, but I know that = certain=20 insurance companies I deal with are starting to get touchy about = sending=20 data files to me with the SSNs in them.  Perhaps this = security will=20 help in these situations.

I thought you guys might be = interested in=20 what I have figured out.  First of all there is a company = that=20 provides FREE personal email certificates.  Most such = companies=20 charge a small fee for them.

http://www.thawte.com/html/COMMUNITY/personal/index.html<= /A>=20

In order to get this you have to = fill out a=20 form with your address, phone and one personal ID number - SSN, = Drivers=20 License Number or Passport Number.  Basically after = following the=20 process you are sent an email to the email address you provide = them that=20 contains a "ping" hotlink that you have to click on which then = tells=20 them you received the email and you are then issued the=20 certificate.

Anyway, I just thought I'd let = you know that=20 free certs are available, are reasonably easy to obtain, and = reasonably=20 easy to get working.

John W. Colby
Colby Consulting
www.ColbyConsulting.com

----------------------------------------------------=20
Is email taking over your = day?  Manage=20 your time with eMailBoss. 
Try=20 it free!  http://www.eMailBoss.com=20


Is email taking over your day? Manage your time with eMailBoss. = Try it=20 free! http://www.eMailBoss.com
------=_NextPart_000_0048_01C2ED50.E8518B60-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Replication Object and some code, but I was looking for a user friendly way of doing this. Have you had any experience with managing synchronization this way? Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, March 20, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug ------=_NextPart_000_000E_01C2EEE5.94D03630 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message

Charlotte,

 

Thank you.  I guess my = ignorance is going to show here but that is how I learn, sometimes.  My = objective, I think, is to have the replication manager on the user’s system so = I can set up the replicas on the various computers and set up the = synchronization schedule.  From what I understand if I use the Access menu I can = make the replicas and put them on the various computers but I can not get = automatic synchronization, or indirect synchronization.  It seems like a real = waste to put the full developer edition on a computer just to get the = replication manager tool, but this is a MS product.

 

From the ADH it looks like I could = do everything through use of the Jet Replication Object and some code, but = I was looking for a user friendly way of doing this.  Have you had any experience with managing synchronization this way?

 

Doug

 

 

 

-----Original = Message-----
From: accessd-admin at databaseadvisors.com = [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust
Sent: Thursday, March 20, = 2003 12:57 PM
To: = accessd at databaseadvisors.com
Subject: RE: [AccessD] = Access XP Developer and replication manager

 

Replication manager is an administrative tool, not an end = user tool.  The users of your app will be able to synchronize without = any kind of replication manager because replicas have the capability of = synchronizing built in.

 

Charlotte Foust

-----Original Message-----
From: Doug Murphy [mailto:doug at murphyscreativity.com]
Sent: Thursday, March 20, = 2003 12:54 PM
To: = accessd at databaseadvisors.com
Subject: [AccessD] Access = XP Developer and replication manager

Hi List,

I have what seem = like a simple question but I don't seem to be able to find the answer.  I = have Office XP Developer.  I am looking at the use of replication to = keep several users synchronized on a really slow network plus be able to synchronize lap tops when they = dial in.  I got interested in this method after reading Arthur Fuller's = article in "Inside Microsoft Access", March edition.  I also read the chapter in the ADH on replication to get additional information.  What I have been = trying to determine is can I distribute the Replication Manager tool that comes = with the Developer Edition with my database.  It seems like this is the = easiest way to set up the replication and synchronization schedule on the = users system.  I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have = found nothing in any of my XP literature of help files.

Has anyone had = experience with this tool and been able to distribute it or does the user need to = have the MOD on their machine?

Thanks in advance = for your assistance.

Doug

------=_NextPart_000_000E_01C2EEE5.94D03630-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: Replication Object and some code, but I was looking for a user friendly way of doing this. Have you had any experience with managing synchronization this way? Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, March 20, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug ------=_NextPart_000_0005_01C2EF05.616E03B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

David,

 

Thank you.



Now I use dial up connections and indirect synchronization.  I = distribute replication manager as part of the installation and once it is = configured on the users machines they are (mostly) able to follow the simple = synchronization process using it.

 

That is the answer I was searching = for; you can distribute the replication manager as part of the runtime.  =

 

How do you do the indirect = synchronization over a modem?  That is another task I need to do.

 

Doug



I am not sure about XP but would be pretty certain that it would be distributable as well.

David Emerson
Dalyn Software Ltd
New Zealand

At 20/03/2003, you wrote:

No, I haven't.  When I've used replication, I didn't = try to do it on a schedule because I had no control over the users' = schedules.  Procedurally, our users were instructed to sync their replica at the = beginning of each session to get the latest updates and at the end of a session to = upload their own changes.  You could set up code to sync the database when = they opened it, but there is at least a slight delay involved with = that.
 
Charlotte = Foust

-----Original = Message-----

From: Doug Murphy [mailto:doug at murphyscreativity.com]

Sent: Thursday, March 20, 2003 1:36 PM

To: = accessd at databaseadvisors.com

Subject: RE: [AccessD] Access XP Developer and replication = manager

Charlotte,

 

Thank you.  I guess my ignorance is = going to show here but that is how I learn, sometimes.  My objective, I = think, is to have the replication manager on the users system so I can set up the replicas on the various computers and set up the synchronization = schedule.  From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: and put them on the various computers but I can not get automatic = synchronization, or indirect synchronization.  It seems like a real waste to put the = full developer edition on a computer just to get the replication manager = tool, but this is a MS product.

 

From the ADH it looks like I could do = everything through use of the Jet Replication Object and some code, but I was = looking for a user friendly way of doing this.  Have you had any experience = with managing synchronization this way?

 

Doug

 

 

 

-----Original = Message-----

From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust

Sent: Thursday, March 20, 2003 12:57 = PM

To: = accessd at databaseadvisors.com

Subject: RE: [AccessD] Access XP Developer and replication = manager

 

Replication manager is an administrative tool, not an end user tool.  The users of your app = will be able to synchronize without any kind of replication manager because = replicas have the capability of synchronizing built in.

 

Charlotte = Foust

-----Original = Message-----

From: Doug Murphy [mailto:doug at murphyscreativity.com]

Sent: Thursday, March 20, 2003 12:54 = PM

To: = accessd at databaseadvisors.com

Subject: [AccessD] Access XP Developer and replication manager

Hi List,

I have what seem like a simple question but I = don't seem to be able to find the answer.  I have Office XP = Developer.  I am looking at the use of replication to keep several users = synchronized on a really slow network plus be able to synchronize lap tops when they = dial in.  I got interested in this method after reading Arthur Fuller's = article in "Inside Microsoft Access", March edition. I also read the chapter in the = ADH on replication to get additional information. What I have been trying to = determine is can I distribute the Replication Manager tool that comes with the = Developer Edition with my database.  It seems like this is the easiest way to = set up the replication and synchronization schedule on the users = system.  I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have = found nothing in any of my XP literature of help files.

Has anyone had experience with this tool and = been able to distribute it or does the user need to have the MOD on their = machine?

Thanks in advance for your = assistance.

Doug

------=_NextPart_000_0005_01C2EF05.616E03B0-- From bogus@does.not.exist.com Wed Dec 28 11:38:03 2011 From: bogus@does.not.exist.com () Date: Wed, 28 Dec 2011 17:38:03 -0000 Subject: No subject Message-ID: I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. From mcp2004 at mail.ru Thu Dec 1 04:11:42 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 14:11:42 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <4ED62278.3040000@colbyconsulting.com> References: <4ED62278.3040000@colbyconsulting.com> Message-ID: Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 ?Ice Cream Sandwich? on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... From rusty.hammond at cpiqpc.com Thu Dec 1 08:59:53 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 1 Dec 2011 08:59:53 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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 Thu Dec 1 09:16:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 10:16:07 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4ED79A37.70008@colbyconsulting.com> LOL, yea what a scandal! 8o John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 9:59 AM, Rusty Hammond wrote: > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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 Thu Dec 1 10:41:22 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 08:41:22 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. With more Linux packages spreading out in the market, not only will it directly threaten Windows, at least to a small degree but it gives Linux a lot more of free advertisement and before Android Linux had virtually none. That could be very dangerous to Microsoft's previous unchallenged PC domination. But we shall see...If Microsoft released its top versions of Windows at say $100 they could halt the Linux advance but then they would be annoying the PC manufactures market from which they make most of their money. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 2:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- 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 Dec 1 11:05:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 09:05:18 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> The problem is that so far there is no way to remove it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 1 11:08:16 2011 From: john at winhaven.net (John Bartow) Date: Thu, 1 Dec 2011 11:08:16 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. From garykjos at gmail.com Thu Dec 1 11:09:07 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 1 Dec 2011 11:09:07 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- Gary Kjos garykjos at gmail.com From accessd at shaw.ca Thu Dec 1 12:00:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:00:33 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> In all the box stores around here, Staples, Future Shop, Best Buy and even Costco, the last price I saw (yesterday) was $379 plus taxes which puts it up to about $420. There are upgrades from Pro versions to Ultimate versions which can be had for a mere $189 plus tax; $210 You will have to send me one of these super cheap copies. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, December 01, 2011 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- 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 accessd at shaw.ca Thu Dec 1 12:08:39 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:08:39 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: The client wants a full version of Office, word and excel for cheap and they have been hearing how fast a Linux server is. Two years ago they would have never said such a thing. Linux, if they even cared about it, was just for geeks. Now they are asking. Android has changed all that. I have not decided what to tell them yet but if dollars are a concern stick with XP until you need new computers would be my first thought. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 01, 2011 9:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu Dec 1 12:26:12 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 1 Dec 2011 10:26:12 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: OEM versions are running 189 at New egg: http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&N=100006907&isNodeId=1&Description=windows+7+ultimate&x=0&y=0 2011/12/1 Jim Lawrence > In all the box stores around here, Staples, Future Shop, Best Buy and even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will it > > directly threaten Windows, at least to a small degree but it gives Linux > a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows at > say > > $100 they could halt the Linux advance but then they would be annoying > the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > > Cream Sandwich" on x86?: > > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. Dictating code to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating with > >> >> computers by using a broad range of both hands gestures and voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 fuller.artful at gmail.com Thu Dec 1 13:00:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Dec 2011 14:00:51 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: Assuming the availability of a big backup disk (very cheap now, 1TB for less than $100), then I'd opt for DriveImaging the Win 7 boot disk and then replacing the OS with Linux Mint 12 or Ubuntu 11.10, and after that mounging XP and/or Win7 as VMs inside Oracle VirtualBox. In fact that is precisely my plan to execute over the Christmas holidays. I'm still teaching myself C#, with the help of several books, and that's one VM; another is dedicated to my sole remaining Access+Word+Excel=Office Automation client, and there's an Ubuntu VM too. I don't run them all at once, of course; just when I need to or want to. BTW, I think that Mint 12 is pretty slick! A. From hans.andersen at phulse.com Thu Dec 1 13:32:27 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 11:32:27 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> Message-ID: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Dec 1 15:11:18 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Dec 2011 16:11:18 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> From tinanfields at torchlake.com Thu Dec 1 15:43:19 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 16:43:19 -0500 Subject: [AccessD] Paint.net In-Reply-To: <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4ED7F4F7.5030104@torchlake.com> When I try to find paint.net for download, I find GIMP. Are they the same thing? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 11/27/2011 10:53 PM, Darryl Collins wrote: > Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one ! :) thanks. > > Will download and have a look. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Monday, 28 November 2011 1:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Paint.net > > Paint.Net looks like a nice program...I have never heard of it before. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, November 27, 2011 5:40 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Paint.net > > I have to do reports over actual pictures of state documents. Of course the copy is very light. Is it possible to darken the washed out text with Paint.net without also darkening the background. IOW increase the contrast but more than that actually make the grey more black? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Dec 1 15:59:09 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 01 Dec 2011 16:59:09 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: <000601ccb074$74bab5f0$5e3021d0$@net> The "ultimate" question: difference between it and the Pro version ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, December 01, 2011 1:01 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > In all the box stores around here, Staples, Future Shop, Best Buy and > even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts > it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be > had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always > having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install > Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their > case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will > it > > directly threaten Windows, at least to a small degree but it gives > Linux a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows > at > say > > $100 they could halt the Linux advance but then they would be > annoying the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 > "Ice > > Cream Sandwich" on x86?: > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an- > android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. > ?My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. ?IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code > to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using > mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally > mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating > with > >> >> computers by using a broad range of both hands gestures and > voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and > 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 jwcolby at colbyconsulting.com Thu Dec 1 16:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 17:02:29 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED7F975.7010407@colbyconsulting.com> Not to my knowledge. http://www.paint.net/ John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 4:43 PM, Tina Norris Fields wrote: > When I try to find paint.net for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: >> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >> ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >> it possible to darken the washed out text with Paint.net without also darkening the background. >> IOW increase the contrast but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> From dbdoug at gmail.com Thu Dec 1 16:03:50 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 14:03:50 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: Try http://www.getpaint.net/index.html Doug On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net for download, I find GIMP. Are they the > same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course >> the copy is very light. Is it possible to darken the washed out text with >> Paint.net without also darkening the background. IOW increase the contrast >> but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From charlotte.foust at gmail.com Thu Dec 1 17:00:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Dec 2011 15:00:12 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: The download says paint.net but then leads to a gimp download and a site that WOT is less than thrilled with. What's going on? Charlotte Foust On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net > > for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> From hans.andersen at phulse.com Thu Dec 1 17:01:28 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 15:01:28 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F975.7010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED7F975.7010407@colbyconsulting.com> Message-ID: <8F312CA6-84B6-4AEA-954B-372468762FE4@phulse.com> Paint.Net started as a little home project (in 2004) in learning the .NET Framework around the time that Microsoft was really starting to hype .NET. It eventually evolved into a sort of showcase and proof-of-concept of a decent and strictly .NET application. The Gimp has a much longer history, beginning in the mid 90's, as an image editor on Unix. The main difference between the two is that the Gimp has more advanced features and also is cross platform (Windows, Linux, Mac). Paint.Net isn't quite as feature rich and only runs on Windows (I guess Windows XP and above, if you have .NET installed), but it also has more eye candy and a flashier interface (which can be a bit distracting in my opinion though). Popularity-wise, I'd have to say that the Gimp has a bigger user base, but thats not saying much since they are both vastly dwarfed by Photoshop. - Hans On 2011-12-01, at 2:02 PM, jwcolby wrote: > Not to my knowledge. > > http://www.paint.net/ > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 4:43 PM, Tina Norris Fields wrote: >> When I try to find paint.net for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >>> ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >>> Of Jim Lawrence >>> Sent: Monday, 28 November 2011 1:36 PM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Paint.net >>> >>> Paint.Net looks like a nice program...I have never heard of it before. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Sunday, November 27, 2011 5:40 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Paint.net >>> >>> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >>> it possible to darken the washed out text with Paint.net without also darkening the background. >>> IOW increase the contrast but more than that actually make the grey more black? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:09:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:09:11 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> Message-ID: <776135A40CBB4EC1B10997D95CFA09BC@creativesystemdesigns.com> Hi All: Here is a vid on how to go through the steps to install the latest 'gingerbread' cyanogenmod 7 update. It does not even require the product to be 'unlocked' which in some cases invalidates the operator/Cell Service Provider agreement. The modification is also not in violation of Google's agreement with reference to proprietary components...if you do have those new components, they can backed up and restored without violating any licensing agreements. (I have not looked up the methods to properly backup and restore proprietary components, yet.) http://www.youtube.com/watch?v=z3thA9OWQc8 Sorry, to say there is not an 'ice-cream sandwich' version available, yet but, in most cases, unless you have the latest hardware, there are insufficient resources to install and run that version. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Thursday, December 01, 2011 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:12:57 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> Message-ID: Of course, so lowering the price of their separate or non-OEM packages would not adversely affect their OEM hardware distributors, as the user would most likely have to buy new hardware anyway. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 01, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Dec 1 17:20:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 18:20:53 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED80BD5.8080904@torchlake.com> Well, I persevered. The links provided by John and Doug took me to the same place where all the big green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the table near the bottom of the page, I was taken to the page where small text says to click the free link over on the far right. In every page of this journey, the big green arrows all were for GIMP. What a strange experience. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:00 PM, Charlotte Foust wrote: > The download says paint.net but then leads to a gimp download and a site > that WOT is less than thrilled with. What's going on? > > Charlotte Foust > > On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> When I try to find paint.net >> >> for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>> glance) looks better. Nice one ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> From dbdoug at gmail.com Thu Dec 1 17:28:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 15:28:32 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From steve at datamanagementsolutions.biz Thu Dec 1 17:44:07 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 2 Dec 2011 12:44:07 +1300 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> I think this is just a case of a really poor and confusing website layout design. The bit towards the top right, where it says: "Get it now (free download) Paint.NET v 3.5.10" ... that's the bit that is relevant to the Paint.Net download. The big button underneath that, green, with "Download" - that's part of a big square advertisement that (for me at the moment) relates to FoxTab PDF Creator. Regards Steve -----Original Message----- From: Doug Steele Sent: Friday, December 02, 2011 12:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Paint.net I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near > the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: > http://www.databaseadvisors.**com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 1 18:55:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 1 Dec 2011 16:55:20 -0800 Subject: [AccessD] FW: FW: Windows 8 Message-ID: >From my son. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin _____ From: Noah Sutton-Smolin [mailto:heedleblambeedle at gmail.com] Sent: Thursday, December 01, 2011 4:13 PM To: Rocky Smolin Subject: Re: FW: [AccessD] Windows 8 Droid X is CIQ-Free 2011/12/1 Rocky Smolin Does your phone run Carrier IQ in the background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 2 06:00:32 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:00:32 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8BDE0.7000702@torchlake.com> Steve, You're right. I left out that part, didn't I? ALMOST all the big green arrows were for GIMP, but one, right under the Paint.NET real link was another big green arrow for FoxTab PDF Creator. I agree with you that the website layout is poor and confusing. But, as I said, I persevered and finally got Paint.net. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website > layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part > of a big square advertisement that (for me at the moment) relates to > FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table >> near the >> bottom of the page, I was taken to the page where small text says to >> click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a >>> site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: >> http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 06:02:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:02:02 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8BE3A.4030002@torchlake.com> Hi Doug, Yes, that is the site they point to. It's just really badly laid out. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:28 PM, Doug Steele wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From jwcolby at colbyconsulting.com Fri Dec 2 06:40:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:28 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8C73C.6010407@colbyconsulting.com> This happens with most of those pages that exist just to download someone else's program. they apparently get paid for clicks so they intentionally make it very confusing, they intentionally make the big green arrow go to something else entirely because they get paid a few cents of you go there, even if you just immediately click your back button. Hint, the BIG GREEN BUTTON is *not* the one you want to click on. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:20 PM, Tina Norris Fields wrote: > Well, I persevered. The links provided by John and Doug took me to the same place where all the big > green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the > table near the bottom of the page, I was taken to the page where small text says to click the free > link over on the far right. In every page of this journey, the big green arrows all were for GIMP. > What a strange experience. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 From jwcolby at colbyconsulting.com Fri Dec 2 06:40:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:35 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8C743.40302@colbyconsulting.com> No, I think it is intentional. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part of a big square advertisement > that (for me at the moment) relates to FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 07:03:38 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 08:03:38 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8C73C.6010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> Message-ID: <4ED8CCAA.10302@torchlake.com> What a goofy way to make a living! :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/2/2011 7:40 AM, jwcolby wrote: > This happens with most of those pages that exist just to download > someone else's program. they apparently get paid for clicks so they > intentionally make it very confusing, they intentionally make the big > green arrow go to something else entirely because they get paid a few > cents of you go there, even if you just immediately click your back > button. > > Hint, the BIG GREEN BUTTON is *not* the one you want to click on. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >> Well, I persevered. The links provided by John and Doug took me to >> the same place where all the big >> green arrows download GIMP. However, by following carefully and >> clicking on the dotpdn button in the >> table near the bottom of the page, I was taken to the page where >> small text says to click the free >> link over on the far right. In every page of this journey, the big >> green arrows all were for GIMP. >> What a strange experience. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 > From jwcolby at colbyconsulting.com Fri Dec 2 07:22:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 08:22:27 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8CCAA.10302@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: <4ED8D113.4070204@colbyconsulting.com> > What a goofy way to make a living! :-) LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. Well guess what, someone is PAID to trick us. I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/2/2011 8:03 AM, Tina Norris Fields wrote: > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download someone else's program. they >> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >> make the big green arrow go to something else entirely because they get paid a few cents of you go >> there, even if you just immediately click your back button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>> table near the bottom of the page, I was taken to the page where small text says to click the free >>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>> What a strange experience. >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >> From hans.andersen at phulse.com Fri Dec 2 07:28:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 05:28:40 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED8D113.4070204@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> <4ED8D113.4070204@colbyconsulting.com> Message-ID: Maybe the website operators aren't aware of it and the ads are being delivered by a third party ad network? Best regards, Hans-Christian Andersen On 2 Dec 2011, at 05:22, jwcolby wrote: > > What a goofy way to make a living! :-) > > LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. > > Well guess what, someone is PAID to trick us. > > I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. > > Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/2/2011 8:03 AM, Tina Norris Fields wrote: >> What a goofy way to make a living! :-) >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/2/2011 7:40 AM, jwcolby wrote: >>> This happens with most of those pages that exist just to download someone else's program. they >>> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >>> make the big green arrow go to something else entirely because they get paid a few cents of you go >>> there, even if you just immediately click your back button. >>> >>> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>>> table near the bottom of the page, I was taken to the page where small text says to click the free >>>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>>> What a strange experience. >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Dec 2 07:45:49 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Dec 2011 08:45:49 -0500 Subject: [AccessD] Paint.net References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com><4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: Passive income... the best kind! ;) I'll click for food... Susan H. > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download >> someone else's program. they apparently get paid for clicks so they >> intentionally make it very confusing, they intentionally make the big >> green arrow go to something else entirely because they get paid a few >> cents of you go there, even if you just immediately click your back >> button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> From garykjos at gmail.com Fri Dec 2 08:34:40 2011 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Dec 2011 08:34:40 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Most of our machines are work are still running XP and Office 2003. Works fine until you hit the row limits in Excel or something. I've never been a fan of upgrading operating systems - well not since the DOS days anyway. The hardware requirements go up with each new version and so you are usually not as happy with the new OS on old hardware as you would be with the New OS on New hardware. With the price of hardware as low as it is now I thinik it's a better choice to just replace the enter box OS and all. If you need to upgrade at all that is. The question is, what do they need to do that they can't do now? GK On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: > The client wants a full version of Office, word and excel for cheap and they > have been hearing how fast a Linux server is. Two years ago they would have > never said such a thing. Linux, if they even cared about it, was just for > geeks. Now they are asking. Android has changed all that. > > I have not decided what to tell them yet but if dollars are a concern stick > with XP until you need new computers would be my first thought. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, December 01, 2011 9:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > I never really understood what "their old XP computers do need a face-lift" > meant. Why? -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Dec 2 10:27:51 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 08:27:51 -0800 Subject: [AccessD] Solution in search of a problem Message-ID: I have had occasion to create custom spread sheets from access table data where TransferSpreadsheet wouldn't work. After all of the rows have been written, I use: objXLWS.Columns("A:U").Columns.AutoFit and all of the columns automagically adjust their widths to fit the data so when the user opens it up it looks real pretty and all the data is displayed - column set to the width of the longest value in the column - but without a lot of white space which you'd get if you tried to guess the column width needed. HTH somebody Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From markamatte at hotmail.com Fri Dec 2 10:29:04 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 16:29:04 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , Message-ID: Hello All, Anyone done any matching or standardization routines around company names? Thanks, Mark M. From jackandpat.d at gmail.com Fri Dec 2 10:33:29 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 11:33:29 -0500 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Mark, Can you give a little more info? What's the context? Are you looking for Address etc. On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > Hello All, > > Anyone done any matching or standardization routines around company names? > > Thanks, > > Mark M. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Fri Dec 2 12:24:38 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 10:24:38 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: <5441C45C-DD66-46D4-A008-B2841A18393C@phulse.com> Not to mention the massive pollution to the environment by simply discarding computer hardware just to get that new upgrade to something new or run the latest version of Windows. It would be far better to recycle and repurpose computers you presently own, if you plan to upgrade your main desktop (ie. put linux on it or turn it into a media or web server or something like that), or give it away to someone else who can make use of it. This is an oft neglected subject, simply because all the waste gets exported halfway across the world, where we don't have to see or deal with the effects of it ourselves. http://www.youtube.com/watch?v=5sMOAWW6I0k - Hans On 2011-12-02, at 6:34 AM, Gary Kjos wrote: > Most of our machines are work are still running XP and Office 2003. > Works fine until you hit the row limits in Excel or something. I've > never been a fan of upgrading operating systems - well not since the > DOS days anyway. The hardware requirements go up with each new version > and so you are usually not as happy with the new OS on old hardware as > you would be with the New OS on New hardware. With the price of > hardware as low as it is now I thinik it's a better choice to just > replace the enter box OS and all. If you need to upgrade at all that > is. The question is, what do they need to do that they can't do now? > > GK > > On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: >> The client wants a full version of Office, word and excel for cheap and they >> have been hearing how fast a Linux server is. Two years ago they would have >> never said such a thing. Linux, if they even cared about it, was just for >> geeks. Now they are asking. Android has changed all that. >> >> I have not decided what to tell them yet but if dollars are a concern stick >> with XP until you need new computers would be my first thought. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow >> Sent: Thursday, December 01, 2011 9:08 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Windows 8 >> >> I never really understood what "their old XP computers do need a face-lift" >> meant. Why? > > -- > 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 edzedz at comcast.net Fri Dec 2 12:47:22 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 11:47:22 -0700 Subject: [AccessD] Any good name matching algorithms in VBA Message-ID: <008401ccb122$d40d7d40$5bdea8c0@edz1> Does anyone know where I can find some good name matching algorithms in VBA, and or examples, that I can look into ? Thanks. Ed Zuris. edzedz at comcast.net From charlotte.foust at gmail.com Fri Dec 2 12:51:51 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:51:51 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Fri Dec 2 12:55:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:55:53 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table data > where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the data so > when the user opens it up it looks real pretty and all the data is > displayed > - column set to the width of the longest value in the column - but without > a > lot of white space which you'd get if you tried to guess the column width > needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From edzedz at comcast.net Fri Dec 2 13:33:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 12:33:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000701ccb129$40844ed0$5bdea8c0@edz1> It might be. Is there a Access example that I could study to see if would fit ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Fri Dec 2 13:52:55 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 14:52:55 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Fri Dec 2 13:55:48 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 19:55:48 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , , , Message-ID: Address standardization is everywhere...we us the postal service. Even the first/last name is covered. I'm specifically looking for company/business names. I have found a few packages/services online...I was just wondering if anyone had any experience working with or writing VBA/SQL to accomplish something like this. Thanks, Mark A. Matte > From: jackandpat.d at gmail.com > Date: Fri, 2 Dec 2011 11:33:29 -0500 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Company name matching/standardization > > Mark, > > Can you give a little more info? What's the context? Are you looking for > Address etc. > > On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > > > > Hello All, > > > > Anyone done any matching or standardization routines around company names? > > > > Thanks, > > > > Mark M. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Fri Dec 2 14:02:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Dec 2011 15:02:12 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <001e01ccb12d$4864ec00$d92ec400$@net> Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From edzedz at comcast.net Fri Dec 2 14:10:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 13:10:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <001e01ccb12d$4864ec00$d92ec400$@net> Message-ID: <000b01ccb12e$6b974730$5bdea8c0@edz1> Thanks. . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 02, 2011 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Dec 2 15:23:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 13:23:34 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Fri Dec 2 15:31:30 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 13:31:30 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Don't know. Never had an occasion to export a memo field. I've had some very long test fields which made the column width unwieldy. So after that statement I adjust the long field to something reasonable and turn on the word wrap. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 10:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Solution in search of a problem Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table > data where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the > data so when the user opens it up it looks real pretty and all the > data is displayed > - column set to the width of the longest value in the column - but > without a lot of white space which you'd get if you tried to guess the > column width needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Dec 2 15:48:50 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Dec 2011 22:48:50 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi Jim Of course, most old hardware won't do. But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. It took a little to locate the legacy ATI video drivers for Vista, though. /gustav >>> jimdettman at verizon.net 01-12-2011 22:11 >>> Try running Win 7 on older hardware and you won't like it. Jim. From stuart at lexacorp.com.pg Fri Dec 2 16:04:12 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:04:12 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:07:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:07:18 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, Message-ID: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:48:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:48:48 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> > On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > Function LevenshteinDistance(phrase1 As String, phrase2 As String) As Long 'Calculates the minimum number of edits required to transform 'Phrase1 into Phrase2 using addition, deletion, and substitution of characters 'Case insensitive Dim str1() As String Dim str2() As String Dim dist() As Long Dim lngLen1 As Long Dim lngLen2 As Long Dim i As Long Dim j As Long Dim k As Long Dim a(2) As Long Dim r As Long Dim cost As Long lngLen1 = Len(phrase1) lngLen2 = Len(phrase2) ReDim str1(lngLen1) ReDim str2(lngLen2) ReDim dist(lngLen1, lngLen2) For i = 1 To lngLen1 str1(i) = UCase$(Mid$(phrase1, i, 1)) Next For i = 1 To lngLen2 str2(i) = UCase$(Mid$(phrase2, i, 1)) Next For i = 0 To lngLen1 dist(i, 0) = i Next For j = 0 To lngLen2 dist(0, j) = j Next For i = 1 To lngLen1 For j = 1 To lngLen2 If str1(i) = str2(j) Then cost = 0 Else cost = 1 End If a(0) = dist(i - 1, j) + 1 '' deletion a(1) = dist(i, j - 1) + 1 '' insertion a(2) = dist(i - 1, j - 1) + cost '' substitution r = a(0) For k = 1 To UBound(a) If a(k) < r Then r = a(k) Next dist(i, j) = r Next Next LevenshteinDistance = dist(lngLen1, lngLen2) End Function From mcp2004 at mail.ru Fri Dec 2 17:50:19 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 03:50:19 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: References: Message-ID: Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sat Dec 3 09:21:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 03 Dec 2011 10:21:24 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: Message-ID: <591BD9DBEA5E4256B8EBECFC66083908@XPS> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines you are describing would have been considered higher end machines; not the typical entry level machines that most businesses put in place. In fact if you remember when Vista came out, the big stink was that Microsoft said flat out "buy new hardware" if you wanted to use all the features (it was more then memory, but memory was a good part of it). Many at that time asked if Vista was even worth the upgrade price considering you could not use most of the new features if you didn't get new hardware. Win 7 is a far better OS then Vista and is what Vista should have been, but it's still something I would not consider running on anything less then 2GB. I have clients that have fallen behind on five year replacement cycles and have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. And yes I know memory is cheap, but in many cases the MB is maxed out and upgrading is not possible. Replacing the station as a whole is the best approach, but they've held off. Thankfully most of them are caught up now, but I still have a few stragglers. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Friday, December 02, 2011 06:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Dec 3 09:43:49 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Dec 2011 10:43:49 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> Message-ID: <006f01ccb1d2$5a050a30$0e0f1e90$@net> Extremely interesting. Does GOOGLE use this or a proprietary variant I wonder ? http://en.wikipedia.org/wiki/Levenshtein_distance From edzedz at comcast.net Sat Dec 3 11:38:15 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:38:15 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Better solutions ? Please share. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 11:40:30 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:40:30 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <000701ccb1e2$a7124760$5bdea8c0@edz1> Thanks. . . Will look into the HotFuzz() function at the end. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/ trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:12:40 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:12:40 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000b01ccb1e7$2575a350$5bdea8c0@edz1> Thanks. http://allenbrowne.com/vba-Soundex.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:14:43 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:14:43 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Dec 3 13:50:12 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 23:50:12 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <591BD9DBEA5E4256B8EBECFC66083908@XPS> References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: Hi Jim -- Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? Thank you. -- Shamil 03 ??????? 2011, 19:22 ?? "Jim Dettman" : > > It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines > you are describing would have been considered higher end machines; not the > typical entry level machines that most businesses put in place. > > In fact if you remember when Vista came out, the big stink was that > Microsoft said flat out "buy new hardware" if you wanted to use all the > features (it was more then memory, but memory was a good part of it). Many > at that time asked if Vista was even worth the upgrade price considering you > could not use most of the new features if you didn't get new hardware. > > Win 7 is a far better OS then Vista and is what Vista should have been, but > it's still something I would not consider running on anything less then 2GB. > > I have clients that have fallen behind on five year replacement cycles and > have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. > And yes I know memory is cheap, but in many cases the MB is maxed out and > upgrading is not possible. Replacing the station as a whole is the best > approach, but they've held off. > > Thankfully most of them are caught up now, but I still have a few > stragglers. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Friday, December 02, 2011 06:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi Gustav -- > > Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop > Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... > > And this old laptop also runs rather well Windows Phone 7 emulator while > debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and > XNA development isn't available AFAIS) but still well IMO to start learning > WP7 development... > > Thank you. > > -- Shamil > > 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > > Hi Jim > > > > Of course, most old hardware won't do. > > > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion > zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 > with DirectX 9) and it runs of course not fast but smoothly. > > > > It took a little to locate the legacy ATI video drivers for Vista, though. > > > > /gustav > > > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > > > Try running Win 7 on older hardware and you won't like it. > > > > Jim. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Dec 3 16:40:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Dec 2011 08:40:20 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Message-ID: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Levenshtein and the HotFuzz() function for two, On 3 Dec 2011 at 10:38, Edward Zuris wrote: > > Better solutions ? > > Please share. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, December 02, 2011 3:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > Soundex is very limited, that are much better solutions. > > -- > Stuart > > On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > > > I used to use Soundex a lot. Is that the kind of thing you're looking > > > for? > > > > Charlotte Foust > > > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > > wrote: > > > > > > > > Does anyone know where I can find some good name > > > matching algorithms in VBA, and or examples, that > > > I can look into ? > > > > > > Thanks. > > > > > > Ed Zuris. > > > edzedz at comcast.net > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 3 18:23:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 19:23:04 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: <4EDABD68.3040307@colbyconsulting.com> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007605%2050001305&IsNodeId=1&bop=And&SrchInDesc=momentus%20xt&Page=1&PageSize=100 It adds a 4 gig "SSD" (flash) cache to store small files that are loaded often. It takes several times loading things but on the second or third pass suddenly stuff loads faster. I bought one for my laptop and I was so pleased that I did the same for my wife's notebook. It is not the same experience as a full on SSD boot disk but very close. On my WMC system downstairs I repurposed an old 30 gb SSD drive that simply wasn't big enough to make the boot disk, and I put a 15 gb readyboost cache on it and put the swap file on the rest. That too has made an enormous difference. But for a notebook where you only have a single disk slot, try the seagate momentus. It may give the old laptop an addition couple of years. I actually replaced my brand new laptop's 5400 rpm drive with this thing and man what a difference. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/3/2011 2:50 PM, Salakhetdinov Shamil wrote: > Hi Jim -- > > Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) > I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. > This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. > > Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. > 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? > > Thank you. > > -- Shamil > > > 03 ??????? 2011, 19:22 ?? "Jim Dettman": >> >> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines >> you are describing would have been considered higher end machines; not the >> typical entry level machines that most businesses put in place. >> >> In fact if you remember when Vista came out, the big stink was that >> Microsoft said flat out "buy new hardware" if you wanted to use all the >> features (it was more then memory, but memory was a good part of it). Many >> at that time asked if Vista was even worth the upgrade price considering you >> could not use most of the new features if you didn't get new hardware. >> >> Win 7 is a far better OS then Vista and is what Vista should have been, but >> it's still something I would not consider running on anything less then 2GB. >> >> I have clients that have fallen behind on five year replacement cycles and >> have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. >> And yes I know memory is cheap, but in many cases the MB is maxed out and >> upgrading is not possible. Replacing the station as a whole is the best >> approach, but they've held off. >> >> Thankfully most of them are caught up now, but I still have a few >> stragglers. >> >> Jim. >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov >> Shamil >> Sent: Friday, December 02, 2011 06:50 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Windows 8 >> >> Hi Gustav -- >> >> Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop >> Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... >> >> And this old laptop also runs rather well Windows Phone 7 emulator while >> debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and >> XNA development isn't available AFAIS) but still well IMO to start learning >> WP7 development... >> >> Thank you. >> >> -- Shamil >> >> 03 ??????? 2011, 01:45 ?? "Gustav Brock": >>> Hi Jim >>> >>> Of course, most old hardware won't do. >>> >>> But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion >> zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 >> with DirectX 9) and it runs of course not fast but smoothly. >>> >>> It took a little to locate the legacy ATI video drivers for Vista, though. >>> >>> /gustav >>> >>>>>> jimdettman at verizon.net 01-12-2011 22:11>>> >>> >>> Try running Win 7 on older hardware and you won't like it. >>> >>> Jim. >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > From jwcolby at colbyconsulting.com Sat Dec 3 20:06:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 21:06:28 -0500 Subject: [AccessD] Subversion repositories and server Message-ID: <4EDAD5A4.3020505@colbyconsulting.com> I use subversion here at my office. I have to say I find it confusing and "just use it" without really understanding it. I am trying to set it up at my clients as I am about to start doing some VS 2010 / C# stuff there to replace some less reliable Access stuff. I want the repositories to reside on the server with all of its raid and backup safety net. Here at my office I use the file:// method of accessing the repository which the way I understand it is nothing more than allowing VSN on the workstation to check in and out through a shared directory. When I started research on Google I am getting "shared directories is a bad idea, use a server", but I do not know how to do that. I have set up the server simply by downloading the VisualSVN Server msi and installing it. I created a group and a user and ser my user into the group. I then created two repositories for two different projects and added the group to the project with R/W access and disabled the Everyone user. My question is how do I get my workstation to use the server now? I am using VS 2010, and it has the VisualSVN package installed. I just need to "hook up" the VisualSVN in my workstation to get data from the repository server. Onw would think that there would be a place to go to tell VisualSVN in the workstation "your server is named XYZ" etc but I am not finding that. The "Get solution from Subversion" has a Repository URL line but it does not automatically look for and find my repository and I have no clue what the URL is. IMHO this is the shakiest part of using this stuff. Any help is much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Dec 3 21:39:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 22:39:42 -0500 Subject: [AccessD] VSN right click isn't working Message-ID: <4EDAEB7E.1090208@colbyconsulting.com> I use VSN with right click context stuff to check in and out some DLLs such as NLog which are referenced by my projects but are not stuff that I can directly open in VS and use that to do the checkin. The problem is that while the right click menu works on my systems at the office, at my client they cause Windows Explorer to crash, as in close and explorer reopens a few seconds later. Right clicking on any file or directory causes the explorer crash. I eventually found this thing called ShellExView that allows one to see the right click processes that are hooking into Explorer's right click widget, and from there I caused all of the VSNTortoise stuff to stop and the crashes stopped. So I can't use VSN's stuff on my dev machine at the client to check directories in and out of tortoise / VSN and so I have no way to check in initially. I decided to try and do this on the server directly and the right click menu works just fine there, or at least doesn't page fault explorer. However when I try to check it in, it complains about a different user or something. Sigh. AFAIC I do not have to have this in source control, i.e. the reference that I am trying to check in are just dlls which are referenced at a specific path on my hard disk and for that purpose having them in source control doesn't matter. However putting it in source control allows me to "check them out" from any other machine which needs them, and further if I get a new version of a file (nlogs.dll for example) I can check it in and then check it out on other machines to get the latest. The whole point of source control really. So long term I really want to get this working. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From gustav at cactus.dk Sun Dec 4 04:20:48 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Dec 2011 11:20:48 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi John Had the same idea about a 64 GB SSD drive I have at hand, but my old zd8000 sports an ATA interface only. No cigar. /gustav >>> jwcolby at colbyconsulting.com 04-12-2011 01:23 >>> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. From marksimms at verizon.net Sun Dec 4 09:48:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 10:48:14 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Message-ID: <000001ccb29c$22db9540$6892bfc0$@net> Best solution IMHO: Use all three....table lookup, and then the below. > Levenshtein and the HotFuzz() function for two, > From jwcolby at colbyconsulting.com Sun Dec 4 09:59:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 10:59:19 -0500 Subject: [AccessD] Users in SQL Server Message-ID: <4EDB98D7.30009@colbyconsulting.com> Several times now I have run into an issue where SQL Server does not have a pair of users I use for my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases that I am picking up on that server was already set up and has those users. When I try to set those users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. Basically I am able to create the user but not assign rights - db_reader, db_writer etc. I have always been fuzzy about how this stuff works and I just need an explanation of why it won't allow me to set these rights even though the user exists and the check boxes are enabled when I select that database. I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have a DiscoApp in the database with a set of rights for that database but when I look at it back at the server level it does not reflect those rights for that user for that database. Any assistance great fully accepted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sun Dec 4 10:13:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 11:13:31 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB98D7.30009@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> Message-ID: <4EDB9C2B.1010201@colbyconsulting.com> >I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. Unfortunately after I did this delete / re-add rigamarole I discovered that all of the rights to objects in the database were removed. For example I had rights to execute stored procedures assigned to these users but after deleting the users the rights to execute were lost. Sigh. This SQL Server Users stuff is really developer unfriendly. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 10:59 AM, jwcolby wrote: > > Several times now I have run into an issue where SQL Server does not have a pair of users I use for > my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases > that I am picking up on that server was already set up and has those users. When I try to set those > users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. > Basically I am able to create the user but not assign rights - db_reader, db_writer etc. > > I have always been fuzzy about how this stuff works and I just need an explanation of why it won't > allow me to set these rights even though the user exists and the check boxes are enabled when I > select that database. I just discovered that if I delete the user out in that database and then set > the rights through the user back in the server security stuff it happily accepts my changes and > re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have > a DiscoApp in the database with a set of rights for that database but when I look at it back at the > server level it does not reflect those rights for that user for that database. > > Any assistance great fully accepted. From marksimms at verizon.net Sun Dec 4 11:36:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 12:36:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB9C2B.1010201@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> Message-ID: <002601ccb2ab$31538290$93fa87b0$@net> John - as you are discovering (the hard way I might add), SQL Security is a whole specialty onto itself....in fact, there have been books written about just that. Here's one that may be helpful: http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 and here's another: http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 233044X/ref=pd_sim_b_6 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, December 04, 2011 11:14 AM > To: Discussion concerning MS SQL Server; Access Developers discussion > and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > >I just discovered that if I delete the user out in that database and > then set the rights through > the user back in the server security stuff it happily accepts my > changes and re-adds the user to the > database. > > Unfortunately after I did this delete / re-add rigamarole I discovered > that all of the rights to > objects in the database were removed. For example I had rights to > execute stored procedures > assigned to these users but after deleting the users the rights to > execute were lost. > > Sigh. > > This SQL Server Users stuff is really developer unfriendly. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 10:59 AM, jwcolby wrote: > > > > Several times now I have run into an issue where SQL Server does not > have a pair of users I use for > > my Access application called DiscoAdmin and DiscoApp. The problem is > that one of the the databases > > that I am picking up on that server was already set up and has those > users. When I try to set those > > users up in the server's security it tells me that "the server > principal 'DiscoApp' already exists. > > Basically I am able to create the user but not assign rights - > db_reader, db_writer etc. > > > > I have always been fuzzy about how this stuff works and I just need > an explanation of why it won't > > allow me to set these rights even though the user exists and the > check boxes are enabled when I > > select that database. I just discovered that if I delete the user out > in that database and then set > > the rights through the user back in the server security stuff it > happily accepts my changes and > > re-adds the user to the database. This just seems strange. If I don't > do this rigamarole then I have > > a DiscoApp in the database with a set of rights for that database but > when I look at it back at the > > server level it does not reflect those rights for that user for that > database. > > > > Any assistance great fully accepted. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sun Dec 4 12:47:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 04 Dec 2011 13:47:53 -0500 Subject: [AccessD] I should be able to do this Message-ID: <4EDBC059.1080609@torchlake.com> Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From ssharkins at gmail.com Sun Dec 4 12:52:18 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Dec 2011 13:52:18 -0500 Subject: [AccessD] I should be able to do this References: <4EDBC059.1080609@torchlake.com> Message-ID: <356134BD550B4B7E94EFBF1984EC2284@SusanHarkins> stu_counselor.Value = combobox.value Is stu_counselor bound to a control in your form? If it is, this should be easy enough. Susan H. > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who will > be assigned to the student whose record is displayed in the form. Once > that is updated, I want the matching name of the counselor to placed in > the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From steve at goodhall.info Sun Dec 4 12:54:43 2011 From: steve at goodhall.info (Steve Goodhall) Date: Sun, 4 Dec 2011 13:54:43 -0500 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 13:25:49 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 14:25:49 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <002601ccb2ab$31538290$93fa87b0$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> Message-ID: <4EDBC93D.8040801@colbyconsulting.com> Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), > SQL Security is a whole specialty onto itself....in fact, there have been > books written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database and >> then set the rights through >> the user back in the server security stuff it happily accepts my >> changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I discovered >> that all of the rights to >> objects in the database were removed. For example I had rights to >> execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From dw-murphy at cox.net Sun Dec 4 14:20:22 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 4 Dec 2011 12:20:22 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDBC93D.8040801@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> Message-ID: <001201ccb2c2$269e9b70$73dbd250$@cox.net> Don't know about this book but I try and get all my tech books for kindle these days. Have a kindle reader and have the pc reader on my desktop and laptop. That way I can share the book between my devices. I like it. Much less clutter on the book shelves. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, December 04, 2011 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), SQL Security > is a whole specialty onto itself....in fact, there have been books > written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultan > t/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/ > dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database >> and then set the rights through the user back in the server security >> stuff it happily accepts my changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I >> discovered that all of the rights to objects in the database were >> removed. For example I had rights to execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user >>> out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I >>> don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database >>> but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Sun Dec 4 14:27:16 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Mon, 5 Dec 2011 09:27:16 +1300 Subject: [AccessD] I should be able to do this In-Reply-To: References: <4EDBC059.1080609@torchlake.com> Message-ID: Tina, I agree with Steve. On the face of what you have told us so far, what you are trying to do here is irregular. Assuming the combobox is bound to a field in the tblStudent table, what field is it? Regards Steve -----Original Message----- From: Steve Goodhall Sent: Monday, December 05, 2011 7:54 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] I should be able to do this Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 4 15:41:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 07:41:56 +1000 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDBE924.30917.11DB6A54@stuart.lexacorp.com.pg> Bad girl! :-) tbStudent.Stu_Counselor should be a numerice field which contains the Counselor_ID foreign key. You should NOT be storing the counselor's name in individual student records. Set the Control Source of the combobox to Stu_Counselor and set its bound column to the (zero based) column number of the field you want to store in the student record. -- Stuart On 4 Dec 2011 at 13:47, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the form. > Once that is updated, I want the matching name of the counselor to > placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 4 16:48:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 14:48:47 -0800 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <9E5970D986864D8BB3B1035FBDAB2589@HAL9007> If Counselor_Lname is not a bound field in the form then there are two ways to do this: 1) an Update Query - ( cheat by writing the update query in the QBE and copy the SQL from the SQL View of the query) set db = CurrentDb, then db.Execute the update query string, 2) DAO = open a recordset of tblCounselor either filtered to include only the record you want or all records then use .FIndFirst to find the record you want. Then .Edit/.Update. Walla! HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Sunday, December 04, 2011 10:48 AM To: DatabaseAdvisors-Access Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 4 17:15:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 18:15:14 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <001201ccb2c2$269e9b70$73dbd250$@cox.net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> Message-ID: <000f01ccb2da$94de8f10$be9bad30$@net> But - can you mark-up or annotate with a Kindle ? I love to get books in PDF format and use Acrobat Pro to add notes and comments and highlighting. > Don't know about this book but I try and get all my tech books for > kindle > these days. Have a kindle reader and have the pc reader on my desktop > and > laptop. That way I can share the book between my devices. I like it. > Much > less clutter on the book shelves. From darryl at whittleconsulting.com.au Sun Dec 4 18:15:00 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:15:00 +0000 Subject: [AccessD] Multi Select. Message-ID: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hmmmm... Turns out you can only set this property when the form is in design mode, even via VBA. Why on earth would they do that? I have a couple of workarounds in the bag, so not looking for a solution (unless you have a really cool one you can share), but it seems like an odd thing to enforce on developers, especially as the form is nearly always going to be open and in use when you want to change that property 'on the fly'... Anyone got any thoughts on this? Just curious. Cheers Darryl. From jwcolby at colbyconsulting.com Sun Dec 4 18:18:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 19:18:56 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <000f01ccb2da$94de8f10$be9bad30$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> Message-ID: <4EDC0DF0.2020107@colbyconsulting.com> > But - can you mark-up or annotate with a Kindle ? Apparently to some extent that depends on the version. You apparently can with the new Kindle Touch which has a virtual keyboard and touch screen. I am looking at buying one of these. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 6:15 PM, Mark Simms wrote: > But - can you mark-up or annotate with a Kindle ? I love to get books in PDF > format and use Acrobat Pro to add notes and comments and highlighting. > >> Don't know about this book but I try and get all my tech books for >> kindle >> these days. Have a kindle reader and have the pc reader on my desktop >> and >> laptop. That way I can share the book between my devices. I like it. >> Much >> less clutter on the book shelves. > > From charlotte.foust at gmail.com Sun Dec 4 18:45:52 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 16:45:52 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a solution > (unless you have a really cool one you can share), but it seems like an odd > thing to enforce on developers, especially as the form is nearly always > going to be open and in use when you want to change that property 'on the > fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Sun Dec 4 18:58:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:58:47 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> It is not the active control itself, which I agree needs to retain its state - at least while active, but the other listboxes on the form. For example I have a form where listbox 1's default setting is 'multi-select' and if the user chooses more than one option from listbox 1, then list box 2 can only allow a single option from its list (so multi-select should = none for listbox 2). However if list box 1 has only one option selected than listbox 2 should allow multi-select to be available. So the multi-select status of listbox 2 has a dependency on what the user selects (or doesn't select) in listbox 1 and visa versa. If a user chooses multiple values in listbox 2 first, then only a single option should be allowed from listbox 1 and the status change from multi to single. Yep, I have a real live scenario where this has to happen. I have a work around which basically fakes that behaviour and it works ok. I can understand why you should not be able to change the state of the active listbox, but you cannot change any listboxes on the form, unless you are in design mode. Oh well.... Just curious - seems a bit like a case of laziness to me, but there are often other implications I am yet to grasp, maybe this is one of them. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 19:07:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:07:17 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from listbox 1, > then list box 2 can only allow a single option from its list (so > multi-select should = none for listbox 2). However if list box 1 has only > one option selected than listbox 2 should allow multi-select to be > available. So the multi-select status of listbox 2 has a dependency on > what the user selects (or doesn't select) in listbox 1 and visa versa. If > a user chooses multiple values in listbox 2 first, then only a single > option should be allowed from listbox 1 and the status change from multi to > single. > > Yep, I have a real live scenario where this has to happen. I have a work > around which basically fakes that behaviour and it works ok. I can > understand why you should not be able to change the state of the active > listbox, but you cannot change any listboxes on the form, unless you are in > design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, but > there are often other implications I am yet to grasp, maybe this is one of > them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is in > > design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Sun Dec 4 19:09:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:09:34 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC0DF0.2020107@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: Or you could buy the new Nook tablet. The Nook has had the keyboard and touch screen for a long time. ;-) Charlotte Foust On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > > But - can you mark-up or annotate with a Kindle ? > > Apparently to some extent that depends on the version. You apparently can > with the new Kindle Touch which has a virtual keyboard and touch screen. I > am looking at buying one of these. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 6:15 PM, Mark Simms wrote: > >> But - can you mark-up or annotate with a Kindle ? I love to get books in >> PDF >> format and use Acrobat Pro to add notes and comments and highlighting. >> >> Don't know about this book but I try and get all my tech books for >>> kindle >>> these days. Have a kindle reader and have the pc reader on my desktop >>> and >>> laptop. That way I can share the book between my devices. I like it. >>> Much >>> less clutter on the book shelves. >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From stuart at lexacorp.com.pg Sun Dec 4 19:10:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 11:10:02 +1000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 19:41:16 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:41:16 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EE44C@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, now that makes more sense... I figured there is likely to be a deeper reason I just didn't understand. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 5 December 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 19:53:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:53:02 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 20:19:54 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 02:19:54 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE4B7@SINPRD0402MB099.apcprd04.prod.outlook.com> Doh... proof reading is important... proof reading is important... " there is NO left to right sequence required " Bah.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, 5 December 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 21:07:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 22:07:32 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: <4EDC3574.1090602@colbyconsulting.com> Yes but the nook is sold by a company that might not be here in a year. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 8:09 PM, Charlotte Foust wrote: > Or you could buy the new Nook tablet. The Nook has had the keyboard and > touch screen for a long time. ;-) > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > >>> But - can you mark-up or annotate with a Kindle ? >> >> Apparently to some extent that depends on the version. You apparently can >> with the new Kindle Touch which has a virtual keyboard and touch screen. I >> am looking at buying one of these. >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 6:15 PM, Mark Simms wrote: >> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>> PDF >>> format and use Acrobat Pro to add notes and comments and highlighting. >>> >>> Don't know about this book but I try and get all my tech books for >>>> kindle >>>> these days. Have a kindle reader and have the pc reader on my desktop >>>> and >>>> laptop. That way I can share the book between my devices. I like it. >>>> Much >>>> less clutter on the book shelves. >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From Benson at ge.com Sun Dec 4 21:24:49 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 4 Dec 2011 22:24:49 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. From rockysmolin at bchacc.com Sun Dec 4 22:04:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 20:04:37 -0800 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: I suppose it's there in case you mistakenly start to delete all records in a table or mean to delete 100 and delete 10,000 instead. The only way I know is DoCmd.SetWarnings False but that's in code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 7:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 22:05:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:05:29 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 4 22:09:20 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:09:20 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Yeah code or a macro step I guess is all I got. I'd hoped a hot key variant on run might turn up. On Dec 4, 2011 11:05 PM, "Rocky Smolin" wrote: > I suppose it's there in case you mistakenly start to delete all records in > a > table or mean to delete 100 and delete 10,000 instead. The only way I know > is DoCmd.SetWarnings False but that's in code. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 7:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun Dec 4 22:11:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:11:59 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How are > you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror > to execute them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 22:26:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:26:37 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE68B@SINPRD0402MB099.apcprd04.prod.outlook.com> Give it a try Bill. Although I didn't read anyone who actually had any success with that approach and the message. It seems it must impact some users as MS have gone to the trouble of publishing that page. You can turn off warnings at an application level, but I am not sure if that will be effective or not with the undo warning. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 5 December 2011 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How > are you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute > them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete > Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 1 22:34:11 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 1 Dec 2011 22:34:11 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <004101ccb0ab$a3f488f0$ebdd9ad0$@comcast.net> No Messages --> CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, December 04, 2011 10:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 23:23:47 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 21:23:47 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC3574.1090602@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: Thanks for the reminder, Chicken Little. LOL Charlotte Foust On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > Yes but the nook is sold by a company that might not be here in a year. ;) > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 8:09 PM, Charlotte Foust wrote: > >> Or you could buy the new Nook tablet. The Nook has had the keyboard and >> touch screen for a long time. ;-) >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >> wrote: >> >> But - can you mark-up or annotate with a Kindle ? >>>> >>> >>> Apparently to some extent that depends on the version. You apparently >>> can >>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>> I >>> am looking at buying one of these. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>> PDF >>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>> >>>> Don't know about this book but I try and get all my tech books for >>>> >>>>> kindle >>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>> and >>>>> laptop. That way I can share the book between my devices. I like it. >>>>> Much >>>>> less clutter on the book shelves. >>>>> >>>>> >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> 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 Dec 5 06:35:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Dec 2011 07:35:00 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: <4EDCBA74.70207@colbyconsulting.com> http://www.ecolibris.net/bnindex.asp ;) It's unfortunate they stopped graphing the results. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2011 12:23 AM, Charlotte Foust wrote: > Thanks for the reminder, Chicken Little. LOL > > Charlotte Foust > > On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > >> Yes but the nook is sold by a company that might not be here in a year. ;) >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>> touch screen for a long time. ;-) >>> >>> Charlotte Foust >>> >>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >>> wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? >>>>> >>>> >>>> Apparently to some extent that depends on the version. You apparently >>>> can >>>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>>> I >>>> am looking at buying one of these. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>>> PDF >>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>> >>>>> Don't know about this book but I try and get all my tech books for >>>>> >>>>>> kindle >>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>> and >>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>> Much >>>>>> less clutter on the book shelves. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> >>>> >>>> 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 chartisinsurance.com Mon Dec 5 08:21:33 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 5 Dec 2011 09:21:33 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: Citations? :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 5:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name matching > > algorithms in VBA, and or examples, that I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 08:30:26 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 09:30:26 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Set the queries UseTransaction property to no in query design. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 10:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Mon Dec 5 08:37:02 2011 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Mon, 5 Dec 2011 09:37:02 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> References: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Message-ID: Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text-in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Mon Dec 5 12:20:45 2011 From: edzedz at comcast.net (Edward Zuris) Date: Mon, 5 Dec 2011 11:20:45 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <002401ccb37a$9bd7e0a0$5bdea8c0@edz1> Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Monday, December 05, 2011 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text -in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 14:42:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 15:42:20 -0500 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: <86C79486EC244013B7EB9E95C3C0D47E@XPS> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From Benson at ge.com Mon Dec 5 15:09:43 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 16:09:43 -0500 Subject: [AccessD] Close a form during the Activate event Message-ID: There is something that I require to be true, upon testing, or this one particular form I consider to be dangerous to use. It is a condition that may change over the session, it is not necessarily a stable condition during the user session. I understand it can be tested for on Form Open, and the opening of the form can then be canceled. But how about afterwards: For example, suppose on activation of the form, I want to test the condition again. According to an error message I just got, I am not allowed to close the form during the form's events. I am kinda stumped how to protect myself now, if I cannot make this check-environment-and-dismiss-form occur on a form's events. I guess I could have a hidden form checking this on a timed basis but I am sure that will cause some regrets. TIA... From gustav at cactus.dk Mon Dec 5 15:43:47 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Dec 2011 22:43:47 +0100 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: Thanks Jim, very promising. /gustav >>> jimdettman at verizon.net 05-12-2011 21:42 >>> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From charlotte.foust at gmail.com Mon Dec 5 15:51:33 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 13:51:33 -0800 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: I'm not clear on what the problem is. You can close a form from other events within a form. What was the message you got and what event were you trying to use? Charlotte Foust On Mon, Dec 5, 2011 at 1:09 PM, Benson, William (GE Global Research, consultant) wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Mon Dec 5 15:55:15 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 07:55:15 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Presumably when you say "dangerous to use", you are referring to triggering control events on the form. What happens if you: 1. build a function which checks for the condition and closes the form if necesary 2. Call the function as the first step in any potentially dangerous control event. -- Stuart On 5 Dec 2011 at 16:09, Benson, William (GE Global Re wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 5 17:14:29 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 15:14:29 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDCBA74.70207@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You apparently >>>>> can >>>>> with the new Kindle Touch which has a virtual keyboard and touch >>>>> screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get books >>>>> in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>>> and >>>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>> >>>>> ** >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From darryl at whittleconsulting.com.au Mon Dec 5 18:10:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:10:08 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> I think the one upside of Kindle over a tablet is probably the battery life. Personally I like a good ol' fashioned book. I love the way I can read it on the beach and never have to worry about battery issues, screen resolution, reflection or it getting too much salt and sand in the cracks. I like the tactile book thing too. The feel of the paper, the smell, the way you can get an idea of where you are in the story visually, and it make an excellent shade over your eyes when you want to have nap - try doing that with your tablet ;) The can see some upside to kindle and their ilk such as: 1: Environmental (less paper, less supply chain costs, less printing issues, less waste etc) 2: Speed of delivery (usually a lot faster than even FedEx) 3: Weight (books are heavy if you need to carry a lot of them) 4: Searchable: Much faster to search and reference But I still much prefer a decent paper book over them. Must be getting old ;) Just my thoughts Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 6 December 2011 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp x.asp> > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, >> jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the >>> keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, >>>> jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You >>>>> apparently can with the new Kindle Touch which has a virtual >>>>> keyboard and touch screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get >>>>> books in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books >>>>>> for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my >>>>>>> desktop and laptop. That way I can share the book between my >>>>>>> devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd>>>> databaseadvisors.com/****mailman/listinfo/accessd> >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> **>>>> atabaseadvisors.com/mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com>>>> s.com> >>>>> >>>>> >>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd>> baseadvisors.com/**mailman/listinfo/accessd> >>> >>> >> abaseadvisors.com/mailman/listinfo/accessd> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com>> s.com> >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 5 18:20:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 10:20:25 +1000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > From darryl at whittleconsulting.com.au Mon Dec 5 18:56:59 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:56:59 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... Message-ID: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Hehehehe.... exactly. All jokes aside, the paperback book is in many ways a nearly perfect technology. It is a bit like the traditional mousetrap or the standard design on the traditional dial telephone. Some designs are sooo close to being optimal there is little advantage in tweaking them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 6 December 2011 11:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 20:41:28 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 21:41:28 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> References: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Message-ID: Sorry, I cannot make my statement about "dangerous to use" very clear at this time. Essentially, if the form is open and a certain value has changed (say, for example, a user's privileges have changed from one class to another) then I do not want them able to see the form that they had been looking at. So it was on the activate event that this was to be checked for. That is not the exact condition, it is a representative example. To answer Charlotte's question: "this action cannot be carried out while processing a form or report event" Here is a sample of code you can put in a form that is already opened: Private Sub Form_Activate() If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub Launch the form, then deactivate it by opening a different form. Change the code to If 1 = 1 Then DoCmd.Close acForm, Me.Name Click back on the first form, you will get this error message. From stuart at lexacorp.com.pg Mon Dec 5 21:22:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 13:22:25 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, Message-ID: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear at > this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that they > had been looking at. So it was on the activate event that this was to be > checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name > End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Benson at ge.com Mon Dec 5 22:04:22 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:04:22 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> Message-ID: Not a difficult task... but not something I want to resort to. I gave up :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 05, 2011 10:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close a form during the Activate event You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear > at this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that > they had been looking at. So it was on the activate event that this > was to be checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 22:08:44 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:08:44 -0500 Subject: [AccessD] .SendObject when Outlook is not present Message-ID: I have a client who feels he will have contractors who will have Access 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to remove any references to Outlook. Well, thing is, I did not have a reference to outlook, I had Access sending some tables through .SendObject, and also I in another situation use Excel's library to attach and mail a file. I can get both applications to run these steps with no DLL reference to Outlook, however without taking Outlook itself off my machine, I cannot really be sure what would happen if the Excel or Access applications tried these steps with no Outlook. Anyone know? Will those applications still call some default e-mail client? Will they just throw off an error? Not process the command? Pls help me know what to expect, if possible, thanks. From stuart at lexacorp.com.pg Mon Dec 5 22:57:34 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 14:57:34 +1000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: Message-ID: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> SendObject will send through whatever the default MAPI client is on the workstation in question. If nothing else has been installed, it is likely to use OE or Windows Mail depending on the OS. In my case, it invokes Pegasus Mail. If there is no installed MAPI mail client, they should get a message telling them that they need to configure one. -- Stuart On 5 Dec 2011 at 23:08, Benson, William (GE Global Re wrote: > I have a client who feels he will have contractors who will have Access > 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to > remove any references to Outlook. Well, thing is, I did not have a > reference to outlook, I had Access sending some tables through > .SendObject, and also I in another situation use Excel's library to > attach and mail a file. I can get both applications to run these steps > with no DLL reference to Outlook, however without taking Outlook itself > off my machine, I cannot really be sure what would happen if the Excel > or Access applications tried these steps with no Outlook. Anyone know? > Will those applications still call some default e-mail client? Will they > just throw off an error? Not process the command? > > Pls help me know what to expect, if possible, thanks. > > -- > 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 Dec 6 09:04:37 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:04:37 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: Me too. A few years back I did an app used by several locations, a couple of which didn't use Outlook but Pegasus instead, and it was trivial. I *love * when that happens! Arthur On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan wrote: > SendObject will send through whatever the default MAPI client is on the > workstation in > question. If nothing else has been installed, it is likely to use OE or > Windows Mail depending > on the OS. In my case, it invokes Pegasus Mail. > > If there is no installed MAPI mail client, they should get a message > telling them that they > need to configure one. > > From fuller.artful at gmail.com Tue Dec 6 09:27:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:27:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. Some > designs are sooo close to being optimal there is little advantage in > tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From vbacreations at gmail.com Tue Dec 6 13:01:09 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:01:09 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a couple > of which didn't use Outlook but Pegasus instead, and it was trivial. I > *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan >wrote: > > > SendObject will send through whatever the default MAPI client is on the > > workstation in > > question. If nothing else has been installed, it is likely to use OE or > > Windows Mail depending > > on the OS. In my case, it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they > > need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Dec 6 13:06:44 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:06:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <6EC310281C8E4710AEC02AE4B4E90497@XPS> References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Tue Dec 6 14:00:06 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 06 Dec 2011 15:00:06 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 16:52:04 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 22:52:04 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> " Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." Looks good, just purchased a copy from Amazon - thanks :) Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 7 December 2011 2:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. > Some designs are sooo close to being optimal there is little advantage > in tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 17:00:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 23:00:21 +0000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Microsoft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:01:00 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:01:00 -0500 Subject: [AccessD] Turn off delete buffer warning for FasterDelete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: I accept the warning. I am much more concerned that deleting records from an open query or table has such an undo feature. Once I have pulled the trigger on a delete query, I have already done my homework. Really. Famous last words. Thanks again! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, December 06, 2011 3:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Turn off delete buffer warning for FasterDelete Queries Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, > William (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:09:51 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:09:51 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: That's a lot of dough! Very glad to be kept informed of issues like this Darryl, thanks for taking the time to add. I find it harder and harder, since working mostly from home, to keep abreast of what's going on; very gratified for others weighing in on such matters. Another issue lately is retention. I just took a battery of tests through a psychological testing company, and one of the things I found out is that with a lot of detail, my brain needs a few passes before anything sinks in enough to recall it later. If one has to solve a problem, hunts around on Google for a solution, plops it in and the program works ... forget about remembering it. If I have to mess with it and mess with it til it finally works, there is a chance. Maybe to a degree this is a lot of folk, not just me - but I have seen a marked decrease in what I can retain over only a few short years. This is my long way of saying "I may ask this again some time" and please, please don't take it as a sign of not paying attention. You can see by the fact that I have read and replied, that I was at least in the here and now, paying attention. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, December 06, 2011 6:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Micros oft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Dec 6 17:27:16 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Dec 2011 17:27:16 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: > > Benson, William: > I accept the warning. I am much more concerned that deleting records > from an open query or table has such an undo feature. Once I have pulled > the trigger on a delete query, I have already done my homework. > > Really. > > Famous last words. > > Thanks again! > I take it that you are running the delete queries from the interface. Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm options: Record Changes, Document Deletions, Action Queries? This should turn off all the safeties. I mean really, what could possibly go wrong? ;) -Ken From fuller.artful at gmail.com Tue Dec 6 19:49:54 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 20:49:54 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's an awesome work, IMO. I'm certain that you will love it, and your kids will get the best possible intro to the world of math, not to mention such things as the reason why some plants have opposing branches while others have spiraling branches, and a zillion other topics too. Have fun! I know you will. A. On Tue, Dec 6, 2011 at 5:52 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " Tangentially relevant and directed to listers with children: I want to > recommend at the highest level a book called "A Beginner's Guide to > Constructing the Universe" by Michael S. Schneider. You and your children > will have 110% fun going through this book, and both of you will end up > smarter." > > Looks good, just purchased a copy from Amazon - thanks :) > > Cheers > Darryl > > From vbacreations at gmail.com Wed Dec 7 00:54:44 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 01:54:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Hi Ken. I want the option for the current query only; that would I think affect other queries...? On Dec 6, 2011 6:28 PM, "Kenneth Ismert" wrote: > > > > Benson, William: > > I accept the warning. I am much more concerned that deleting records > > from an open query or table has such an undo feature. Once I have pulled > > the trigger on a delete query, I have already done my homework. > > > > Really. > > > > Famous last words. > > > > Thanks again! > > > > I take it that you are running the delete queries from the interface. > > Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm > options: Record Changes, Document Deletions, Action Queries? > > This should turn off all the safeties. I mean really, what could possibly > go wrong? ;) > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 7 01:29:13 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 02:29:13 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I wonder if the original website registration ran out and got scooped up by a competition On Dec 1, 2011 6:29 PM, "Doug Steele" wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > > > Well, I persevered. The links provided by John and Doug took me to the > > same place where all the big green arrows download GIMP. However, by > > following carefully and clicking on the dotpdn button in the table near > the > > bottom of the page, I was taken to the page where small text says to > click > > the free link over on the far right. In every page of this journey, the > > big green arrows all were for GIMP. What a strange experience. > > > > T > > > > Tina Norris Fields > > tinanfields at torchlake.com > > 231-322-2787 > > > > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > > > >> The download says paint.net but then leads to a gimp download and a > site > >> that WOT is less than thrilled with. What's going on? > >> > >> Charlotte Foust > >> > >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > >> tinanfields at torchlake.com> wrote: > >> > >> When I try to find paint.net > >>> > >>> for download, I find GIMP. Are they the same thing? > >>> T > >>> > >>> Tina Norris Fields > >>> tinanfields at torchlake.com > >>> 231-322-2787 > >>> > >>> > >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: > >>> > >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a > >>>> glance) looks better. Nice one ! :) thanks. > >>>> > >>>> Will download and have a look. > >>>> > >>>> Cheers > >>>> Darryl. > >>>> > >>>> > >>>> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:10:57 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:10:57 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: All, About a week or two ago, someone posted a link to a website that had info about products to enhance Windows. One of these was "Fences". I had never heard of Fences before so I installed it and I find it to be quite useful. Now I am trying to locate the info about the other products. I evidently did not keep the AccessD Email and I can't seem to get the AccessD Archive to work. Does anyone have the original post or the link? Thanks, Brad From dbdoug at gmail.com Wed Dec 7 15:15:47 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:15:47 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feedburner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:20:29 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:20:29 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Doug, Thanks. I owe ya a beer! Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, December 07, 2011 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed burner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From tinanfields at torchlake.com Wed Dec 7 15:33:11 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 16:33:11 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDFDB97.8080605@torchlake.com> Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > From dbdoug at gmail.com Wed Dec 7 15:44:43 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:44:43 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I will gladly accept one! Doug On Wed, Dec 7, 2011 at 1:20 PM, Brad Marks wrote: > Doug, > > Thanks. > > I owe ya a beer! > > Brad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Wednesday, December 07, 2011 3:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities > (such asFences) > > Here's a link to a later post on the subject of useful software from > Scott > Hanselman: > > http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed > burner.com%2FScottHanselman > > On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks > wrote: > > > All, > > > > About a week or two ago, someone posted a link to a website that had > > info about products to enhance Windows. One of these was "Fences". I > > had never heard of Fences before so I installed it and I find it to be > > quite useful. > > > > Now I am trying to locate the info about the other products. > > > > I evidently did not keep the AccessD Email and I can't seem to get the > > AccessD Archive to work. > > > > Does anyone have the original post or the link? > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 16:49:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 22:49:07 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDFDB97.8080605@torchlake.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Dec 7 17:04:15 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:04:15 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF0EF.7000202@torchlake.com> Darryl, Thanks, that is a terrific story. Yes, I think I finally have this lesson learned. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 5:49 PM, Darryl Collins wrote: > " and in my heart of hearts I did know it." > > Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. > > I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields > Sent: Thursday, 8 December 2011 8:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I should be able to do this - resolved > > Dear Friends, > > Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. > > When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. > > I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/4/2011 1:47 PM, Tina Norris Fields wrote: >> Dear Friends, >> >> Okay, I have a form with a combo-box for selecting the counselor who >> will be assigned to the student whose record is displayed in the >> form. Once that is updated, I want the matching name of the counselor >> to placed in the student's record. >> >> So combo-box is looking into the tblCounselor, which has two fields >> Counselor_ID and Counselor_LName. Once the choice is made, I want to >> update the field Stu_Counselor in the tblStudent with the name found >> in tblCounselor.Counselor_LName. >> >> I'm writing gibberish in my AfterUpdate event and I need to be >> rescued. Any help waking up my brain? >> >> Thanks, >> T >> From djkr at msn.com Wed Dec 7 17:11:59 2011 From: djkr at msn.com (DJK (John) Robinson) Date: Wed, 7 Dec 2011 23:11:59 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: A place I worked for a while had Christmas Day fall in the fourth half of the third month, for similar reasons - yes, the *fourth* half! Never assume anything ... John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 07 December 2011 22:49 To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Dec 7 17:29:33 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:29:33 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF6DD.9050605@torchlake.com> Thank you, Arthur. I have just ordered the book. "Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From darryl at whittleconsulting.com.au Wed Dec 7 17:33:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:33:02 +0000 Subject: [AccessD] Advice on A2010.... Message-ID: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From dbdoug at gmail.com Wed Dec 7 17:43:22 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 15:43:22 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 17:59:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:59:26 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. Thanks Doug! Cheers D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Dec 7 18:05:42 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 00:05:42 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF05D@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaah, I dunno. It is sooo damn random. Sometimes the same database will function for hours without issue. This morning, it is it misbehaving almost immediately. Restarted the app and now it is purring along like a little kitten - no errors or anything. Sheesh. I don't mind things not working, but it is so much easier to find the problem when there are consistent symptoms. It is the seemingly randomness that does my head in. Just when I get relaxed about it, it will fail. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Dec 7 18:40:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 07 Dec 2011 19:40:01 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001601ccb541$ebc7bfe0$c3573fa0$@net> 37 tab multipage control ? That's HUGE. I had horrible experience with multipage in 2007.... I am sure the same bugs have been carried thru to 2010. Multipage was very "touchy"....especially during design mode. I could easily crash Access consistently just by moving controls around. From stuart at lexacorp.com.pg Wed Dec 7 19:03:11 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Dec 2011 11:03:11 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > From darryl at whittleconsulting.com.au Wed Dec 7 19:16:56 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 01:16:56 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EF391@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks guys. That is the angle I am taking. Even though I have worked on databases with many more bound controls et al, it seems this is the most likely suspect for these issues. Going to unbound everything and use value only lists in the list boxes. Luckily I have all code to do this fairly quickly. Should only take a couple of days. Will let you know how it goes. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 8 December 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > -- 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 Dec 7 23:22:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 00:22:04 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I've got one like this, too. (Don't we all?) Way back when, I did an app for an insurance company's pension fund arm. The app worked just fine and everyone was happy, save one problem. (Preamble: pension funds come and go.) Everything was rock-solid save one particular report, about 90% of whose data was correct but the remainder was wonky. I fought this problem on and off for about 6 weeks, to no avail. Then one day in a meeting, someone mentioned that the company uses 360-day years. They just wrote off the other 5.26 days as if they didn't exist. Hence, on about 10& of the records, depending on calendar dates of the relevant funds, the reports were a few dollars out there and there. Once this was explained, I commented out all my clever date calculations (e.g. 365.26 is how to anticipate leap years) and pretended the world was flat, and automagically all the data conformed to the flat earth. Whew! At last, I was free to find a real job. A. From marksimms at verizon.net Thu Dec 8 07:38:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 08:38:12 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <008301ccb5ae$a1bac290$e53047b0$@net> Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? From df.waters at comcast.net Thu Dec 8 07:47:23 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 07:47:23 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) Message-ID: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 8 08:18:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:18:12 -0500 Subject: [AccessD] SQL Compression - interesting read Message-ID: <4EE0C724.1040604@colbyconsulting.com> http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/what-is-page-compression.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:29:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:29:32 -0500 Subject: [AccessD] Compression Interesting read - part 2 Message-ID: <4EE0C9CC.8090103@colbyconsulting.com> I had to go find this... http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:31:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:31:27 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <008301ccb5ae$a1bac290$e53047b0$@net> References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> <008301ccb5ae$a1bac290$e53047b0$@net> Message-ID: <4EE0CA3F.3020100@colbyconsulting.com> > So what's more important: the analysis or the coding ? This is not either / or. Problems on either end can be just as devastating. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/8/2011 8:38 AM, Mark Simms wrote: > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > From tinanfields at torchlake.com Thu Dec 8 09:07:54 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:07:54 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE0D2CA.9010609@torchlake.com> Thanks for keeping me company, Darryl. I'm going to make up a plaque that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 6:59 PM, Darryl Collins wrote: > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > Thanks Doug! > > Cheers > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, 8 December 2011 10:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Advice on A2010.... > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > 2003 if I remember correctly, the total number of open recordsets (or > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > Doug > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > >> Hi everyone, >> >> Boy, A2010 does some weird stuff. >> >> I have an accdb database. It is on my local drive, it is only me who >> uses it, it is only me who can access it. It has DAO code it uses to >> do stuff with recordsets within the currentDB only. There are no >> external connections. There is no BE / FE setup (doesn't need it). >> This database is tiny (about 7 MB) - doesn't have a lot of data or >> really do any heavy processing at all - basic stuff. >> >> The only thing that is unusual for me is I have one main form, which >> has >> 37 tabs on it which in turn has listboxes and subforms - and the >> subforms are bound to their tables - I would usually use unbound, but >> in this case there is no point. Besides they are all really small datasets. >> >> For weeks this has worked pretty well - then suddenly I started >> getting an error when trying to make design changes "Not opened in >> Exclusive mode - another user is using the database - can't save >> changes" was the gist of it. Now how can that happen? There was some >> suggestion from Google search that it maybe one of the DAO recordsets >> was being left opened and thus Access thinks there is a open >> connection and thus another user(?). I double checked I was closing >> all RS and setting them to nothing when I finished with them. >> >> Nothing seemed to work. After much poking around on Google I found >> this piece of code and added it. It seems to have helped, but I am >> not sure if that is just co-incidence or not. I had done a few tweaks >> and rebuild a couple of modules so hard to say: >> >> "'Initiate Passive Shutdown - do not allow new Users >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" >> >> This is meant to force access to reject any new users to the database. >> I wish I could say with confidence that this was what fixed it. I >> guess I could comment out the code and do some tests, but right now, >> after losing two days, I am just wanting to catch up on the days I have lost. >> >> The other weird issue I get at some point when using this database is >> "You don't have enough resources to perform the operation". WTF? >> Again this will fail on doing something low impact and simple. It is >> like Access hit some sort of limit (again maybe open connections via >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). >> But all the DAO connections are all being closed in the code - and >> usually only 1 is open at any one time (a max of 3 in a couple of >> modules) and they are all set to nothing once I have finished with >> them. Besides they are also doing bugger all work. Maybe updating 10 >> records out of a total of 50 >> - that sort of thing. What 'resources' could possibly be being >> exhausted with that sort of workload? A restart of the app will >> usually fix the problem, but what is going here? >> >> Has anyone else had these issues, and any ideas on what to do about them? >> >> Cheers >> Darryl. >> >> Darryl Collins >> Whittle Consulting Pty Ltd >> Suite 8, 660 Canterbury Rd >> Surrey Hills, VIC, 3127 >> >> p: +61 3 9898 3242 >> m: +61 418 381 548 >> f: +61 3 9898 1855 >> e: >> darryl at whittleconsulting.com.au> w: www.whittleconsulting.com.au >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Thu Dec 8 09:18:52 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:18:52 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> Message-ID: <4EE0D55C.50508@torchlake.com> Love it! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/5/2011 7:20 PM, Stuart McLachlan wrote: > http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php > > On 6 Dec 2011 at 0:10, Darryl Collins wrote: > > >> But I still much prefer a decent paper book over them. Must be getting old ;) >> >> Just my thoughts >> Darryl. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Tuesday, 6 December 2011 10:14 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> I wouldn't have a kindle on a plate! I'd simply get an android table >> and load the reader software on it. I've never liked the kindle >> layout or feel, so I see no reason to change now. >> >> Charlotte Foust >> > From jimdettman at verizon.net Thu Dec 8 10:49:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Dec 2011 11:49:36 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 10:54:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 02:54:21 +1000 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <000001ccb5af$e9f67850$bde368f0$@comcast.net> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 chartisinsurance.com Thu Dec 8 10:57:25 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 8 Dec 2011 11:57:25 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 11:03:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 03:03:49 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0D2CA.9010609@torchlake.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> Message-ID: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Like the "fast and easy" function I put in an A97 application that I built years ago which is still in use Functiion Wait(secs as long) as long DIm t as Single t = timer Do Doevents Loop until timer = t + secs End Function It worked fine for years until a couple of months ago when they ran a monthly process late at night and the Wait function was in the middle of the loop at midnight :-( -- Stuart On 8 Dec 2011 at 10:07, Tina Norris Fields wrote: > Thanks for keeping me company, Darryl. I'm going to make up a plaque > that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. > LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/7/2011 6:59 PM, Darryl Collins wrote: > > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > > > Thanks Doug! > > > > Cheers > > D > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > > Sent: Thursday, 8 December 2011 10:43 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Advice on A2010.... > > > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > > 2003 if I remember correctly, the total number of open recordsets (or > > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > > > Doug > > > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > > > >> Hi everyone, > >> > >> Boy, A2010 does some weird stuff. > >> > >> I have an accdb database. It is on my local drive, it is only me who > >> uses it, it is only me who can access it. It has DAO code it uses to > >> do stuff with recordsets within the currentDB only. There are no > >> external connections. There is no BE / FE setup (doesn't need it). > >> This database is tiny (about 7 MB) - doesn't have a lot of data or > >> really do any heavy processing at all - basic stuff. > >> > >> The only thing that is unusual for me is I have one main form, which > >> has > >> 37 tabs on it which in turn has listboxes and subforms - and the > >> subforms are bound to their tables - I would usually use unbound, but > >> in this case there is no point. Besides they are all really small datasets. > >> > >> For weeks this has worked pretty well - then suddenly I started > >> getting an error when trying to make design changes "Not opened in > >> Exclusive mode - another user is using the database - can't save > >> changes" was the gist of it. Now how can that happen? There was some > >> suggestion from Google search that it maybe one of the DAO recordsets > >> was being left opened and thus Access thinks there is a open > >> connection and thus another user(?). I double checked I was closing > >> all RS and setting them to nothing when I finished with them. > >> > >> Nothing seemed to work. After much poking around on Google I found > >> this piece of code and added it. It seems to have helped, but I am > >> not sure if that is just co-incidence or not. I had done a few tweaks > >> and rebuild a couple of modules so hard to say: > >> > >> "'Initiate Passive Shutdown - do not allow new Users > >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > >> > >> This is meant to force access to reject any new users to the database. > >> I wish I could say with confidence that this was what fixed it. I > >> guess I could comment out the code and do some tests, but right now, > >> after losing two days, I am just wanting to catch up on the days I have lost. > >> > >> The other weird issue I get at some point when using this database is > >> "You don't have enough resources to perform the operation". WTF? > >> Again this will fail on doing something low impact and simple. It is > >> like Access hit some sort of limit (again maybe open connections via > >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > >> But all the DAO connections are all being closed in the code - and > >> usually only 1 is open at any one time (a max of 3 in a couple of > >> modules) and they are all set to nothing once I have finished with > >> them. Besides they are also doing bugger all work. Maybe updating 10 > >> records out of a total of 50 > >> - that sort of thing. What 'resources' could possibly be being > >> exhausted with that sort of workload? A restart of the app will > >> usually fix the problem, but what is going here? > >> > >> Has anyone else had these issues, and any ideas on what to do about them? > >> > >> Cheers > >> Darryl. > >> > >> Darryl Collins > >> Whittle Consulting Pty Ltd > >> Suite 8, 660 Canterbury Rd > >> Surrey Hills, VIC, 3127 > >> > >> p: +61 3 9898 3242 > >> m: +61 418 381 548 > >> f: +61 3 9898 1855 > >> e: > >> darryl at whittleconsulting.com.au >> w: www.whittleconsulting.com.au > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu Dec 8 11:05:23 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 8 Dec 2011 09:05:23 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Hi Jim: Thanks for correcting my answer - my memory didn't serve me well. The problem with my mighty recipe database was the control count. Doug On Thu, Dec 8, 2011 at 8:49 AM, Jim Dettman wrote: > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have > one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I > would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you > use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count > towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has 37 > tabs on it which in turn has listboxes and subforms - and the subforms are > bound to their tables - I would usually use unbound, but in this case there > is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. > Now how can that happen? There was some suggestion from Google search that > it maybe one of the DAO recordsets was being left opened and thus Access > thinks there is a open connection and thus another user(?). I double > checked I was closing all RS and setting them to nothing when I finished > with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will > fail on doing something low impact and simple. It is like Access hit some > sort of limit (again maybe open connections via DAO.Recordset(?) - this is > where it usually fails when using code to update stuff via DAO). But all > the DAO connections are all being closed in the code - and usually only 1 > is > open at any one time (a max of 3 in a couple of modules) and they are all > set to nothing once I have finished with them. Besides they are also doing > bugger all work. Maybe updating 10 records out of a total of 50 - that > sort > of thing. What 'resources' could possibly be being exhausted with that > sort > of workload? A restart of the app will usually fix the problem, but what > is > going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Thu Dec 8 13:29:15 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 8 Dec 2011 13:29:15 -0600 Subject: [AccessD] Requirements (was: I should be able to do this -resolved) References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: "Weeks of Computer Programming Can Save You Hours of Planning" :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, December 08, 2011 7:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements (was: I should be able to do this -resolved) Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ab-mi at post3.tele.dk Thu Dec 8 14:02:59 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 8 Dec 2011 21:02:59 +0100 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Oh what a wonderful statement! Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Brad Marks Sendt: 8. december 2011 20:29 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Requirements (was: I should be able to do this-resolved) "Weeks of Computer Programming Can Save You Hours of Planning" :-) From df.waters at comcast.net Thu Dec 8 14:46:56 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 14:46:56 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> Message-ID: <001301ccb5ea$866c7010$93455030$@comcast.net> By Definition, if you are using Agile, building flexibility into your design is one of the developer's requirements! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 08, 2011 10:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this - resolved) But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with > bad plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 8 14:52:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 15:52:02 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Message-ID: <004401ccb5eb$3ce95b50$b6bc11f0$@net> I love this story !!! > Like the "fast and easy" function I put in an A97 application that I > built years ago which is still > in use > > Function Wait(secs as long) as long > DIm t as Single > t = timer > Do > Doevents > Loop until timer = t + secs > End Function > > It worked fine for years until a couple of months ago when they ran a > monthly process late at > night and the Wait function was in the middle of the loop at midnight From stuart at lexacorp.com.pg Thu Dec 8 15:06:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 07:06:41 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <004401ccb5eb$3ce95b50$b6bc11f0$@net> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> Message-ID: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Yep, there was "no way" that this would ever be run other than over a couple of hours during a normal work day. :-) -- Stuart On 8 Dec 2011 at 15:52, Mark Simms wrote: > I love this story !!! > > > Like the "fast and easy" function I put in an A97 application that I > > built years ago which is still > > in use > > > > Function Wait(secs as long) as long > > DIm t as Single > > t = timer > > Do > > Doevents > > Loop until timer = t + secs > > End Function > > > > It worked fine for years until a couple of months ago when they ran a > > monthly process late at > > night and the Wait function was in the middle of the loop at midnight > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu Dec 8 15:29:21 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Dec 2011 13:29:21 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Thu Dec 8 16:07:32 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 08:07:32 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, , Message-ID: <4EE13524.23286.13D57150@stuart.lexacorp.com.pg> That was one of the benefits of EatBloat. One way to reset the control count is Application.SaveAsText/LoadFromText. -- Stuart On 8 Dec 2011 at 13:29, Charlotte Foust wrote: > Copies of the form are full copies with the same limits. The control count > is part of the properties of the form, so importing it doesn't change a > thing. You can create a new form and copy the controls to it but then you > have to go through replacing the old form with the new one. > Charlotte Foust > On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > Jim, > > > > Regarding the (crazy) form control limit. Do you know if the count gets > > reset if you make a copy of the form? Does the new copy have a controls > > count equal to the number of controls currently on the form? What about > > importing the form into another MDB file? > > > > Just curious, I've not yet hit that limit. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > > Sent: Thursday, December 08, 2011 11:50 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Advice on A2010.... > > > > > > Couple of comments: > > > > 1. In regards to Doug's comments on connections, you really should only > > have one with DAO as long as your not using Opendatabase. Always using > > currentdb(), will use the same connection. Don't see where your bumping > > into the 255 user limit there. > > > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > > used for every table and field reference. A form with 37 tabs is huge and > > I would guess that's what your running into. > > > > 3. Access is limited to 754 controls over the life of a form, so watch how > > big you get (note the limit is not 754 - deleting and creating a control > > does not decrement/increment the count, it only increments it). Surprised > > you didn't run into that one. > > > > 4. If your working in ADO, make sure you use CurrentProject.Connection > > This is Access/Jet's ADO connection for the DB you opened and as long as > > you use it, you'll show up as only one user. If you open your open ADO > > connections, each will count as a user (when opened together) and will > > count towards the 255 limit. > > > > HTH, > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > > Sent: Wednesday, December 07, 2011 06:33 PM > > To: Access Developers discussion and problem solving > > (accessd at databaseadvisors.com) > > Subject: [AccessD] Advice on A2010.... > > > > Hi everyone, > > > > Boy, A2010 does some weird stuff. > > > > I have an accdb database. It is on my local drive, it is only me who uses > > it, it is only me who can access it. It has DAO code it uses to do stuff > > with recordsets within the currentDB only. There are no external > > connections. There is no BE / FE setup (doesn't need it). This database is > > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > > processing at all - basic stuff. > > > > The only thing that is unusual for me is I have one main form, which has > > 37 tabs on it which in turn has listboxes and subforms - and the subforms > > are bound to their tables - I would usually use unbound, but in this case > > there is no point. Besides they are all really small datasets. > > > > For weeks this has worked pretty well - then suddenly I started getting an > > error when trying to make design changes "Not opened in Exclusive mode - > > another user is using the database - can't save changes" was the gist of it. > > Now how can that happen? There was some suggestion from Google search > > that it maybe one of the DAO recordsets was being left opened and thus > > Access thinks there is a open connection and thus another user(?). I > > double checked I was closing all RS and setting them to nothing when I > > finished with them. > > > > Nothing seemed to work. After much poking around on Google I found this > > piece of code and added it. It seems to have helped, but I am not sure if > > that is just co-incidence or not. I had done a few tweaks and rebuild a > > couple of modules so hard to say: > > > > "'Initiate Passive Shutdown - do not allow new Users > > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > > > This is meant to force access to reject any new users to the database. I > > wish I could say with confidence that this was what fixed it. I guess I > > could comment out the code and do some tests, but right now, after losing > > two days, I am just wanting to catch up on the days I have lost. > > > > The other weird issue I get at some point when using this database is "You > > don't have enough resources to perform the operation". WTF? Again this > > will fail on doing something low impact and simple. It is like Access hit > > some sort of limit (again maybe open connections via DAO.Recordset(?) - > > this is where it usually fails when using code to update stuff via DAO). > > But all the DAO connections are all being closed in the code - and usually > > only 1 is open at any one time (a max of 3 in a couple of modules) and they > > are all set to nothing once I have finished with them. Besides they are > > also doing bugger all work. Maybe updating 10 records out of a total of 50 > > - that sort of thing. What 'resources' could possibly be being exhausted > > with that sort of workload? A restart of the app will usually fix the > > problem, but what is going here? > > > > Has anyone else had these issues, and any ideas on what to do about them? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > 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 Thu Dec 8 16:54:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 02:54:41 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE0C9CC.8090103@colbyconsulting.com> References: <4EE0C9CC.8090103@colbyconsulting.com> Message-ID: Hi John -- Yes, this PAGE compression feature makes using natural keys for OLAP systems more preferable than using surrogate keys.. Thank you. -- Shamil. 08 ??????? 2011, 18:31 ?? jwcolby : > I had to go find this... > > http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kismert at gmail.com Thu Dec 8 17:15:30 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 8 Dec 2011 17:15:30 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Heenan, Lambert: > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Jim Dettman: > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > There is one moderately sneaky way around this limit. Steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. Count the number of controls on your form. With the form in design view, enter this in the Immediate window: ? Forms("frmFoo").Controls.Count 2. Save the form as text, using this command: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access file. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" You should now be able to add new controls to your previously 'stuck' form. It is a little work, but probably less than copying all the controls, code and properties over to a new form. -Ken From stuart at lexacorp.com.pg Thu Dec 8 17:26:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 09:26:19 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, Message-ID: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Sorry, you've lost me completely there. Would you care to explain how data page compression has any bearing on natural v surrogate keys? -- Stuart On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > Hi John -- > > Yes, this PAGE compression feature makes using natural keys for OLAP > systems more preferable than using surrogate keys.. > > Thank you. > > -- Shamil. > From darryl at whittleconsulting.com.au Thu Dec 8 17:45:35 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:45:35 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Well, Yes and no. If you are at the absolute limit because you have > 754 controls then you are screwed - and moving to a new form won't help at all. On an existing form that is corrupt or crashing though, there is hope. Access forms are a bit stupid it seems when it comes to counting controls. If you have a single form and add 753 controls, Save the form. Then you delete the controls and add another 5. Then the form will crash even though there are only 5 controls on the form. Trouble is, the control count is absolute and doesn't decrease when you delete controls - everytime you add a control it adds 1 to the count regardless of if the control still exists or not. This is highly bothersome if you consistently copy a default type form and then remove and add new controls. Sooner or later you hit the limit regardless of the number of controls on the form. In this instance importing the controls into a brand new form DOES help, as the control count starts a zero on a new form. Many times, on control heavy forms I have used this to get out of bother. Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 December 2011 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count > gets reset if you make a copy of the form? Does the new copy have a > controls count equal to the number of controls currently on the form? > What about importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should > only have one with DAO as long as your not using Opendatabase. Always > using currentdb(), will use the same connection. Don't see where your > bumping into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID > is used for every table and field reference. A form with 37 tabs is > huge and I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch > how big you get (note the limit is not 754 - deleting and creating a > control does not decrement/increment the count, it only increments > it). Surprised you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long > as you use it, you'll show up as only one user. If you open your open > ADO connections, each will count as a user (when opened together) and > will count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Dec 8 17:52:53 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:52:53 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F064A@SINPRD0402MB099.apcprd04.prod.outlook.com> Jim, Many thanks. Yep, Point 1 was initially my main concern with using 37 tabs on a single form. I was aware of the control limit on forms and have hit it many times in the past, but usually due to the issue I mentioned in the other post (control count not adjusting when controls are deleted etc). I feel point 2 is probably what is happening. 2048 sound like a big number, but if every listbox is bound then you can gobble them up rather quickly. I need to leave some of the subforms bound as I am using them as datasheet views. However, yesterday I bit the bullet and did what I should have done from day 1 and converted all of the listboxes to Value lists only (waves at Tina ;)). Whilst I was running out of enthusiasm with the huge shebang and I need to test it a lot more, the database didn't seem to have any more issues (fingers crossed) and using value lists load and respond a darn site faster anyway. Only down side to them is there is a limit to just how much data you can fit into a value list (at least loading them they I am via an "adstring" command). In this case it doesn't matter. Most of the lists only have 1-20 entries anyway - so easy. I am using DAO for all connections - well I was, I am using an ADO connection to create the listbox strings for the value list. But that is all working good. Really appreciate your time and effort on this. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 9 December 2011 3:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Dec 8 19:33:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:33:14 -0500 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: <003d01ccb612$85552c80$8fff8580$@net> PULEASE - no more KEY WARS !!!! (although Shamil is right) > Sorry, you've lost me completely there. Would you care to explain how > data page compression has any bearing on natural v surrogate keys? From marksimms at verizon.net Thu Dec 8 19:35:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:35:06 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <003e01ccb612$c81e3070$585a9150$@net> Re: "Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA." Two words: MEMORY MANAGEMENT Access is still written in C++ AFAIK. From fuller.artful at gmail.com Thu Dec 8 21:41:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 22:41:04 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > From darryl at whittleconsulting.com.au Thu Dec 8 22:02:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Dec 2011 04:02:47 +0000 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <56653D383CB80341995245C537A9E7B55F0794@SINPRD0402MB099.apcprd04.prod.outlook.com> Heh.. Outstanding. And I totally agree - many times I have ended up making much more mulla than the original spec as the stakeholders are unable to agree on much. Person X will request this feature, Person Y want something else. You add both, and then their manager will make changes again - or remove the said functions. Good for the invoice, but it can be frustrating. Indeed for one client I almost never deleted any feature they had been requested and built, I would merely turn if 'off' or made it invisible. It was fairly common for a 'deleted' function to be reinstated in a month or two at the insistence of someone in the organisation. Fun stuff. I always document who requested what and when - and often even show it as a line item on the invoice for those hours. This makes any discussion about budget overruns easier to deal with I find. Sure, there maybe some heat and fire from the accounting dept, but at least I am not in the firing line ;) Live and learn... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 9 December 2011 2:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this-resolved) Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Fri Dec 9 03:26:35 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:26:35 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- Thank you for your question. AFAIU MS SQL page compression feature substitutes all the duplicate entries in data records columns of a DB file page by one/two/... bytes long references to "dictionary" area located on the same page. By "duplicate entries" are meant not only full length columns' values but also their values' leading parts... Please read the articles/blog entries JC referred in his postings for details. Please correct me if you'll find I'm wrong. Thank you. -- Shamil P.S. Stuart, please note I've written "using natural keys for *OLAP* systems" - I have no any intentions in re-starting "surrogate vs. natural keys" generic discussion covering OLTP systems - I'm *currently* strong advocate of using surrogate keys in OLTP systems.... 09 ??????? 2011, 03:27 ?? "Stuart McLachlan" : > Sorry, you've lost me completely there. Would you care to explain how data page > compression has any bearing on natural v surrogate keys? > > -- > Stuart > > On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > > > Hi John -- > > > > Yes, this PAGE compression feature makes using natural keys for OLAP > > systems more preferable than using surrogate keys.. > > > > Thank you. > > > > -- Shamil. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 9 03:30:29 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:30:29 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <003d01ccb612$85552c80$8fff8580$@net> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> <003d01ccb612$85552c80$8fff8580$@net> Message-ID: Hi Mark -- Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. Thank you. -- Shamil 09 ??????? 2011, 05:34 ?? "Mark Simms" : > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > Sorry, you've lost me completely there. Would you care to explain how > > data page compression has any bearing on natural v surrogate keys? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 9 03:43:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 19:43:07 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, <003d01ccb612$85552c80$8fff8580$@net>, Message-ID: <4EE1D82B.9612.16524732@stuart.lexacorp.com.pg> I wasn't trying to start a war either :-) I just couldn't see the relationship between data compression and the different type of keys. I'm still not sure that I do, I will have to look at the original article more carefully. On 9 Dec 2011 at 13:30, Salakhetdinov Shamil wrote: > Hi Mark -- > > Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. > > Thank you. > > -- Shamil > > > 09 2011, 05:34 "Mark Simms" : > > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > > > Sorry, you've lost me completely there. Would you care to explain how > > > data page compression has any bearing on natural v surrogate keys? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Fri Dec 9 04:07:28 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:07:28 +1300 Subject: [AccessD] OpenRecordset Error Message-ID: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Fri Dec 9 04:22:23 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:22:23 +1300 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.c o.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111209102235.CGYG28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Never mind. I found it - I had closed db in an earlier part of the code between setting it and referring to rst2. At 9/12/2011, David Emerson wrote: >It is getting late. Can anyone see why I am getting error 91 Object >variable or With block variable not set) when the "Set rst2" line is >run? I have checked the value of strSQL and it looks ok. I have >put the sql into a query and it returns the expected result. Could >it be because OpenRecordset doesn't like group by queries? > > Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String > > Set db = CurrentDb() > > strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, > tblTenantInvoiceMeter.TenantInvoiceIDNo " > strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN > tblTenantInvoiceMeterTran ON > tblTenantInvoiceMeter.TenantInvoiceMeterID = > tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " > strSQL = strSQL & "GROUP BY > tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING > tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" > Set rst2 = db.OpenRecordset(strSQL) > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Dec 9 08:10:03 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 9 Dec 2011 06:10:03 -0800 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I can't see it either but what I do in cases like this is put strSQL into a text box on my form, then copy the contest of the text box to the SQL view of a new query and go to design view. If it makes it that far, I run it. Lots of times it will tell me what the real error is. The error 91 would seem to be pointing to db as not being set. Is the reference to DAO set correctly? The next thing I'd do is Dim db2 as dao.Databaser and set db2 = CurrentDb. Then use db2 to set rst2 and see if it makes a difference. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, December 09, 2011 2:07 AM To: access Developers discussion and problem solving Subject: [AccessD] OpenRecordset Error It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 9 10:41:59 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:41:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Message-ID: <4EE23A57.40009@torchlake.com> Oh boy! Yeah, the user has a very different perspective from the developer. My township had an Excel spreadsheet for registered voters. The state developed a new standard and the spreadsheet had to be updated to match. Of course, in the township's spreadsheet the voter's name was just one cell, with no standardization for data entry (my name, for instance, could have been entered as "Tina Norris Fields," "Fields, Tina N.," "Fields, Tina Norris," "Mr.s Tina Fields," and any other configurations you can think of). So, I was asked to help. When it got to the field for a name suffix, such as "Jr.," "Sr.," "III," "Esq." and the like, the office assistant actually said to me, "No, we don't have to worry about that, there aren't that many of them." It had never dawned on her that the field would be required if there was even one person with a name suffix. I get it that our different perspectives color the way we see the problem. I just haven't figured out how to properly anticipate the user's likely take on it. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 4:06 PM, Stuart McLachlan wrote: > Yep, there was "no way" that this would ever be run other than over a couple of hours during > a normal work day. :-) > From tinanfields at torchlake.com Fri Dec 9 10:42:55 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:42:55 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23A8F.4020205@torchlake.com> ROTFLMAO!!! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 2:29 PM, Brad Marks wrote: > "Weeks of Computer Programming Can Save You Hours of Planning" > > :-) > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, December 08, 2011 7:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Requirements (was: I should be able to do this > -resolved) > > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Fri Dec 9 10:45:36 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:45:36 -0500 Subject: [AccessD] Requirements (was: I should be able to dothis-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23B30.2050302@torchlake.com> Yay, Arthur! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 10:41 PM, Arthur Fuller wrote: > Referring back to my original whine about this problem, in the absence of a > definition of calendar-years, how was I supposed to know there might be a > difference between the real world and the world of pension-funds? A > pension-fund specialist or programmer of apps in this field might have > known to ask this question, but I didn't, nor did any of the > requirements-people deem it worth mentioning. > > Granted, now that I've been severely bitten and savaged by this, I know > enough to ask about the definition of a year. But even granting that, what > about the definition of a month? How to handle leap-years? How many > Requirements-meetings shall be consumed discovering these anomalies? Thank > God that I have subsequently learned that Gathering and Verifying > Requirements is a (and perhaps The Most) billable item on the ultimate > invoice; and that any subsequent changes to the Requirements document is > also billable vis-a-vis the Development spec. The beauty part of this > arrangement is that when some flunky wants this to work that way instead of > the previously-accepted spec, I get to say, "Ok, but it's going to cost you > another $10+K. Are you sure you want to make this change?" Which adroitly > punts the ball to her or him, and forces her or him to justify the change > in specs. Even more elegant, all such requests for change are directly > traceable to the person who requested them. LOL. Twice bitten, thrice shy, > as it were. "You want to fork with me? Go ahead, it's all billable, > directly to you! So there, MoFo." Go ahead, stretch your middle-management > muscles, but your bosses will know precisely whom to blame for the OverRuns. > > A. > > On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > >> Oh what a wonderful statement! >> Asger >> >> From jimdettman at verizon.net Fri Dec 9 10:55:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Dec 2011 11:55:24 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <413332D02540427285BB20F711596C16@XPS> No, un-changed, and nope. Every control you create increments the count. Deleting a control does not decrement it, so the count only goes up. Importing into a new DB does not reset the count. Once you hit the limit, all you can do is create a new form and then copy controls into it. You can't add any more controls to the existing form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 08, 2011 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Dec 9 11:41:03 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Dec 2011 12:41:03 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: Interesting theory, which I am in no position to prove or disprove. But I am thinking of JC's JIT-tabbed forms construct. Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Alternatively, am I missing the point completely? (Wouldn't be the first time!) A. On Fri, Dec 9, 2011 at 11:55 AM, Jim Dettman wrote: > > No, un-changed, and nope. > > Every control you create increments the count. Deleting a control does > not decrement it, so the count only goes up. > > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > > Jim. > > From marksimms at verizon.net Fri Dec 9 12:08:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 13:08:23 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <000a01ccb69d$8b0d7f20$a1287d60$@net> Is there some VBA to do this ? > all you can do is create a new form and then copy controls into it. From BradM at blackforestltd.com Fri Dec 9 13:25:17 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 9 Dec 2011 13:25:17 -0600 Subject: [AccessD] Controlling an Access 2007 EIS Application via RealVNC on the iPad - almost as good as Angry Birds References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com><47774217B25C456C9FDB2FBEE1C32CB2@XPS><413332D02540427285BB20F711596C16@XPS> <000a01ccb69d$8b0d7f20$a1287d60$@net> Message-ID: All, I have built an Executive Information System (reports, graphs, gauges, etc.) with Access 2007 that runs on a remote server. Most of the data comes from a SQL Server database. The remote server has the "server component" of a remote control product called RealVNC. Last week I learned that there was a $5.00 RealVNC "Client" component available for the iPad. (I believe that the "Server" component is about $50.00) You folks may already being using this kind of stuff, but this was a new adventure for me. Picture this... sitting in the living room at night, feet up on the recliner, beer in one hand, "Dancing with the Stars" on TV, fireplace is stoked up (Minnesota), pretending to be carrying on a conversation with my wife, but really controlling the EIS Access application on the iPad. As we used to say in the 1960's "Wow... far out - this is a whole bunch of groovey". I guess the younger generation would say something like "This Rocks". Anyway, being able to use this application on the iPad (and future iPhone) opens up all kinds of new possibilities. Admittedly this isn't the ticket for an application that demands a ton of data entry, but for an inquiry system, it seems pretty cool. The only problem is that we may now need to get a second iPad as my wife, kids, and two grandkids are pretty hooked on Angry Birds :-) Brad From jwcolby at colbyconsulting.com Fri Dec 9 13:29:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Dec 2011 14:29:42 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <4EE261A6.4080505@colbyconsulting.com> >Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Nope it doesn't remain in memory if the subform on a tab unloads when you click off a tab. All objects on any form or subform loads into memory when the form loads, and unloads when the form unloads. My JIT stuff simply delays the loading of the subform until the user clicks the tab that the subform is on. I then (may) unload the subform(s) on that tab when the user clicks on another tab. The database connections form a pool. As any object in Access needs a connection, it goes to the pool to get one and when that object closes it returns the connection to the pool. The objects on a form are related to the number of available connections in that when it is time to load a form, all connections that the loading form needs have to exist (be available) when the form loads. However as the form unloads, it returns the connections back to the pool. That is quite the point of JIT subforms, to only get the connections when the user actually cares (is trying to look at the subform) and return these precious connections once the user moves on. All of which has absolutely nothing to do with the number of objects (controls) a form can contain initially or how many can be added to the form right now. Each form has a similar pool of controls that it can add. The difference is that as you delete a control off a form it does not return that "spot" in the pool back to the pool. Thus over time, as you add and delete controls on the form, the number of available "spots" slowly diminishes until they are all used up. This "objects on a given form" pool has nothing to do with the "available database connections" pool. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 12:41 PM, Arthur Fuller wrote: > Interesting theory, which I am in no position to prove or disprove. But I > am thinking of JC's JIT-tabbed forms construct. Are you suggesting that > despite JC's innovative solution to the many-tabs problem, that all this > shyte remains in memory despite JC's unloading of the various sub-forms? > Alternatively, am I missing the point completely? (Wouldn't be the first > time!) > > A. From kismert at gmail.com Fri Dec 9 14:21:53 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 9 Dec 2011 14:21:53 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Stuart, Darryl, Charlotte & Jim: > Stuart McLachlan: > ... > One way to reset the control count is Application.SaveAsText/LoadFromText. > This does not work by itself. You have to reset the ItemSuffix attribute in the resulting text file before loading it back in. And, you can't have any controls with default names. See my earlier post under this topic. Darryl Collins: > ... > In this instance importing the controls into a brand new form DOES help, > as the control count starts a zero on a new form. > Many times, on control heavy forms I have used this to get out of bother. > Now why they have the limit, and why it doesn't decrease when delete > controls is a question for someone deep in the MS bunker, Redmond WA USA > Try my variation on the SaveAsText/LoadFromText method that I outlined in my earlier post. I have verified this to work. Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user. Charlotte Foust: > ... > Copies of the form are full copies with the same limits. The control > count is part of the properties of the form, so importing it doesn't change > a thing. You can create a new form and copy the controls to it but then > you have to go through replacing the old form with the new one. > > Jim Dettman: > ... > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > You both are right that imports and form copies don't reset the count. You can only copy the controls, code and properties to a new form, or use my technique. -Ken From marksimms at verizon.net Fri Dec 9 18:22:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 19:22:48 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <008601ccb6d1$d9119510$8b34bf30$@net> Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? From jwcolby at colbyconsulting.com Sat Dec 10 09:44:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Dec 2011 10:44:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <4EE37E52.2090702@colbyconsulting.com> Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, but > there are 270 controls reserved for internal use by the application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY > WASN'T THE LIMIT RAISED ? > > From john at winhaven.net Sat Dec 10 10:04:07 2011 From: john at winhaven.net (John Bartow) Date: Sat, 10 Dec 2011 10:04:07 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE37E52.2090702@colbyconsulting.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <4EE37E52.2090702@colbyconsulting.com> Message-ID: <038e01ccb755$58d63c00$0a82b400$@winhaven.net> A-hem, that's "Ribbons" ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 10, 2011 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, > but there are 270 controls reserved for internal use by the > application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS > TIME WHY WASN'T THE LIMIT RAISED ? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 10 21:14:28 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 10 Dec 2011 22:14:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> I would love to hear MS's defense of this "lifetime" limitation. Especially a number like 754! Number theorists, have at it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 09, 2011 7:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 11 18:17:22 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Dec 2011 19:17:22 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <00d701ccb7b2$ff06d000$fd147000$@gmail.com> Message-ID: <001501ccb863$6b5e5880$421b0980$@net> Bill -What Balmer did recently was to "distribute" the product manager role for Access. There are now multiple product managers...all over the globe. >From what I know, Clint Covington is either no longer involved or no longer with Microsoft. I'm sure he had taken a LOT of heat past 3 years. So he got out of the kitchen, so-to-speak. Now, NO ONE PERSON is responsible for Access. Slick move by Balmer, eh ? Never liked the guy, never will. From Chester_Kaup at kindermorgan.com Mon Dec 12 10:17:37 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 10:17:37 -0600 Subject: [AccessD] Append Query syntax error Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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 rockysmolin at bchacc.com Mon Dec 12 10:31:38 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:31:38 -0800 Subject: [AccessD] Maximize in A2010 Message-ID: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From cjlabs at att.net Mon Dec 12 10:39:58 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 10:39:58 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 10:56:56 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:56:56 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 10:57:28 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 08:57:28 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cjlabs at att.net Mon Dec 12 11:06:50 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 11:06:50 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <6126DBCEE4A74D8DB9A87053C941E480@Dell> It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 11:21:01 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 09:21:01 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <6126DBCEE4A74D8DB9A87053C941E480@Dell> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <6126DBCEE4A74D8DB9A87053C941E480@Dell> Message-ID: So far just maximizing. Forms in question open down and to the right. When I drag them up and to the left so I can see the control box, and click the maximize button, it maximizes just fine with all the controls correctly sized for the monitor. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 9:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Dec 12 11:27:10 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 11:27:10 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 11:33:41 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 09:33:41 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 12:25:41 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 12:25:41 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 12:53:14 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 10:53:14 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 13:40:44 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 13:40:44 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B96A@houex1.kindermorgan.com> I used your suggestion but was getting some duplicates. Here is the final solution I ended up with. Thanks for the help INSERT INTO [tbl Monthly Well Count] ( [Eng Area], [Well Count] ) SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Dec 12 14:25:59 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 12 Dec 2011 14:25:59 -0600 Subject: [AccessD] ACCDE Questions References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I have an Access 2007 application that I have been deploying as an ACCDR file to a small number of users. Recently, I have been thinking about deploying it as an ACCDE file. I have some basic questions. Is there a way to generate an ACCDE file via a batch script with Command Line Switches? I have done some digging but have not been able to find a way to do this. If I create an ACCDE file, it appears that I can rename it to ACCDR to accomplish further "lock down". Is this Okay to do? Are there any "Gotchas" that a person should be aware of when using ACCDE files? The application in question does not allow users to change any form, report, VBA code, etc. However, there is VBA code that does change query defs behind the scenes. Is this going to be a problem with an ACCDE file? Thanks, Brad From kismert at gmail.com Mon Dec 12 14:51:10 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 14:51:10 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation. Especially > a number like 754! Number theorists, have at it! > I can account for 255 of the 'missing' controls: Access queries have a 255 field limit. Correspondingly, on an Access form, there are 255 AccessField objects reserved for holding query row values. AccessField objects allow you to refer to the underlying field's value without binding it to a control Subtract 255 from 1024 and you get 769. So that is 754 user controls, plus 15 'system reserved'. These could be things like navigation buttons, record selectors, datasheet support, PrtDevMode and PrtMip. Mark Simms: > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME > WHY > WASN'T THE LIMIT RAISED > I can't give you specifics, but I can tell you that a project like Access has a tremendous amount of inertia. Unless you build in flexibility from the very beginning, changing fundamental constants when a project is mature becomes very difficult. The cost of fixing all the things that would break when changing limits like this would likely exceed the cost of building a new system from scratch. Thus, the emphasis on 'window dressing'. Its all flash and noise dedicated to selling the same old thing, which buys time for newer projects like LightSwitch to gain traction. -Ken From kismert at gmail.com Mon Dec 12 15:10:29 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:10:29 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > Mark Simms > Is there some VBA to do this ? > > > all you can do is create a new form and then copy controls into it. > Yes, I developed just such a product. It copies all controls and form properties over, and all properties for each control, rebuilding the form from scratch. It worked perfectly. Doing a half-assed version in VBA is not so hard. Doing it right is really, really involved. You are really better off doing it by hand. The kicker is I did this when I worked for another company, and they own the rights to the code, so I can't distribute it. Maybe one day I will make the case for them to BSD-license it. -Ken From kismert at gmail.com Mon Dec 12 15:26:50 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:26:50 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken From charlotte.foust at gmail.com Mon Dec 12 15:31:44 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 13:31:44 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: Amen, Ken. I used to have code to build forms using a code library and some templates. It was a complicated operation and took me forever to make it work, and I discovered that doing it by hand was easier. Charlotte Foust On Mon, Dec 12, 2011 at 1:10 PM, Kenneth Ismert wrote: > > > > Mark Simms > > Is there some VBA to do this ? > > > > > all you can do is create a new form and then copy controls into it. > > > > Yes, I developed just such a product. It copies all controls and form > properties over, and all properties for each control, rebuilding the form > from scratch. It worked perfectly. > > Doing a half-assed version in VBA is not so hard. Doing it right is really, > really involved. You are really better off doing it by hand. > > The kicker is I did this when I worked for another company, and they own > the rights to the code, so I can't distribute it. Maybe one day I will make > the case for them to BSD-license it. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Mon Dec 12 17:19:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:19:09 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon Dec 12 17:21:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:21:29 +0000 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Ken, That is a good and clear explanation. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, 13 December 2011 8:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Dec 12 17:41:56 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:41:56 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008501ccb927$a31e3230$e95a9690$@net> Wow - thanks for the "heads-up" Ken. Very impressive. > Doing a half-assed version in VBA is not so hard. Doing it right is > really, really involved. You are really better off doing it by hand. > From marksimms at verizon.net Mon Dec 12 17:44:33 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:44:33 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008601ccb928$009f6be0$01de43a0$@net> But let me ask...for complex forms with a lot of controls in specific positions and "tight registration"... Isn't the manual rebuild a monumental task in some cases ? > Amen, Ken. I used to have code to build forms using a code library and > some templates. It was a complicated operation and took me forever to > make it work, and I discovered that doing it by hand was easier. > > Charlotte Foust From vbacreations at gmail.com Mon Dec 12 18:36:52 2011 From: vbacreations at gmail.com (William Benson) Date: Mon, 12 Dec 2011 19:36:52 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 12 19:01:03 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 17:01:03 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <008601ccb928$009f6be0$01de43a0$@net> References: <008601ccb928$009f6be0$01de43a0$@net> Message-ID: You might change your mind if you start writing code to copy the controls over! The code I had took me forever to write and tweak and I did it only because I was building UIs for survey input that included questions and answers and used multiple subforms and navigation buttons based on a limited set of control types to capture specific types of data. There was never a time when it was totally automated. I only built the code because the company's business was corporate direct marketing and I was building survey UIs on a daily basis. It wouldn't have been worth it otherwise. Charlotte Foust On Mon, Dec 12, 2011 at 3:44 PM, Mark Simms wrote: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > > Amen, Ken. I used to have code to build forms using a code library and > > some templates. It was a complicated operation and took me forever to > > make it work, and I discovered that doing it by hand was easier. > > > > Charlotte Foust > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Mon Dec 12 19:24:49 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 17:24:49 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 08:31:59 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 09:31:59 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> The default control names may have something to do with it, but it's not the entire answer. I just ran the code below in A2003 and was able to create 895 controls. I tried the same code in other versions as well: A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Apparently the control creation limit is not a hard limit, but based on some other internal constraint. This is similar to the table ID limit, which is stated as 2048, but actually floats a bit. These limits are somehow tied to the way Access internally handles open objects, but what that process is is un-clear. Jim. Public Sub CheckControlCreation() Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 12, 2011 07:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 13 08:33:46 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 13 Dec 2011 09:33:46 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 13 09:15:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:15:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> Message-ID: <4EE76C10.4050400@colbyconsulting.com> Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From jimdettman at verizon.net Tue Dec 13 09:32:39 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 10:32:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE76C10.4050400@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> Message-ID: <5B9F45562C414FF89415B34BFB2F845A@XPS> Have always been curious about the limit; 754 is just such an odd number. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, December 13, 2011 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Dec 13 09:39:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Dec 2011 10:39:35 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: First, it's an even number, not odd. And second, a WAG... 768 - 14 overhead bytes? LOL. A. On Tue, Dec 13, 2011 at 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > From jwcolby at colbyconsulting.com Tue Dec 13 09:58:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:58:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: <4EE77628.4000404@colbyconsulting.com> >754 is just such an odd number. That it is! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, December 13, 2011 10:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Wow! > > Obviously you need answers badly or you don't have enough paying work. ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/13/2011 9:31 AM, Jim Dettman wrote: >> >> The default control names may have something to do with it, but it's not >> the entire answer. I just ran the code below in A2003 and was able to >> create 895 controls. I tried the same code in other versions as well: >> >> A2000 - 800 >> A2002 - 894 >> A2007 - 1040 >> A2010 - 1040 >> >> Apparently the control creation limit is not a hard limit, but based on >> some other internal constraint. This is similar to the table ID limit, >> which is stated as 2048, but actually floats a bit. >> >> These limits are somehow tied to the way Access internally handles open >> objects, but what that process is is un-clear. >> >> Jim. >> >> Public Sub CheckControlCreation() >> >> Dim frm As Form >> Dim ctlText As Control >> Dim ctlLabel As Control >> Dim intK As Integer >> >> ' Create form based on Customers form. >> Set frm = CreateForm() >> >> For intK = 1 To 2000 >> >> ' Create unbound default-size text box in detail section. >> Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + >> intK, 100 + intK, 200, 200) >> >> ' Create child label control for text box. >> Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", > 100, >> 100) >> >> Debug.Print ctlText.Name, ctlLabel.Name >> >> Next intK >> >> End Sub >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> Sent: Monday, December 12, 2011 07:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >> Great explanations. Thanks Mark and Ken. >> On Dec 12, 2011 6:22 PM, "Darryl Collins" >> wrote: >> >>> Thanks Ken, >>> >>> That is a good and clear explanation. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto: >>> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >>> Sent: Tuesday, 13 December 2011 8:27 AM >>> To: accessd at databaseadvisors.com >>> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >>> A2010....) >>> >>>> >>>> William Benson: >>>> I would love to hear MS's defense of this "lifetime" limitation.... >>>> >>> >>> To answer the first part of your question, it all has to do with default >>> control names. >>> >>> When you insert a control in a form, it is given a default name, like >>> text10 or label121. The counter that names the controls is the Lifetime >>> Control Limit counter. Once it hits 754, it gives up. >>> >>> The reason for that is name collisions. You can't just reset the counter, >>> especially when lots of controls on the form have default names. In this >>> scenario, Access might try to name a new control 'text203', and that name >>> would already exist. In pathological cases, all possible new names for a >>> control could already exist, and then you're stuck. >>> >>> That is why, in my earlier instructions, I required that you rename all >>> controls with default number-suffixed names before resetting the counter. >>> >>> It was to avoid name collisions. >>> >>> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >>> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >>> for what they surely imagined was going to be a rare event. >>> >>> -Ken >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> 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 Dec 13 10:06:00 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 08:06:00 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Gotta try that. Awkward because I need to make the mde in 2003 then copy to machine #2 to test. But I'll give it a whirl. "an unhandled runtime error which stops Access from doing what it should?" Is there such a thing? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Tuesday, December 13, 2011 6:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Dec 13 11:11:24 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 13 Dec 2011 21:11:24 +0400 Subject: [AccessD] =?utf-8?q?FYI=3A_Excel_Web_App_hosted_on_SkyDrive=2E=2E?= =?utf-8?q?=2E?= Message-ID: Hi All, FYI: http://www.excelmashup.com/ Thank you. -- Shamil? From jwcolby at colbyconsulting.com Tue Dec 13 11:21:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 12:21:55 -0500 Subject: [AccessD] FYI: Excel Web App hosted on SkyDrive... In-Reply-To: References: Message-ID: <4EE789B3.2030104@colbyconsulting.com> I spend all of my day trying to prevent my data from getting mashed up and then Microsoft promotes this! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 12:11 PM, Salakhetdinov Shamil wrote: > Hi All, > > FYI: http://www.excelmashup.com/ > > Thank you. > > -- Shamil From vbacreations at gmail.com Tue Dec 13 15:22:51 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 13 Dec 2011 16:22:51 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left the > role I was in where it was a problem before a fix was required (they were > only testing A2007 at the time to suss out issues) - Google is likely to > turn up something useful if you are lucky. The form resizing was > definitely an issue at the time. Not much help for you right now I know, > but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort of > housekeeping in the Open module of every form - use the ADH form resizing > code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of my > customers are still on 2003 or 2007 and I would prefer not to have to > support two version and find out which version they're on before sending > them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Dec 13 15:58:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 16:58:39 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? Message-ID: <4EE7CA8F.5040001@colbyconsulting.com> I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading part of the name. They point to a SQL server Express database that physically does not exist any more. I have discovered that these links to old stuff cause massive slowing opening real linked tables so I need to find and delete these links, but I am at a loss to discover how. ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Dec 13 16:12:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 17:12:07 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? In-Reply-To: <4EE7CA8F.5040001@colbyconsulting.com> References: <4EE7CA8F.5040001@colbyconsulting.com> Message-ID: <4EE7CDB7.8000807@colbyconsulting.com> Never mind. that was from tables already deleted. When I exited the db and came back in these were gone. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 4:58 PM, jwcolby wrote: > I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading > part of the name. They point to a SQL server Express database that physically does not exist any > more. I have discovered that these links to old stuff cause massive slowing opening real linked > tables so I need to find and delete these links, but I am at a loss to discover how. > > ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > From darryl at whittleconsulting.com.au Tue Dec 13 16:13:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 13 Dec 2011 22:13:18 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5601060@SINPRD0402MB099.apcprd04.prod.outlook.com> Perhaps, but my experience would suggest it is more of a bug than anything else. Or perhaps a deliberate attempt to move folks off MDE to accde instead. The premise is simple. If a form is set to docmd.maximise then that is what it should do upon open (or event). It works as expected in A2003 as MDB or MDE. But in A2007 the docmd.maximise is seemingly ignored. The form usually opens as a float - I think it also did it for MDB format stuff as well - can't recall. >From memory if you click on the form or moved it - it would immediately maximise and snap to full size. As I said, it has been a while, but I do recall it coming up consistently in the testing we were doing. Annoying. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 14 December 2011 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Dec 13 16:58:46 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 16:58:46 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken From kismert at gmail.com Tue Dec 13 17:26:20 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 17:26:20 -0600 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: > > Mark Simms: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > Charlotte Foust: > You might change your mind if you start writing code to copy the controls > over! ... I only built the code because ... I was building survey UIs on > a > daily basis. It wouldn't have been worth it otherwise. > I agree with Charlotte. You have to be strongly motivated to tackle this project. In my case, the company's flagship A2K product had a crippling case of bloat that none of the normal methods (including EatBloat) could cure. It took 3 months full-time to develop the 'complete rebuild' fix, which did finally work (to everyone's great relief)! Mark: if you are forced to rebuild a huge form, try these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. In the Immediate window, count the number of controls: ? Forms("frmFoo").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access database. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" I have observed this to work. -Ken From rockysmolin at bchacc.com Tue Dec 13 19:24:40 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 17:24:40 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: No - you get the same error message - just no Debug option. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 13, 2011 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 19:30:42 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 20:30:42 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, December 13, 2011 05:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 13 20:52:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 02:52:10 +0000 Subject: [AccessD] UDF in Access called to Excel Message-ID: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi guys and girls. One of my colleagues is using a UDF embedded into an Access Query. The query runs find in access by when he is calling the query from Excel VBA (via qd.openrecordset). The code fails with a 'undefined function' error. I read on google the following which was a response to a similar issue: "Access uses Jet, and the combination of Access and Jet understands VBA functions. DAO is a generic data access layer that doesn't understand VBA functions. When you use DAO, you're not automating Access, merely using that bridge to get to the data. Even though some versions of Access use DAO internally to communicate with Jet, the ability to understand VBA is programmed into Access, not DAO." So, is that correct. I would have thought the DOA would have only sent the command to open the query and Access would still do all of the processing? Any thoughts on this. I personally wouldn't do it this way. I would use the Function from Excel to get all of the parameters first and then pass them to the query as needed. In this case the function is built into the query itself in Access. Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From stuart at lexacorp.com.pg Tue Dec 13 21:26:37 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Dec 2011 13:26:37 +1000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. From darryl at whittleconsulting.com.au Tue Dec 13 21:30:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 03:30:17 +0000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B5601256@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Stuart. That clears that up. I will tell him to go to Plan B instead. Cheers darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 December 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] UDF in Access called to Excel On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 13 21:44:17 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 13 Dec 2011 22:44:17 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <003c01ccba12$a84eb590$f8ec20b0$@net> Thanks a ton Ken ! Simply excellent technical investigative work. Well done. > 5. Import the form using: > Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & > "\" & > "Form_frmFoo.txt" > > I have observed this to work. > > -Ken From vbacreations at gmail.com Tue Dec 13 22:17:49 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 13 Dec 2011 23:17:49 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <001201ccba17$579a35c0$06cea140$@gmail.com> If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From darryl at whittleconsulting.com.au Tue Dec 13 22:35:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 04:35:10 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <56653D383CB80341995245C537A9E7B56012C7@SINPRD0402MB099.apcprd04.prod.outlook.com> That is what I normally do - which is probably why it is nearly always much more work to code it than do it all manually. The copy / paste way is usually fast, even with many hundreds of controls it doesn't take more than a few minutes I find. The only other step is to ensure you copy the form code over as well to the new form. I usually rename the old form "frmMyForm_OLD" first, create a new form and save it "frmMyForm", copy the controls, copy the code, save and test. If the new form works as expected I then delete the old form entirely (of course I have an original one on an older backup version). Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 14 December 2011 3:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Dec 14 02:11:59 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 14 Dec 2011 09:11:59 +0100 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. From jwcolby at colbyconsulting.com Wed Dec 14 06:05:11 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 07:05:11 -0500 Subject: [AccessD] Access bounc form - Data has changed Message-ID: <4EE890F7.6000204@colbyconsulting.com> I am moving to SQL Server and when a user tries to update data that has changed a message is generated. The nice part is that Access places the change in the paste buffer. How do I handle that at the form? Trap the error and requery the form then the prompt the user to insert the paste buffer? I will be testing that stuff but have no experience here. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jimdettman at verizon.net Wed Dec 14 07:24:32 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 08:24:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: BTW, one of the things I did try was creating text only controls rather then a text/label combination. Got the same results, but other control types might yield different numbers. If they do, then the limit would seem more related to object management rather then some inherent limitation with form objects themselves (in terms of storage). I'll play with that today if I have time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 14, 2011 03:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 14 09:16:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 10:16:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <4EE8BDC2.5010108@colbyconsulting.com> I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > From marksimms at verizon.net Wed Dec 14 09:49:28 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 10:49:28 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <000001ccba77$f6c10060$e4430120$@net> Apparently the important last control number is "inherited" from the old form..... that's why you must go to text... And then edit the number. > If rebuilding the form completely, why doesn't copying the controls to > a new > form and renaming the form suffice? > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From charlotte.foust at gmail.com Wed Dec 14 10:49:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 08:49:20 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <000001ccba77$f6c10060$e4430120$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: You avoid that issue entirely if you name all your controls in the first place. Charlotte Foust On Wed, Dec 14, 2011 at 7:49 AM, Mark Simms wrote: > Apparently the important last control number is "inherited" from the old > form..... > that's why you must go to text... > And then edit the number. > > > If rebuilding the form completely, why doesn't copying the controls to > > a new > > form and renaming the form suffice? > > > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< > > > -- > 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 Dec 14 11:10:59 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Dec 2011 12:10:59 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE890F7.6000204@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: Without pretending to expertise on this topic, although admitting some experience, I have found that the best way to handle this stuff is via Views. Which is also a statement of principle: never let Anyone but God touch the tables, me and in your case You assuming the God role, allow no mortal to ever touch the tables: that is Your province; they all go through sprocs or views; it happens that in an Access app, I prefer views, because they are much more flexible: simple, simple, simple: main form has one view, details form has another view, linked Master and subForm keys; drop-dead simple, and works like a charm. Maybe not scalable to hundreds of users, although I have made it work with 70+ users, and it was Fast. I have no complaints about that approach, although I am also looking at C# and LightSwitch alternatives, and attempting to re-write client apps on these new models. It's a learning experience. A. On Wed, Dec 14, 2011 at 7:05 AM, jwcolby wrote: > I am moving to SQL Server and when a user tries to update data that has > changed a message is generated. The nice part is that Access places the > change in the paste buffer. > > How do I handle that at the form? Trap the error and requery the form > then the prompt the user to insert the paste buffer? > > I will be testing that stuff but have no experience here. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From jwcolby at colbyconsulting.com Wed Dec 14 12:13:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:13:42 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: <4EE8E756.9000603@colbyconsulting.com> I am not sure what difference a view would make though. The data behind the scenes has still changed. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 12:10 PM, Arthur Fuller wrote: > Without pretending to expertise on this topic, although admitting some > experience, I have found that the best way to handle this stuff is via > Views. Which is also a statement of principle: never let Anyone but God > touch the tables, me and in your case You assuming the God role, allow no > mortal to ever touch the tables: that is Your province; they all go through > sprocs or views; it happens that in an Access app, I prefer views, because > they are much more flexible: simple, simple, simple: main form has one > view, details form has another view, linked Master and subForm keys; > drop-dead simple, and works like a charm. Maybe not scalable to hundreds of > users, although I have made it work with 70+ users, and it was Fast. I have > no complaints about that approach, although I am also looking at C# and > LightSwitch alternatives, and attempting to re-write client apps on these > new models. It's a learning experience. > > A. > > On Wed, Dec 14, 2011 at 7:05 AM, jwcolbywrote: > >> I am moving to SQL Server and when a user tries to update data that has >> changed a message is generated. The nice part is that Access places the >> change in the paste buffer. >> >> How do I handle that at the form? Trap the error and requery the form >> then the prompt the user to insert the paste buffer? >> >> I will be testing that stuff but have no experience here. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> > > > From charlotte.foust at gmail.com Wed Dec 14 12:18:07 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 10:18:07 -0800 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE8E756.9000603@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: It's a security feature. Regular users simply don't have the role permission to change the data in the tables, they have to do it through a view. Charlotte Foust On Wed, Dec 14, 2011 at 10:13 AM, jwcolby wrote: > I am not sure what difference a view would make though. The data behind > the scenes has still changed. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/14/2011 12:10 PM, Arthur Fuller wrote: > >> Without pretending to expertise on this topic, although admitting some >> experience, I have found that the best way to handle this stuff is via >> Views. Which is also a statement of principle: never let Anyone but God >> touch the tables, me and in your case You assuming the God role, allow no >> mortal to ever touch the tables: that is Your province; they all go >> through >> sprocs or views; it happens that in an Access app, I prefer views, because >> they are much more flexible: simple, simple, simple: main form has one >> view, details form has another view, linked Master and subForm keys; >> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >> of >> users, although I have made it work with 70+ users, and it was Fast. I >> have >> no complaints about that approach, although I am also looking at C# and >> LightSwitch alternatives, and attempting to re-write client apps on these >> new models. It's a learning experience. >> >> A. >> >> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >> >wrote: >> >> I am moving to SQL Server and when a user tries to update data that has >>> changed a message is generated. The nice part is that Access places the >>> change in the paste buffer. >>> >>> How do I handle that at the form? Trap the error and requery the form >>> then the prompt the user to insert the paste buffer? >>> >>> I will be testing that stuff but have no experience here. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From marksimms at verizon.net Wed Dec 14 12:30:59 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 13:30:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: <003c01ccba8e$877313d0$96593b70$@net> You mean RENAME, right ? Every control has a name property by default. i.e. there are no unnamed controls. > You avoid that issue entirely if you name all your controls in the > first place. > > Charlotte Foust From jwcolby at colbyconsulting.com Wed Dec 14 12:38:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:38:16 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: <4EE8ED18.1050604@colbyconsulting.com> Yes I understand that but I have set up users and such and their permissions. The message I am getting is that another user has changed the data. I have to do something to cause the form to discover that the data has been written and refresh the data in the current form so that changes to the data in the current form are now allowed. AFAIK that has nothing to do with views per se. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 1:18 PM, Charlotte Foust wrote: > It's a security feature. Regular users simply don't have the role > permission to change the data in the tables, they have to do it through a > view. > > Charlotte Foust > > On Wed, Dec 14, 2011 at 10:13 AM, jwcolbywrote: > >> I am not sure what difference a view would make though. The data behind >> the scenes has still changed. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/14/2011 12:10 PM, Arthur Fuller wrote: >> >>> Without pretending to expertise on this topic, although admitting some >>> experience, I have found that the best way to handle this stuff is via >>> Views. Which is also a statement of principle: never let Anyone but God >>> touch the tables, me and in your case You assuming the God role, allow no >>> mortal to ever touch the tables: that is Your province; they all go >>> through >>> sprocs or views; it happens that in an Access app, I prefer views, because >>> they are much more flexible: simple, simple, simple: main form has one >>> view, details form has another view, linked Master and subForm keys; >>> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >>> of >>> users, although I have made it work with 70+ users, and it was Fast. I >>> have >>> no complaints about that approach, although I am also looking at C# and >>> LightSwitch alternatives, and attempting to re-write client apps on these >>> new models. It's a learning experience. >>> >>> A. >>> >>> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >>>> wrote: >>> >>> I am moving to SQL Server and when a user tries to update data that has >>>> changed a message is generated. The nice part is that Access places the >>>> change in the paste buffer. >>>> >>>> How do I handle that at the form? Trap the error and requery the form >>>> then the prompt the user to insert the paste buffer? >>>> >>>> I will be testing that stuff but have no experience here. >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> Website: http://www.databaseadvisors. >>>> >>>> ****com >>>> >>>>> >>>> >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From jimdettman at verizon.net Wed Dec 14 13:15:02 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 14:15:02 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE8BDC2.5010108@colbyconsulting.com> References: <4EE8BDC2.5010108@colbyconsulting.com> Message-ID: No, that's not the case. When I ran the tests, it didn't matter if I did text and label controls or just text controls as I would get the same number of total controls either way. I had been testing to see if the type of control affected the out come (because of the difference in the number of PEM's) in the total number of controls, but it didn't (at least not for text vs label vs all text, which should have been different enough to show up). And it doesn't seem like the naming is related to the limit. The tests for A2000 and up all yielded control names >754 and A2007 and up went from three to four positions for the numeric portion of the naming. That means you would be able to get 9,999 controls for each control type without a conflict in names. However the numeric suffix counter applies to all controls, so you should be able to get to 9,999 without a problem, but the limit is far short of that. I don't think it's related to the storage method either; all the numbers are odd (not 256, 512, 1024, etc). You just can't come up with any number of bits that represent the numbers shown. Only possibility is the one Ken raised where internal objects are using some of the mapping (ie. 1024 - x number of internal objects = objects available to you). But it seems more related to internal memory management then it does to anything else we've seen so far as the value seems to float from version to version. It's like the table ID limit which also floats a bit; one minute you can be fine with a query or form and the next you get an "out of memory" message. What I'd really like to see happen is those test numbers change a bit on the same machine or between machines. That would really imply that it's related to memory management. A hard coded limit or a limit based on the storage method would always be consistent no matter when or where checked. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 14, 2011 10:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Dec 14 13:14:02 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 11:14:02 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <003c01ccba8e$877313d0$96593b70$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> <003c01ccba8e$877313d0$96593b70$@net> Message-ID: I meant specifically name the controls instead of accepting the defaults, which are less than useless anyhow. And that includes the attached labels and page breaks and all the other items you put on there. I always named them at creation to make it easier to untangle later, so I never ran into issues with default names. Charlotte Foust On Wed, Dec 14, 2011 at 10:30 AM, Mark Simms wrote: > You mean RENAME, right ? Every control has a name property by default. > i.e. there are no unnamed controls. > > > You avoid that issue entirely if you name all your controls in the > > first place. > > > > Charlotte Foust > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From kismert at gmail.com Wed Dec 14 14:23:35 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:23:35 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > Jim Dettman: > < correct only for Access 97.>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > I think the simplest explanation is A97 allowed 1024 controls. Subtract 255 'AccessField' controls (for the maximum fields in a query), and you get 769. That leaves 753 'user' controls and 16 'reserved' controls, things like RecordSelectors, DataSheet support, Record Navigation, the default Detail section, etc. But, on some service pack of Access 2000, the counter limit was raised to 16 bits, or even 32 bits. Supporting 4 billion controls was just silly, so they just picked an arbitrary limit of 800, and kept raising that over time. What I'd really like to see happen is those test numbers change a bit on > the same machine or between machines. That would really imply that it's > related to memory management. A hard coded limit or a limit based on the > storage method would always be consistent no matter when or where checked. Well, AccessD community, test away! Is the limit truly fixed for each version, or does it change? The results will be interesting. -Ken From kismert at gmail.com Wed Dec 14 14:46:02 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:46:02 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to a > new > form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken From jwcolby at colbyconsulting.com Wed Dec 14 15:28:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 16:28:18 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <4EE914F2.4020404@colbyconsulting.com> Good points Ken. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 3:46 PM, Kenneth Ismert wrote: >> >> William Benson: >> If rebuilding the form completely, why doesn't copying the controls to a >> new >> form and renaming the form suffice? >> > > Because you also have to manually duplicate all of the form properties, > which don't copy over automatically. > > For example, if your form allows datasheets, all the column width settings > will be reset to their defaults. > > Further, the copy-and-paste approach can mess up subtle things like display > order, so controls that show up on the original won't be visible on the > copy. > > Thus, if all you need to do is reset the count, I recommend my method, > because the whole form gets copied, leaving no surprises. > > Charlotte Foust: >> You avoid that issue entirely if you name all your controls in the first >> place. >> > > Giving controls meaningful names is best practice. But that doesn't reset > the counter. > > Try modifying Jim's code to give each control a non-default name before the > next is created. The limit didn't change for me. > > -Ken From kismert at gmail.com Wed Dec 14 15:55:22 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 15:55:22 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: All, I just tried another experiment: 1. In Access 2000 or later, call TestControlLifetimeLimit below (a modification of Jim's code) to populate form controls to their limit 2. Delete some or all of the highest-numbered controls 3. Call TestControlLifetimeLimit(Forms(0)) to populate more controls. What I found is that as long as you delete the highest-numbered controls, the counter limit isn't enforced. I ran this until the counter got up to 17213! Can others duplicate this? So, my new theory is that, for some service pack of Office 2000, this got sort-of fixed. (I recall running into this problem a decade ago in an early release of 2000). The maximum control limit is enforced, but the counter will keep going up, as long as you delete some of the higher-order controls. However, the 754-control limit will persist for forms & reports imported from Access 97. This is why the 'rebuild from scratch' is required to totally cure the problem in very old projects. There is simply no other way to keep the form from inheriting the old A97 behavior. Code: Public Sub TestControlLifetimeLimit(Optional ByVal rObj As Object = Nothing) Dim rFrm As Access.Form Dim rText As Control Dim rLabel As Control Dim i As Integer On Error GoTo HandleErr If rObj Is Nothing Then Set rFrm = CreateForm() rFrm.HasModule = True ElseIf TypeOf rObj Is Access.Form Then Set rFrm = rObj ElseIf TypeOf rObj Is Access.Controls Then Set rFrm = rObj.Parent Else Exit Sub End If i = rFrm.Controls.Count Do Set rText = CreateControl(rFrm.Name, acTextBox, acDetail, , , (i Mod 100) * 100, (i \ 100) * 400, 200, 200) Set rLabel = CreateControl(rFrm.Name, acLabel, , rText.Name, "", (i Mod 100) * 100 + 50, (i \ 100) * 400, 200, 200) i = i + 1 Loop While i < 2000 ExitHere: Debug.Print "Control Count: " & rFrm.Controls.Count Exit Sub HandleErr: Debug.Print "Error: " & Err.Number & vbCrLf & Err.Description & vbCrLf & Err.Source GoTo ExitHere End Sub -Ken From darryl at whittleconsulting.com.au Wed Dec 14 16:36:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 22:36:08 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B560147A@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, those are good points. In the past virtually all my forms are unbound and I rarely used datasheet view - although in my current role I do a lot more. Mind you in this role performance trumps elegance so it doesn't matter if the form looks a bit scrappy as I, or the immediate team, are the only users. And we know how to fix it if something goes *splat*. Thanks for shedding some light onto this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, 15 December 2011 7:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Advice on A2010.... > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to > a new form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Wed Dec 14 17:10:38 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 17:10:38 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken From vbacreations at gmail.com Wed Dec 14 20:12:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 14 Dec 2011 21:12:16 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <002601ccbace$f819ee20$e84dca60$@gmail.com> And how do you recommend deleting *precisely* the first 400 controls?;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 06:47:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 07:47:16 -0500 Subject: [AccessD] It just goes to show ya Message-ID: <4EE9EC54.1070108@colbyconsulting.com> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From charlotte.foust at gmail.com Thu Dec 15 07:09:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 05:09:27 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very careful > and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From df.waters at comcast.net Thu Dec 15 07:12:35 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 07:12:35 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <001401ccbb2b$366c0b20$a3442160$@comcast.net> Facebook? What's Facebook? I have work to do! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 15, 2011 7:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Thu Dec 15 07:59:23 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 15 Dec 2011 08:59:23 -0500 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. No question, I know it's not legit. Susan H. >I got an email this morning - XYZ wants to be your friend on facebook. I >don't know xyz, but I often go look to see if maybe I do know them out in a >circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. From vbacreations at gmail.com Thu Dec 15 08:10:53 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:10:53 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <003001ccbb33$5ba3cf10$12eb6d30$@gmail.com> Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 15 08:14:39 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:14:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) References: Message-ID: <003101ccbb33$e2c18000$a8448000$@gmail.com> Uh, yes it was, thanks Jim D. on Dec 13. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, December 15, 2011 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Thu Dec 15 08:18:06 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 15 Dec 2011 08:18:06 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From jimdettman at verizon.net Thu Dec 15 09:39:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Dec 2011 10:39:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <21D3D45A0B814AEAACDE39A52483D58D@XPS> Really scary I know...some of the stuff is getting pretty darn good. Almost got bit last year. E-mail came in telling me I had a problem with something, which by coincidence I had just done the previous day and it looked legit. Clicked without thinking and Trend saved my butt. After the blocked page message came up, it was only then that I realized I should not be getting an e-mail like that. That was too close for comfort And here I am the one telling everybody "Don't click on anything in an e-mail" and absolutely know better then not to. Part of the problem is though, there are still people sending e-mails (valid ones) with links in them (NY's Easy pass comes to mind). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 07:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 10:02:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 11:02:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com> <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> Message-ID: <4EEA1A0D.2020109@colbyconsulting.com> >> I turned my facebook messaging off LOL, I discovered that Facebook had "opted me in" to a TON of crap that they were sending. Of course I went in and disabled it but it is truly annoying that they would do that, and it raises the question - am I opted in to whatever they may decide I really should be receiving in the future? Where do these companies get off deciding that they can send me crap I didn't ask for? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 8:59 AM, Susan Harkins wrote: > I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. > No question, I know it's not legit. > > Susan H. > > >> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I >> often go look to see if maybe I do know them out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a page to do something bad to my >> computer. > From BradM at blackforestltd.com Thu Dec 15 10:05:08 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 15 Dec 2011 10:05:08 -0600 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: I would guess that almost everyone has been burned by a virus in the past. Here are some things that I have done to reduce the risk on the "main" PC that I use for work purposes. Use an iPad for "web surfing" Have multiple PCs so that the teenagers don't use the "main" one Use Microsoft Security Essentials (free) Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Gary Kjos Sent: Thu 12/15/2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kathryn at bassett.net Thu Dec 15 13:35:47 2011 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 15 Dec 2011 11:35:47 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <011501ccbb60$bec27010$3c475030$@net> I'm fortunate! I've never ended up with a virus and I've been online since the beginning. Now my husband, on the other hand... I'm glad he's got his own computer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Thursday, December 15, 2011 8:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > I would guess that almost everyone has been burned by a virus in the > past. > > Here are some things that I have done to reduce the risk on the "main" > PC that I use for work purposes. > > Use an iPad for "web surfing" > Have multiple PCs so that the teenagers don't use the "main" one Use > Microsoft Security Essentials (free) > > Brad From hans.andersen at phulse.com Thu Dec 15 14:32:54 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 15 Dec 2011 12:32:54 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I think the last time I had a virus, it was a boot sector virus from an infected floppy via the sneakernet. Saying that, viruses are so advanced these days that, just because you think you are clean, you could still very well be infected by something on a root kit level. The truth is, as soon as you spot an infection, you cannot trust your pc anymore even if your antivirus claims to have cleaned your machine. The only thing to do is format your machine completely and reinstall. - Hans Sent from my iPhone On 2011-12-15, at 11:35 AM, "Kathryn Bassett" wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Brad Marks >> Sent: Thursday, December 15, 2011 8:05 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] It just goes to show ya >> >> I would guess that almost everyone has been burned by a virus in the >> past. >> >> Here are some things that I have done to reduce the risk on the "main" >> PC that I use for work purposes. >> >> Use an iPad for "web surfing" >> Have multiple PCs so that the teenagers don't use the "main" one Use >> Microsoft Security Essentials (free) >> >> Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Dec 15 15:05:30 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 13:05:30 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I had one for the first time earlier this year. I still haven't figured out where it came from, but it was the joke virus, so it didn't do any actual damage just slowed my machine down. I switched to Vipre Internet Security after that, since it was the only thing I found that actually removed it. Charlotte Foust On Thu, Dec 15, 2011 at 11:35 AM, Kathryn Bassett wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 15, 2011 8:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] It just goes to show ya > > > > I would guess that almost everyone has been burned by a virus in the > > past. > > > > Here are some things that I have done to reduce the risk on the "main" > > PC that I use for work purposes. > > > > Use an iPad for "web surfing" > > Have multiple PCs so that the teenagers don't use the "main" one Use > > Microsoft Security Essentials (free) > > > > Brad > > > -- > 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 Dec 15 15:33:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:33:22 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. From Lambert.Heenan at chartisinsurance.com Thu Dec 15 15:37:20 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 16:37:20 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 15:37:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:37:27 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: <4EEA6897.3030800@colbyconsulting.com> I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Thu Dec 15 15:49:44 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:49:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > From jwcolby at colbyconsulting.com Thu Dec 15 15:48:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:48:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: <4EEA6B3C.8070309@colbyconsulting.com> Yep, an image immediately after doing all of the install / patch stuff, then another periodically. I have to tell you though, things like DropMyRights and noScript goes a long ways towards thwarting the bad guys. Sand boxes really do work well. running all Web facing apps in a sandbox prevents the nasties from doing bad stuff. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 4:37 PM, Heenan, Lambert wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Thursday, December 15, 2011 4:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. > > I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. > > A. > -- > 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 Dec 15 15:55:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:55:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EEA6B3C.8070309@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> <4EEA6B3C.8070309@colbyconsulting.com> Message-ID: Hearty agreement on that! I run a few VMs (not all at once, given my meager 4GB of RAM), and have come to the conclusion that it's always the safest path to create a new VM prior to installing anything new; run it there and see what explodes; end result is the VM explodes and the rest of my baby is intact. A. On Thu, Dec 15, 2011 at 4:48 PM, jwcolby wrote: > Yep, an image immediately after doing all of the install / patch stuff, > then another periodically. > > I have to tell you though, things like DropMyRights and noScript goes a > long ways towards thwarting the bad guys. Sand boxes really do work well. > running all Web facing apps in a sandbox prevents the nasties from doing > bad stuff. > > From Lambert.Heenan at chartisinsurance.com Thu Dec 15 16:11:30 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 17:11:30 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: DriveImageXML is free for personal use, Arthur. Only $69 for commercial use too. http://www.runtime.org/driveimage-xml.htm ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? *(...'?'.. ) *????????.??? ????????*? .? ... Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot > drive to a different drive every now and then. I find I can restore > the whole thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 16:21:01 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 16:21:01 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > And how do you recommend deleting *precisely* the first 400 controls?;-) > I tweaked Jim's code so the controls display in four rows of 200 each. So it is easy to highlight the first two rows of controls, and delete them. From darryl at whittleconsulting.com.au Thu Dec 15 16:21:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Dec 2011 22:21:26 +0000 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B560181C@SINPRD0402MB099.apcprd04.prod.outlook.com> I am one of the 9 people on the planet who doesn't use FB at all - even so I get scammer emails saying "X has commented on your photo" or "Y wants to be your friend" click on the link blah blah - not having a FB profile saves me a lot of time and bother. Mind you, only yesterday I did have someone pop up on yahoo msgnr on a profile of someone I hadn't spoken to in years wanting me to click on a link so I could apply for a free Apple computer or product - apparently Apple are giving away product in honour of Steve Jobs. Yeah... right.... "Delete!". I was lucky as that one was clearly a scam. That said, I think John has a great point - you really can't be too careful and even the experienced and knowledgeable can get caught out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 16 December 2011 12:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 15 16:22:00 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 17:22:00 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for commercial > use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* > .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > From hkotsch at arcor.de Thu Dec 15 16:27:49 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:27:49 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: Testimonials & Reviews See what our customers and the press have to say View Products View all our products Buy Now! Order our products online now! How-to-Guides Step-by-step solutions for common problems. Documentation View the software help files and other resources. Contact Us For Technical Support and all other inquiries. Languages BBB Last updated: October 23, 2011 For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Thu Dec 15 16:35:45 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:35:45 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 15 16:40:25 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 16:40:25 -0600 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEA6897.3030800@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> Message-ID: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Yes - Library referencing can be a pain. At my customers each client has a shortcut which points to an AutoUpdater file. The AutoUpdater file will check to see if the Main and Library files on the client are older than the files on the server. If so, it will copy those files up to the client in the same folder. But here's the problem - the main file on the client will still reference the library file on the server. The way I get around that is to leave the library file on the server with an XX in the name - that way the main file on the client can't find it so it re-references to the library file on the client (they're in the same folder). When the autoupdater file does its thing, it compares modified dates between Library.mdb on the client and LibraryXX.mdb on the server. If the server has the newer file, then autoupdater will copy and rename the LibraryXX.mdb file on the server to Library.mdb on the client. Another problem is that the Library.mdb file is renamed on the server (your dev/test system), so you can't open it until you manually retype the name, and then you have to remember to retype it back when you're done. To solve that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the following code: '------------------------ Public Function StartupChangeXX() On Error GoTo EH Dim stg As String Dim rst As DAO.Recordset Dim fso As FileSystemObject Dim blnAddXX As Boolean Dim stgXXFile As String Dim stgExtension As String Dim stgPrompt As String Dim blnNeedManualPrompt As Boolean Dim blnFoundAllClear As Boolean Dim blnFoundAllXX As Boolean Dim blnFirstLoopComplete As Boolean Dim stgSystemMode As String stgSystemMode = Command() ' stgSystemMode = "Review" '-- TEST Set fso = CreateObject("Scripting.FileSystemObject") '-- Do the files exist? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If fso.FileExists(rst("FileFullPath")) = False And fso.FileExists(stgXXFile) = False Then MsgBox "The file " & rst("FileFullPath") & " does not exist!", vbExclamation + vbOKOnly, "Missing File" rst.Close Set rst = Nothing Application.Quit End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Are all files clear or all XX? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False If blnFirstLoopComplete = False Then If fso.FileExists(rst("FileFullPath")) = True Then blnFoundAllClear = True blnAddXX = True Else blnFoundAllClear = False blnAddXX = False End If blnFirstLoopComplete = True Else If fso.FileExists(rst("FileFullPath")) = True Then If blnFoundAllClear = False Then blnNeedManualPrompt = True Exit Do End If Else If blnFoundAllClear = True Then blnNeedManualPrompt = True Exit Do End If End If End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Select to add XX or Remove XX If blnNeedManualPrompt = True Then stgPrompt = "Push Yes to add XX." _ & vbNewLine & vbNewLine _ & "Push No to remove XX." If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, "Change XX") = vbYes Then blnAddXX = True Else blnAddXX = False End If End If '-- Add or remove XX stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If blnAddXX = True Then If fso.FileExists(rst("FileFullPath")) = True Then fso.CopyFile rst("FileFullPath"), stgXXFile, True fso.DeleteFile rst("FileFullPath") End If Else If fso.FileExists(stgXXFile) = True Then fso.CopyFile stgXXFile, rst("FileFullPath"), True fso.DeleteFile stgXXFile End If End If rst.MoveNext Loop rst.Close Set rst = Nothing If blnAddXX = True Then CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" Else CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" End If Application.Quit Exit Function EH: MsgBox "Error!" _ & vbNewLine & vbNewLine _ & "Code: " & Err.Number & vbNewLine _ & "Desc: " & Err.Description & vbNewLine _ & "Line: " & Erl End Function '----------------------- There is also a tblParameters which contains information about which actual system I'm working on - I have three at each customer. Prod, Test, and Review. The shortcut on the desktop which opens ChangeXX.mdb has a command argument (like '/cmd Test') so the code will know which system it's supposed to be working on. Also, there is a popup message that stays open for 1 second to tell me whether it added the XX or removed the XX, then ChangeXX.mdb quits. Just click the ChangeXX shortcut on the server's desktop until it says 'Added XX' or 'Removed XX', and you're done! Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 3:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] libraries, References and some subtleties to be considered I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 17:08:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 17:08:13 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: Here is my proposal for how to best fix Form Control Limit problems: Control Limits =========== Access imposes limits on how may controls you can put on a form or report: A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Thanks to Jim Dettman for working out these limits. If you try to add more controls than your version of Access allows, you will see: Error: 29053 can't create any more controls on this form or report. At this point, check the number of controls on the form: ? forms("Form1").Controls.Count If that number is less than the stated limit, you can still add more controls, but you have to reset the control counter. Here's how: Access 2000 or Later ================= If you CREATED the form in Access 2000 or later, follow these steps: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" This should reset your control list, allowing you to keep adding up to the stated limit. Notes: * This is a lot easier than copying the controls to a new form, and manually changing all form properties to match the old * EatBloat will also reset the counter for such forms, as it uses this basic technique Access 97 ======== If the form was created in Access 97, and you imported it into a later version, there is more work to do. Follow these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. This eliminates all possibility of name collisions. 2. In the Immediate window, count the number of controls: ? Forms("Form1").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Import the form using: Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" -Ken From vbacreations at gmail.com Thu Dec 15 18:09:39 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 15 Dec 2011 19:09:39 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Control name property is read only in runtime right? So for ac97 this a manual find and rename operation? On Dec 15, 2011 6:09 PM, "Kenneth Ismert" wrote: > Here is my proposal for how to best fix Form Control Limit problems: > > Control Limits > =========== > Access imposes limits on how may controls you can put on a form or report: > A97 - 753 > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Thanks to Jim Dettman for working out these limits. > > If you try to add more controls than your version of Access allows, you > will see: > Error: 29053 > can't create any more controls on this form or report. > > At this point, check the number of controls on the form: > ? forms("Form1").Controls.Count > > If that number is less than the stated limit, you can still add more > controls, but you have to reset the control counter. Here's how: > > Access 2000 or Later > ================= > If you CREATED the form in Access 2000 or later, follow these steps: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1" > > This should reset your control list, allowing you to keep adding up to the > stated limit. Notes: > * This is a lot easier than copying the controls to a new form, and > manually changing all form properties to match the old > * EatBloat will also reset the counter for such forms, as it uses this > basic technique > > Access 97 > ======== > If the form was created in Access 97, and you imported it into a later > version, there is more work to do. Follow these steps: > > 1. Rename all form controls with a default numeric suffix, like 'label123' > and 'text234'. This eliminates all possibility of name collisions. > > 2. In the Immediate window, count the number of controls: > ? Forms("Form1").Controls.Count > > 2. Save the form as text: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and > edit it to the number of controls +1: > ItemSuffix =128 > > 4. Import the form using: > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 15 20:50:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 21:50:39 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Message-ID: <4EEAB1FF.9040103@colbyconsulting.com> Thanks for those suggestions. My methods are crude and I have always wanted to get a little more sophisticated. I will have to spend a little time thinking about the suggestions you discuss. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 5:40 PM, Dan Waters wrote: > Yes - Library referencing can be a pain. > > At my customers each client has a shortcut which points to an AutoUpdater > file. The AutoUpdater file will check to see if the Main and Library files > on the client are older than the files on the server. If so, it will copy > those files up to the client in the same folder. > > But here's the problem - the main file on the client will still reference > the library file on the server. The way I get around that is to leave the > library file on the server with an XX in the name - that way the main file > on the client can't find it so it re-references to the library file on the > client (they're in the same folder). > > When the autoupdater file does its thing, it compares modified dates between > Library.mdb on the client and LibraryXX.mdb on the server. If the server > has the newer file, then autoupdater will copy and rename the LibraryXX.mdb > file on the server to Library.mdb on the client. > > Another problem is that the Library.mdb file is renamed on the server (your > dev/test system), so you can't open it until you manually retype the name, > and then you have to remember to retype it back when you're done. To solve > that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the > following code: > > '------------------------ > Public Function StartupChangeXX() > On Error GoTo EH > > Dim stg As String > Dim rst As DAO.Recordset > Dim fso As FileSystemObject > Dim blnAddXX As Boolean > Dim stgXXFile As String > Dim stgExtension As String > Dim stgPrompt As String > Dim blnNeedManualPrompt As Boolean > Dim blnFoundAllClear As Boolean > Dim blnFoundAllXX As Boolean > Dim blnFirstLoopComplete As Boolean > Dim stgSystemMode As String > > stgSystemMode = Command() > ' stgSystemMode = "Review" '-- TEST > > Set fso = CreateObject("Scripting.FileSystemObject") > > '-- Do the files exist? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If fso.FileExists(rst("FileFullPath")) = False And > fso.FileExists(stgXXFile) = False Then > MsgBox "The file "& rst("FileFullPath")& " does not exist!", > vbExclamation + vbOKOnly, "Missing File" > rst.Close > Set rst = Nothing > Application.Quit > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Are all files clear or all XX? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > If blnFirstLoopComplete = False Then > If fso.FileExists(rst("FileFullPath")) = True Then > blnFoundAllClear = True > blnAddXX = True > Else > blnFoundAllClear = False > blnAddXX = False > End If > blnFirstLoopComplete = True > Else > If fso.FileExists(rst("FileFullPath")) = True Then > If blnFoundAllClear = False Then > blnNeedManualPrompt = True > Exit Do > End If > Else > If blnFoundAllClear = True Then > blnNeedManualPrompt = True > Exit Do > End If > End If > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Select to add XX or Remove XX > If blnNeedManualPrompt = True Then > stgPrompt = "Push Yes to add XX." _ > & vbNewLine& vbNewLine _ > & "Push No to remove XX." > If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, > "Change XX") = vbYes Then > blnAddXX = True > Else > blnAddXX = False > End If > End If > > > '-- Add or remove XX > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If blnAddXX = True Then > > If fso.FileExists(rst("FileFullPath")) = True Then > fso.CopyFile rst("FileFullPath"), stgXXFile, True > fso.DeleteFile rst("FileFullPath") > End If > > Else > > If fso.FileExists(stgXXFile) = True Then > fso.CopyFile stgXXFile, rst("FileFullPath"), True > fso.DeleteFile stgXXFile > End If > > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > If blnAddXX = True Then > CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" > Else > CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" > End If > > Application.Quit > > Exit Function > > EH: > MsgBox "Error!" _ > & vbNewLine& vbNewLine _ > & "Code: "& Err.Number& vbNewLine _ > & "Desc: "& Err.Description& vbNewLine _ > & "Line: "& Erl > > End Function > '----------------------- > > There is also a tblParameters which contains information about which actual > system I'm working on - I have three at each customer. Prod, Test, and > Review. The shortcut on the desktop which opens ChangeXX.mdb has a command > argument (like '/cmd Test') so the code will know which system it's supposed > to be working on. > > Also, there is a popup message that stays open for 1 second to tell me > whether it added the XX or removed the XX, then ChangeXX.mdb quits. > > Just click the ChangeXX shortcut on the server's desktop until it says > 'Added XX' or 'Removed XX', and you're done! > > Hope this helps! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 3:37 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] libraries, References and some subtleties to be > considered > > I use libraries - MDAs - to hold common code, variables and constants. > Libraries are essentially places to put common code so that many different > applications can do things the same way. If a bug is found it can be fixed > in the library, in just one place. > > It is possible for a lib to reference another lib. For example my C2DbFW3G > understands and uses my Presentation Level Security System and so it > references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can > be used without my FW3G. Should I have just merged the two into one big > lib? > That is a conversation for another day. > > While on this subject, two more things. There can be no circular references > between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference > FW3G. Any lib can reference another lib but the reference can never "circle > back around". Additionally the order of reference comes into play if there > are two functions, classes, variables etc with the same name. We all > understand the scope thing (local function, module, global) but the same > issue exists in libraries in that if a name is not found in the local > container the compiler starts looking at other referenced objects, starting > from the top reference in the references dialog and working down. > > This can cause oddities if we have a function (for example) with the same > name found in the application and the library. Code in the application will > use the function inside of the application container, whereas code in the > library will use the function in the library container. > If you use libraries and you write a function and move it to the library, do > not forget to delete the function from the application or you will have > problems. > > I have two main libraries, C2DbFW3G which is the 3rd generation of my > framework, and C2DbPLSS which is my Presentation Level Security System. > > Having an application reference a library causes some issues shall we say > which do not exist if you do not use them, and I just thought I would walk > through my findings and how I handle things in order to start a conversation > on the subject. > > Some tidbits in no particular order. > > When the developer references a library they do so via a browse button and > so the reference ends up specific to a location available from the > developer's machine. This implies that the location may or may not be > available to another user opening the application. > > When the application opens, it tries to find the file at the location > specified in the existing reference. If found it uses that copy of the > library, no questions asked. > > If the library cannot be found at that referenced location then the > application silently begins to search a set of paths to find the library. > > http://support.microsoft.com/kb/824255 > > If the library is found the search immediately ceases and the reference is > "fixed up" to point to that location. When the application closes it saves > that new reference location. So the application has been silently > "re-referenced" to the new location. When I say silently, I mean that there > is no immediate in-your-face indication that any of this happened. > > This silent re-reference can cause odd problems. Let's take some real life > scenarios that I encounter at my client. > > I have a directory on my C: drive at the client called C:\Dev\DisNew\ This > path, in particular the Dev\ part, is unique to my machine (standing for > development). I build a framework and an application in this location. I > reference the lib from the application, browsing to that location and voila, > the reference points to a library in a location that does not physically > exist anywhere else in the company. > > I copy the two files up to X:\DisNew\Test which is the production > (X:\DisNew) test directory. the user has a batch file which builds a > directory on their local C: drive, copies the library and application to > that local directory and opens the application. The application tries to > find the lib at my dev directory and fails, so it tries to find it in the > local directory and succeeds. Life is good. > > Now... I go into the X:\Disnew\Tester directory and open the application > file. Guess what happens? > The application opens and tests the reference and... finds it because it > can see my dev path. The file works. Life is good, nothing changes. > > A user goes into the X:\DisNew\Tester directory and opens the application > file and ... the application cannot find my dev directory so it starts "the > search". It finds the library in the X:\DisNew\Test directory and > re-references and the application works. Now when the user closes the > file... the file is referenced to the lib on the network. Life is no longer > good! > > Now we decide that the application file tests good and copy it to production > where it is copied, along with the lib down to the user's hard disk. The > user opens the copy on their hard disk and... > the application is referenced to the lib on the network (test directory) and > so it opens the lib on the network. Now I am trying to copy a new version > of the lib to tester and the file is locked. Or something. Life is not > good. > > Let's discuss decompile for a minute. Decompile flushes the pcode buffers > in the Access container, which, simply put, means that all of the "compiled" > code is flushed out. Yes I understand that Access is an interpreter but it > actually compiles the English (VBA) language stuff we write into P-Code and > interprets the P-Code. The compile of the Decompile / Compile matched pair > simply recompiles every single line of VBA code into P-Code and stuffs it > back into the buffers. > > When you perform a decompile / compile, you *REALLY* need to decompile / > compile the library first, then the application using the application. I > don't understand all of the stuff but apparently there is a table of > pointers built by the compile, things like the entry point to functions and > the locations of constant and variables. Apparently when you compile the > application, it goes out and searches the library for these tables in order > to correctly call functions and variables in the library. > > But why do we do a decompile / compile in the first place? Because it is > possible and in fact not uncommon, for the P-Code to get corrupted over > time. If the lib is corrupted and you recompile the app, then the app calls > into corrupted lib stuff. So, decompile / compile the lib *before* you > decompile the application that references the lib. And if you decompile / > compile the lib, then you must must *must* recompile the app because the lib > entry points and variables might change. > > Guess what? If you happen to get confused and decompile / compile anything > on a network share... it may (or may not) cause weird things like the app > refusing to close. So never never *never* decompile / compile anything that > is not local to your hard disk. > > Unfortunately the simple fact that FW3G references the PLSS does not expose > the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and > the application references C2DbPLSS *and* C2DbFW3G because it directly uses > code in both. Oh my goodness. Now I have to decompile / compile the PLSS > first, then the FW3G (because it references PLSS), and then the application > (which directly references both libs). All of this must be done on my local > machine so as to avoid the "can't close" issue discussed above, and then > copied to the final destination for public consumption. > > Furthermore I need to make sure that I reference the PLSS in the FW3G to the > DEV path on my local machine, and likewise reference PLSS and FW3G inside of > the application to the dev path of my local machine. Why? Because that > path is not public to the company and will trigger the re-reference when the > user downloads all this stuff to their local machine. > > But wait, there's more. I have three different applications that use the > PLSS and the framework. > So if I decompile / compile the PLSS / FW3G, all of the applications that > use these libs need to be recompiled. Again, if I make changes to the libs, > any app that I do not decompile will not reacquire the pointer tables in the > libs and may start to fail. > > > And around and around we go. > > I use batch files to copy these pieces to the user's system so that the user > ends up with local copies and doesn't end up permanently re-referencing > things back to the production location. This works reasonably well as long > as everyone plays by the rules. If anyone (other than myself) actually > opens any of these files up in tester or production, then the references > silently change and things go south in a hurry. It took me awhile to figure > out that this was happening (a long time ago) and it took me awhile to > remember that this occurs when I started having strange things happening > recently. That is the reason for starting this thread, to remind the list > how this stuff works and to get input from other list members on their > experiences with this stuff. > > I am a believer in libraries to hold common code. They exist for the simple > reason that changes to that code, bug fixes etc can be done in one place and > propagated to every place the change is needed. It is important to > understand what goes on behind the scenes however or you can have some > strange things happening that will be very difficult to figure out. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 16 06:30:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:30:35 +0100 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: Hi John I think you just won the prize of the year for the longest code-less post! /gustav >>> jwcolby at colbyconsulting.com 15-12-2011 22:37 >>> I use libraries - From Gustav at cactus.dk Fri Dec 16 06:51:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:51:55 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Darryl Even if you don't, some sites you visit may link back to FB (Check for "like this" or similar). If so and if you use WinXP and IE8, you may experience that whenever you open such site, Windows resource usage at once raises from the few percent in idle mode to about 30% because of services.exe doing something unknown - probably some phone-home-to-FB thingy. It may be so aggressive that it eats every second or third keystroke you do while IE8 has focus. A method to kill this misbehaviour is to go to Options .. Security and add to the "dirty" (non-secure) list of sites: *.facebook.com Bingo! Usage drops to a few percent. /gustav PS: I think we are 10 people. >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> I am one of the 9 people on the planet who doesn't use FB at all - From jwcolby at colbyconsulting.com Fri Dec 16 06:50:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 07:50:32 -0500 Subject: [AccessD] Browser Sandbox - Run any browser instantly from the web Message-ID: <4EEB3E98.1040206@colbyconsulting.com> I stumbled across this today. I have Googled Spoon.net and it appears to be up and up, and netcraft gives them a "zero risk" rating. http://codingstrategist.posterous.com/what-is-spoonnet http://spoon.net/browsers -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From marksimms at verizon.net Fri Dec 16 07:53:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 16 Dec 2011 08:53:51 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEAB1FF.9040103@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> Message-ID: <005001ccbbfa$251b5c70$6f521550$@net> John - great post on your use of the libraries....very few developers do this. My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? Any advantage one way or the other ? > > Thanks for those suggestions. My methods are crude and I have always > wanted to get a little more > sophisticated. I will have to spend a little time thinking about the > suggestions you discuss. > > John W. Colby > Colby Consulting From Lambert.Heenan at chartisinsurance.com Fri Dec 16 08:05:02 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 16 Dec 2011 09:05:02 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I cannot claim any credit. I found it on one of the many ASCII Art sites out there, and of course I cannot locate the exact source now, but here's a good one... http://www.ascii-art.de/ Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for > commercial use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? > '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 16 09:07:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:07:01 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: References: Message-ID: <4EEB5E95.1070606@colbyconsulting.com> ROTFL. It's a convoluted subject. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 7:30 AM, Gustav Brock wrote: > Hi John > > I think you just won the prize of the year for the longest code-less post! > > /gustav > > >>>> jwcolby at colbyconsulting.com 15-12-2011 22:37>>> > I use libraries - > > From jwcolby at colbyconsulting.com Fri Dec 16 09:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:15:35 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <005001ccbbfa$251b5c70$6f521550$@net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> <005001ccbbfa$251b5c70$6f521550$@net> Message-ID: <4EEB6097.1080306@colbyconsulting.com> The extension .MDA is just a convention and really doesn't enforce anything. The library can have an MDB, MDE or even XYZ and still be referenced and used. I know because I just renamed one of my libraries to have an extension .XYZ and referenced it. While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. Access can in fact still open the file but you can no longer just double click it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 8:53 AM, Mark Simms wrote: > John - great post on your use of the libraries....very few developers do > this. > My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? > Any advantage one way or the other ? >> >> Thanks for those suggestions. My methods are crude and I have always >> wanted to get a little more >> sophisticated. I will have to spend a little time thinking about the >> suggestions you discuss. >> >> John W. Colby >> Colby Consulting > > From kismert at gmail.com Fri Dec 16 10:14:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 16 Dec 2011 10:14:07 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: > > William Benson: > Control name property is read only in runtime right? So for ac97 this a > manual find and rename operation? > You're correct, name is a design-time property. You can fairly easily write code to rename controls with the form in design view. For the purposes of Lifetime Control Limits, the names don't even have to be meaningful, just different from the defaults. But this code would have to: * Rename control references and event handlers in the form's module * Find and fix all control references in form and control property expressions, as well as in underlying queries. * Find and fix control references in queries, forms, reports, macros and modules outside of the form in question. So, if you have to maintain a monster form that was created in A97, and are running into control limit issues, the task of fixing it could be huge. If that is the case, maybe its time to start from scratch with a simpler solution that spreads functionality among a number of smaller forms. -Ken From charlotte.foust at gmail.com Fri Dec 16 12:19:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:19:22 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From john at winhaven.net Fri Dec 16 12:34:21 2011 From: john at winhaven.net (John Bartow) Date: Fri, 16 Dec 2011 12:34:21 -0600 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Facebook makes its money from advertising. That's why it's free. They will collect as much information from you as they can and they will use it. If you want to prevent that as much as possible you need to go in and thoroughly go through the settings and change them. From charlotte.foust at gmail.com Fri Dec 16 12:39:57 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:39:57 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: <022d01ccbc21$54100360$fc300a20$@winhaven.net> References: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Message-ID: Amen, John! Charlotte Foust On Fri, Dec 16, 2011 at 10:34 AM, John Bartow wrote: > Facebook makes its money from advertising. That's why it's free. They will > collect as much information from you as they can and they will use it. If > you want to prevent that as much as possible you need to go in and > thoroughly go through the settings and change them. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rusty.hammond at cpiqpc.com Fri Dec 16 15:33:54 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 16 Dec 2011 15:33:54 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Another thing I've done is setup an opendns account for my home. It's free and does a nice job of content filtering. No need to install filtering software on the computers, but I do run the opendns ip address update client on my desktop that's on all the time. www.opendns.com Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 6:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 stuart at lexacorp.com.pg Fri Dec 16 16:35:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 17 Dec 2011 08:35:31 +1000 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEB6097.1080306@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com>, <005001ccbbfa$251b5c70$6f521550$@net>, <4EEB6097.1080306@colbyconsulting.com> Message-ID: <4EEBC7B3.9577.A21BA4E@stuart.lexacorp.com.pg> I rename whenever I use an mdb as data storage for a PB application. -- Stuart On 16 Dec 2011 at 10:15, jwcolby wrote: > While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to > obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. > Access can in fact still open the file but you can no longer just double click it. > From vbacreations at gmail.com Fri Dec 16 22:06:42 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:06:42 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Is anyone aware of some Addin or developer tool which takes care of all those referencing issues when renaming controls? It would sure be a plus to have something like that. Maybe no way to fool proof it. I agree about starting from scratch. On Dec 16, 2011 11:16 AM, "Kenneth Ismert" wrote: > > > > William Benson: > > Control name property is read only in runtime right? So for ac97 this a > > manual find and rename operation? > > > > You're correct, name is a design-time property. > > You can fairly easily write code to rename controls with the form in design > view. For the purposes of Lifetime Control Limits, the names don't even > have to be meaningful, just different from the defaults. > > But this code would have to: > * Rename control references and event handlers in the form's module > * Find and fix all control references in form and control property > expressions, as well as in underlying queries. > * Find and fix control references in queries, forms, reports, macros and > modules outside of the form in question. > > So, if you have to maintain a monster form that was created in A97, and are > running into control limit issues, the task of fixing it could be huge. > > If that is the case, maybe its time to start from scratch with a simpler > solution that spreads functionality among a number of smaller forms. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Dec 16 22:09:45 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:09:45 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Would I be mistaken in guessing that EatBloat is a recommended preventive maintenance? From hans.andersen at phulse.com Sat Dec 17 04:08:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 02:08:40 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip address > update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them out > in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page > to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 17 05:34:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 17 Dec 2011 12:34:24 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Charlotte and John You missed that I wrote "whenever you open such site". That's all. No login is needed (or done). This is a WinXP/IE8 combo issue. I don't see it with Vista/IE9. /gustav >>> charlotte.foust at gmail.com 16-12-2011 19:19 >>> Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - From df.waters at comcast.net Sat Dec 17 08:12:50 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 08:12:50 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> Message-ID: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> I use different email addresses, and also log into 4 different customers with 4 different VPN methods. Would OpenDNS cause an issue with any of this? I'm also using Comcast as an ISP - is that OK? I looked at the OpenDNS site, but I didn't see a good explanation of what it was actually doing, or even a general description of how it worked. I don't have my own 'network' - is it helpful without that? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Saturday, December 17, 2011 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip > address update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 09:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 10:06:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <4EECAFED.7070902@colbyconsulting.com> OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 17 09:13:42 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 09:13:42 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <002101ccbcce$76eead20$64cc0760$@comcast.net> I have no doubt that the son of John Colby is very sophisticated, computer literate, and determined! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 9:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different > customers with 4 different VPN methods. Would OpenDNS cause an issue > with any of this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of > what it was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hans-Christian Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if > there are any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. >> It's free and does a nice job of content filtering. No need to >> install filtering software on the computers, but I do run the opendns >> ip address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************* >> * >> 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. >> ********************************************************************* >> * >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 10:15:36 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 11:15:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <002101ccbcce$76eead20$64cc0760$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> <002101ccbcce$76eead20$64cc0760$@comcast.net> Message-ID: <4EECC028.70600@colbyconsulting.com> LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, computer > literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name Server > takes names such as Microsoft.Com and turns that into a numeric IP address > www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses > and filters them against known attributes and makes a decision whether to > perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter out > specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not allowed to > surf to that site. My son then embarks on a concerted attempt to circumvent > this issue and within minutes has discovered what is going on and has > locally set his system to use a different Domain name server. 15 minutes > later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name server > such as OpenDNS, which is a much more secure implementation method. The > problem is that IIRC if you set the NIC itself to use a specific DNS then it > goes around the router. > > But in general, other than for very sophisticated, computer literate and > determined teenagers, a service like OpenDNS works rather well, for what it > is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan From hans.andersen at phulse.com Sat Dec 17 15:31:12 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 13:31:12 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> OpenDNS basically just does the same thing your ISP does, in terms of telling your computer what public IP address (in other words, which public server(s)) are responsible for a given domain name. Your ISP normally provides this service and when you configure your router, it generally gives you those settings automatically, but there is no reason you can't use another provider (if you are a web developer/sys ops person such as myself, it is very useful to query different DNS servers around the world to see if there are problems with your configuration and how it is propagating around). It's just a matter of changing the IP address for DNS in your router or even just specific individual computers/networked devices. What makes OpenDNS stand out is that they add additional features beyond just DNS resolution that you don't get from your ISP at all. Domain filtering, statistics, malware monitoring and phishing/malware filtering (on a DNS level) and so forth. The only thing they ask for in exchange is that you allow them to display their search page with their advertising instead of an error page when you type in a bad domain in your browser address bar. Its a cheap way of providing basic filtering and protection for home, school or business, so, as long as you don't mind a third party company knowing what domains you visit, it's well worth it. They also spend a lot of effort speeding up DNS lookups, so it will be a slight boost to your Internet usage. Also, for those who are security minded and know the technical merits of it, OpenDNS uses DNSCurve (an alternative to DNSSEC), to avoid DNS cache poisoning and so forth, something many ISPs have yet to adopt. Like John said, however, it's trivial for anyone who knows basic networking, so it's not foolproof. But there you go. You get what you pay for (or not). Best regards, Hans-Christian Andersen On 17 Dec 2011, at 06:12, "Dan Waters" wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 17 15:53:15 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 17 Dec 2011 13:53:15 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECC028.70600@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com><002101ccbcce$76eead20$64cc0760$@comcast.net> <4EECC028.70600@colbyconsulting.com> Message-ID: <9CF110EE28CA43C38D0F30CE013A296B@HAL9007> I used to have some illusions about control but they got the crap kicked out of them. 21 is beyond my control. 15 is not interested in porn - more interested in torrenting SkyRim and SolidWorks. And making the robots dance and sing. So far so good. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, > computer literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name > Server takes names such as Microsoft.Com and turns that into a numeric > IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural > language" IP addresses and filters them against known attributes and > makes a decision whether to perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter > out specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not > allowed to surf to that site. My son then embarks on a concerted > attempt to circumvent this issue and within minutes has discovered > what is going on and has locally set his system to use a different > Domain name server. 15 minutes later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name > server such as OpenDNS, which is a much more secure implementation > method. The problem is that IIRC if you set the NIC itself to use a > specific DNS then it goes around the router. > > But in general, other than for very sophisticated, computer literate > and determined teenagers, a service like OpenDNS works rather well, > for what it is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 16:00:58 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 08:00:58 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> Message-ID: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if a client's IP addess is on any blacklists, to check whether their SMTP server is working and not an open relay , check that they have a valid PTR record etc). To query different DNS servers, I use DIG - you can get a Windows CLI version here: http://members.shaw.ca/nicholas.fong/dig/ -- Stuart On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > if you are a web developer/sys ops person such as myself, it is very > useful to query different DNS servers around the world to see if there > are problems with your configuration and how it is propagating around From hans.andersen at phulse.com Sat Dec 17 18:06:48 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 16:06:48 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> They made a Windows version? That's neat. Is that without using Cygwin? - Hans Sent from my iPhone On 2011-12-17, at 2:00 PM, "Stuart McLachlan" wrote: > I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if > a client's IP addess is on any blacklists, to check whether their SMTP server is working and > not an open relay , check that they have a valid PTR record etc). > > To query different DNS servers, I use DIG - you can get a Windows CLI version here: > http://members.shaw.ca/nicholas.fong/dig/ > > -- > Stuart > > On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > >> if you are a web developer/sys ops person such as myself, it is very >> useful to query different DNS servers around the world to see if there >> are problems with your configuration and how it is propagating around > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 18:35:50 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 10:35:50 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg>, <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> Message-ID: <4EED3566.6653.FB61FB2@stuart.lexacorp.com.pg> It uses Cygwin. The zip contains: 12/06/2008 09:35 AM 1,872,884 cygwin1.dll 14/12/2005 01:29 PM 73,728 dig.exe 14/12/2005 01:28 PM 61,440 host.exe 14/12/2005 01:26 PM 21,504 libbind9.dll 14/12/2005 01:23 PM 1,007,616 libdns.dll 16/10/2003 12:09 PM 737,280 libeay32.dll 14/12/2005 01:21 PM 217,088 libisc.dll 14/12/2005 01:25 PM 53,248 libisccfg.dll 14/12/2005 01:26 PM 35,328 liblwres.dll 24/01/2006 08:44 PM 344,064 msvcr70.dll 30/05/2009 07:39 AM 0 resolv.conf 12/05/2008 03:12 PM 19,968 sha1sum.exe 18/11/2009 11:48 PM 80,092 whois.exe On 17 Dec 2011 at 16:06, Hans-Christian Andersen wrote: > They made a Windows version? That's neat. Is that without using Cygwin? > > - Hans > From jimdettman at verizon.net Sun Dec 18 11:30:09 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 18 Dec 2011 12:30:09 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <5DB682B02ABE4F40AA490E1CA5ED2AAA@XPS> << My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse.>> Tongue in cheek or not, wait till he finds out about proxy servers. Even DNS filtering doesn't help you then. Having raised three boys, I can tell you it was a real challenge at times to stay ahead of them. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 10:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 20 12:57:57 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 12:57:57 -0600 Subject: [AccessD] Calculation in query problem Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> I have the following query SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (((GA_Details.UNIT)="PCT")) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) ORDER BY scada_V_All_Meter_Volumes.ReadingDate; The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 I have a feeling I am missing something in the order of calculations as done by Access. Any thoughts appreciated. 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 dw-murphy at cox.net Tue Dec 20 13:28:53 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 20 Dec 2011 11:28:53 -0800 Subject: [AccessD] Access 2010 help functionality problem Message-ID: <001401ccbf4d$9bb725c0$d3257140$@cox.net> Folks, Here is another interesting behavior in Access 2010. It is probably specific to my installation. Today when I was working on a project I hit the F1 key in the VBA IDE to get the parameters for a command. Instead of the help window opening I get a Download authorization dialog that asks if I want to save Transition.htm from MS.MSACESS.DEV.14.1033. So I say yes and it saves the file then I open it and it tries to open itself again. Is there some file association setting that has gotten changed, registry setting that got hosed, or ???? Help has worked. I shut down Access and restarted the computer to make sure it wasn't just something that failed to load. Problem still there. Any suggestions would be appreciated. I don't use Access help that often but I do like to use the help from the object browser and that is broken also. Thanks in advance. Doug From stuart at lexacorp.com.pg Tue Dec 20 15:59:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Dec 2011 07:59:21 +1000 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 Dec 20 16:44:15 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 16:44:15 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D35BE@houex1.kindermorgan.com> Good observation. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 20, 2011 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculation in query problem You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:13:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:13:43 -0500 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <00a101ccbf6d$04a75f40$0df61dc0$@net> Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:22:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:22:11 -0500 Subject: [AccessD] I told you of this one before.....and now another Message-ID: <00a201ccbf6e$33b96e80$9b2c4b80$@net> The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. From marksimms at verizon.net Tue Dec 20 18:12:45 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:12:45 -0500 Subject: [AccessD] And now the other... In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <00a701ccbf75$440949c0$cc1bdd40$@net> Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 18:20:59 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 18:20:59 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00a201ccbf6e$33b96e80$9b2c4b80$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> Message-ID: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Yes! Did I say Yes! Customers tend to buy on who 'sounds' like experts, even though the customer has no way to know who is really qualified. I have a specific process I go through to avoid this. It has two major steps - Requirements and Development. In the Requirements stage, the deliverable is a set of requirements that could be used by anyone. I will estimate the amount of time (money) this will take, but I won't get pinned down. I end up with a set of screenshots that were developed by me and a user group over time. During this phase, I simply bill by the hour. During this time, I am working as a consultant just to create requirements. >From the requirements, I quote a fixed amount to do the Development phase. The customer is free to take the requirements and have them quoted by someone else. If they want to find a cheaper company, so be it - but it hasn't happened yet. At some point during Requirements, I'll start giving a range of what the Development might cost, and I've learned to err on the high side. Another good practice is to do bite-sized pieces. Whatever get chewed off in the beginning will determine what they want to eat later on! Maybe you could now 'ride in on the white horse?' Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] I told you of this one before.....and now another The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 18:46:42 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:46:42 -0500 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Message-ID: <00d701ccbf7a$02897560$079c6020$@net> Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. From ab-mi at post3.tele.dk Tue Dec 20 18:55:19 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 21 Dec 2011 01:55:19 +0100 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <06470800591B41B3B7468FEFA76D4E04@abpc> I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 20 19:05:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 01:05:19 +0000 Subject: [AccessD] And now the other... In-Reply-To: <06470800591B41B3B7468FEFA76D4E04@abpc> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <06470800591B41B3B7468FEFA76D4E04@abpc> Message-ID: <56653D383CB80341995245C537A9E7B560616A@SINPRD0402MB099.apcprd04.prod.outlook.com> This sort of thing is exactly what is hurting a local accounting software company very badly. Their 'upgrade' to a new system has been botched pretty badly. Many complaints and screams from the 1% of customers who are using the new software to date. It is awful that even MYOB's own business partners are recommending that users stay on their legacy software or more to other competing platforms. MYOB haven't handled this very well to date. <> Is a good summary. The forums are interesting reading if you have the time and interest in these sort of things. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Wednesday, 21 December 2011 11:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] And now the other... I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Dec 20 19:09:43 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Dec 2011 20:09:43 -0500 Subject: [AccessD] And now the other... References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> I recently was asked to consult, albeit just a quick opinion, on a similar project. In truth, things didn't look particularly bad, but I didn't spend much time reviewing the code, etc. A developer, via a small consulting firm, WAAAAAAAAAAAAYYYYYYYYY underbid and then stopped working when he tired of the project. The developer claimed the client was guilty of scope creep -- the guy didn't know whether he was or not. There was no formal spec sheet, if the guy was honest with me about it. The budget for the project's been spent and it isn't done. The poor guy is stuck -- boss is mad. At some point in the conversation, sitting in his office, it became apparent to me that he thought I was going to finish it for free. Um... no, and why would I? I just said, "I don't care whether you pay me or whether the consulting firm you originally hired pays me." FWIW, I don't work for that firm, I was just doing someone a quick favor. I'm sitting across from the client and he says, "Developers aren't looking too good to me right now." So not my problem. I finally told him he needed to take it up with the consulting firm and ask for a refund or for someone to complete the project. I doubt he got either. Susan H. > > Well this one should end this final chapter in my career which has become > repetitive with these situations, stressful, and unjust. I'm almost > without > words about how I feel about this awful dev business today thru agencies. > I > do the work, they make the money. I thought slavery was abolished !. > But NO.....because when all of the Indian insourcing and outsourcing was > instituted, the net effect has been reduced opportunities and reduced > wages. > So slavery has come back to America...at least in the IT contracting > world. > What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 20:06:55 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 20:06:55 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00d701ccbf7a$02897560$079c6020$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> Message-ID: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Sounds like this marine shipping company jumped into a leaky boat and headed of in the wrong direction! ;-) They should have known better than that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before.....and now another Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 21:08:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:08:01 -0500 Subject: [AccessD] And now the other...WOW SUSAN In-Reply-To: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <0707F689F69B490FA7954485A33D30B1@SusanHarkins> Message-ID: <000101ccbf8d$c0382260$40a86720$@net> Wow Susan, WHAT A STORY ! The "attitudes" were just so....TELLING. From marksimms at verizon.net Tue Dec 20 21:25:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:25:40 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Message-ID: <000201ccbf90$37605e00$a6211a00$@net> Re: "wrong direction" Your are right, but IT GETS EVEN BETTER : After I installed the really complex and fully integrated with their CRM database Access add-on that provided them with another $300k in services fee income, they later wanted to offer me "Fulltime employment". This was AFTER I made the $80k Access proposal which they rejected. (Remember, they are currently sitting at $180k in dev expenses and NO SYSTEM has been delivered) Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete agreement. The agency decided that they were a "big part" of this (they did NOTHING) and should get a whopping $30k one-time fee for that employment contract. That put me way under $100k as a salary for which I felt entitled...especially given the 60 mile roundtrip commute I was facing daily if I were to commit to them. So I rejected the offer; and then they immediately contracted with that consulting company.... And ..."The Rest Is History" as they say. Incredible story, no ? Susan, something to publish perhaps ? From fuller.artful at gmail.com Wed Dec 21 03:40:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 04:40:25 -0500 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: I feel your pain, but at the same time I predicted this outcome over 10 years ago. We developers have become the MayTag repair-persons of this century. We wait for something to fix, and in the meantime do next to nothing Arthur From darryl at whittleconsulting.com.au Wed Dec 21 04:43:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 10:43:01 +0000 Subject: [AccessD] OT: Book Message-ID: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Arthur, Got my copy of the book today that you recommended. Just want to say thanks. It is great and will be a wonderful resource for both myself and my boys as they grow up. Most excellent indeed. Alos a good time to say a big thank you and merrry xmas to everyone on this list. Once again, you have been an invaluable source of help and support over the past year. I have learnt more from you guys and girls than any course could offer. You are an amazing and always educational resource. So Cheers! :) Darryl. From fuller.artful at gmail.com Wed Dec 21 05:49:46 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 06:49:46 -0500 Subject: [AccessD] OT: Book In-Reply-To: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I'm glad to hear that you like the book. On Wed, Dec 21, 2011 at 5:43 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Arthur, > > Got my copy of the book today that you recommended. Just want to say > thanks. It is great and will be a wonderful resource for both myself and my > boys as they grow up. Most excellent indeed. > > -- Arthur Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 07:54:04 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 08:54:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> Message-ID: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> > > Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete > agreement. > The agency decided that they were a "big part" of this (they did NOTHING) > and should get a whopping $30k one-time fee for that employment contract. > That put me way under $100k as a salary for which I felt > entitled...especially given the 60 mile roundtrip commute I was facing > daily > if I were to commit to them. ========The non-compete was 100% binding? Most will have a clause that restricts you for a certain number of weeks or even months, so how long were you there? > So I rejected the offer; and then they immediately contracted with that > consulting company.... > > And ..."The Rest Is History" as they say. > > Incredible story, no ? > > Susan, something to publish perhaps ? ========10 developers tell their favorite Scrooge stories :) Susan H. From guss at beechnutconsulting.com Wed Dec 21 11:29:10 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Wed, 21 Dec 2011 11:29:10 -0600 Subject: [AccessD] Using MS Access to read the Windows Index Message-ID: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> I have created a folder where I scan documents into searchable pdf files. I have windows (7 Ultimate) indexing setup to index on the contents, and now I want to write a query that uses the Windows Index file as the recordsource. I am hoping to set up this as perhaps a linked table, and build a query that looks something like: Select filename, path FROM WindowsIndexFile where IndexedContent = mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally guessing what the fields are. My computer tells me that the index is stored on C:\Program Data\Windows, but there are a lot of folders under that, and I have no clue about where to look or what the file is or how to access it. Any suggestions appreciated. Thanks. Sincerely yours, Guss Ginsburg Beechnut Consulting Services From davidmcafee at gmail.com Wed Dec 21 12:12:00 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 10:12:00 -0800 Subject: [AccessD] Varying results in an A2007/A2010 ADP stored procedure Message-ID: A coworker wrote a new stored procedure that works just fine when ran from SSMS. If either of these are ran from SSMS: EXEC stpR6Payouts '1/1/2011','11/30/2011','' EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL The data is returned as expected. If, the sproc is ran from VBA, or directly through the immediate window, we get different results. The sproc run from Access will return a few rows short, and data is being calculated incorrectly on the rows that are returned. Hit F5 in Access, and a different row count (and data on the returned rows) will be different. I've always assumed SQL was doing all the work and returning a resultset to Access, but it doesn't appear this is actually what happens. Does anyone have any ideas? TIA, David From marksimms at verizon.net Wed Dec 21 12:35:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:35:43 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> Message-ID: <010901ccc00f$593c53b0$0bb4fb10$@net> You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how long > were you there? > > > Susan H. From df.waters at comcast.net Wed Dec 21 12:43:48 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 12:43:48 -0600 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <010901ccc00f$593c53b0$0bb4fb10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> Message-ID: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> What I'm familiar with is an agreement where the client can't hire a temp until at least x days have passed (typically 90). If they hire a temp after that and before the contract expires, the agency then gets a prorated 'kickback' to cover their lost income. But I've never heard of a restriction After the original working time expires. This sounds onerous enough to wonder if it's legal. Or perhaps legal in one state but not in another. Sounds like a 'job-killer'. Seriously, call your congressman to get this fixed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before....."wrong direction" You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how > long were you there? > > > Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 12:46:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:46:23 -0500 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> Message-ID: <011a01ccc010$d6afb1b0$840f1510$@net> I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I > have windows (7 Ultimate) indexing setup to index on the contents, and > now I > want to write a query that uses the Windows Index file as the > recordsource. > I am hoping to set up this as perhaps a linked table, and build a query > that > looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Wed Dec 21 13:01:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 13:01:52 -0600 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <011a01ccc010$d6afb1b0$840f1510$@net> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> <011a01ccc010$d6afb1b0$840f1510$@net> Message-ID: <01b301ccc013$0035cfe0$00a16fa0$@comcast.net> Hi Guss, You can do a lot with FileSystemObject (Microsoft Scripting Runtime). This is an example of changing the read only property of files in a folder: '------------------- Dim fso As FileSystemObject Dim fol As Folder Dim fil As File Dim filList As Object Dim fProperty As Object Set fso = CreateObject("Scripting.FileSystemObject") Set fol = fso.GetFolder(stgFolderPath) Set filList = f.Files For Each fil In fc '-- Set file as read-only stgFilePath = stgFolderPath & "\" & f1.Name Set fProperties = fso.GetFile(stgFilePath) If blnReadOnly = True Then fProperties.Attributes = 1 Else fProperties.Attributes = 0 End If Next '------------------ There is much more you can do with the methods and properties from FileSystemObject. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Using MS Access to read the Windows Index I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I have windows (7 Ultimate) indexing setup to index on the > contents, and now I want to write a query that uses the Windows Index > file as the recordsource. > I am hoping to set up this as perhaps a linked table, and build a > query that looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Dec 21 13:23:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:23:57 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Did you know about this clause when you signed up? Susan H. > It was a onerous 1 year agreement. The count-down BEGINS the day after no > longer do any work for that client. > Since the client used this agency for other personnel fill-ins as well, > they > did not want to chance a lawsuit over breaking this agreement. > The agencies get away with this because the downside EFFECTS of such an > agreement are never made known. It's the agency's "big secret". That's why > this is such a great story of CAUSE and EFFECT. Here is a clear cut case > of > the clause causing harm to the client. You never hear or read about the > stories related to this, do you ? I can see it now.... > "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > > > >> ========The non-compete was 100% binding? Most will have a clause that >> restricts you for a certain number of weeks or even months, so how >> long were you there? >> >> >> Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 13:37:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:37:58 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Message-ID: <013c01ccc018$0b995cd0$22cc1670$@net> You bet. No leverage to negotiate...natch. I later discovered thru an online forum that Robert Half is one of the most hated and complained about agencies in the country. > > Did you know about this clause when you signed up? > > Susan H. From marksimms at verizon.net Wed Dec 21 13:43:41 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:43:41 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <013d01ccc018$d7d6abe0$878403a0$@net> Exactly Dan. Had it gone to a lawsuit, it would have been your typical "pissing match" by lawyers. No one would win....but they would be enriched in the process. I have heard of these non-compete cases going on for literally decades...I'm not kidding. I had a friend who did exactly that when she set-up her own Orthodontal office near her old boss. Finally settled after 20 years. Today everyone is blaming America's woes on capitalism. That's entirely BOGUS. Capitalism is about FREE MARKETS. However, today's laws and lawyers prevent capitalism to work as it was originally intended to work. We are in a quasi-socialistic environment where the "big boys" and businessmen with political influence rule our world. > But I've never heard of a restriction After the original working time > expires. This sounds onerous enough to wonder if it's legal. Or > perhaps legal in one state but not in another. Sounds like a 'job-killer'. > Seriously, call your congressman to get this fixed. > > Dan From ssharkins at gmail.com Wed Dec 21 13:55:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:55:44 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: My dad sold a small business in the early 80's. The buyer tried to force a non-compete clause that was absolutely ridiculous. My dad would've had to move to work! His lawyer told the buyer no way... they haggled for a long time, but eventually left it out. I guess you can't blame people for trying, we just have to know when to say no. Susan H. > Exactly Dan. Had it gone to a lawsuit, it would have been your typical > "pissing match" by lawyers. > No one would win....but they would be enriched in the process. > I have heard of these non-compete cases going on for literally > decades...I'm > not kidding. > I had a friend who did exactly that when she set-up her own Orthodontal > office near her old boss. > Finally settled after 20 years. From davidmcafee at gmail.com Wed Dec 21 14:37:45 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:37:45 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: I created a new mdb and it returns correctly, as expected via a pass through query. I'm going to try a box with an Access version <2007 to test the ADP. On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > How does it look if you try this in a Pass-Through query? > > Duane Hookom > MS Access MVP > > > > From: davidmcafee at GMAIL.COM > > > > A coworker wrote a new stored procedure that works just fine when ran > from > > SSMS. > > > > > > If either of these are ran from SSMS: > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011','' > > > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL > > > > The data is returned as expected. > > > > > > If, the sproc is ran from VBA, or directly through the immediate window, > we > > get different results. > > > > The sproc run from Access will return a few rows short, and data is being > > calculated incorrectly on the rows that are returned. > > > > Hit F5 in Access, and a different row count (and data on the returned > rows) > > will be different. > > > > I've always assumed SQL was doing all the work and returning a resultset > to > > Access, but it doesn't appear this is actually what happens. > > > > Does anyone have any ideas? > > -------------------------------------------------------------------------- > The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft > international's LISTSERV(R) software. For subscription/signoff info > and archives, see http://peach.ease.lsoft.com/archives/access-l.html . > COPYRIGHT INFO: > http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L > From davidmcafee at gmail.com Wed Dec 21 14:58:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:58:27 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, I tested the ADP on a box with Access 2002. It returned the same, incorrect row count and values. I tried running the stored procedure from a different ADP and it also returns incorrect records. So far the only way to get the correct results besides running it directly in SSMS is to run it from an mdb using a pass through query. What occurs differently between running a pass through vs running the sproc directly from the Access database window? David On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > I created a new mdb and it returns correctly, as expected via a pass > through query. > > I'm going to try a box with an Access version <2007 to test the ADP. > > > > > On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > >> How does it look if you try this in a Pass-Through query? >> >> Duane Hookom >> MS Access MVP >> >> >> > From: davidmcafee at GMAIL.COM >> > >> > A coworker wrote a new stored procedure that works just fine when ran >> from >> > SSMS. >> > >> > >> > If either of these are ran from SSMS: >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >> > >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >> > >> > The data is returned as expected. >> > >> > >> > If, the sproc is ran from VBA, or directly through the immediate >> window, we >> > get different results. >> > >> > The sproc run from Access will return a few rows short, and data is >> being >> > calculated incorrectly on the rows that are returned. >> > >> > Hit F5 in Access, and a different row count (and data on the returned >> rows) >> > will be different. >> > >> > I've always assumed SQL was doing all the work and returning a >> resultset to >> > Access, but it doesn't appear this is actually what happens. >> > >> > Does anyone have any ideas? >> >> -------------------------------------------------------------------------- >> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >> international's LISTSERV(R) software. For subscription/signoff info >> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >> COPYRIGHT INFO: >> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >> > > From marksimms at verizon.net Wed Dec 21 15:06:15 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 16:06:15 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: <002d01ccc024$60a4a3e0$21edeba0$@net> True, but in this economic climate, I am unable to say "no". 15 years ago ? No problem. > we just have to know when to say no. > > Susan H. From davidmcafee at gmail.com Wed Dec 21 15:44:35 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 13:44:35 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, we ran a Trace on the different ways we are running the sproc. When it is called from the ADP, the sproc is called via an RPC, not directly as a passthrough query (as I've assumed it was called). >From the ADP, if I run this: Private Sub Command8_Click() Dim rs As Recordset Set rs = CurrentProject.Connection.Execute("EXEC RRMS.dbo.stpR6Payouts '1/1/2011','11/30/2011',null") Debug.Print rs.RecordCount I get the correct count! If I put an break point on the last line above and run this from the immediate window: rs.MoveFirst ? rs![CustName] STAR FORD ? rs![IndividualPayCalc] 5368 I get the correct amount (that 5368 is never correct when running the sproc from the immediate window in the ADP). So this tells me the rendering in the ADP is having issues, correct? This is scary. How many other things have I trusted to be correct and weren't? :/ Any ideas? David On Wed, Dec 21, 2011 at 12:58 PM, David McAfee wrote: > OK, I tested the ADP on a box with Access 2002. > It returned the same, incorrect row count and values. > > I tried running the stored procedure from a different ADP and it also > returns incorrect records. > > So far the only way to get the correct results besides running it directly > in SSMS is to run it from an mdb using a pass through query. > > What occurs differently between running a pass through vs running the > sproc directly from the Access database window? > > David > > > On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > >> I created a new mdb and it returns correctly, as expected via a pass >> through query. >> >> I'm going to try a box with an Access version <2007 to test the ADP. >> >> >> >> >> On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: >> >>> How does it look if you try this in a Pass-Through query? >>> >>> Duane Hookom >>> MS Access MVP >>> >>> >>> > From: davidmcafee at GMAIL.COM >>> > >>> > A coworker wrote a new stored procedure that works just fine when ran >>> from >>> > SSMS. >>> > >>> > >>> > If either of these are ran from SSMS: >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >>> > >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >>> > >>> > The data is returned as expected. >>> > >>> > >>> > If, the sproc is ran from VBA, or directly through the immediate >>> window, we >>> > get different results. >>> > >>> > The sproc run from Access will return a few rows short, and data is >>> being >>> > calculated incorrectly on the rows that are returned. >>> > >>> > Hit F5 in Access, and a different row count (and data on the returned >>> rows) >>> > will be different. >>> > >>> > I've always assumed SQL was doing all the work and returning a >>> resultset to >>> > Access, but it doesn't appear this is actually what happens. >>> > >>> > Does anyone have any ideas? >>> >>> >>> -------------------------------------------------------------------------- >>> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >>> international's LISTSERV(R) software. For subscription/signoff info >>> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >>> COPYRIGHT INFO: >>> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >>> >> >> > From ssharkins at gmail.com Wed Dec 21 18:09:51 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:09:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Yeah, I understand. I've never turned down work. Susan H. > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > >> we just have to know when to say no. >> >> Susan H. From fuller.artful at gmail.com Wed Dec 21 18:26:12 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 19:26:12 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I don't mean to start a war here, Susan, but I venture to suggest that you ought to learn how to fire clients. Clues include: a) they don't pay within 30 days; b) they don't respond to emails within 24 hours. If either or both of these occur, move on, my lovely lady; call it a lesson learned and move on! But before doing so, document this somewhere findable (FaceBook etc.) to warn us all of dealing with this scumfork client. We have your six, Susan! Love and kisses and Merry Christmas, and know that I meant what I said in the second-previous sentence. You need reinforcements, you got 'em. My arms and reach are long, and extend way past this group. Snap your fingers, and something might happen. A. On Wed, Dec 21, 2011 at 7:09 PM, Susan Harkins wrote: > Yeah, I understand. I've never turned down work. > Susan H. > > True, but in this economic climate, I am unable to say "no". >> 15 years ago ? No problem. >> >> we just have to know when to say no. >>> >>> Susan H. >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 18:47:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:47:24 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net><002d01ccc024$60a4a3e0$21edeba0$@net><68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I would if I needed to -- don't need to. I haven't had a bad client in a long, long time, thank you Jesus. :) What I meant was, if the clients I have need something, I find a way to get it to them. That's because they pay within 30 days and always respond quickly. ;) Susan H. >I don't mean to start a war here, Susan, but I venture to suggest that you > ought to learn how to fire clients. Clues include: > > a) they don't pay within 30 days; > b) they don't respond to emails within 24 hours. > > If either or both of these occur, move on, my lovely lady; call it a > lesson > learned and move on! But before doing so, document this somewhere findable > (FaceBook etc.) to warn us all of dealing with this scumfork client. We > have your six, Susan! > > Love and kisses and Merry Christmas, and know that I meant what I said in > the second-previous sentence. You need reinforcements, you got 'em. My > arms > and reach are long, and extend way past this group. Snap your fingers, and > something might happen. > From marksimms at verizon.net Wed Dec 21 22:13:04 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 23:13:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: <002401ccc060$00acf4b0$0206de10$@net> Wow Art, that is prophetic as a measure of a client. And I totally agree. Their payment practices speak volumes for their commitment and integrity. Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law firm, they spend an enormous amount of time doing what ? SIZING UP THEIR POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. Trust me, I have a good friend in that business. I had a client from hell. Indian guy...IT director. Fired his employee....then a lawsuit ensued (OF COURSE !!). I got hired to pick up that work. It was crap (heard this before ?). I worked like a madman to learn their business, their operations, etc....there was no documentation (heard this before ?) The Access database was in need of a total rewrite. No time for that (heard this before ?) So I kept on working....without getting paid. Then they fired me, just when I had finished it all. Asked for their really expensive laptop back. I REFUSED to give it back without being paid. Agency stepped in....called for a demo. I demoed, they were happy, I got paid...on-the-spot, in full. I was contacted to do some enhancements, they didn't like my price or time estimates... so I never heard from them again. From vbacreations at gmail.com Wed Dec 21 22:26:35 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:26:35 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccc024$60a4a3e0$21edeba0$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: @Art... spot on. The longer one stays associated with a bad gig the less self respect one retains. If you stay on past the point where you can feel yourself beginning to resent this client or employer you might start to show a side of yourself which you wouldn't in a more healthy environment. It usually pays to be diplomatic in how you "fire" a client.Try not to give them a reason to blackball you and offer to do knowledge tranfer ... even if you despise them. When it comes to improving your situation SEEK AND YOU SHALL FIND!!! On Dec 21, 2011 4:07 PM, "Mark Simms" wrote: > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > > > we just have to know when to say no. > > > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 21 22:34:31 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:34:31 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002401ccc060$00acf4b0$0206de10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: When it comes to love you never forget your first. But in the working world you never forget your worst, eh Mark? On Dec 21, 2011 11:14 PM, "Mark Simms" wrote: > Wow Art, that is prophetic as a measure of a client. > And I totally agree. Their payment practices speak volumes for their > commitment and integrity. > Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law > firm, they spend an enormous amount of time doing what ? SIZING UP THEIR > POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. > Trust me, I have a good friend in that business. > > I had a client from hell. Indian guy...IT director. > Fired his employee....then a lawsuit ensued (OF COURSE !!). > I got hired to pick up that work. It was crap (heard this before ?). > I worked like a madman to learn their business, their operations, > etc....there was no documentation (heard this before ?) > The Access database was in need of a total rewrite. No time for that (heard > this before ?) > > So I kept on working....without getting paid. > Then they fired me, just when I had finished it all. > Asked for their really expensive laptop back. > I REFUSED to give it back without being paid. > > Agency stepped in....called for a demo. > I demoed, they were happy, I got paid...on-the-spot, in full. > > I was contacted to do some enhancements, they didn't like my price or time > estimates... > so I never heard from them again. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Dec 22 12:35:38 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 22 Dec 2011 12:35:38 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112221135.pBMBZcol009844@mailhostC.plex.net> Hello Group, i want the last dat from tbl1 Pat Date Result A1 01-01-11 15 A1 10-10-11 7 A1 11-11-11 6 When i use the query: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 GROUP BY tbl1.Pat, tbl1.Result; Then is stil have these three records because of the Result What i need is only record that is really the last date, regardless what value there is for result Pat LastDate Result A1 11-11-11 6 I have done this before, but i can't remember how. Is has to been done with a subquery. Who can help me? Thanks Pedro From fuller.artful at gmail.com Thu Dec 22 06:05:26 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Dec 2011 07:05:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From garykjos at gmail.com Thu Dec 22 08:03:57 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 22 Dec 2011 08:03:57 -0600 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Remove the tbl1.Result from the Group By so you only group by Pat. GK On Thu, Dec 22, 2011 at 6:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat ? ? Date ? ? ? Result > A1 ? ? 01-01-11 ? ?15 > A1 ? ? 10-10-11 ? ? 7 > A1 ? ? 11-11-11 ? ? 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what value there is for result > > Pat ? ? LastDate ? ? ? ? Result > A1 ? ? 11-11-11 ? ? ? ? ? 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > 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 marksimms at verizon.net Thu Dec 22 08:46:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 09:46:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: <007801ccc0b8$8b0e2fe0$a12a8fa0$@net> > When it comes to love you never forget your first. But in the working > world you never forget your worst, eh Mark? I just love that quip Bill. From vbacreations at gmail.com Thu Dec 22 11:02:06 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:02:06 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Ill go out on a limb and suppose that you really meant the Max date since the sample data was in ascending date order. Select tbl1.Pat, tbl1.Result from Tbl1 where tbl1.date =(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat) That is "air code" I have not tested it. On Dec 22, 2011 6:39 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Thu Dec 22 11:02:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 12:02:31 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Instead of using the number format to properly display the numbers, the original developer would use the Format function to round a large series of individual values, and then total-up the rounded results instead of the original values. As you are aware, precision is likely lost in doing it this way. Ex: .55+.55=1.1 His method would be to first "round-up" the .55 to .6: Ex: .6+.6=1.2 In this case, the total is now "off" by almost 10% ! And...this is a vital model that helps to run the company's main processing unit. Wowzer indeed. From vbacreations at gmail.com Thu Dec 22 11:13:33 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:13:33 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Dec 22 11:17:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 09:17:27 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date = B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; The only thing to warn you about Pedro is if you have more than one record with the same last date. For instance. A1 01/01/11 6 B1 01/01/11 5 Also "Date" is a bad name for a field name as it is a reserved word. HTH David McAfee From jwcolby at colbyconsulting.com Thu Dec 22 11:31:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 12:31:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF36984.3020502@colbyconsulting.com> BACKUP the original!!! You need to be able to prove that the old sucked and the new... sucks less... (you can only fix what you find). Then you need to start a document of each thing like this that you find. It will provide a huge evidence base for when you present the case for "your application sucks and this is why it takes so long to get it working". John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 12:02 PM, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > From tinanfields at torchlake.com Thu Dec 22 12:26:48 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 22 Dec 2011 13:26:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net><000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <4EF37668.3010809@torchlake.com> ABSOLUTELY!!! John is right on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/22/2011 12:31 PM, jwcolby wrote: > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge evidence base for when you present the > case for "your application sucks and this is why it takes so long to > get it working". > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/22/2011 12:02 PM, Mark Simms wrote: >> Instead of using the number format to properly display the numbers, >> the original developer would use the Format function to round a large >> series >> of individual values, >> and then total-up the rounded results instead of the original values. >> As you are aware, precision is likely lost in doing it this way. >> Ex: .55+.55=1.1 >> His method would be to first "round-up" the .55 to .6: >> Ex: .6+.6=1.2 >> In this case, the total is now "off" by almost 10% ! >> >> And...this is a vital model that helps to run the company's main >> processing >> unit. >> >> Wowzer indeed. >> >> >> > From steve at datamanagementsolutions.biz Thu Dec 22 14:20:45 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Dec 2011 09:20:45 +1300 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Agreed. Assuming you mean the most recent date, i.e. Max rather than Last, then Arthur's suggestion is how I would do it. Regards Steve -----Original Message----- From: Arthur Fuller Sent: Friday, December 23, 2011 1:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Date Query I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- From stuart at lexacorp.com.pg Thu Dec 22 14:42:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 06:42:41 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> It depends on the situation. If you are rounding prices to the nearest 10c, accountants don't like accounts that show : Item 1 0.60 Item 2 0.60 ============ Total 1.10 If you want the total to equal the sum of all of the line items, you need to round each item (using either ROUND() or FORMAT(). and sum the rounded result. That is standard practice in accounting. -- Stuart On 22 Dec 2011 at 12:02, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 22 14:54:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 15:54:08 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> Message-ID: <4EF398F0.4030401@colbyconsulting.com> It is also standard practice to use a datatype appropriate for currency. That is why currency data types exist. It is also standard practice in banking to round 1/2 of the numbers up and the other down. But that is a discussion for another day. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 3:42 PM, Stuart McLachlan wrote: > It depends on the situation. > > If you are rounding prices to the nearest 10c, accountants don't like accounts that show : > > Item 1 0.60 > Item 2 0.60 > ============ > Total 1.10 > > If you want the total to equal the sum of all of the line items, you need to round each item > (using either ROUND() or FORMAT(). and sum the rounded result. That is standard > practice in accounting. > From stuart at lexacorp.com.pg Thu Dec 22 15:39:28 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 07:39:28 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF398F0.4030401@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg>, <4EF398F0.4030401@colbyconsulting.com> Message-ID: <4EF3A390.30457.28D4B5BD@stuart.lexacorp.com.pg> How do you do that in Excel? ALL numbers in Excel are stored as Doubles, you can only change the display - not the storage format. -- Stuart On 22 Dec 2011 at 15:54, jwcolby wrote: > It is also standard practice to use a datatype appropriate for currency. That is why currency data > types exist. From vbacreations at gmail.com Thu Dec 22 15:49:26 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 16:49:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Since now two posts have been made since I offered my idea that what was really wanted was Max.... and neither commented one way or another on my query .... what was incorrect about how I did it? On Dec 22, 2011 3:22 PM, "Steve Schapel" wrote: > Agreed. Assuming you mean the most recent date, i.e. Max rather than > Last, then Arthur's suggestion is how I would do it. > > Regards > Steve > > -----Original Message----- From: Arthur Fuller > Sent: Friday, December 23, 2011 1:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Last Date Query > > I think what you want is this: > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > FROM tbl1 > ORDER BY tbl1.Date DESC; > > HTH, > Arthur > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > >> Hello Group, i want the last dat from tbl1 >> >> Pat Date Result >> A1 01-01-11 15 >> A1 10-10-11 7 >> A1 11-11-11 6 >> >> When i use the query: >> >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result >> FROM tbl1 >> GROUP BY tbl1.Pat, tbl1.Result; >> >> Then is stil have these three records because of the Result >> >> What i need is only record that is really the last date, regardless what >> value there is for result >> >> Pat LastDate Result >> A1 11-11-11 6 >> >> >> I have done this before, but i can't remember how. >> Is has to been done with a subquery. >> >> Who can help me? >> >> Thanks >> >> Pedro >> -- >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From davidmcafee at gmail.com Thu Dec 22 16:02:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 14:02:59 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Nothing, I think that would work, and would also return more than one record as my suggestion would, if there were indeed more than one record on that max date. D On Thu, Dec 22, 2011 at 1:49 PM, William Benson wrote: > Since now two posts have been made since I offered my idea that what was > really wanted was Max.... and neither commented one way or another on my > query .... what was incorrect about how I did it? > On Dec 22, 2011 3:22 PM, "Steve Schapel" < > steve at datamanagementsolutions.biz> > wrote: > > > Agreed. Assuming you mean the most recent date, i.e. Max rather than > > Last, then Arthur's suggestion is how I would do it. > > > > Regards > > Steve > > > > -----Original Message----- From: Arthur Fuller > > Sent: Friday, December 23, 2011 1:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Last Date Query > > > > I think what you want is this: > > > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > > FROM tbl1 > > ORDER BY tbl1.Date DESC; > > > > HTH, > > Arthur > > > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > > > > >> Hello Group, i want the last dat from tbl1 > >> > >> Pat Date Result > >> A1 01-01-11 15 > >> A1 10-10-11 7 > >> A1 11-11-11 6 > >> > >> When i use the query: > >> > >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > >> FROM tbl1 > >> GROUP BY tbl1.Pat, tbl1.Result; > >> > >> Then is stil have these three records because of the Result > >> > >> What i need is only record that is really the last date, regardless what > >> value there is for result > >> > >> Pat LastDate Result > >> A1 11-11-11 6 > >> > >> > >> I have done this before, but i can't remember how. > >> Is has to been done with a subquery. > >> > >> Who can help me? > >> > >> Thanks > >> > >> Pedro > >> -- > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 16:28:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 22:28:21 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 22 16:59:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 17:59:47 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <005c01ccc0fd$6757d4d0$36077e70$@net> Thanks John - exactly. I hit them with it and they were shocked. Keep in mind, I had to really push them to do this remediation.... they were dragging and kicking their feet. > > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks > less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge > evidence base for when you present the case for "your application sucks > and this is why it takes so > long to get it working". > > John W. Colby > Colby Consulting From marksimms at verizon.net Thu Dec 22 17:06:24 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 18:06:24 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <005d01ccc0fe$54079130$fc16b390$@net> Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error From darryl at whittleconsulting.com.au Thu Dec 22 17:36:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 23:36:46 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <005d01ccc0fe$54079130$fc16b390$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Mark, They had four risk bands (1-4) with each band having a heavier weighting to compensate for the higher risk. There were also four questions (the matching 4's with the questions and banding is a coincidence and not related at all - althought the 4 questions within each combobox is related to the risk banding scale). In this instance it related to property insurance (mainly for fire risk) so the questions were about type of construction, roof, interior and how old the wiring and plumbing was. You get the idea. - it was fairly high level stuff. The maths worked like this. Each of the 4 questions had 4 possible responses. The 4 responses were scaled from 1 to 4 depending on how risky they were. The sum of the four responses were divided by 4 to give a risk band rating. As the division can result in non-integers the value needed to be rounded up or down to the nearest whole to give the correct rating. For example. If the responses were 1 1 2 3 (Total of 7) 7/4 = 1.75 So this customer should be paying the rate from risk band 2. However the code was doing this INT(7/4) to make the integer which would always return a 1 regardless. The only time you would ever get a 2 rating was if the result was > than 2 already. So they were underquoting on their risk for many of their clients. This was really bad for when high level rating 3 types were not being rated as 4 (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). Had a fun one at an oil company with rounding and zeros too. Story for another day. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 10:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Dec 22 19:26:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 20:26:58 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001301ccc111$f7649270$e62db750$@net> (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. From darryl at whittleconsulting.com.au Thu Dec 22 19:35:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 01:35:01 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <001301ccc111$f7649270$e62db750$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes... Fully agree. They (the portfolio risk manager) were really unhappy as the business had already been written, the risk paid for by the client. Nothing they could do except wait out the term of the agreement. of course then it puts them in the situation next year when the client want to renew and the business manager now has to decline it. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 12:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 22 20:56:51 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 21:56:51 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really unhappy > as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as a 3 > would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 21:10:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 03:10:07 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5606FBF@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes, rounding was the oil company problem as well. In short the Aussie HO used to look after all the deliveries to all the piddly little Pacific Islands (right out to Guam etc). A lot of these places would only want less than 500,000 BOE delivered each time the ship showed up. Say Island X wanted 250,000 K of BOE this month. In the Spreadsheet used to track all this stuff the girl would key in 250,000 BOE but the workbook was rounded to display millions of BOE as the minimum display (fair enough I guess as most places do use millions and millions of BOE). Anyway, as expected the 250K would show as Zero in the workbook. Of course whilst the data was in XL the reports would still calculate correctly as the underlying value was indeed 250K, even though it was displayed as zero. But of course they used SAP for their accounting and control. So what happened was the girl would print out her Spreadsheet, send it to another dept who would then (re)key the data into SAP. Suddenly all those little oil deliveries were being entered as Zeros, not their real amounts. BAM! Big problem as millions of BOE started to vanish from the system. Easy enough to fix once I tracked down where the problem was (I ended up showing them how push the data from XL directly into SAP without all the printing, internal mail and rekeying business and also modded the format to show a different format if the zero value was not a true zero. Rounding and formats. Approach with some caution I say. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really > unhappy as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as > a 3 would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 02:18:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 03:18:35 -0500 Subject: [AccessD] Copy and execute from Access Message-ID: <4EF4395B.3010207@colbyconsulting.com> I have written a small app that allows me to define an access application and the file(s) that make it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb and passes in a command line argument which is looked up in a table. The recordset opened then defines what files to copy, the source and destination, the FE to execute, and then opens that app. It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a normal Access application which can be seen until the target FE is up and running and CopyAndExecute closes. Is there a way to cause Access to open invisible? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Fri Dec 23 04:01:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Dec 2011 11:01:31 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Darryl et al Sorry to destroy the party, but all it takes is well defined criteria (business rules) - which seems to have been present here and trivial too - as well as a skilled programmer in this area - no guru or genius is required. If you deal with calculations and feel you can't handle rounding properly, you should put this item on the agenda to fill one of the empty(!) spaces in the upcoming Christmas holiday season. It isn't difficult at all. Hint: The only native function of VB(A) that handles 4/5 rounding correctly is Format. It is, however, not very fast so if speed is a concern you have to run a custom function. And no, the VB(A) function Round is not the answer to any serious task: http://www.xbeat.net/vbspeed/c_Round.htm#Round16 And don't forget: Math is fun! /gustav >>> darryl at whittleconsulting.com.au 22-12-2011 23:28 >>> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. From pedro at plex.nl Fri Dec 23 13:01:41 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 23 Dec 2011 13:01:41 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112231201.pBNC1fGY024467@mailhostC.plex.net> Dear group, thanks for all the help. I have tried all the suggestions. Also i have added some records to the test-table, to exclude double dates etc. Here is the test table: Pat Date Result A1 1-1-20111 5 A1 10-10-2011 7 A1 11-11-2011 8 A1 11-11-2011 6 B2 4-4-2011 6 B2 5-5-2011 3 B2 1-1-2011 15 B2 1-1-2011 4 B2 5-5-2011 5 B2 5-5-2011 1 The result shout be: Pat LastDate Result A1 11-11-2011 8 B2 5-5-2011 5 Here are the result given by the groupmembers, with the result en at last the correct solution. 1-------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, Last(tbl1.Result) AS LastResult FROM tbl1 GROUP BY tbl1.Pat; Pat LastDate LastResult A1 11-11-2011 6 B2 5-5-2011 1 2--------------- SELECT tbl1.Pat, Max(tbl1.Date) AS MaxDate, Max(tbl1.Result) AS MaxResult FROM tbl1 GROUP BY tbl1.Pat; Pat MaxDate MaxResult A1 11-11-2011 8 B2 5-5-2011 6 3--------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date=B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; Pat LastDate Result A1 11-11-2011 6 A1 11-11-2011 8 4------------- SELECT Tbl1.Pat, Tbl1.Date, Tbl1.Result FROM Tbl1 WHERE (((Tbl1.Date)=(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat))); Pat Date Result A1 11-11-2011 8 A1 11-11-2011 6 B2 5-5-2011 3 B2 5-5-2011 5 B2 5-5-2011 1 This solution from Wiliam gives me the all the results with the last date. These i can easily query by: SELECT Query5.Pat, Query5.Date, Max(Query5.Result) AS MaxVanResult FROM Query5 GROUP BY Query5.Pat, Query5.Date; Pat Date MaxVanResult A1 11-11-2011 8 B2 5-5-2011 5 Thanks en best wishes Pedro p.s. David, normally i never use "date" as a fieldname. I was just for this example. From marksimms at verizon.net Fri Dec 23 07:27:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 23 Dec 2011 08:27:39 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From jwcolby at colbyconsulting.com Fri Dec 23 09:34:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 10:34:48 -0500 Subject: [AccessD] Migrate to SQL Server Message-ID: <4EF49F98.5030909@colbyconsulting.com> I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Fri Dec 23 10:05:04 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 23 Dec 2011 20:05:04 +0400 Subject: [AccessD] =?utf-8?q?My_Excel_project=2E=2E=2Eyou_won=27t_believe_?= =?utf-8?q?this_one?= In-Reply-To: <004a01ccc176$a4ce31a0$ee6a94e0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Fri Dec 23 10:05:07 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:05:07 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> John, I've done like you describe with just importing the tables, doing all the fixing up of the tables, relationships, etc... afterwards. Not fun, especially with lots of tables, but that was back on Access 97 and SQL 2000. Have you looked that the SQL Server Migration Assistant (SSMA) at Microsoft? http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp x#Access Here's an old article (July 2003) from Susan Harkins about using the Upsizing Wizard in Access 2003, probably outdated for newer versions of SQL Server http://www.techrepublic.com/article/upsizing-an-existing-microsoft-acces s-database/5035130 HTH Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 9:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 Dec 23 10:26:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:26:51 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4EF4ABCB.2070008@colbyconsulting.com> The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access From rusty.hammond at cpiqpc.com Fri Dec 23 10:42:17 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:42:17 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- 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 df.waters at comcast.net Fri Dec 23 10:47:40 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:47:40 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <015601ccc192$959333e0$c0b99ba0$@comcast.net> Hi John, Honestly, I've used SSMA for Access and it was a little funky. I recently just used the upsizing wizard in Access and that went fine with one strong caveat. I purchased an app named Must for upsizing, and it's better than using the upsizing wizard in Access - for me it pinpointed a bad date in a date field which prevented upsizing in Access. Must does have a little learning curve so go through that for an hour or so and you'll like it. You should upsize Indexes, Validation Rules, Defaults, but do not upsize relationships between tables. This will give you Triggers and Constraints which will be intended to duplicate the functionality of a relationship. That works, but in Diagrams on SQL Server you can create any number of different table relationship diagrams. But when you create the diagrams, you've now duplicated the table relationship functionality with the upsized Triggers and Constraints. SQL Server has good screens for creating both indexes and table relationships, and you should use those. Also, do add timestamp fields - these will allow 'edited record' functionality to work in SQL Server. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Dec 23 10:52:01 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:52:01 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <015a01ccc193$318c66e0$94a534a0$@comcast.net> And - after you click on the Migration Tool tab you have to select 'Access' from the dropdown list under the 'migrating from' square. Otherwise it just looks like SSMA is only for Oracle to SQL Server. Maybe today's version is better than the one I used. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Friday, December 23, 2011 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty From jwcolby at colbyconsulting.com Fri Dec 23 10:54:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:54:44 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <015601ccc192$959333e0$c0b99ba0$@comcast.net> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <015601ccc192$959333e0$c0b99ba0$@comcast.net> Message-ID: <4EF4B254.2030901@colbyconsulting.com> Must looks pretty cheap. I might give that a try. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:47 AM, Dan Waters wrote: > Hi John, > > Honestly, I've used SSMA for Access and it was a little funky. I recently > just used the upsizing wizard in Access and that went fine with one strong > caveat. I purchased an app named Must for upsizing, and it's better than > using the upsizing wizard in Access - for me it pinpointed a bad date in a > date field which prevented upsizing in Access. Must does have a little > learning curve so go through that for an hour or so and you'll like it. > > You should upsize Indexes, Validation Rules, Defaults, but do not upsize > relationships between tables. This will give you Triggers and Constraints > which will be intended to duplicate the functionality of a relationship. > That works, but in Diagrams on SQL Server you can create any number of > different table relationship diagrams. But when you create the diagrams, > you've now duplicated the table relationship functionality with the upsized > Triggers and Constraints. SQL Server has good screens for creating both > indexes and table relationships, and you should use those. > > Also, do add timestamp fields - these will allow 'edited record' > functionality to work in SQL Server. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 10:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Migrate to SQL Server > > The SQL Server migration tool seems to have disappeared. All that's left is > ... a document on how to and links to companies (Microsoft partners?) that > do this. > > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: >> http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp >> x#Access > From jimdettman at verizon.net Fri Dec 23 12:51:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 13:51:49 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <4B6F63DA6C5C4180A0185048B6E2593A@XPS> John, For some great tips on using Access with SQL Server, download "Best of both worlds" from here: http://www.jstreettech.com/cartgenie/pg_developerDownloads.asp Also not sure if it was you or someone else that posted a MSKB/MSDN link that had tons on the deep internals of how Access uses a unique key with table linking and how you could control it in Access. I'll have to dig for that one. I know it was posted to the list at one point (pretty sure I posted the above link as well in the past, but it's worth a re-post). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 14:31:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 15:31:21 -0500 Subject: [AccessD] textbox value is null Message-ID: <4EF4E519.5030106@colbyconsulting.com> I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From guss at beechnutconsulting.com Fri Dec 23 14:46:15 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Fri, 23 Dec 2011 14:46:15 -0600 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <00a101ccc1b3$ea35e890$bea1b9b0$@beechnutconsulting.com> John, I usually accomplish this by using the AfterUpdate event. If the entry is bound to a field then you may want to do validation testing on the entry (such as "is it null?", etc) in the before update event. Once validated, the after update event can populate the derived value into txtB. Sincerely yours, Guss Ginsburg Beechnut Consulting Services -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Dec 23 14:58:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 15:58:49 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <63C61366D5D745588E069510909C22B9@XPS> Until the control is updated, you need to grab the value in the buffer with the .Text property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 03:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Dec 23 15:00:09 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 07:00:09 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Try this: Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) txtB = "C:\Access\" & txtA.Text & IIf(txtA.Text = "", "", "\") End Sub -- Stuart On 23 Dec 2011 at 15:31, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory > location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 23 15:04:31 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 24 Dec 2011 01:04:31 +0400 Subject: [AccessD] =?utf-8?q?Migrate_to_SQL_Server?= In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: Hi John at all -- > The SQL Server migration tool seems to have disappeared. It didn't. I have just used MS Access 2010 and its Database Tools -> SQL Server feature to get upsized my customer model MS Access database into MS SQL Server 2008 R2 database. All worked flawlessly: - autonumbers went upsized into identity fields, - relationships - into DRI (option to be selected in upsizing setup dialog), .... Here is screenshot of relationships diagrams, the one for MS SQL was built and arranged automatically after I have added all the tables to a new empty MS SQL Database Diagram: http://smsconsulting.spb.ru/stest/fm.png Thank you. -- Shamil 23 ??????? 2011, 20:29 ?? jwcolby : > The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how > to and links to companies (Microsoft partners?) that do this. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: > > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > > x#Access > > --> AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Fri Dec 23 15:45:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 23 Dec 2011 13:45:38 -0800 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: I'm not sure value will work the way you want it to, but you might try using the beforeupdate of the first textbox to write the text in the box (not the value) to the second textbox. I may be confusing VB.Net and VBA, so don't take my advice as gospel. Charlotte Foust On Fri, Dec 23, 2011 at 12:31 PM, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a > string in another text box. IOW I type 'a' in txt1 and txt2 is set to > 'C:\Access\a\'. The C:\Access is a constant directory location and I am > inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after > update) so the string I am building looks like 'C:\Access\\' since a null > is being inserted between the 'C:\Access\' and the '\'. I thought I was > going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Fri Dec 23 15:52:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 16:52:46 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <63C61366D5D745588E069510909C22B9@XPS> References: <4EF4E519.5030106@colbyconsulting.com> <63C61366D5D745588E069510909C22B9@XPS> Message-ID: <4EF4F82E.8010903@colbyconsulting.com> OK, thanks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 3:58 PM, Jim Dettman wrote: > > Until the control is updated, you need to grab the value in the buffer with > the .Text property. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 03:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] textbox value is null > > I am trying to use the value of a text box I am typing into to create a > string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access > is a constant directory > location and I am inserting 'C:\Access\'& txtA.Value& '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) > so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the > 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never > really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > From vbacreations at gmail.com Fri Dec 23 21:42:48 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 23 Dec 2011 22:42:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Ok good article ... seems to have been written before ac2010 but I am certainly willing to believe that VBA does no better job of these things than it ever did. THAT SAID... my hope (and trust) is that the Excel interface and its functions would do a better job with calculations. Wherever possible I try to use the worksheet to do as much work as possible. Is that a mistake? I would hate to think I really need to be adding such tedious Udfs to formulas just to get accurate results ?? On Dec 23, 2011 11:06 AM, "Salakhetdinov Shamil" wrote: > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Dec 23 23:45:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 00:45:51 -0500 Subject: [AccessD] Further to libraries Message-ID: <4EF5670F.2050505@colbyconsulting.com> Libraries solve a problem of making fixes and enhancements in one location. They create another problem which is having to test all the applications that use the library to ensure that they all work with the libs before releasing the libs for general use. The reality is that software is so complex that a problem may be found even after "the tests" which may mean backing out the lib (or the app). One way of dealing with that is to have a directory with all of the files required to run the app including the libs. When any of the required files is updated, zip up all of the files and replace whatever files. If a problem is found down the road, unzip all of the files to be back at the previous state. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From vbacreations at gmail.com Sat Dec 24 01:29:03 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 02:29:03 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: I guess even the brief time the application is visible between SET MYACCESS = NEW ACCESS.APPLICATION MYACCESS.VISIBLE = FALSE is not acceptable? On Dec 23, 2011 3:21 AM, "jwcolby" wrote: > I have written a small app that allows me to define an access application > and the file(s) that make it up, and a destination directory to copy it to. > A shortcut opens the access CopyAndExecute.mdb and passes in a command > line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a normal Access application which can be seen > until the target FE is up and running and CopyAndExecute closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From stuart at lexacorp.com.pg Sat Dec 24 03:46:04 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 19:46:04 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 06:39:55 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 24 Dec 2011 07:39:55 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> Message-ID: <001d01ccc239$244b2290$6ce167b0$@gmail.com> But that shortcut... how do you execute it from code, which I think was the original plan?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 24, 2011 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy and execute from Access You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 24 09:31:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:31:24 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Mark Round is and has always been buggy. It is not the same as it will never fit a purpose but for serious use it is not reliable. >From that site (from the link) you can run the test for any custom rounding function. As noted - and (still) to the surprise for many - the only function of VB(A) and Access Basic (version 2.0) too - that performs correct 4/5 rounding is Format. All the Cxxx converter functions perform Banker's Rounding which is not "wrong", just not "clean" 4/5 rounding as you learned in school. /gustav >>> marksimms at verizon.net 23-12-2011 14:27 >>> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From gustav at cactus.dk Sat Dec 24 09:35:46 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:35:46 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Shamil Well, that article is more about the normal precautions to take when dealing with floating point numbers more than rounding issues. It is with rounding as with many other tasks that many methods exist and no one is wrong. It all depends. /gustav >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav From gustav at cactus.dk Sat Dec 24 09:40:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:40:42 +0100 Subject: [AccessD] OT: Merry Christmas Message-ID: Hi all On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. Thanks to all! /gustav From vbacreations at gmail.com Sat Dec 24 09:39:13 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 10:39:13 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 11:43:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 12:43:59 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little more > review. I opened the EIasT.mdb with a breakpoint to allow stepping thru the > code. In the problem data base, the queries and forms - up to the problem > form - are all exported as text as expected. After the error, the code > stops > on a STOP statement, as it should. If I step through, it continues with the > next procedure in code and does Import the text that was previously > exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to perform > this operation. Close unneeded programs and try the operation again". Seems > the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database and > all was well. It did build a directory and saved all queries, forms, > reports > and nodules (I don't have any macros), It did import all the text. It does > Compact and Repair. And the database , original and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I especially > like the line numbers in the vba. I take it that is based on your use of > FMC > utilities. The progress bars are a nice feature - seems there are lots of > people trying to build these based on forums I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 24 11:58:38 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 24 Dec 2011 11:58:38 -0600 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Hi William, I have a version of this that I made for myself. It works on all objects except tables. I can email a copy to you offline if you'd like. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, December 24, 2011 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - further review I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little > more review. I opened the EIasT.mdb with a breakpoint to allow > stepping thru the code. In the problem data base, the queries and > forms - up to the problem form - are all exported as text as expected. > After the error, the code stops on a STOP statement, as it should. If > I step through, it continues with the next procedure in code and does > Import the text that was previously exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to > perform this operation. Close unneeded programs and try the operation > again". Seems the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database > and all was well. It did build a directory and saved all queries, > forms, reports and nodules (I don't have any macros), It did import > all the text. It does Compact and Repair. And the database , original > and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I > especially like the line numbers in the vba. I take it that is based > on your use of FMC utilities. The progress bars are a nice feature - > seems there are lots of people trying to build these based on forums > I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 24 12:01:18 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 13:01:18 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> References: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Message-ID: For sure! THANKS IN ADVANCE. On Dec 24, 2011 1:00 PM, "Dan Waters" wrote: > Hi William, > > I have a version of this that I made for myself. It works on all objects > except tables. > > I can email a copy to you offline if you'd like. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Saturday, December 24, 2011 11:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - > further review > > I am missing the original message where this EIasT.mdb was described / > offered. Reading this message leaves me curious. May I ask someone to send > me this link offlist? > On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > > > Dan, > > > > > > > > Further to my (off list) note from late last night, I did a little > > more review. I opened the EIasT.mdb with a breakpoint to allow > > stepping thru the code. In the problem data base, the queries and > > forms - up to the problem form - are all exported as text as expected. > > After the error, the code stops on a STOP statement, as it should. If > > I step through, it continues with the next procedure in code and does > > Import the text that was previously exported. > > > > > > > > It seems I have a corrupted Form and that its source can not be > retrieved. > > I > > did not find any resolution to the "there isn't enough memory to > > perform this operation. Close unneeded programs and try the operation > > again". Seems the consensus is to rebuild the form involved. > > > > > > > > So from an EIasT view, I did use the utility against another database > > and all was well. It did build a directory and saved all queries, > > forms, reports and nodules (I don't have any macros), It did import > > all the text. It does Compact and Repair. And the database , original > > and rebuilt are available. > > Good stuuf. > > > > > > > > I'm impressed with your code. No wasted code; very concise. I > > especially like the line numbers in the vba. I take it that is based > > on your use of FMC utilities. The progress bars are a nice feature - > > seems there are lots of people trying to build these based on forums > > I've seen. > > > > > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > > Perhaps it should be made available at databaseadvisors as a utility. > > > > > > > > Jack > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Dec 24 13:53:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 14:53:02 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: <004801ccc275$a5cbc9a0$f1635ce0$@net> Thanks to all who responded...fascinating story of a software behemoth that just doesn't care. I don't want to hear the BS that they couldn't fix it because it would something. Total BS. Just an excuse not to fix. > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html From hans.andersen at phulse.com Sat Dec 24 14:10:45 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 24 Dec 2011 12:10:45 -0800 Subject: [AccessD] OT: Merry Christmas In-Reply-To: References: Message-ID: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Glaedelig jul og godt tub'aar. ;) - Hans On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > Hi all > > On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. > Thanks to all! > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 24 14:45:22 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Dec 2011 06:45:22 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <001d01ccc239$244b2290$6ce167b0$@gmail.com> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> Message-ID: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the CopyExecute flash up on screen. My solution does that. On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > But that shortcut... how do you execute it from code, which I think was the > original plan?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, December 24, 2011 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy and execute from Access > > You need two steps: > > 1. Hide on Startup. You can call the following function from an Autoexec > macro: > Option Compare Database > Option Explicit > Const SW_HIDE = 0 > Const SW_NORMAL = 1 > Const SW_MINIMIZED = 2 > Const SW_MAXIMIZED = 3 > > Private Declare Function ShowWindow Lib "user32" _ > (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long > > Function Startup() As Long > Call ShowWindow(hWndAccessApp, SW_HIDE) > End Function > > By itself, that shows a flash of Access as it opens. Tou get rid of that > flash, create a shortcut > to the Access application, set it's "Run:" property to Minimized. Open > your application via > the shortcut and you shouldn't see a thing. > > -- > Stuart > > > On 23 Dec 2011 at 3:18, jwcolby wrote: > > > I have written a small app that allows me to define an access application > and the file(s) that make > > it up, and a destination directory to copy it to. A shortcut opens the > access CopyAndExecute.mdb > > and passes in a command line argument which is looked up in a table. The > recordset opened then > > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a > > normal Access application which can be seen until the target FE is up and > running and CopyAndExecute > > closes. > > > > Is there a way to cause Access to open invisible? > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 24 15:30:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:30:27 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64473.3000305@colbyconsulting.com> Right you are Stuart. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From jwcolby at colbyconsulting.com Sat Dec 24 15:41:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:41:53 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64721.9080009@colbyconsulting.com> That worked perfectly Stuart. I set the shortcut visible attribute to false and then set the Run Minimized attribute and I never even see the CopyAndRun open. I now have a splash form that opens to say "be patient" and off we go. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From vbacreations at gmail.com Sat Dec 24 15:49:37 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:49:37 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF64721.9080009@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I am asking how do you run a shortcut in code. Isn't john doing this with vba? TIA for answering my question so I can follow along. On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > That worked perfectly Stuart. I set the shortcut visible attribute to > false and then set the Run Minimized attribute and I never even see the > CopyAndRun open. I now have a splash form that opens to say "be patient" > and off we go. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > >> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >> not have the >> CopyExecute flash up on screen. My solution does that. >> >> >> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >> >> But that shortcut... how do you execute it from code, which I think was >>> the >>> original plan?? >>> -----Original Message----- >>> From: accessd-bounces@**databaseadvisors.com >>> [mailto:accessd-bounces@**databaseadvisors.com] >>> On Behalf Of Stuart McLachlan >>> Sent: Saturday, December 24, 2011 4:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Copy and execute from Access >>> >>> You need two steps: >>> >>> 1. Hide on Startup. You can call the following function from an Autoexec >>> macro: >>> Option Compare Database >>> Option Explicit >>> Const SW_HIDE = 0 >>> Const SW_NORMAL = 1 >>> Const SW_MINIMIZED = 2 >>> Const SW_MAXIMIZED = 3 >>> >>> Private Declare Function ShowWindow Lib "user32" _ >>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>> >>> Function Startup() As Long >>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>> End Function >>> >>> By itself, that shows a flash of Access as it opens. Tou get rid of that >>> flash, create a shortcut >>> to the Access application, set it's "Run:" property to Minimized. Open >>> your application via >>> the shortcut and you shouldn't see a thing. >>> >>> -- >>> Stuart >>> >>> >>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>> >>> I have written a small app that allows me to define an access >>>> application >>>> >>> and the file(s) that make >>> >>>> it up, and a destination directory to copy it to. A shortcut opens the >>>> >>> access CopyAndExecute.mdb >>> >>>> and passes in a command line argument which is looked up in a table. >>>> The >>>> >>> recordset opened then >>> >>>> defines what files to copy, the source and destination, the FE to >>>> execute, >>>> >>> and then opens that app. >>> >>>> >>>> It all is working now however I would like CopyAndExecute to open >>>> >>> invisible. ATM it opens as a >>> >>>> normal Access application which can be seen until the target FE is up >>>> and >>>> >>> running and CopyAndExecute >>> >>>> closes. >>>> >>>> Is there a way to cause Access to open invisible? >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From vbacreations at gmail.com Sat Dec 24 15:58:44 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:58:44 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I guess I am connecting the wrong dots... when john said "I have written a small app that allows.... I thought his app calls something else via a shortcut. He wrote "A shortcut opens the copyandexecute.mdb..." so i thought this was the first thing his app did. I didnt realize he meant "I use a shortcut to launch my app which is named CopyandExecute.mdb" MY FAULT.pay me no mind. On Dec 24, 2011 4:49 PM, "William Benson" wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/24/2011 3:45 PM, Stuart McLachlan wrote: >> >>> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >>> not have the >>> CopyExecute flash up on screen. My solution does that. >>> >>> >>> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >>> >>> But that shortcut... how do you execute it from code, which I think was >>>> the >>>> original plan?? >>>> -----Original Message----- >>>> From: accessd-bounces@**databaseadvisors.com >>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>> On Behalf Of Stuart McLachlan >>>> Sent: Saturday, December 24, 2011 4:46 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Copy and execute from Access >>>> >>>> You need two steps: >>>> >>>> 1. Hide on Startup. You can call the following function from an Autoexec >>>> macro: >>>> Option Compare Database >>>> Option Explicit >>>> Const SW_HIDE = 0 >>>> Const SW_NORMAL = 1 >>>> Const SW_MINIMIZED = 2 >>>> Const SW_MAXIMIZED = 3 >>>> >>>> Private Declare Function ShowWindow Lib "user32" _ >>>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>>> >>>> Function Startup() As Long >>>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>>> End Function >>>> >>>> By itself, that shows a flash of Access as it opens. Tou get rid of >>>> that >>>> flash, create a shortcut >>>> to the Access application, set it's "Run:" property to Minimized. >>>> Open >>>> your application via >>>> the shortcut and you shouldn't see a thing. >>>> >>>> -- >>>> Stuart >>>> >>>> >>>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>>> >>>> I have written a small app that allows me to define an access >>>>> application >>>>> >>>> and the file(s) that make >>>> >>>>> it up, and a destination directory to copy it to. A shortcut opens the >>>>> >>>> access CopyAndExecute.mdb >>>> >>>>> and passes in a command line argument which is looked up in a table. >>>>> The >>>>> >>>> recordset opened then >>>> >>>>> defines what files to copy, the source and destination, the FE to >>>>> execute, >>>>> >>>> and then opens that app. >>>> >>>>> >>>>> It all is working now however I would like CopyAndExecute to open >>>>> >>>> invisible. ATM it opens as a >>>> >>>>> normal Access application which can be seen until the target FE is up >>>>> and >>>>> >>>> running and CopyAndExecute >>>> >>>>> closes. >>>>> >>>>> Is there a way to cause Access to open invisible? >>>>> >>>>> -- >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> 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 Sat Dec 24 17:26:50 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 18:26:50 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <004801ccc275$a5cbc9a0$f1635ce0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> Message-ID: <000c01ccc293$83bd8b00$8b38a100$@net> Correction in CAPS: I don't want to hear the BS that they couldn't fix it because it would BREAK something. Merry Christmas AccessD members ! From gustav at cactus.dk Sun Dec 25 05:24:40 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 25 Dec 2011 12:24:40 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi William We can't disagree on that. I work mostly with accounting systems and routines related to that where correct and predictable rounding is a high priority area. The issue is that all the Cxx converter functions and Round too perform Banker's Rounding. This is not wrong, only different from what most people expect because very little is told about it. The Int and Fix functions work correctly too and also much more as people expect them to do. What is missing is a function that clearly and correctly performs a true 4/5 rounding as we learned in school, and very few expect the "secret" Format to be that only function which does that. What messes up the picture further, is that Round is buggy as the test function from the link I posted shows. /gustav >>> vbacreations at gmail.com 24-12-2011 16:39 >>> I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil From jwcolby at colbyconsulting.com Sun Dec 25 08:44:10 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Dec 2011 09:44:10 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: <4EF736BA.1070505@colbyconsulting.com> William, What I am trying to do is have a shortcut open a program and keep it invisible. That program copies a bunch of files, then opens a second program, whereupon the first program shuts down. The shortcut properties invisible / minimized cause the first program to never appear. The first program puts up a "working, be patient" splash screen while it is opening the second program. Stuart's suggestion was to use the invisible / minimized properties of the shortcut to cause the first program to not ever even be visible, which is what I was after. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 4:49 PM, William Benson wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting From rockysmolin at bchacc.com Sun Dec 25 12:10:44 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 10:10:44 -0800 Subject: [AccessD] Odd Form Behavior Message-ID: <42452AC49FFE4219B2805935A87BE633@HAL9007> Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From vbacreations at gmail.com Sun Dec 25 16:10:43 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 17:10:43 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <004901ccc352$0c5a2270$250e6750$@gmail.com> Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 16:45:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 14:45:20 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <65B284E7EE1C4E56B7897C75635B070C@HAL9007> William: *** In line. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? *** Yes Is the table, that the form is bound to, located in the same database? *** No - back end Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? *** Tried that but no - same behavior Would it navigate fine if you removed all form module code? *** YES!!! SO now the old binary search to find out which it the offending module, I guess. Merry Christmas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 16:50:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 08:50:06 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 17:24:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:24:21 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 17:42:04 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 18:42:04 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: <004d01ccc35e$cf3d6070$6db82150$@gmail.com> I think of all the questions I asked, only the one about VBA code was worth worrying about. I had misread another post online which had to do with back-end freezing (this seems more like a front end issue). Anyway, here was what I read: http://bytes.com/topic/access/answers/828312-access-back-end-sometimes-freez es -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 17:56:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:56:42 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 18:52:27 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 19:52:27 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Message-ID: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 19:02:03 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 11:02:03 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007>, <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007>, <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: <4EF7C78B.19649.39014499@stuart.lexacorp.com.pg> Define "best". It depends on the needs of the application and what your users are used to. Generally, my users understand and like the fact that changes to a record are "autosaved". If I don't want that behaviour, I give them a read-only form - what's the point of changing data if you don't want the changes saved? -- Stuart On 25 Dec 2011 at 19:52, William Benson (VBACreations. wrote: > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) > If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 19:06:12 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 17:06:12 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com><86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I've done it both ways. I've put Save buttons on the bound form and trapped it when they try to move to a new record with a message "The record has changed since you last saved it. Save it now?". Then, if no, Me.Undo. Kind of depends on the user. And the nature of the data. In this case the data is fairly static, they have an Undo button, and they learn pretty quickly that changes are permanent unless they click the Undo. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 4:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 21:15:42 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 25 Dec 2011 22:15:42 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I would take the approach to prompt that if they continue they will lose unsaved changes. If they say cancel then they cancel the move, if they say ok then do the me.undo. I would never erase the users work just because they didn't want to save unless they agreed they wanted to DISCARD. Same way GMAIL will work with this email. If I press my BACK key I will be asked if I want to discard these changes. If I say cancel I am back to my edits. GOOGLE is more concerned with the bigger risk... losing unsaved changes... than performing my BACK command. On Dec 25, 2011 8:07 PM, "Rocky Smolin" wrote: > I've done it both ways. I've put Save buttons on the bound form and > trapped > it when they try to move to a new record with a message "The record has > changed since you last saved it. Save it now?". Then, if no, Me.Undo. > > Kind of depends on the user. And the nature of the data. > > In this case the data is fairly static, they have an Undo button, and they > learn pretty quickly that changes are permanent unless they click the Undo. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 4:52 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed > to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields > from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form > seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves > the > record but the navigation buttons are still not functional and I can't go > to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this > record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the > same > results. > > I would prefer not to use the save on the dirty event because I have an > undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue Dec 27 08:54:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 09:54:16 -0500 Subject: [AccessD] OT: Merry Christmas In-Reply-To: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> References: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Message-ID: Merry Christmas, a tad late (I've been sick) and Happy New Year to all. Arthur On Sat, Dec 24, 2011 at 3:10 PM, Hans-Christian Andersen < hans.andersen at phulse.com> wrote: > > Glaedelig jul og godt tub'aar. ;) > > - Hans > > > > On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > > > Hi all > > > > On this evening - Merry Christmas to all after another year with a lot > of learning experiences and input at this list (and its sister lists) which > still stands out from all the other fora you and I join. > > Thanks to all! > > > > /gustav > > > > > From fuller.artful at gmail.com Tue Dec 27 11:01:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 12:01:16 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF736BA.1070505@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> <4EF736BA.1070505@colbyconsulting.com> Message-ID: This thread would appear to me to be about a subject addressed by my good friend Dejan Sunderic, in his books about SQL Server, which contained a chapter about inheriting databases. At the time it was a very novel idea, even though at that time I was well-acquainted with O-O software. Building on Dejan's lead, I investigated remodeling the modeldb database, and including a number of oft-used databases, and this has worked even better than I expected. In SQL Server, the core model is called modeldb. What I ended up doing was creating several different versions of this db, with names such as modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each based on modeldb but adding the tables of interest, so that simply by renaming a couple of dbs and then issuing a Create New I had a whole bunch of the core tables (transactions and lookups) instantly installed and populated and ready to go. Perhaps not an ideal solution, but it has worked for me. When doing an Access db, I do it manually, importing tables and forms and queries from databases whose content is isolated (e.g. Geography.mdb, CustomersAndOrders.mdb, COA.mdb), but the key to making this work coherently is precisely named, consistent columns in all the dbs -- it is always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, SupplierID, etc., and that never changes; may not need all of them, but it's all predefined in the inheritable databases and it's always consistent; that's the big trick). I haven't automated this, as JC wants his solution to work. If I'm "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent upon me to remember to "inherit" all the tables and relevant queries and forms, and occasionally, modules. But force of habit causes few mistakes, and upon discovery of one, it's pretty easy to return and grab the missing object. Anyway, Happy New Year to everyone on this list! Arthur On Sun, Dec 25, 2011 at 9:44 AM, jwcolby wrote: > William, > > What I am trying to do is have a shortcut open a program and keep it > invisible. That program copies a bunch of files, then opens a second > program, whereupon the first program shuts down. > > The shortcut properties invisible / minimized cause the first program to > never appear. The first program puts up a "working, be patient" splash > screen while it is opening the second program. > > Stuart's suggestion was to use the invisible / minimized properties of the > shortcut to cause the first program to not ever even be visible, which is > what I was after. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 4:49 PM, William Benson wrote: > >> I am asking how do you run a shortcut in code. Isn't john doing this with >> vba? >> >> TIA for answering my question so I can follow along. >> On Dec 24, 2011 4:44 PM, "jwcolby"> >> wrote: >> >> That worked perfectly Stuart. I set the shortcut visible attribute to >>> false and then set the Run Minimized attribute and I never even see the >>> CopyAndRun open. I now have a splash form that opens to say "be patient" >>> and off we go. >>> >>> John W. Colby >>> Colby Consulting >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From marksimms at verizon.net Tue Dec 27 11:22:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 27 Dec 2011 12:22:47 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <000c01ccc293$83bd8b00$8b38a100$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> <000c01ccc293$83bd8b00$8b38a100$@net> Message-ID: <007501ccc4bc$27c242c0$7746c840$@net> Art - lack of season greatings... I think it's been a "Bah Humbug" Christmas for Access and Excel developers. From mcp2004 at mail.ru Tue Dec 27 12:26:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 27 Dec 2011 22:26:05 +0400 Subject: [AccessD] =?utf-8?q?Copy_and_execute_from_Access?= In-Reply-To: References: <4EF736BA.1070505@colbyconsulting.com> <4EF4395B.3010207@colbyconsulting.com> Message-ID: > Anyway, Happy New Year to everyone on this list! Happy New Year Arthur and All! -- Shamil 27 ??????? 2011, 21:02 ?? Arthur Fuller : > This thread would appear to me to be about a subject addressed by my good > friend Dejan Sunderic, in his books about SQL Server, which contained a > chapter about inheriting databases. At the time it was a very novel idea, > even though at that time I was well-acquainted with O-O software. Building > on Dejan's lead, I investigated remodeling the modeldb database, and > including a number of oft-used databases, and this has worked even better > than I expected. > > In SQL Server, the core model is called modeldb. What I ended up doing was > creating several different versions of this db, with names such as > modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each > based on modeldb but adding the tables of interest, so that simply by > renaming a couple of dbs and then issuing a Create New I had a whole bunch > of the core tables (transactions and lookups) instantly installed and > populated and ready to go. > > Perhaps not an ideal solution, but it has worked for me. When doing an > Access db, I do it manually, importing tables and forms and queries from > databases whose content is isolated (e.g. Geography.mdb, > CustomersAndOrders.mdb, COA.mdb), but the key to making this work > coherently is precisely named, consistent columns in all the dbs -- it is > always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, > SupplierID, etc., and that never changes; may not need all of them, but > it's all predefined in the inheritable databases and it's always > consistent; that's the big trick). > > I haven't automated this, as JC wants his solution to work. If I'm > "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent > upon me to remember to "inherit" all the tables and relevant queries and > forms, and occasionally, modules. But force of habit causes few mistakes, > and upon discovery of one, it's pretty easy to return and grab the missing > object. > > Anyway, Happy New Year to everyone on this list! > Arthur > <<< skipped >>> From jwcolby at colbyconsulting.com Tue Dec 27 20:54:41 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Dec 2011 21:54:41 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> References: <4EF4E519.5030106@colbyconsulting.com> <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Message-ID: <4EFA84F1.3090506@colbyconsulting.com> Yep, that works. I have gotten used to always using .Value which apparently is not valid till AfterUpdate. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > Try this: > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > End Sub > From stuart at lexacorp.com.pg Tue Dec 27 21:21:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 13:21:02 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EFA84F1.3090506@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com>, <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg>, <4EFA84F1.3090506@colbyconsulting.com> Message-ID: <4EFA8B1E.27502.43CD6174@stuart.lexacorp.com.pg> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Dec 28 03:26:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Dec 2011 10:26:46 +0100 Subject: [AccessD] textbox value is null Message-ID: Hi Stuart You may add that property Text is available only when the TextBox (or other type of control) has focus. /gustav >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub From stuart at lexacorp.com.pg Wed Dec 28 03:49:40 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 19:49:40 +1000 Subject: [AccessD] textbox value is null In-Reply-To: References: Message-ID: <4EFAE634.18576.4531333B@stuart.lexacorp.com.pg> Good point. On 28 Dec 2011 at 10:26, Gustav Brock wrote: > Hi Stuart > > You may add that property Text is available only when the TextBox (or other type of control) has focus. > > /gustav > > > >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> > .Value is the underlying "value" of the textbox. It does not change during editing of the > textbox. Only when the control loses focus. It can be a string, a number or a Null. > > .Text is the text string currently *displayed* contents of the textbox, it changes as the content > of the textbox is edited. It is always a string. > > Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an > empty string (that's why the sample code tests for an empty string, not a null.) > > -- > Stuart > > > On 27 Dec 2011 at 21:54, jwcolby wrote: > > > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > > AfterUpdate. > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > > Try this: > > > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Dec 28 08:50:15 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 09:50:15 -0500 Subject: [AccessD] Ya just gotta love it Message-ID: <4EFB2CA7.9080704@colbyconsulting.com> On my workstation at the client I have Access2K and AccessXP (2002) installed. Access 2002 is the one that opens if I just double click a database. I have written this CopyAndRun application for copying the FE and libs to the user's workstation and opening it. C&R uses office automation to open the file just copied. This is the code which actually opens the application just copied. Sub OpenApp(strFEToOpen As String) Dim appAccess As Access.Application ' Create new instance of Microsoft Access. Set appAccess = CreateObject("Access.Application") ' Open database in Microsoft Access window. appAccess.OpenCurrentDatabase strFEToOpen End Sub One of the users has Access2K SP1 installed, and when he uses C&R it does in fact open the target app but it is hidden, i.e. there is an Access process in Task Manager Processes but Access is not listed in Applications. So I try testing it with my system. I use a shortcut to Access 2K (which has SP3) to directly open C&R. I then click a test button which opens the target app. When it opens it is running under Access 2002. IOW even though the code above is running in Access 2K once the dust settles the target is running in Access XP. Not ideal for testing eh? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Wed Dec 28 09:07:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 10:07:08 -0500 Subject: [AccessD] Setting the program default application Message-ID: <4EFB309C.7070908@colbyconsulting.com> I thought that you could right click on an access database file, then Open with / Choose Program / Always use the selected program / browse / then find the program to use and select that and it would permanently modify the double click program used to open that file type. That is not happening, in fact even as I select Access2K and do the open it immediately uses AccessXP to perform the open. WTHO? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Chester_Kaup at kindermorgan.com Wed Dec 28 10:13:39 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:13:39 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <00a101ccbf6d$04a75f40$0df61dc0$@net> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <00a101ccbf6d$04a75f40$0df61dc0$@net> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C39@houex1.kindermorgan.com> Thanks for the suggestion on how to write a better query. The extra records were caused by there being 11 records for each gas meter in the table GA_Details. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculation in query problem Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 Chester_Kaup at kindermorgan.com Wed Dec 28 10:24:49 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:24:49 -0600 Subject: [AccessD] Iif satement problem in query Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 jedi at charm.net Wed Dec 28 11:50:31 2011 From: jedi at charm.net (Michael Bahr) Date: Wed, 28 Dec 2011 12:50:31 -0500 (EST) Subject: [AccessD] Setting the program default application In-Reply-To: <4EFB309C.7070908@colbyconsulting.com> References: <4EFB309C.7070908@colbyconsulting.com> Message-ID: <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> John, try Right-Click Properties | Change You should see the actual application that is being used. Here you can implicitly change to whatever app you want. Mike > I thought that you could right click on an access database file, then Open > with / Choose Program / > Always use the selected program / browse / then find the program to use > and select that and it would > permanently modify the double click program used to open that file type. > > That is not happening, in fact even as I select Access2K and do the open > it immediately uses > AccessXP to perform the open. > > WTHO? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Wed Dec 28 12:02:41 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 10:02:41 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: What is it that you want to return when the EndDate is not greater than RecordDate? this is what is in the else portion: Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] Think of an IIF as an IF Then Else: IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly Third Party Water]![RecordDate]) THEN Max([qry Monthly Third Party Water]![RecordDate]) Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 mcp2004 at mail.ru Thu Dec 1 04:11:42 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 14:11:42 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <4ED62278.3040000@colbyconsulting.com> References: <4ED62278.3040000@colbyconsulting.com> Message-ID: Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 ?Ice Cream Sandwich? on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... From rusty.hammond at cpiqpc.com Thu Dec 1 08:59:53 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 1 Dec 2011 08:59:53 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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 Thu Dec 1 09:16:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 10:16:07 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4ED79A37.70008@colbyconsulting.com> LOL, yea what a scandal! 8o John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 9:59 AM, Rusty Hammond wrote: > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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 Thu Dec 1 10:41:22 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 08:41:22 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. With more Linux packages spreading out in the market, not only will it directly threaten Windows, at least to a small degree but it gives Linux a lot more of free advertisement and before Android Linux had virtually none. That could be very dangerous to Microsoft's previous unchallenged PC domination. But we shall see...If Microsoft released its top versions of Windows at say $100 they could halt the Linux advance but then they would be annoying the PC manufactures market from which they make most of their money. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 2:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- 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 Dec 1 11:05:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 09:05:18 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> The problem is that so far there is no way to remove it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 1 11:08:16 2011 From: john at winhaven.net (John Bartow) Date: Thu, 1 Dec 2011 11:08:16 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. From garykjos at gmail.com Thu Dec 1 11:09:07 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 1 Dec 2011 11:09:07 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- Gary Kjos garykjos at gmail.com From accessd at shaw.ca Thu Dec 1 12:00:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:00:33 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> In all the box stores around here, Staples, Future Shop, Best Buy and even Costco, the last price I saw (yesterday) was $379 plus taxes which puts it up to about $420. There are upgrades from Pro versions to Ultimate versions which can be had for a mere $189 plus tax; $210 You will have to send me one of these super cheap copies. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, December 01, 2011 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- 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 accessd at shaw.ca Thu Dec 1 12:08:39 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:08:39 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: The client wants a full version of Office, word and excel for cheap and they have been hearing how fast a Linux server is. Two years ago they would have never said such a thing. Linux, if they even cared about it, was just for geeks. Now they are asking. Android has changed all that. I have not decided what to tell them yet but if dollars are a concern stick with XP until you need new computers would be my first thought. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 01, 2011 9:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu Dec 1 12:26:12 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 1 Dec 2011 10:26:12 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: OEM versions are running 189 at New egg: http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&N=100006907&isNodeId=1&Description=windows+7+ultimate&x=0&y=0 2011/12/1 Jim Lawrence > In all the box stores around here, Staples, Future Shop, Best Buy and even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will it > > directly threaten Windows, at least to a small degree but it gives Linux > a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows at > say > > $100 they could halt the Linux advance but then they would be annoying > the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > > Cream Sandwich" on x86?: > > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. Dictating code to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating with > >> >> computers by using a broad range of both hands gestures and voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 fuller.artful at gmail.com Thu Dec 1 13:00:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Dec 2011 14:00:51 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: Assuming the availability of a big backup disk (very cheap now, 1TB for less than $100), then I'd opt for DriveImaging the Win 7 boot disk and then replacing the OS with Linux Mint 12 or Ubuntu 11.10, and after that mounging XP and/or Win7 as VMs inside Oracle VirtualBox. In fact that is precisely my plan to execute over the Christmas holidays. I'm still teaching myself C#, with the help of several books, and that's one VM; another is dedicated to my sole remaining Access+Word+Excel=Office Automation client, and there's an Ubuntu VM too. I don't run them all at once, of course; just when I need to or want to. BTW, I think that Mint 12 is pretty slick! A. From hans.andersen at phulse.com Thu Dec 1 13:32:27 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 11:32:27 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> Message-ID: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Dec 1 15:11:18 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Dec 2011 16:11:18 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> From tinanfields at torchlake.com Thu Dec 1 15:43:19 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 16:43:19 -0500 Subject: [AccessD] Paint.net In-Reply-To: <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4ED7F4F7.5030104@torchlake.com> When I try to find paint.net for download, I find GIMP. Are they the same thing? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 11/27/2011 10:53 PM, Darryl Collins wrote: > Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one ! :) thanks. > > Will download and have a look. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Monday, 28 November 2011 1:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Paint.net > > Paint.Net looks like a nice program...I have never heard of it before. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, November 27, 2011 5:40 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Paint.net > > I have to do reports over actual pictures of state documents. Of course the copy is very light. Is it possible to darken the washed out text with Paint.net without also darkening the background. IOW increase the contrast but more than that actually make the grey more black? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Dec 1 15:59:09 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 01 Dec 2011 16:59:09 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: <000601ccb074$74bab5f0$5e3021d0$@net> The "ultimate" question: difference between it and the Pro version ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, December 01, 2011 1:01 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > In all the box stores around here, Staples, Future Shop, Best Buy and > even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts > it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be > had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always > having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install > Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their > case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will > it > > directly threaten Windows, at least to a small degree but it gives > Linux a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows > at > say > > $100 they could halt the Linux advance but then they would be > annoying the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 > "Ice > > Cream Sandwich" on x86?: > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an- > android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. > ?My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. ?IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code > to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using > mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally > mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating > with > >> >> computers by using a broad range of both hands gestures and > voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and > 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 jwcolby at colbyconsulting.com Thu Dec 1 16:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 17:02:29 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED7F975.7010407@colbyconsulting.com> Not to my knowledge. http://www.paint.net/ John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 4:43 PM, Tina Norris Fields wrote: > When I try to find paint.net for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: >> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >> ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >> it possible to darken the washed out text with Paint.net without also darkening the background. >> IOW increase the contrast but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> From dbdoug at gmail.com Thu Dec 1 16:03:50 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 14:03:50 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: Try http://www.getpaint.net/index.html Doug On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net for download, I find GIMP. Are they the > same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course >> the copy is very light. Is it possible to darken the washed out text with >> Paint.net without also darkening the background. IOW increase the contrast >> but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From charlotte.foust at gmail.com Thu Dec 1 17:00:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Dec 2011 15:00:12 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: The download says paint.net but then leads to a gimp download and a site that WOT is less than thrilled with. What's going on? Charlotte Foust On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net > > for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> From hans.andersen at phulse.com Thu Dec 1 17:01:28 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 15:01:28 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F975.7010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED7F975.7010407@colbyconsulting.com> Message-ID: <8F312CA6-84B6-4AEA-954B-372468762FE4@phulse.com> Paint.Net started as a little home project (in 2004) in learning the .NET Framework around the time that Microsoft was really starting to hype .NET. It eventually evolved into a sort of showcase and proof-of-concept of a decent and strictly .NET application. The Gimp has a much longer history, beginning in the mid 90's, as an image editor on Unix. The main difference between the two is that the Gimp has more advanced features and also is cross platform (Windows, Linux, Mac). Paint.Net isn't quite as feature rich and only runs on Windows (I guess Windows XP and above, if you have .NET installed), but it also has more eye candy and a flashier interface (which can be a bit distracting in my opinion though). Popularity-wise, I'd have to say that the Gimp has a bigger user base, but thats not saying much since they are both vastly dwarfed by Photoshop. - Hans On 2011-12-01, at 2:02 PM, jwcolby wrote: > Not to my knowledge. > > http://www.paint.net/ > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 4:43 PM, Tina Norris Fields wrote: >> When I try to find paint.net for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >>> ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >>> Of Jim Lawrence >>> Sent: Monday, 28 November 2011 1:36 PM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Paint.net >>> >>> Paint.Net looks like a nice program...I have never heard of it before. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Sunday, November 27, 2011 5:40 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Paint.net >>> >>> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >>> it possible to darken the washed out text with Paint.net without also darkening the background. >>> IOW increase the contrast but more than that actually make the grey more black? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:09:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:09:11 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> Message-ID: <776135A40CBB4EC1B10997D95CFA09BC@creativesystemdesigns.com> Hi All: Here is a vid on how to go through the steps to install the latest 'gingerbread' cyanogenmod 7 update. It does not even require the product to be 'unlocked' which in some cases invalidates the operator/Cell Service Provider agreement. The modification is also not in violation of Google's agreement with reference to proprietary components...if you do have those new components, they can backed up and restored without violating any licensing agreements. (I have not looked up the methods to properly backup and restore proprietary components, yet.) http://www.youtube.com/watch?v=z3thA9OWQc8 Sorry, to say there is not an 'ice-cream sandwich' version available, yet but, in most cases, unless you have the latest hardware, there are insufficient resources to install and run that version. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Thursday, December 01, 2011 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:12:57 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> Message-ID: Of course, so lowering the price of their separate or non-OEM packages would not adversely affect their OEM hardware distributors, as the user would most likely have to buy new hardware anyway. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 01, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Dec 1 17:20:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 18:20:53 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED80BD5.8080904@torchlake.com> Well, I persevered. The links provided by John and Doug took me to the same place where all the big green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the table near the bottom of the page, I was taken to the page where small text says to click the free link over on the far right. In every page of this journey, the big green arrows all were for GIMP. What a strange experience. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:00 PM, Charlotte Foust wrote: > The download says paint.net but then leads to a gimp download and a site > that WOT is less than thrilled with. What's going on? > > Charlotte Foust > > On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> When I try to find paint.net >> >> for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>> glance) looks better. Nice one ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> From dbdoug at gmail.com Thu Dec 1 17:28:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 15:28:32 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From steve at datamanagementsolutions.biz Thu Dec 1 17:44:07 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 2 Dec 2011 12:44:07 +1300 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> I think this is just a case of a really poor and confusing website layout design. The bit towards the top right, where it says: "Get it now (free download) Paint.NET v 3.5.10" ... that's the bit that is relevant to the Paint.Net download. The big button underneath that, green, with "Download" - that's part of a big square advertisement that (for me at the moment) relates to FoxTab PDF Creator. Regards Steve -----Original Message----- From: Doug Steele Sent: Friday, December 02, 2011 12:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Paint.net I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near > the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: > http://www.databaseadvisors.**com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 1 18:55:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 1 Dec 2011 16:55:20 -0800 Subject: [AccessD] FW: FW: Windows 8 Message-ID: >From my son. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin _____ From: Noah Sutton-Smolin [mailto:heedleblambeedle at gmail.com] Sent: Thursday, December 01, 2011 4:13 PM To: Rocky Smolin Subject: Re: FW: [AccessD] Windows 8 Droid X is CIQ-Free 2011/12/1 Rocky Smolin Does your phone run Carrier IQ in the background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 2 06:00:32 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:00:32 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8BDE0.7000702@torchlake.com> Steve, You're right. I left out that part, didn't I? ALMOST all the big green arrows were for GIMP, but one, right under the Paint.NET real link was another big green arrow for FoxTab PDF Creator. I agree with you that the website layout is poor and confusing. But, as I said, I persevered and finally got Paint.net. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website > layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part > of a big square advertisement that (for me at the moment) relates to > FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table >> near the >> bottom of the page, I was taken to the page where small text says to >> click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a >>> site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: >> http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 06:02:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:02:02 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8BE3A.4030002@torchlake.com> Hi Doug, Yes, that is the site they point to. It's just really badly laid out. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:28 PM, Doug Steele wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From jwcolby at colbyconsulting.com Fri Dec 2 06:40:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:28 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8C73C.6010407@colbyconsulting.com> This happens with most of those pages that exist just to download someone else's program. they apparently get paid for clicks so they intentionally make it very confusing, they intentionally make the big green arrow go to something else entirely because they get paid a few cents of you go there, even if you just immediately click your back button. Hint, the BIG GREEN BUTTON is *not* the one you want to click on. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:20 PM, Tina Norris Fields wrote: > Well, I persevered. The links provided by John and Doug took me to the same place where all the big > green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the > table near the bottom of the page, I was taken to the page where small text says to click the free > link over on the far right. In every page of this journey, the big green arrows all were for GIMP. > What a strange experience. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 From jwcolby at colbyconsulting.com Fri Dec 2 06:40:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:35 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8C743.40302@colbyconsulting.com> No, I think it is intentional. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part of a big square advertisement > that (for me at the moment) relates to FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 07:03:38 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 08:03:38 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8C73C.6010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> Message-ID: <4ED8CCAA.10302@torchlake.com> What a goofy way to make a living! :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/2/2011 7:40 AM, jwcolby wrote: > This happens with most of those pages that exist just to download > someone else's program. they apparently get paid for clicks so they > intentionally make it very confusing, they intentionally make the big > green arrow go to something else entirely because they get paid a few > cents of you go there, even if you just immediately click your back > button. > > Hint, the BIG GREEN BUTTON is *not* the one you want to click on. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >> Well, I persevered. The links provided by John and Doug took me to >> the same place where all the big >> green arrows download GIMP. However, by following carefully and >> clicking on the dotpdn button in the >> table near the bottom of the page, I was taken to the page where >> small text says to click the free >> link over on the far right. In every page of this journey, the big >> green arrows all were for GIMP. >> What a strange experience. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 > From jwcolby at colbyconsulting.com Fri Dec 2 07:22:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 08:22:27 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8CCAA.10302@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: <4ED8D113.4070204@colbyconsulting.com> > What a goofy way to make a living! :-) LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. Well guess what, someone is PAID to trick us. I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/2/2011 8:03 AM, Tina Norris Fields wrote: > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download someone else's program. they >> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >> make the big green arrow go to something else entirely because they get paid a few cents of you go >> there, even if you just immediately click your back button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>> table near the bottom of the page, I was taken to the page where small text says to click the free >>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>> What a strange experience. >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >> From hans.andersen at phulse.com Fri Dec 2 07:28:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 05:28:40 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED8D113.4070204@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> <4ED8D113.4070204@colbyconsulting.com> Message-ID: Maybe the website operators aren't aware of it and the ads are being delivered by a third party ad network? Best regards, Hans-Christian Andersen On 2 Dec 2011, at 05:22, jwcolby wrote: > > What a goofy way to make a living! :-) > > LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. > > Well guess what, someone is PAID to trick us. > > I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. > > Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/2/2011 8:03 AM, Tina Norris Fields wrote: >> What a goofy way to make a living! :-) >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/2/2011 7:40 AM, jwcolby wrote: >>> This happens with most of those pages that exist just to download someone else's program. they >>> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >>> make the big green arrow go to something else entirely because they get paid a few cents of you go >>> there, even if you just immediately click your back button. >>> >>> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>>> table near the bottom of the page, I was taken to the page where small text says to click the free >>>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>>> What a strange experience. >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Dec 2 07:45:49 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Dec 2011 08:45:49 -0500 Subject: [AccessD] Paint.net References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com><4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: Passive income... the best kind! ;) I'll click for food... Susan H. > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download >> someone else's program. they apparently get paid for clicks so they >> intentionally make it very confusing, they intentionally make the big >> green arrow go to something else entirely because they get paid a few >> cents of you go there, even if you just immediately click your back >> button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> From garykjos at gmail.com Fri Dec 2 08:34:40 2011 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Dec 2011 08:34:40 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Most of our machines are work are still running XP and Office 2003. Works fine until you hit the row limits in Excel or something. I've never been a fan of upgrading operating systems - well not since the DOS days anyway. The hardware requirements go up with each new version and so you are usually not as happy with the new OS on old hardware as you would be with the New OS on New hardware. With the price of hardware as low as it is now I thinik it's a better choice to just replace the enter box OS and all. If you need to upgrade at all that is. The question is, what do they need to do that they can't do now? GK On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: > The client wants a full version of Office, word and excel for cheap and they > have been hearing how fast a Linux server is. Two years ago they would have > never said such a thing. Linux, if they even cared about it, was just for > geeks. Now they are asking. Android has changed all that. > > I have not decided what to tell them yet but if dollars are a concern stick > with XP until you need new computers would be my first thought. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, December 01, 2011 9:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > I never really understood what "their old XP computers do need a face-lift" > meant. Why? -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Dec 2 10:27:51 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 08:27:51 -0800 Subject: [AccessD] Solution in search of a problem Message-ID: I have had occasion to create custom spread sheets from access table data where TransferSpreadsheet wouldn't work. After all of the rows have been written, I use: objXLWS.Columns("A:U").Columns.AutoFit and all of the columns automagically adjust their widths to fit the data so when the user opens it up it looks real pretty and all the data is displayed - column set to the width of the longest value in the column - but without a lot of white space which you'd get if you tried to guess the column width needed. HTH somebody Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From markamatte at hotmail.com Fri Dec 2 10:29:04 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 16:29:04 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , Message-ID: Hello All, Anyone done any matching or standardization routines around company names? Thanks, Mark M. From jackandpat.d at gmail.com Fri Dec 2 10:33:29 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 11:33:29 -0500 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Mark, Can you give a little more info? What's the context? Are you looking for Address etc. On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > Hello All, > > Anyone done any matching or standardization routines around company names? > > Thanks, > > Mark M. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Fri Dec 2 12:24:38 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 10:24:38 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: <5441C45C-DD66-46D4-A008-B2841A18393C@phulse.com> Not to mention the massive pollution to the environment by simply discarding computer hardware just to get that new upgrade to something new or run the latest version of Windows. It would be far better to recycle and repurpose computers you presently own, if you plan to upgrade your main desktop (ie. put linux on it or turn it into a media or web server or something like that), or give it away to someone else who can make use of it. This is an oft neglected subject, simply because all the waste gets exported halfway across the world, where we don't have to see or deal with the effects of it ourselves. http://www.youtube.com/watch?v=5sMOAWW6I0k - Hans On 2011-12-02, at 6:34 AM, Gary Kjos wrote: > Most of our machines are work are still running XP and Office 2003. > Works fine until you hit the row limits in Excel or something. I've > never been a fan of upgrading operating systems - well not since the > DOS days anyway. The hardware requirements go up with each new version > and so you are usually not as happy with the new OS on old hardware as > you would be with the New OS on New hardware. With the price of > hardware as low as it is now I thinik it's a better choice to just > replace the enter box OS and all. If you need to upgrade at all that > is. The question is, what do they need to do that they can't do now? > > GK > > On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: >> The client wants a full version of Office, word and excel for cheap and they >> have been hearing how fast a Linux server is. Two years ago they would have >> never said such a thing. Linux, if they even cared about it, was just for >> geeks. Now they are asking. Android has changed all that. >> >> I have not decided what to tell them yet but if dollars are a concern stick >> with XP until you need new computers would be my first thought. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow >> Sent: Thursday, December 01, 2011 9:08 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Windows 8 >> >> I never really understood what "their old XP computers do need a face-lift" >> meant. Why? > > -- > 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 edzedz at comcast.net Fri Dec 2 12:47:22 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 11:47:22 -0700 Subject: [AccessD] Any good name matching algorithms in VBA Message-ID: <008401ccb122$d40d7d40$5bdea8c0@edz1> Does anyone know where I can find some good name matching algorithms in VBA, and or examples, that I can look into ? Thanks. Ed Zuris. edzedz at comcast.net From charlotte.foust at gmail.com Fri Dec 2 12:51:51 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:51:51 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Fri Dec 2 12:55:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:55:53 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table data > where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the data so > when the user opens it up it looks real pretty and all the data is > displayed > - column set to the width of the longest value in the column - but without > a > lot of white space which you'd get if you tried to guess the column width > needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From edzedz at comcast.net Fri Dec 2 13:33:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 12:33:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000701ccb129$40844ed0$5bdea8c0@edz1> It might be. Is there a Access example that I could study to see if would fit ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Fri Dec 2 13:52:55 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 14:52:55 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Fri Dec 2 13:55:48 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 19:55:48 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , , , Message-ID: Address standardization is everywhere...we us the postal service. Even the first/last name is covered. I'm specifically looking for company/business names. I have found a few packages/services online...I was just wondering if anyone had any experience working with or writing VBA/SQL to accomplish something like this. Thanks, Mark A. Matte > From: jackandpat.d at gmail.com > Date: Fri, 2 Dec 2011 11:33:29 -0500 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Company name matching/standardization > > Mark, > > Can you give a little more info? What's the context? Are you looking for > Address etc. > > On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > > > > Hello All, > > > > Anyone done any matching or standardization routines around company names? > > > > Thanks, > > > > Mark M. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Fri Dec 2 14:02:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Dec 2011 15:02:12 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <001e01ccb12d$4864ec00$d92ec400$@net> Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From edzedz at comcast.net Fri Dec 2 14:10:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 13:10:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <001e01ccb12d$4864ec00$d92ec400$@net> Message-ID: <000b01ccb12e$6b974730$5bdea8c0@edz1> Thanks. . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 02, 2011 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Dec 2 15:23:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 13:23:34 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Fri Dec 2 15:31:30 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 13:31:30 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Don't know. Never had an occasion to export a memo field. I've had some very long test fields which made the column width unwieldy. So after that statement I adjust the long field to something reasonable and turn on the word wrap. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 10:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Solution in search of a problem Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table > data where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the > data so when the user opens it up it looks real pretty and all the > data is displayed > - column set to the width of the longest value in the column - but > without a lot of white space which you'd get if you tried to guess the > column width needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Dec 2 15:48:50 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Dec 2011 22:48:50 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi Jim Of course, most old hardware won't do. But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. It took a little to locate the legacy ATI video drivers for Vista, though. /gustav >>> jimdettman at verizon.net 01-12-2011 22:11 >>> Try running Win 7 on older hardware and you won't like it. Jim. From stuart at lexacorp.com.pg Fri Dec 2 16:04:12 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:04:12 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:07:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:07:18 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, Message-ID: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:48:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:48:48 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> > On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > Function LevenshteinDistance(phrase1 As String, phrase2 As String) As Long 'Calculates the minimum number of edits required to transform 'Phrase1 into Phrase2 using addition, deletion, and substitution of characters 'Case insensitive Dim str1() As String Dim str2() As String Dim dist() As Long Dim lngLen1 As Long Dim lngLen2 As Long Dim i As Long Dim j As Long Dim k As Long Dim a(2) As Long Dim r As Long Dim cost As Long lngLen1 = Len(phrase1) lngLen2 = Len(phrase2) ReDim str1(lngLen1) ReDim str2(lngLen2) ReDim dist(lngLen1, lngLen2) For i = 1 To lngLen1 str1(i) = UCase$(Mid$(phrase1, i, 1)) Next For i = 1 To lngLen2 str2(i) = UCase$(Mid$(phrase2, i, 1)) Next For i = 0 To lngLen1 dist(i, 0) = i Next For j = 0 To lngLen2 dist(0, j) = j Next For i = 1 To lngLen1 For j = 1 To lngLen2 If str1(i) = str2(j) Then cost = 0 Else cost = 1 End If a(0) = dist(i - 1, j) + 1 '' deletion a(1) = dist(i, j - 1) + 1 '' insertion a(2) = dist(i - 1, j - 1) + cost '' substitution r = a(0) For k = 1 To UBound(a) If a(k) < r Then r = a(k) Next dist(i, j) = r Next Next LevenshteinDistance = dist(lngLen1, lngLen2) End Function From mcp2004 at mail.ru Fri Dec 2 17:50:19 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 03:50:19 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: References: Message-ID: Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sat Dec 3 09:21:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 03 Dec 2011 10:21:24 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: Message-ID: <591BD9DBEA5E4256B8EBECFC66083908@XPS> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines you are describing would have been considered higher end machines; not the typical entry level machines that most businesses put in place. In fact if you remember when Vista came out, the big stink was that Microsoft said flat out "buy new hardware" if you wanted to use all the features (it was more then memory, but memory was a good part of it). Many at that time asked if Vista was even worth the upgrade price considering you could not use most of the new features if you didn't get new hardware. Win 7 is a far better OS then Vista and is what Vista should have been, but it's still something I would not consider running on anything less then 2GB. I have clients that have fallen behind on five year replacement cycles and have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. And yes I know memory is cheap, but in many cases the MB is maxed out and upgrading is not possible. Replacing the station as a whole is the best approach, but they've held off. Thankfully most of them are caught up now, but I still have a few stragglers. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Friday, December 02, 2011 06:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Dec 3 09:43:49 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Dec 2011 10:43:49 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> Message-ID: <006f01ccb1d2$5a050a30$0e0f1e90$@net> Extremely interesting. Does GOOGLE use this or a proprietary variant I wonder ? http://en.wikipedia.org/wiki/Levenshtein_distance From edzedz at comcast.net Sat Dec 3 11:38:15 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:38:15 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Better solutions ? Please share. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 11:40:30 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:40:30 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <000701ccb1e2$a7124760$5bdea8c0@edz1> Thanks. . . Will look into the HotFuzz() function at the end. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/ trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:12:40 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:12:40 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000b01ccb1e7$2575a350$5bdea8c0@edz1> Thanks. http://allenbrowne.com/vba-Soundex.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:14:43 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:14:43 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Dec 3 13:50:12 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 23:50:12 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <591BD9DBEA5E4256B8EBECFC66083908@XPS> References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: Hi Jim -- Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? Thank you. -- Shamil 03 ??????? 2011, 19:22 ?? "Jim Dettman" : > > It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines > you are describing would have been considered higher end machines; not the > typical entry level machines that most businesses put in place. > > In fact if you remember when Vista came out, the big stink was that > Microsoft said flat out "buy new hardware" if you wanted to use all the > features (it was more then memory, but memory was a good part of it). Many > at that time asked if Vista was even worth the upgrade price considering you > could not use most of the new features if you didn't get new hardware. > > Win 7 is a far better OS then Vista and is what Vista should have been, but > it's still something I would not consider running on anything less then 2GB. > > I have clients that have fallen behind on five year replacement cycles and > have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. > And yes I know memory is cheap, but in many cases the MB is maxed out and > upgrading is not possible. Replacing the station as a whole is the best > approach, but they've held off. > > Thankfully most of them are caught up now, but I still have a few > stragglers. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Friday, December 02, 2011 06:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi Gustav -- > > Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop > Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... > > And this old laptop also runs rather well Windows Phone 7 emulator while > debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and > XNA development isn't available AFAIS) but still well IMO to start learning > WP7 development... > > Thank you. > > -- Shamil > > 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > > Hi Jim > > > > Of course, most old hardware won't do. > > > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion > zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 > with DirectX 9) and it runs of course not fast but smoothly. > > > > It took a little to locate the legacy ATI video drivers for Vista, though. > > > > /gustav > > > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > > > Try running Win 7 on older hardware and you won't like it. > > > > Jim. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Dec 3 16:40:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Dec 2011 08:40:20 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Message-ID: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Levenshtein and the HotFuzz() function for two, On 3 Dec 2011 at 10:38, Edward Zuris wrote: > > Better solutions ? > > Please share. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, December 02, 2011 3:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > Soundex is very limited, that are much better solutions. > > -- > Stuart > > On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > > > I used to use Soundex a lot. Is that the kind of thing you're looking > > > for? > > > > Charlotte Foust > > > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > > wrote: > > > > > > > > Does anyone know where I can find some good name > > > matching algorithms in VBA, and or examples, that > > > I can look into ? > > > > > > Thanks. > > > > > > Ed Zuris. > > > edzedz at comcast.net > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 3 18:23:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 19:23:04 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: <4EDABD68.3040307@colbyconsulting.com> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007605%2050001305&IsNodeId=1&bop=And&SrchInDesc=momentus%20xt&Page=1&PageSize=100 It adds a 4 gig "SSD" (flash) cache to store small files that are loaded often. It takes several times loading things but on the second or third pass suddenly stuff loads faster. I bought one for my laptop and I was so pleased that I did the same for my wife's notebook. It is not the same experience as a full on SSD boot disk but very close. On my WMC system downstairs I repurposed an old 30 gb SSD drive that simply wasn't big enough to make the boot disk, and I put a 15 gb readyboost cache on it and put the swap file on the rest. That too has made an enormous difference. But for a notebook where you only have a single disk slot, try the seagate momentus. It may give the old laptop an addition couple of years. I actually replaced my brand new laptop's 5400 rpm drive with this thing and man what a difference. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/3/2011 2:50 PM, Salakhetdinov Shamil wrote: > Hi Jim -- > > Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) > I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. > This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. > > Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. > 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? > > Thank you. > > -- Shamil > > > 03 ??????? 2011, 19:22 ?? "Jim Dettman": >> >> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines >> you are describing would have been considered higher end machines; not the >> typical entry level machines that most businesses put in place. >> >> In fact if you remember when Vista came out, the big stink was that >> Microsoft said flat out "buy new hardware" if you wanted to use all the >> features (it was more then memory, but memory was a good part of it). Many >> at that time asked if Vista was even worth the upgrade price considering you >> could not use most of the new features if you didn't get new hardware. >> >> Win 7 is a far better OS then Vista and is what Vista should have been, but >> it's still something I would not consider running on anything less then 2GB. >> >> I have clients that have fallen behind on five year replacement cycles and >> have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. >> And yes I know memory is cheap, but in many cases the MB is maxed out and >> upgrading is not possible. Replacing the station as a whole is the best >> approach, but they've held off. >> >> Thankfully most of them are caught up now, but I still have a few >> stragglers. >> >> Jim. >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov >> Shamil >> Sent: Friday, December 02, 2011 06:50 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Windows 8 >> >> Hi Gustav -- >> >> Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop >> Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... >> >> And this old laptop also runs rather well Windows Phone 7 emulator while >> debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and >> XNA development isn't available AFAIS) but still well IMO to start learning >> WP7 development... >> >> Thank you. >> >> -- Shamil >> >> 03 ??????? 2011, 01:45 ?? "Gustav Brock": >>> Hi Jim >>> >>> Of course, most old hardware won't do. >>> >>> But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion >> zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 >> with DirectX 9) and it runs of course not fast but smoothly. >>> >>> It took a little to locate the legacy ATI video drivers for Vista, though. >>> >>> /gustav >>> >>>>>> jimdettman at verizon.net 01-12-2011 22:11>>> >>> >>> Try running Win 7 on older hardware and you won't like it. >>> >>> Jim. >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > From jwcolby at colbyconsulting.com Sat Dec 3 20:06:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 21:06:28 -0500 Subject: [AccessD] Subversion repositories and server Message-ID: <4EDAD5A4.3020505@colbyconsulting.com> I use subversion here at my office. I have to say I find it confusing and "just use it" without really understanding it. I am trying to set it up at my clients as I am about to start doing some VS 2010 / C# stuff there to replace some less reliable Access stuff. I want the repositories to reside on the server with all of its raid and backup safety net. Here at my office I use the file:// method of accessing the repository which the way I understand it is nothing more than allowing VSN on the workstation to check in and out through a shared directory. When I started research on Google I am getting "shared directories is a bad idea, use a server", but I do not know how to do that. I have set up the server simply by downloading the VisualSVN Server msi and installing it. I created a group and a user and ser my user into the group. I then created two repositories for two different projects and added the group to the project with R/W access and disabled the Everyone user. My question is how do I get my workstation to use the server now? I am using VS 2010, and it has the VisualSVN package installed. I just need to "hook up" the VisualSVN in my workstation to get data from the repository server. Onw would think that there would be a place to go to tell VisualSVN in the workstation "your server is named XYZ" etc but I am not finding that. The "Get solution from Subversion" has a Repository URL line but it does not automatically look for and find my repository and I have no clue what the URL is. IMHO this is the shakiest part of using this stuff. Any help is much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Dec 3 21:39:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 22:39:42 -0500 Subject: [AccessD] VSN right click isn't working Message-ID: <4EDAEB7E.1090208@colbyconsulting.com> I use VSN with right click context stuff to check in and out some DLLs such as NLog which are referenced by my projects but are not stuff that I can directly open in VS and use that to do the checkin. The problem is that while the right click menu works on my systems at the office, at my client they cause Windows Explorer to crash, as in close and explorer reopens a few seconds later. Right clicking on any file or directory causes the explorer crash. I eventually found this thing called ShellExView that allows one to see the right click processes that are hooking into Explorer's right click widget, and from there I caused all of the VSNTortoise stuff to stop and the crashes stopped. So I can't use VSN's stuff on my dev machine at the client to check directories in and out of tortoise / VSN and so I have no way to check in initially. I decided to try and do this on the server directly and the right click menu works just fine there, or at least doesn't page fault explorer. However when I try to check it in, it complains about a different user or something. Sigh. AFAIC I do not have to have this in source control, i.e. the reference that I am trying to check in are just dlls which are referenced at a specific path on my hard disk and for that purpose having them in source control doesn't matter. However putting it in source control allows me to "check them out" from any other machine which needs them, and further if I get a new version of a file (nlogs.dll for example) I can check it in and then check it out on other machines to get the latest. The whole point of source control really. So long term I really want to get this working. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From gustav at cactus.dk Sun Dec 4 04:20:48 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Dec 2011 11:20:48 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi John Had the same idea about a 64 GB SSD drive I have at hand, but my old zd8000 sports an ATA interface only. No cigar. /gustav >>> jwcolby at colbyconsulting.com 04-12-2011 01:23 >>> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. From marksimms at verizon.net Sun Dec 4 09:48:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 10:48:14 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Message-ID: <000001ccb29c$22db9540$6892bfc0$@net> Best solution IMHO: Use all three....table lookup, and then the below. > Levenshtein and the HotFuzz() function for two, > From jwcolby at colbyconsulting.com Sun Dec 4 09:59:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 10:59:19 -0500 Subject: [AccessD] Users in SQL Server Message-ID: <4EDB98D7.30009@colbyconsulting.com> Several times now I have run into an issue where SQL Server does not have a pair of users I use for my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases that I am picking up on that server was already set up and has those users. When I try to set those users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. Basically I am able to create the user but not assign rights - db_reader, db_writer etc. I have always been fuzzy about how this stuff works and I just need an explanation of why it won't allow me to set these rights even though the user exists and the check boxes are enabled when I select that database. I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have a DiscoApp in the database with a set of rights for that database but when I look at it back at the server level it does not reflect those rights for that user for that database. Any assistance great fully accepted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sun Dec 4 10:13:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 11:13:31 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB98D7.30009@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> Message-ID: <4EDB9C2B.1010201@colbyconsulting.com> >I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. Unfortunately after I did this delete / re-add rigamarole I discovered that all of the rights to objects in the database were removed. For example I had rights to execute stored procedures assigned to these users but after deleting the users the rights to execute were lost. Sigh. This SQL Server Users stuff is really developer unfriendly. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 10:59 AM, jwcolby wrote: > > Several times now I have run into an issue where SQL Server does not have a pair of users I use for > my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases > that I am picking up on that server was already set up and has those users. When I try to set those > users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. > Basically I am able to create the user but not assign rights - db_reader, db_writer etc. > > I have always been fuzzy about how this stuff works and I just need an explanation of why it won't > allow me to set these rights even though the user exists and the check boxes are enabled when I > select that database. I just discovered that if I delete the user out in that database and then set > the rights through the user back in the server security stuff it happily accepts my changes and > re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have > a DiscoApp in the database with a set of rights for that database but when I look at it back at the > server level it does not reflect those rights for that user for that database. > > Any assistance great fully accepted. From marksimms at verizon.net Sun Dec 4 11:36:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 12:36:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB9C2B.1010201@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> Message-ID: <002601ccb2ab$31538290$93fa87b0$@net> John - as you are discovering (the hard way I might add), SQL Security is a whole specialty onto itself....in fact, there have been books written about just that. Here's one that may be helpful: http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 and here's another: http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 233044X/ref=pd_sim_b_6 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, December 04, 2011 11:14 AM > To: Discussion concerning MS SQL Server; Access Developers discussion > and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > >I just discovered that if I delete the user out in that database and > then set the rights through > the user back in the server security stuff it happily accepts my > changes and re-adds the user to the > database. > > Unfortunately after I did this delete / re-add rigamarole I discovered > that all of the rights to > objects in the database were removed. For example I had rights to > execute stored procedures > assigned to these users but after deleting the users the rights to > execute were lost. > > Sigh. > > This SQL Server Users stuff is really developer unfriendly. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 10:59 AM, jwcolby wrote: > > > > Several times now I have run into an issue where SQL Server does not > have a pair of users I use for > > my Access application called DiscoAdmin and DiscoApp. The problem is > that one of the the databases > > that I am picking up on that server was already set up and has those > users. When I try to set those > > users up in the server's security it tells me that "the server > principal 'DiscoApp' already exists. > > Basically I am able to create the user but not assign rights - > db_reader, db_writer etc. > > > > I have always been fuzzy about how this stuff works and I just need > an explanation of why it won't > > allow me to set these rights even though the user exists and the > check boxes are enabled when I > > select that database. I just discovered that if I delete the user out > in that database and then set > > the rights through the user back in the server security stuff it > happily accepts my changes and > > re-adds the user to the database. This just seems strange. If I don't > do this rigamarole then I have > > a DiscoApp in the database with a set of rights for that database but > when I look at it back at the > > server level it does not reflect those rights for that user for that > database. > > > > Any assistance great fully accepted. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sun Dec 4 12:47:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 04 Dec 2011 13:47:53 -0500 Subject: [AccessD] I should be able to do this Message-ID: <4EDBC059.1080609@torchlake.com> Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From ssharkins at gmail.com Sun Dec 4 12:52:18 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Dec 2011 13:52:18 -0500 Subject: [AccessD] I should be able to do this References: <4EDBC059.1080609@torchlake.com> Message-ID: <356134BD550B4B7E94EFBF1984EC2284@SusanHarkins> stu_counselor.Value = combobox.value Is stu_counselor bound to a control in your form? If it is, this should be easy enough. Susan H. > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who will > be assigned to the student whose record is displayed in the form. Once > that is updated, I want the matching name of the counselor to placed in > the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From steve at goodhall.info Sun Dec 4 12:54:43 2011 From: steve at goodhall.info (Steve Goodhall) Date: Sun, 4 Dec 2011 13:54:43 -0500 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 13:25:49 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 14:25:49 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <002601ccb2ab$31538290$93fa87b0$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> Message-ID: <4EDBC93D.8040801@colbyconsulting.com> Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), > SQL Security is a whole specialty onto itself....in fact, there have been > books written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database and >> then set the rights through >> the user back in the server security stuff it happily accepts my >> changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I discovered >> that all of the rights to >> objects in the database were removed. For example I had rights to >> execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From dw-murphy at cox.net Sun Dec 4 14:20:22 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 4 Dec 2011 12:20:22 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDBC93D.8040801@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> Message-ID: <001201ccb2c2$269e9b70$73dbd250$@cox.net> Don't know about this book but I try and get all my tech books for kindle these days. Have a kindle reader and have the pc reader on my desktop and laptop. That way I can share the book between my devices. I like it. Much less clutter on the book shelves. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, December 04, 2011 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), SQL Security > is a whole specialty onto itself....in fact, there have been books > written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultan > t/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/ > dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database >> and then set the rights through the user back in the server security >> stuff it happily accepts my changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I >> discovered that all of the rights to objects in the database were >> removed. For example I had rights to execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user >>> out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I >>> don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database >>> but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Sun Dec 4 14:27:16 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Mon, 5 Dec 2011 09:27:16 +1300 Subject: [AccessD] I should be able to do this In-Reply-To: References: <4EDBC059.1080609@torchlake.com> Message-ID: Tina, I agree with Steve. On the face of what you have told us so far, what you are trying to do here is irregular. Assuming the combobox is bound to a field in the tblStudent table, what field is it? Regards Steve -----Original Message----- From: Steve Goodhall Sent: Monday, December 05, 2011 7:54 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] I should be able to do this Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 4 15:41:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 07:41:56 +1000 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDBE924.30917.11DB6A54@stuart.lexacorp.com.pg> Bad girl! :-) tbStudent.Stu_Counselor should be a numerice field which contains the Counselor_ID foreign key. You should NOT be storing the counselor's name in individual student records. Set the Control Source of the combobox to Stu_Counselor and set its bound column to the (zero based) column number of the field you want to store in the student record. -- Stuart On 4 Dec 2011 at 13:47, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the form. > Once that is updated, I want the matching name of the counselor to > placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 4 16:48:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 14:48:47 -0800 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <9E5970D986864D8BB3B1035FBDAB2589@HAL9007> If Counselor_Lname is not a bound field in the form then there are two ways to do this: 1) an Update Query - ( cheat by writing the update query in the QBE and copy the SQL from the SQL View of the query) set db = CurrentDb, then db.Execute the update query string, 2) DAO = open a recordset of tblCounselor either filtered to include only the record you want or all records then use .FIndFirst to find the record you want. Then .Edit/.Update. Walla! HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Sunday, December 04, 2011 10:48 AM To: DatabaseAdvisors-Access Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 4 17:15:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 18:15:14 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <001201ccb2c2$269e9b70$73dbd250$@cox.net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> Message-ID: <000f01ccb2da$94de8f10$be9bad30$@net> But - can you mark-up or annotate with a Kindle ? I love to get books in PDF format and use Acrobat Pro to add notes and comments and highlighting. > Don't know about this book but I try and get all my tech books for > kindle > these days. Have a kindle reader and have the pc reader on my desktop > and > laptop. That way I can share the book between my devices. I like it. > Much > less clutter on the book shelves. From darryl at whittleconsulting.com.au Sun Dec 4 18:15:00 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:15:00 +0000 Subject: [AccessD] Multi Select. Message-ID: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hmmmm... Turns out you can only set this property when the form is in design mode, even via VBA. Why on earth would they do that? I have a couple of workarounds in the bag, so not looking for a solution (unless you have a really cool one you can share), but it seems like an odd thing to enforce on developers, especially as the form is nearly always going to be open and in use when you want to change that property 'on the fly'... Anyone got any thoughts on this? Just curious. Cheers Darryl. From jwcolby at colbyconsulting.com Sun Dec 4 18:18:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 19:18:56 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <000f01ccb2da$94de8f10$be9bad30$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> Message-ID: <4EDC0DF0.2020107@colbyconsulting.com> > But - can you mark-up or annotate with a Kindle ? Apparently to some extent that depends on the version. You apparently can with the new Kindle Touch which has a virtual keyboard and touch screen. I am looking at buying one of these. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 6:15 PM, Mark Simms wrote: > But - can you mark-up or annotate with a Kindle ? I love to get books in PDF > format and use Acrobat Pro to add notes and comments and highlighting. > >> Don't know about this book but I try and get all my tech books for >> kindle >> these days. Have a kindle reader and have the pc reader on my desktop >> and >> laptop. That way I can share the book between my devices. I like it. >> Much >> less clutter on the book shelves. > > From charlotte.foust at gmail.com Sun Dec 4 18:45:52 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 16:45:52 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a solution > (unless you have a really cool one you can share), but it seems like an odd > thing to enforce on developers, especially as the form is nearly always > going to be open and in use when you want to change that property 'on the > fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Sun Dec 4 18:58:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:58:47 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> It is not the active control itself, which I agree needs to retain its state - at least while active, but the other listboxes on the form. For example I have a form where listbox 1's default setting is 'multi-select' and if the user chooses more than one option from listbox 1, then list box 2 can only allow a single option from its list (so multi-select should = none for listbox 2). However if list box 1 has only one option selected than listbox 2 should allow multi-select to be available. So the multi-select status of listbox 2 has a dependency on what the user selects (or doesn't select) in listbox 1 and visa versa. If a user chooses multiple values in listbox 2 first, then only a single option should be allowed from listbox 1 and the status change from multi to single. Yep, I have a real live scenario where this has to happen. I have a work around which basically fakes that behaviour and it works ok. I can understand why you should not be able to change the state of the active listbox, but you cannot change any listboxes on the form, unless you are in design mode. Oh well.... Just curious - seems a bit like a case of laziness to me, but there are often other implications I am yet to grasp, maybe this is one of them. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 19:07:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:07:17 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from listbox 1, > then list box 2 can only allow a single option from its list (so > multi-select should = none for listbox 2). However if list box 1 has only > one option selected than listbox 2 should allow multi-select to be > available. So the multi-select status of listbox 2 has a dependency on > what the user selects (or doesn't select) in listbox 1 and visa versa. If > a user chooses multiple values in listbox 2 first, then only a single > option should be allowed from listbox 1 and the status change from multi to > single. > > Yep, I have a real live scenario where this has to happen. I have a work > around which basically fakes that behaviour and it works ok. I can > understand why you should not be able to change the state of the active > listbox, but you cannot change any listboxes on the form, unless you are in > design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, but > there are often other implications I am yet to grasp, maybe this is one of > them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is in > > design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Sun Dec 4 19:09:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:09:34 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC0DF0.2020107@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: Or you could buy the new Nook tablet. The Nook has had the keyboard and touch screen for a long time. ;-) Charlotte Foust On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > > But - can you mark-up or annotate with a Kindle ? > > Apparently to some extent that depends on the version. You apparently can > with the new Kindle Touch which has a virtual keyboard and touch screen. I > am looking at buying one of these. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 6:15 PM, Mark Simms wrote: > >> But - can you mark-up or annotate with a Kindle ? I love to get books in >> PDF >> format and use Acrobat Pro to add notes and comments and highlighting. >> >> Don't know about this book but I try and get all my tech books for >>> kindle >>> these days. Have a kindle reader and have the pc reader on my desktop >>> and >>> laptop. That way I can share the book between my devices. I like it. >>> Much >>> less clutter on the book shelves. >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From stuart at lexacorp.com.pg Sun Dec 4 19:10:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 11:10:02 +1000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 19:41:16 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:41:16 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EE44C@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, now that makes more sense... I figured there is likely to be a deeper reason I just didn't understand. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 5 December 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 19:53:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:53:02 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 20:19:54 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 02:19:54 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE4B7@SINPRD0402MB099.apcprd04.prod.outlook.com> Doh... proof reading is important... proof reading is important... " there is NO left to right sequence required " Bah.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, 5 December 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 21:07:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 22:07:32 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: <4EDC3574.1090602@colbyconsulting.com> Yes but the nook is sold by a company that might not be here in a year. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 8:09 PM, Charlotte Foust wrote: > Or you could buy the new Nook tablet. The Nook has had the keyboard and > touch screen for a long time. ;-) > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > >>> But - can you mark-up or annotate with a Kindle ? >> >> Apparently to some extent that depends on the version. You apparently can >> with the new Kindle Touch which has a virtual keyboard and touch screen. I >> am looking at buying one of these. >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 6:15 PM, Mark Simms wrote: >> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>> PDF >>> format and use Acrobat Pro to add notes and comments and highlighting. >>> >>> Don't know about this book but I try and get all my tech books for >>>> kindle >>>> these days. Have a kindle reader and have the pc reader on my desktop >>>> and >>>> laptop. That way I can share the book between my devices. I like it. >>>> Much >>>> less clutter on the book shelves. >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From Benson at ge.com Sun Dec 4 21:24:49 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 4 Dec 2011 22:24:49 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. From rockysmolin at bchacc.com Sun Dec 4 22:04:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 20:04:37 -0800 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: I suppose it's there in case you mistakenly start to delete all records in a table or mean to delete 100 and delete 10,000 instead. The only way I know is DoCmd.SetWarnings False but that's in code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 7:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 22:05:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:05:29 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 4 22:09:20 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:09:20 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Yeah code or a macro step I guess is all I got. I'd hoped a hot key variant on run might turn up. On Dec 4, 2011 11:05 PM, "Rocky Smolin" wrote: > I suppose it's there in case you mistakenly start to delete all records in > a > table or mean to delete 100 and delete 10,000 instead. The only way I know > is DoCmd.SetWarnings False but that's in code. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 7:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun Dec 4 22:11:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:11:59 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How are > you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror > to execute them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 22:26:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:26:37 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE68B@SINPRD0402MB099.apcprd04.prod.outlook.com> Give it a try Bill. Although I didn't read anyone who actually had any success with that approach and the message. It seems it must impact some users as MS have gone to the trouble of publishing that page. You can turn off warnings at an application level, but I am not sure if that will be effective or not with the undo warning. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 5 December 2011 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How > are you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute > them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete > Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 1 22:34:11 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 1 Dec 2011 22:34:11 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <004101ccb0ab$a3f488f0$ebdd9ad0$@comcast.net> No Messages --> CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, December 04, 2011 10:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 23:23:47 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 21:23:47 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC3574.1090602@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: Thanks for the reminder, Chicken Little. LOL Charlotte Foust On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > Yes but the nook is sold by a company that might not be here in a year. ;) > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 8:09 PM, Charlotte Foust wrote: > >> Or you could buy the new Nook tablet. The Nook has had the keyboard and >> touch screen for a long time. ;-) >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >> wrote: >> >> But - can you mark-up or annotate with a Kindle ? >>>> >>> >>> Apparently to some extent that depends on the version. You apparently >>> can >>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>> I >>> am looking at buying one of these. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>> PDF >>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>> >>>> Don't know about this book but I try and get all my tech books for >>>> >>>>> kindle >>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>> and >>>>> laptop. That way I can share the book between my devices. I like it. >>>>> Much >>>>> less clutter on the book shelves. >>>>> >>>>> >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> 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 Dec 5 06:35:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Dec 2011 07:35:00 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: <4EDCBA74.70207@colbyconsulting.com> http://www.ecolibris.net/bnindex.asp ;) It's unfortunate they stopped graphing the results. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2011 12:23 AM, Charlotte Foust wrote: > Thanks for the reminder, Chicken Little. LOL > > Charlotte Foust > > On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > >> Yes but the nook is sold by a company that might not be here in a year. ;) >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>> touch screen for a long time. ;-) >>> >>> Charlotte Foust >>> >>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >>> wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? >>>>> >>>> >>>> Apparently to some extent that depends on the version. You apparently >>>> can >>>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>>> I >>>> am looking at buying one of these. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>>> PDF >>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>> >>>>> Don't know about this book but I try and get all my tech books for >>>>> >>>>>> kindle >>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>> and >>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>> Much >>>>>> less clutter on the book shelves. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> >>>> >>>> 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 chartisinsurance.com Mon Dec 5 08:21:33 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 5 Dec 2011 09:21:33 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: Citations? :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 5:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name matching > > algorithms in VBA, and or examples, that I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 08:30:26 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 09:30:26 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Set the queries UseTransaction property to no in query design. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 10:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Mon Dec 5 08:37:02 2011 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Mon, 5 Dec 2011 09:37:02 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> References: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Message-ID: Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text-in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Mon Dec 5 12:20:45 2011 From: edzedz at comcast.net (Edward Zuris) Date: Mon, 5 Dec 2011 11:20:45 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <002401ccb37a$9bd7e0a0$5bdea8c0@edz1> Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Monday, December 05, 2011 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text -in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 14:42:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 15:42:20 -0500 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: <86C79486EC244013B7EB9E95C3C0D47E@XPS> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From Benson at ge.com Mon Dec 5 15:09:43 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 16:09:43 -0500 Subject: [AccessD] Close a form during the Activate event Message-ID: There is something that I require to be true, upon testing, or this one particular form I consider to be dangerous to use. It is a condition that may change over the session, it is not necessarily a stable condition during the user session. I understand it can be tested for on Form Open, and the opening of the form can then be canceled. But how about afterwards: For example, suppose on activation of the form, I want to test the condition again. According to an error message I just got, I am not allowed to close the form during the form's events. I am kinda stumped how to protect myself now, if I cannot make this check-environment-and-dismiss-form occur on a form's events. I guess I could have a hidden form checking this on a timed basis but I am sure that will cause some regrets. TIA... From gustav at cactus.dk Mon Dec 5 15:43:47 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Dec 2011 22:43:47 +0100 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: Thanks Jim, very promising. /gustav >>> jimdettman at verizon.net 05-12-2011 21:42 >>> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From charlotte.foust at gmail.com Mon Dec 5 15:51:33 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 13:51:33 -0800 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: I'm not clear on what the problem is. You can close a form from other events within a form. What was the message you got and what event were you trying to use? Charlotte Foust On Mon, Dec 5, 2011 at 1:09 PM, Benson, William (GE Global Research, consultant) wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Mon Dec 5 15:55:15 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 07:55:15 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Presumably when you say "dangerous to use", you are referring to triggering control events on the form. What happens if you: 1. build a function which checks for the condition and closes the form if necesary 2. Call the function as the first step in any potentially dangerous control event. -- Stuart On 5 Dec 2011 at 16:09, Benson, William (GE Global Re wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 5 17:14:29 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 15:14:29 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDCBA74.70207@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You apparently >>>>> can >>>>> with the new Kindle Touch which has a virtual keyboard and touch >>>>> screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get books >>>>> in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>>> and >>>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>> >>>>> ** >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From darryl at whittleconsulting.com.au Mon Dec 5 18:10:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:10:08 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> I think the one upside of Kindle over a tablet is probably the battery life. Personally I like a good ol' fashioned book. I love the way I can read it on the beach and never have to worry about battery issues, screen resolution, reflection or it getting too much salt and sand in the cracks. I like the tactile book thing too. The feel of the paper, the smell, the way you can get an idea of where you are in the story visually, and it make an excellent shade over your eyes when you want to have nap - try doing that with your tablet ;) The can see some upside to kindle and their ilk such as: 1: Environmental (less paper, less supply chain costs, less printing issues, less waste etc) 2: Speed of delivery (usually a lot faster than even FedEx) 3: Weight (books are heavy if you need to carry a lot of them) 4: Searchable: Much faster to search and reference But I still much prefer a decent paper book over them. Must be getting old ;) Just my thoughts Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 6 December 2011 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp x.asp> > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, >> jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the >>> keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, >>>> jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You >>>>> apparently can with the new Kindle Touch which has a virtual >>>>> keyboard and touch screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get >>>>> books in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books >>>>>> for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my >>>>>>> desktop and laptop. That way I can share the book between my >>>>>>> devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd>>>> databaseadvisors.com/****mailman/listinfo/accessd> >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> **>>>> atabaseadvisors.com/mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com>>>> s.com> >>>>> >>>>> >>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd>> baseadvisors.com/**mailman/listinfo/accessd> >>> >>> >> abaseadvisors.com/mailman/listinfo/accessd> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com>> s.com> >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 5 18:20:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 10:20:25 +1000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > From darryl at whittleconsulting.com.au Mon Dec 5 18:56:59 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:56:59 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... Message-ID: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Hehehehe.... exactly. All jokes aside, the paperback book is in many ways a nearly perfect technology. It is a bit like the traditional mousetrap or the standard design on the traditional dial telephone. Some designs are sooo close to being optimal there is little advantage in tweaking them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 6 December 2011 11:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 20:41:28 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 21:41:28 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> References: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Message-ID: Sorry, I cannot make my statement about "dangerous to use" very clear at this time. Essentially, if the form is open and a certain value has changed (say, for example, a user's privileges have changed from one class to another) then I do not want them able to see the form that they had been looking at. So it was on the activate event that this was to be checked for. That is not the exact condition, it is a representative example. To answer Charlotte's question: "this action cannot be carried out while processing a form or report event" Here is a sample of code you can put in a form that is already opened: Private Sub Form_Activate() If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub Launch the form, then deactivate it by opening a different form. Change the code to If 1 = 1 Then DoCmd.Close acForm, Me.Name Click back on the first form, you will get this error message. From stuart at lexacorp.com.pg Mon Dec 5 21:22:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 13:22:25 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, Message-ID: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear at > this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that they > had been looking at. So it was on the activate event that this was to be > checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name > End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Benson at ge.com Mon Dec 5 22:04:22 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:04:22 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> Message-ID: Not a difficult task... but not something I want to resort to. I gave up :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 05, 2011 10:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close a form during the Activate event You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear > at this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that > they had been looking at. So it was on the activate event that this > was to be checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 22:08:44 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:08:44 -0500 Subject: [AccessD] .SendObject when Outlook is not present Message-ID: I have a client who feels he will have contractors who will have Access 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to remove any references to Outlook. Well, thing is, I did not have a reference to outlook, I had Access sending some tables through .SendObject, and also I in another situation use Excel's library to attach and mail a file. I can get both applications to run these steps with no DLL reference to Outlook, however without taking Outlook itself off my machine, I cannot really be sure what would happen if the Excel or Access applications tried these steps with no Outlook. Anyone know? Will those applications still call some default e-mail client? Will they just throw off an error? Not process the command? Pls help me know what to expect, if possible, thanks. From stuart at lexacorp.com.pg Mon Dec 5 22:57:34 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 14:57:34 +1000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: Message-ID: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> SendObject will send through whatever the default MAPI client is on the workstation in question. If nothing else has been installed, it is likely to use OE or Windows Mail depending on the OS. In my case, it invokes Pegasus Mail. If there is no installed MAPI mail client, they should get a message telling them that they need to configure one. -- Stuart On 5 Dec 2011 at 23:08, Benson, William (GE Global Re wrote: > I have a client who feels he will have contractors who will have Access > 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to > remove any references to Outlook. Well, thing is, I did not have a > reference to outlook, I had Access sending some tables through > .SendObject, and also I in another situation use Excel's library to > attach and mail a file. I can get both applications to run these steps > with no DLL reference to Outlook, however without taking Outlook itself > off my machine, I cannot really be sure what would happen if the Excel > or Access applications tried these steps with no Outlook. Anyone know? > Will those applications still call some default e-mail client? Will they > just throw off an error? Not process the command? > > Pls help me know what to expect, if possible, thanks. > > -- > 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 Dec 6 09:04:37 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:04:37 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: Me too. A few years back I did an app used by several locations, a couple of which didn't use Outlook but Pegasus instead, and it was trivial. I *love * when that happens! Arthur On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan wrote: > SendObject will send through whatever the default MAPI client is on the > workstation in > question. If nothing else has been installed, it is likely to use OE or > Windows Mail depending > on the OS. In my case, it invokes Pegasus Mail. > > If there is no installed MAPI mail client, they should get a message > telling them that they > need to configure one. > > From fuller.artful at gmail.com Tue Dec 6 09:27:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:27:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. Some > designs are sooo close to being optimal there is little advantage in > tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From vbacreations at gmail.com Tue Dec 6 13:01:09 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:01:09 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a couple > of which didn't use Outlook but Pegasus instead, and it was trivial. I > *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan >wrote: > > > SendObject will send through whatever the default MAPI client is on the > > workstation in > > question. If nothing else has been installed, it is likely to use OE or > > Windows Mail depending > > on the OS. In my case, it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they > > need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Dec 6 13:06:44 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:06:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <6EC310281C8E4710AEC02AE4B4E90497@XPS> References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Tue Dec 6 14:00:06 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 06 Dec 2011 15:00:06 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 16:52:04 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 22:52:04 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> " Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." Looks good, just purchased a copy from Amazon - thanks :) Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 7 December 2011 2:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. > Some designs are sooo close to being optimal there is little advantage > in tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 17:00:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 23:00:21 +0000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Microsoft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:01:00 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:01:00 -0500 Subject: [AccessD] Turn off delete buffer warning for FasterDelete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: I accept the warning. I am much more concerned that deleting records from an open query or table has such an undo feature. Once I have pulled the trigger on a delete query, I have already done my homework. Really. Famous last words. Thanks again! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, December 06, 2011 3:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Turn off delete buffer warning for FasterDelete Queries Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, > William (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:09:51 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:09:51 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: That's a lot of dough! Very glad to be kept informed of issues like this Darryl, thanks for taking the time to add. I find it harder and harder, since working mostly from home, to keep abreast of what's going on; very gratified for others weighing in on such matters. Another issue lately is retention. I just took a battery of tests through a psychological testing company, and one of the things I found out is that with a lot of detail, my brain needs a few passes before anything sinks in enough to recall it later. If one has to solve a problem, hunts around on Google for a solution, plops it in and the program works ... forget about remembering it. If I have to mess with it and mess with it til it finally works, there is a chance. Maybe to a degree this is a lot of folk, not just me - but I have seen a marked decrease in what I can retain over only a few short years. This is my long way of saying "I may ask this again some time" and please, please don't take it as a sign of not paying attention. You can see by the fact that I have read and replied, that I was at least in the here and now, paying attention. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, December 06, 2011 6:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Micros oft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Dec 6 17:27:16 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Dec 2011 17:27:16 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: > > Benson, William: > I accept the warning. I am much more concerned that deleting records > from an open query or table has such an undo feature. Once I have pulled > the trigger on a delete query, I have already done my homework. > > Really. > > Famous last words. > > Thanks again! > I take it that you are running the delete queries from the interface. Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm options: Record Changes, Document Deletions, Action Queries? This should turn off all the safeties. I mean really, what could possibly go wrong? ;) -Ken From fuller.artful at gmail.com Tue Dec 6 19:49:54 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 20:49:54 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's an awesome work, IMO. I'm certain that you will love it, and your kids will get the best possible intro to the world of math, not to mention such things as the reason why some plants have opposing branches while others have spiraling branches, and a zillion other topics too. Have fun! I know you will. A. On Tue, Dec 6, 2011 at 5:52 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " Tangentially relevant and directed to listers with children: I want to > recommend at the highest level a book called "A Beginner's Guide to > Constructing the Universe" by Michael S. Schneider. You and your children > will have 110% fun going through this book, and both of you will end up > smarter." > > Looks good, just purchased a copy from Amazon - thanks :) > > Cheers > Darryl > > From vbacreations at gmail.com Wed Dec 7 00:54:44 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 01:54:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Hi Ken. I want the option for the current query only; that would I think affect other queries...? On Dec 6, 2011 6:28 PM, "Kenneth Ismert" wrote: > > > > Benson, William: > > I accept the warning. I am much more concerned that deleting records > > from an open query or table has such an undo feature. Once I have pulled > > the trigger on a delete query, I have already done my homework. > > > > Really. > > > > Famous last words. > > > > Thanks again! > > > > I take it that you are running the delete queries from the interface. > > Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm > options: Record Changes, Document Deletions, Action Queries? > > This should turn off all the safeties. I mean really, what could possibly > go wrong? ;) > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 7 01:29:13 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 02:29:13 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I wonder if the original website registration ran out and got scooped up by a competition On Dec 1, 2011 6:29 PM, "Doug Steele" wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > > > Well, I persevered. The links provided by John and Doug took me to the > > same place where all the big green arrows download GIMP. However, by > > following carefully and clicking on the dotpdn button in the table near > the > > bottom of the page, I was taken to the page where small text says to > click > > the free link over on the far right. In every page of this journey, the > > big green arrows all were for GIMP. What a strange experience. > > > > T > > > > Tina Norris Fields > > tinanfields at torchlake.com > > 231-322-2787 > > > > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > > > >> The download says paint.net but then leads to a gimp download and a > site > >> that WOT is less than thrilled with. What's going on? > >> > >> Charlotte Foust > >> > >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > >> tinanfields at torchlake.com> wrote: > >> > >> When I try to find paint.net > >>> > >>> for download, I find GIMP. Are they the same thing? > >>> T > >>> > >>> Tina Norris Fields > >>> tinanfields at torchlake.com > >>> 231-322-2787 > >>> > >>> > >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: > >>> > >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a > >>>> glance) looks better. Nice one ! :) thanks. > >>>> > >>>> Will download and have a look. > >>>> > >>>> Cheers > >>>> Darryl. > >>>> > >>>> > >>>> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:10:57 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:10:57 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: All, About a week or two ago, someone posted a link to a website that had info about products to enhance Windows. One of these was "Fences". I had never heard of Fences before so I installed it and I find it to be quite useful. Now I am trying to locate the info about the other products. I evidently did not keep the AccessD Email and I can't seem to get the AccessD Archive to work. Does anyone have the original post or the link? Thanks, Brad From dbdoug at gmail.com Wed Dec 7 15:15:47 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:15:47 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feedburner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:20:29 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:20:29 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Doug, Thanks. I owe ya a beer! Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, December 07, 2011 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed burner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From tinanfields at torchlake.com Wed Dec 7 15:33:11 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 16:33:11 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDFDB97.8080605@torchlake.com> Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > From dbdoug at gmail.com Wed Dec 7 15:44:43 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:44:43 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I will gladly accept one! Doug On Wed, Dec 7, 2011 at 1:20 PM, Brad Marks wrote: > Doug, > > Thanks. > > I owe ya a beer! > > Brad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Wednesday, December 07, 2011 3:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities > (such asFences) > > Here's a link to a later post on the subject of useful software from > Scott > Hanselman: > > http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed > burner.com%2FScottHanselman > > On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks > wrote: > > > All, > > > > About a week or two ago, someone posted a link to a website that had > > info about products to enhance Windows. One of these was "Fences". I > > had never heard of Fences before so I installed it and I find it to be > > quite useful. > > > > Now I am trying to locate the info about the other products. > > > > I evidently did not keep the AccessD Email and I can't seem to get the > > AccessD Archive to work. > > > > Does anyone have the original post or the link? > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 16:49:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 22:49:07 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDFDB97.8080605@torchlake.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Dec 7 17:04:15 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:04:15 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF0EF.7000202@torchlake.com> Darryl, Thanks, that is a terrific story. Yes, I think I finally have this lesson learned. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 5:49 PM, Darryl Collins wrote: > " and in my heart of hearts I did know it." > > Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. > > I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields > Sent: Thursday, 8 December 2011 8:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I should be able to do this - resolved > > Dear Friends, > > Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. > > When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. > > I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/4/2011 1:47 PM, Tina Norris Fields wrote: >> Dear Friends, >> >> Okay, I have a form with a combo-box for selecting the counselor who >> will be assigned to the student whose record is displayed in the >> form. Once that is updated, I want the matching name of the counselor >> to placed in the student's record. >> >> So combo-box is looking into the tblCounselor, which has two fields >> Counselor_ID and Counselor_LName. Once the choice is made, I want to >> update the field Stu_Counselor in the tblStudent with the name found >> in tblCounselor.Counselor_LName. >> >> I'm writing gibberish in my AfterUpdate event and I need to be >> rescued. Any help waking up my brain? >> >> Thanks, >> T >> From djkr at msn.com Wed Dec 7 17:11:59 2011 From: djkr at msn.com (DJK (John) Robinson) Date: Wed, 7 Dec 2011 23:11:59 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: A place I worked for a while had Christmas Day fall in the fourth half of the third month, for similar reasons - yes, the *fourth* half! Never assume anything ... John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 07 December 2011 22:49 To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Dec 7 17:29:33 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:29:33 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF6DD.9050605@torchlake.com> Thank you, Arthur. I have just ordered the book. "Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From darryl at whittleconsulting.com.au Wed Dec 7 17:33:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:33:02 +0000 Subject: [AccessD] Advice on A2010.... Message-ID: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From dbdoug at gmail.com Wed Dec 7 17:43:22 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 15:43:22 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 17:59:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:59:26 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. Thanks Doug! Cheers D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Dec 7 18:05:42 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 00:05:42 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF05D@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaah, I dunno. It is sooo damn random. Sometimes the same database will function for hours without issue. This morning, it is it misbehaving almost immediately. Restarted the app and now it is purring along like a little kitten - no errors or anything. Sheesh. I don't mind things not working, but it is so much easier to find the problem when there are consistent symptoms. It is the seemingly randomness that does my head in. Just when I get relaxed about it, it will fail. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Dec 7 18:40:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 07 Dec 2011 19:40:01 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001601ccb541$ebc7bfe0$c3573fa0$@net> 37 tab multipage control ? That's HUGE. I had horrible experience with multipage in 2007.... I am sure the same bugs have been carried thru to 2010. Multipage was very "touchy"....especially during design mode. I could easily crash Access consistently just by moving controls around. From stuart at lexacorp.com.pg Wed Dec 7 19:03:11 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Dec 2011 11:03:11 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > From darryl at whittleconsulting.com.au Wed Dec 7 19:16:56 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 01:16:56 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EF391@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks guys. That is the angle I am taking. Even though I have worked on databases with many more bound controls et al, it seems this is the most likely suspect for these issues. Going to unbound everything and use value only lists in the list boxes. Luckily I have all code to do this fairly quickly. Should only take a couple of days. Will let you know how it goes. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 8 December 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > -- 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 Dec 7 23:22:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 00:22:04 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I've got one like this, too. (Don't we all?) Way back when, I did an app for an insurance company's pension fund arm. The app worked just fine and everyone was happy, save one problem. (Preamble: pension funds come and go.) Everything was rock-solid save one particular report, about 90% of whose data was correct but the remainder was wonky. I fought this problem on and off for about 6 weeks, to no avail. Then one day in a meeting, someone mentioned that the company uses 360-day years. They just wrote off the other 5.26 days as if they didn't exist. Hence, on about 10& of the records, depending on calendar dates of the relevant funds, the reports were a few dollars out there and there. Once this was explained, I commented out all my clever date calculations (e.g. 365.26 is how to anticipate leap years) and pretended the world was flat, and automagically all the data conformed to the flat earth. Whew! At last, I was free to find a real job. A. From marksimms at verizon.net Thu Dec 8 07:38:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 08:38:12 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <008301ccb5ae$a1bac290$e53047b0$@net> Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? From df.waters at comcast.net Thu Dec 8 07:47:23 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 07:47:23 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) Message-ID: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 8 08:18:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:18:12 -0500 Subject: [AccessD] SQL Compression - interesting read Message-ID: <4EE0C724.1040604@colbyconsulting.com> http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/what-is-page-compression.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:29:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:29:32 -0500 Subject: [AccessD] Compression Interesting read - part 2 Message-ID: <4EE0C9CC.8090103@colbyconsulting.com> I had to go find this... http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:31:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:31:27 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <008301ccb5ae$a1bac290$e53047b0$@net> References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> <008301ccb5ae$a1bac290$e53047b0$@net> Message-ID: <4EE0CA3F.3020100@colbyconsulting.com> > So what's more important: the analysis or the coding ? This is not either / or. Problems on either end can be just as devastating. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/8/2011 8:38 AM, Mark Simms wrote: > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > From tinanfields at torchlake.com Thu Dec 8 09:07:54 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:07:54 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE0D2CA.9010609@torchlake.com> Thanks for keeping me company, Darryl. I'm going to make up a plaque that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 6:59 PM, Darryl Collins wrote: > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > Thanks Doug! > > Cheers > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, 8 December 2011 10:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Advice on A2010.... > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > 2003 if I remember correctly, the total number of open recordsets (or > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > Doug > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > >> Hi everyone, >> >> Boy, A2010 does some weird stuff. >> >> I have an accdb database. It is on my local drive, it is only me who >> uses it, it is only me who can access it. It has DAO code it uses to >> do stuff with recordsets within the currentDB only. There are no >> external connections. There is no BE / FE setup (doesn't need it). >> This database is tiny (about 7 MB) - doesn't have a lot of data or >> really do any heavy processing at all - basic stuff. >> >> The only thing that is unusual for me is I have one main form, which >> has >> 37 tabs on it which in turn has listboxes and subforms - and the >> subforms are bound to their tables - I would usually use unbound, but >> in this case there is no point. Besides they are all really small datasets. >> >> For weeks this has worked pretty well - then suddenly I started >> getting an error when trying to make design changes "Not opened in >> Exclusive mode - another user is using the database - can't save >> changes" was the gist of it. Now how can that happen? There was some >> suggestion from Google search that it maybe one of the DAO recordsets >> was being left opened and thus Access thinks there is a open >> connection and thus another user(?). I double checked I was closing >> all RS and setting them to nothing when I finished with them. >> >> Nothing seemed to work. After much poking around on Google I found >> this piece of code and added it. It seems to have helped, but I am >> not sure if that is just co-incidence or not. I had done a few tweaks >> and rebuild a couple of modules so hard to say: >> >> "'Initiate Passive Shutdown - do not allow new Users >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" >> >> This is meant to force access to reject any new users to the database. >> I wish I could say with confidence that this was what fixed it. I >> guess I could comment out the code and do some tests, but right now, >> after losing two days, I am just wanting to catch up on the days I have lost. >> >> The other weird issue I get at some point when using this database is >> "You don't have enough resources to perform the operation". WTF? >> Again this will fail on doing something low impact and simple. It is >> like Access hit some sort of limit (again maybe open connections via >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). >> But all the DAO connections are all being closed in the code - and >> usually only 1 is open at any one time (a max of 3 in a couple of >> modules) and they are all set to nothing once I have finished with >> them. Besides they are also doing bugger all work. Maybe updating 10 >> records out of a total of 50 >> - that sort of thing. What 'resources' could possibly be being >> exhausted with that sort of workload? A restart of the app will >> usually fix the problem, but what is going here? >> >> Has anyone else had these issues, and any ideas on what to do about them? >> >> Cheers >> Darryl. >> >> Darryl Collins >> Whittle Consulting Pty Ltd >> Suite 8, 660 Canterbury Rd >> Surrey Hills, VIC, 3127 >> >> p: +61 3 9898 3242 >> m: +61 418 381 548 >> f: +61 3 9898 1855 >> e: >> darryl at whittleconsulting.com.au> w: www.whittleconsulting.com.au >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Thu Dec 8 09:18:52 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:18:52 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> Message-ID: <4EE0D55C.50508@torchlake.com> Love it! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/5/2011 7:20 PM, Stuart McLachlan wrote: > http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php > > On 6 Dec 2011 at 0:10, Darryl Collins wrote: > > >> But I still much prefer a decent paper book over them. Must be getting old ;) >> >> Just my thoughts >> Darryl. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Tuesday, 6 December 2011 10:14 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> I wouldn't have a kindle on a plate! I'd simply get an android table >> and load the reader software on it. I've never liked the kindle >> layout or feel, so I see no reason to change now. >> >> Charlotte Foust >> > From jimdettman at verizon.net Thu Dec 8 10:49:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Dec 2011 11:49:36 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 10:54:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 02:54:21 +1000 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <000001ccb5af$e9f67850$bde368f0$@comcast.net> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 chartisinsurance.com Thu Dec 8 10:57:25 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 8 Dec 2011 11:57:25 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 11:03:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 03:03:49 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0D2CA.9010609@torchlake.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> Message-ID: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Like the "fast and easy" function I put in an A97 application that I built years ago which is still in use Functiion Wait(secs as long) as long DIm t as Single t = timer Do Doevents Loop until timer = t + secs End Function It worked fine for years until a couple of months ago when they ran a monthly process late at night and the Wait function was in the middle of the loop at midnight :-( -- Stuart On 8 Dec 2011 at 10:07, Tina Norris Fields wrote: > Thanks for keeping me company, Darryl. I'm going to make up a plaque > that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. > LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/7/2011 6:59 PM, Darryl Collins wrote: > > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > > > Thanks Doug! > > > > Cheers > > D > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > > Sent: Thursday, 8 December 2011 10:43 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Advice on A2010.... > > > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > > 2003 if I remember correctly, the total number of open recordsets (or > > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > > > Doug > > > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > > > >> Hi everyone, > >> > >> Boy, A2010 does some weird stuff. > >> > >> I have an accdb database. It is on my local drive, it is only me who > >> uses it, it is only me who can access it. It has DAO code it uses to > >> do stuff with recordsets within the currentDB only. There are no > >> external connections. There is no BE / FE setup (doesn't need it). > >> This database is tiny (about 7 MB) - doesn't have a lot of data or > >> really do any heavy processing at all - basic stuff. > >> > >> The only thing that is unusual for me is I have one main form, which > >> has > >> 37 tabs on it which in turn has listboxes and subforms - and the > >> subforms are bound to their tables - I would usually use unbound, but > >> in this case there is no point. Besides they are all really small datasets. > >> > >> For weeks this has worked pretty well - then suddenly I started > >> getting an error when trying to make design changes "Not opened in > >> Exclusive mode - another user is using the database - can't save > >> changes" was the gist of it. Now how can that happen? There was some > >> suggestion from Google search that it maybe one of the DAO recordsets > >> was being left opened and thus Access thinks there is a open > >> connection and thus another user(?). I double checked I was closing > >> all RS and setting them to nothing when I finished with them. > >> > >> Nothing seemed to work. After much poking around on Google I found > >> this piece of code and added it. It seems to have helped, but I am > >> not sure if that is just co-incidence or not. I had done a few tweaks > >> and rebuild a couple of modules so hard to say: > >> > >> "'Initiate Passive Shutdown - do not allow new Users > >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > >> > >> This is meant to force access to reject any new users to the database. > >> I wish I could say with confidence that this was what fixed it. I > >> guess I could comment out the code and do some tests, but right now, > >> after losing two days, I am just wanting to catch up on the days I have lost. > >> > >> The other weird issue I get at some point when using this database is > >> "You don't have enough resources to perform the operation". WTF? > >> Again this will fail on doing something low impact and simple. It is > >> like Access hit some sort of limit (again maybe open connections via > >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > >> But all the DAO connections are all being closed in the code - and > >> usually only 1 is open at any one time (a max of 3 in a couple of > >> modules) and they are all set to nothing once I have finished with > >> them. Besides they are also doing bugger all work. Maybe updating 10 > >> records out of a total of 50 > >> - that sort of thing. What 'resources' could possibly be being > >> exhausted with that sort of workload? A restart of the app will > >> usually fix the problem, but what is going here? > >> > >> Has anyone else had these issues, and any ideas on what to do about them? > >> > >> Cheers > >> Darryl. > >> > >> Darryl Collins > >> Whittle Consulting Pty Ltd > >> Suite 8, 660 Canterbury Rd > >> Surrey Hills, VIC, 3127 > >> > >> p: +61 3 9898 3242 > >> m: +61 418 381 548 > >> f: +61 3 9898 1855 > >> e: > >> darryl at whittleconsulting.com.au >> w: www.whittleconsulting.com.au > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu Dec 8 11:05:23 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 8 Dec 2011 09:05:23 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Hi Jim: Thanks for correcting my answer - my memory didn't serve me well. The problem with my mighty recipe database was the control count. Doug On Thu, Dec 8, 2011 at 8:49 AM, Jim Dettman wrote: > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have > one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I > would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you > use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count > towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has 37 > tabs on it which in turn has listboxes and subforms - and the subforms are > bound to their tables - I would usually use unbound, but in this case there > is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. > Now how can that happen? There was some suggestion from Google search that > it maybe one of the DAO recordsets was being left opened and thus Access > thinks there is a open connection and thus another user(?). I double > checked I was closing all RS and setting them to nothing when I finished > with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will > fail on doing something low impact and simple. It is like Access hit some > sort of limit (again maybe open connections via DAO.Recordset(?) - this is > where it usually fails when using code to update stuff via DAO). But all > the DAO connections are all being closed in the code - and usually only 1 > is > open at any one time (a max of 3 in a couple of modules) and they are all > set to nothing once I have finished with them. Besides they are also doing > bugger all work. Maybe updating 10 records out of a total of 50 - that > sort > of thing. What 'resources' could possibly be being exhausted with that > sort > of workload? A restart of the app will usually fix the problem, but what > is > going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Thu Dec 8 13:29:15 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 8 Dec 2011 13:29:15 -0600 Subject: [AccessD] Requirements (was: I should be able to do this -resolved) References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: "Weeks of Computer Programming Can Save You Hours of Planning" :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, December 08, 2011 7:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements (was: I should be able to do this -resolved) Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ab-mi at post3.tele.dk Thu Dec 8 14:02:59 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 8 Dec 2011 21:02:59 +0100 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Oh what a wonderful statement! Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Brad Marks Sendt: 8. december 2011 20:29 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Requirements (was: I should be able to do this-resolved) "Weeks of Computer Programming Can Save You Hours of Planning" :-) From df.waters at comcast.net Thu Dec 8 14:46:56 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 14:46:56 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> Message-ID: <001301ccb5ea$866c7010$93455030$@comcast.net> By Definition, if you are using Agile, building flexibility into your design is one of the developer's requirements! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 08, 2011 10:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this - resolved) But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with > bad plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 8 14:52:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 15:52:02 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Message-ID: <004401ccb5eb$3ce95b50$b6bc11f0$@net> I love this story !!! > Like the "fast and easy" function I put in an A97 application that I > built years ago which is still > in use > > Function Wait(secs as long) as long > DIm t as Single > t = timer > Do > Doevents > Loop until timer = t + secs > End Function > > It worked fine for years until a couple of months ago when they ran a > monthly process late at > night and the Wait function was in the middle of the loop at midnight From stuart at lexacorp.com.pg Thu Dec 8 15:06:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 07:06:41 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <004401ccb5eb$3ce95b50$b6bc11f0$@net> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> Message-ID: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Yep, there was "no way" that this would ever be run other than over a couple of hours during a normal work day. :-) -- Stuart On 8 Dec 2011 at 15:52, Mark Simms wrote: > I love this story !!! > > > Like the "fast and easy" function I put in an A97 application that I > > built years ago which is still > > in use > > > > Function Wait(secs as long) as long > > DIm t as Single > > t = timer > > Do > > Doevents > > Loop until timer = t + secs > > End Function > > > > It worked fine for years until a couple of months ago when they ran a > > monthly process late at > > night and the Wait function was in the middle of the loop at midnight > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu Dec 8 15:29:21 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Dec 2011 13:29:21 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Thu Dec 8 16:07:32 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 08:07:32 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, , Message-ID: <4EE13524.23286.13D57150@stuart.lexacorp.com.pg> That was one of the benefits of EatBloat. One way to reset the control count is Application.SaveAsText/LoadFromText. -- Stuart On 8 Dec 2011 at 13:29, Charlotte Foust wrote: > Copies of the form are full copies with the same limits. The control count > is part of the properties of the form, so importing it doesn't change a > thing. You can create a new form and copy the controls to it but then you > have to go through replacing the old form with the new one. > Charlotte Foust > On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > Jim, > > > > Regarding the (crazy) form control limit. Do you know if the count gets > > reset if you make a copy of the form? Does the new copy have a controls > > count equal to the number of controls currently on the form? What about > > importing the form into another MDB file? > > > > Just curious, I've not yet hit that limit. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > > Sent: Thursday, December 08, 2011 11:50 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Advice on A2010.... > > > > > > Couple of comments: > > > > 1. In regards to Doug's comments on connections, you really should only > > have one with DAO as long as your not using Opendatabase. Always using > > currentdb(), will use the same connection. Don't see where your bumping > > into the 255 user limit there. > > > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > > used for every table and field reference. A form with 37 tabs is huge and > > I would guess that's what your running into. > > > > 3. Access is limited to 754 controls over the life of a form, so watch how > > big you get (note the limit is not 754 - deleting and creating a control > > does not decrement/increment the count, it only increments it). Surprised > > you didn't run into that one. > > > > 4. If your working in ADO, make sure you use CurrentProject.Connection > > This is Access/Jet's ADO connection for the DB you opened and as long as > > you use it, you'll show up as only one user. If you open your open ADO > > connections, each will count as a user (when opened together) and will > > count towards the 255 limit. > > > > HTH, > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > > Sent: Wednesday, December 07, 2011 06:33 PM > > To: Access Developers discussion and problem solving > > (accessd at databaseadvisors.com) > > Subject: [AccessD] Advice on A2010.... > > > > Hi everyone, > > > > Boy, A2010 does some weird stuff. > > > > I have an accdb database. It is on my local drive, it is only me who uses > > it, it is only me who can access it. It has DAO code it uses to do stuff > > with recordsets within the currentDB only. There are no external > > connections. There is no BE / FE setup (doesn't need it). This database is > > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > > processing at all - basic stuff. > > > > The only thing that is unusual for me is I have one main form, which has > > 37 tabs on it which in turn has listboxes and subforms - and the subforms > > are bound to their tables - I would usually use unbound, but in this case > > there is no point. Besides they are all really small datasets. > > > > For weeks this has worked pretty well - then suddenly I started getting an > > error when trying to make design changes "Not opened in Exclusive mode - > > another user is using the database - can't save changes" was the gist of it. > > Now how can that happen? There was some suggestion from Google search > > that it maybe one of the DAO recordsets was being left opened and thus > > Access thinks there is a open connection and thus another user(?). I > > double checked I was closing all RS and setting them to nothing when I > > finished with them. > > > > Nothing seemed to work. After much poking around on Google I found this > > piece of code and added it. It seems to have helped, but I am not sure if > > that is just co-incidence or not. I had done a few tweaks and rebuild a > > couple of modules so hard to say: > > > > "'Initiate Passive Shutdown - do not allow new Users > > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > > > This is meant to force access to reject any new users to the database. I > > wish I could say with confidence that this was what fixed it. I guess I > > could comment out the code and do some tests, but right now, after losing > > two days, I am just wanting to catch up on the days I have lost. > > > > The other weird issue I get at some point when using this database is "You > > don't have enough resources to perform the operation". WTF? Again this > > will fail on doing something low impact and simple. It is like Access hit > > some sort of limit (again maybe open connections via DAO.Recordset(?) - > > this is where it usually fails when using code to update stuff via DAO). > > But all the DAO connections are all being closed in the code - and usually > > only 1 is open at any one time (a max of 3 in a couple of modules) and they > > are all set to nothing once I have finished with them. Besides they are > > also doing bugger all work. Maybe updating 10 records out of a total of 50 > > - that sort of thing. What 'resources' could possibly be being exhausted > > with that sort of workload? A restart of the app will usually fix the > > problem, but what is going here? > > > > Has anyone else had these issues, and any ideas on what to do about them? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > 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 Thu Dec 8 16:54:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 02:54:41 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE0C9CC.8090103@colbyconsulting.com> References: <4EE0C9CC.8090103@colbyconsulting.com> Message-ID: Hi John -- Yes, this PAGE compression feature makes using natural keys for OLAP systems more preferable than using surrogate keys.. Thank you. -- Shamil. 08 ??????? 2011, 18:31 ?? jwcolby : > I had to go find this... > > http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kismert at gmail.com Thu Dec 8 17:15:30 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 8 Dec 2011 17:15:30 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Heenan, Lambert: > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Jim Dettman: > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > There is one moderately sneaky way around this limit. Steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. Count the number of controls on your form. With the form in design view, enter this in the Immediate window: ? Forms("frmFoo").Controls.Count 2. Save the form as text, using this command: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access file. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" You should now be able to add new controls to your previously 'stuck' form. It is a little work, but probably less than copying all the controls, code and properties over to a new form. -Ken From stuart at lexacorp.com.pg Thu Dec 8 17:26:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 09:26:19 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, Message-ID: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Sorry, you've lost me completely there. Would you care to explain how data page compression has any bearing on natural v surrogate keys? -- Stuart On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > Hi John -- > > Yes, this PAGE compression feature makes using natural keys for OLAP > systems more preferable than using surrogate keys.. > > Thank you. > > -- Shamil. > From darryl at whittleconsulting.com.au Thu Dec 8 17:45:35 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:45:35 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Well, Yes and no. If you are at the absolute limit because you have > 754 controls then you are screwed - and moving to a new form won't help at all. On an existing form that is corrupt or crashing though, there is hope. Access forms are a bit stupid it seems when it comes to counting controls. If you have a single form and add 753 controls, Save the form. Then you delete the controls and add another 5. Then the form will crash even though there are only 5 controls on the form. Trouble is, the control count is absolute and doesn't decrease when you delete controls - everytime you add a control it adds 1 to the count regardless of if the control still exists or not. This is highly bothersome if you consistently copy a default type form and then remove and add new controls. Sooner or later you hit the limit regardless of the number of controls on the form. In this instance importing the controls into a brand new form DOES help, as the control count starts a zero on a new form. Many times, on control heavy forms I have used this to get out of bother. Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 December 2011 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count > gets reset if you make a copy of the form? Does the new copy have a > controls count equal to the number of controls currently on the form? > What about importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should > only have one with DAO as long as your not using Opendatabase. Always > using currentdb(), will use the same connection. Don't see where your > bumping into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID > is used for every table and field reference. A form with 37 tabs is > huge and I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch > how big you get (note the limit is not 754 - deleting and creating a > control does not decrement/increment the count, it only increments > it). Surprised you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long > as you use it, you'll show up as only one user. If you open your open > ADO connections, each will count as a user (when opened together) and > will count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Dec 8 17:52:53 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:52:53 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F064A@SINPRD0402MB099.apcprd04.prod.outlook.com> Jim, Many thanks. Yep, Point 1 was initially my main concern with using 37 tabs on a single form. I was aware of the control limit on forms and have hit it many times in the past, but usually due to the issue I mentioned in the other post (control count not adjusting when controls are deleted etc). I feel point 2 is probably what is happening. 2048 sound like a big number, but if every listbox is bound then you can gobble them up rather quickly. I need to leave some of the subforms bound as I am using them as datasheet views. However, yesterday I bit the bullet and did what I should have done from day 1 and converted all of the listboxes to Value lists only (waves at Tina ;)). Whilst I was running out of enthusiasm with the huge shebang and I need to test it a lot more, the database didn't seem to have any more issues (fingers crossed) and using value lists load and respond a darn site faster anyway. Only down side to them is there is a limit to just how much data you can fit into a value list (at least loading them they I am via an "adstring" command). In this case it doesn't matter. Most of the lists only have 1-20 entries anyway - so easy. I am using DAO for all connections - well I was, I am using an ADO connection to create the listbox strings for the value list. But that is all working good. Really appreciate your time and effort on this. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 9 December 2011 3:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Dec 8 19:33:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:33:14 -0500 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: <003d01ccb612$85552c80$8fff8580$@net> PULEASE - no more KEY WARS !!!! (although Shamil is right) > Sorry, you've lost me completely there. Would you care to explain how > data page compression has any bearing on natural v surrogate keys? From marksimms at verizon.net Thu Dec 8 19:35:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:35:06 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <003e01ccb612$c81e3070$585a9150$@net> Re: "Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA." Two words: MEMORY MANAGEMENT Access is still written in C++ AFAIK. From fuller.artful at gmail.com Thu Dec 8 21:41:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 22:41:04 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > From darryl at whittleconsulting.com.au Thu Dec 8 22:02:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Dec 2011 04:02:47 +0000 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <56653D383CB80341995245C537A9E7B55F0794@SINPRD0402MB099.apcprd04.prod.outlook.com> Heh.. Outstanding. And I totally agree - many times I have ended up making much more mulla than the original spec as the stakeholders are unable to agree on much. Person X will request this feature, Person Y want something else. You add both, and then their manager will make changes again - or remove the said functions. Good for the invoice, but it can be frustrating. Indeed for one client I almost never deleted any feature they had been requested and built, I would merely turn if 'off' or made it invisible. It was fairly common for a 'deleted' function to be reinstated in a month or two at the insistence of someone in the organisation. Fun stuff. I always document who requested what and when - and often even show it as a line item on the invoice for those hours. This makes any discussion about budget overruns easier to deal with I find. Sure, there maybe some heat and fire from the accounting dept, but at least I am not in the firing line ;) Live and learn... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 9 December 2011 2:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this-resolved) Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Fri Dec 9 03:26:35 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:26:35 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- Thank you for your question. AFAIU MS SQL page compression feature substitutes all the duplicate entries in data records columns of a DB file page by one/two/... bytes long references to "dictionary" area located on the same page. By "duplicate entries" are meant not only full length columns' values but also their values' leading parts... Please read the articles/blog entries JC referred in his postings for details. Please correct me if you'll find I'm wrong. Thank you. -- Shamil P.S. Stuart, please note I've written "using natural keys for *OLAP* systems" - I have no any intentions in re-starting "surrogate vs. natural keys" generic discussion covering OLTP systems - I'm *currently* strong advocate of using surrogate keys in OLTP systems.... 09 ??????? 2011, 03:27 ?? "Stuart McLachlan" : > Sorry, you've lost me completely there. Would you care to explain how data page > compression has any bearing on natural v surrogate keys? > > -- > Stuart > > On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > > > Hi John -- > > > > Yes, this PAGE compression feature makes using natural keys for OLAP > > systems more preferable than using surrogate keys.. > > > > Thank you. > > > > -- Shamil. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 9 03:30:29 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:30:29 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <003d01ccb612$85552c80$8fff8580$@net> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> <003d01ccb612$85552c80$8fff8580$@net> Message-ID: Hi Mark -- Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. Thank you. -- Shamil 09 ??????? 2011, 05:34 ?? "Mark Simms" : > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > Sorry, you've lost me completely there. Would you care to explain how > > data page compression has any bearing on natural v surrogate keys? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 9 03:43:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 19:43:07 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, <003d01ccb612$85552c80$8fff8580$@net>, Message-ID: <4EE1D82B.9612.16524732@stuart.lexacorp.com.pg> I wasn't trying to start a war either :-) I just couldn't see the relationship between data compression and the different type of keys. I'm still not sure that I do, I will have to look at the original article more carefully. On 9 Dec 2011 at 13:30, Salakhetdinov Shamil wrote: > Hi Mark -- > > Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. > > Thank you. > > -- Shamil > > > 09 2011, 05:34 "Mark Simms" : > > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > > > Sorry, you've lost me completely there. Would you care to explain how > > > data page compression has any bearing on natural v surrogate keys? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Fri Dec 9 04:07:28 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:07:28 +1300 Subject: [AccessD] OpenRecordset Error Message-ID: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Fri Dec 9 04:22:23 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:22:23 +1300 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.c o.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111209102235.CGYG28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Never mind. I found it - I had closed db in an earlier part of the code between setting it and referring to rst2. At 9/12/2011, David Emerson wrote: >It is getting late. Can anyone see why I am getting error 91 Object >variable or With block variable not set) when the "Set rst2" line is >run? I have checked the value of strSQL and it looks ok. I have >put the sql into a query and it returns the expected result. Could >it be because OpenRecordset doesn't like group by queries? > > Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String > > Set db = CurrentDb() > > strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, > tblTenantInvoiceMeter.TenantInvoiceIDNo " > strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN > tblTenantInvoiceMeterTran ON > tblTenantInvoiceMeter.TenantInvoiceMeterID = > tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " > strSQL = strSQL & "GROUP BY > tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING > tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" > Set rst2 = db.OpenRecordset(strSQL) > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Dec 9 08:10:03 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 9 Dec 2011 06:10:03 -0800 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I can't see it either but what I do in cases like this is put strSQL into a text box on my form, then copy the contest of the text box to the SQL view of a new query and go to design view. If it makes it that far, I run it. Lots of times it will tell me what the real error is. The error 91 would seem to be pointing to db as not being set. Is the reference to DAO set correctly? The next thing I'd do is Dim db2 as dao.Databaser and set db2 = CurrentDb. Then use db2 to set rst2 and see if it makes a difference. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, December 09, 2011 2:07 AM To: access Developers discussion and problem solving Subject: [AccessD] OpenRecordset Error It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 9 10:41:59 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:41:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Message-ID: <4EE23A57.40009@torchlake.com> Oh boy! Yeah, the user has a very different perspective from the developer. My township had an Excel spreadsheet for registered voters. The state developed a new standard and the spreadsheet had to be updated to match. Of course, in the township's spreadsheet the voter's name was just one cell, with no standardization for data entry (my name, for instance, could have been entered as "Tina Norris Fields," "Fields, Tina N.," "Fields, Tina Norris," "Mr.s Tina Fields," and any other configurations you can think of). So, I was asked to help. When it got to the field for a name suffix, such as "Jr.," "Sr.," "III," "Esq." and the like, the office assistant actually said to me, "No, we don't have to worry about that, there aren't that many of them." It had never dawned on her that the field would be required if there was even one person with a name suffix. I get it that our different perspectives color the way we see the problem. I just haven't figured out how to properly anticipate the user's likely take on it. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 4:06 PM, Stuart McLachlan wrote: > Yep, there was "no way" that this would ever be run other than over a couple of hours during > a normal work day. :-) > From tinanfields at torchlake.com Fri Dec 9 10:42:55 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:42:55 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23A8F.4020205@torchlake.com> ROTFLMAO!!! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 2:29 PM, Brad Marks wrote: > "Weeks of Computer Programming Can Save You Hours of Planning" > > :-) > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, December 08, 2011 7:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Requirements (was: I should be able to do this > -resolved) > > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Fri Dec 9 10:45:36 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:45:36 -0500 Subject: [AccessD] Requirements (was: I should be able to dothis-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23B30.2050302@torchlake.com> Yay, Arthur! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 10:41 PM, Arthur Fuller wrote: > Referring back to my original whine about this problem, in the absence of a > definition of calendar-years, how was I supposed to know there might be a > difference between the real world and the world of pension-funds? A > pension-fund specialist or programmer of apps in this field might have > known to ask this question, but I didn't, nor did any of the > requirements-people deem it worth mentioning. > > Granted, now that I've been severely bitten and savaged by this, I know > enough to ask about the definition of a year. But even granting that, what > about the definition of a month? How to handle leap-years? How many > Requirements-meetings shall be consumed discovering these anomalies? Thank > God that I have subsequently learned that Gathering and Verifying > Requirements is a (and perhaps The Most) billable item on the ultimate > invoice; and that any subsequent changes to the Requirements document is > also billable vis-a-vis the Development spec. The beauty part of this > arrangement is that when some flunky wants this to work that way instead of > the previously-accepted spec, I get to say, "Ok, but it's going to cost you > another $10+K. Are you sure you want to make this change?" Which adroitly > punts the ball to her or him, and forces her or him to justify the change > in specs. Even more elegant, all such requests for change are directly > traceable to the person who requested them. LOL. Twice bitten, thrice shy, > as it were. "You want to fork with me? Go ahead, it's all billable, > directly to you! So there, MoFo." Go ahead, stretch your middle-management > muscles, but your bosses will know precisely whom to blame for the OverRuns. > > A. > > On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > >> Oh what a wonderful statement! >> Asger >> >> From jimdettman at verizon.net Fri Dec 9 10:55:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Dec 2011 11:55:24 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <413332D02540427285BB20F711596C16@XPS> No, un-changed, and nope. Every control you create increments the count. Deleting a control does not decrement it, so the count only goes up. Importing into a new DB does not reset the count. Once you hit the limit, all you can do is create a new form and then copy controls into it. You can't add any more controls to the existing form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 08, 2011 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Dec 9 11:41:03 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Dec 2011 12:41:03 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: Interesting theory, which I am in no position to prove or disprove. But I am thinking of JC's JIT-tabbed forms construct. Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Alternatively, am I missing the point completely? (Wouldn't be the first time!) A. On Fri, Dec 9, 2011 at 11:55 AM, Jim Dettman wrote: > > No, un-changed, and nope. > > Every control you create increments the count. Deleting a control does > not decrement it, so the count only goes up. > > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > > Jim. > > From marksimms at verizon.net Fri Dec 9 12:08:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 13:08:23 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <000a01ccb69d$8b0d7f20$a1287d60$@net> Is there some VBA to do this ? > all you can do is create a new form and then copy controls into it. From BradM at blackforestltd.com Fri Dec 9 13:25:17 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 9 Dec 2011 13:25:17 -0600 Subject: [AccessD] Controlling an Access 2007 EIS Application via RealVNC on the iPad - almost as good as Angry Birds References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com><47774217B25C456C9FDB2FBEE1C32CB2@XPS><413332D02540427285BB20F711596C16@XPS> <000a01ccb69d$8b0d7f20$a1287d60$@net> Message-ID: All, I have built an Executive Information System (reports, graphs, gauges, etc.) with Access 2007 that runs on a remote server. Most of the data comes from a SQL Server database. The remote server has the "server component" of a remote control product called RealVNC. Last week I learned that there was a $5.00 RealVNC "Client" component available for the iPad. (I believe that the "Server" component is about $50.00) You folks may already being using this kind of stuff, but this was a new adventure for me. Picture this... sitting in the living room at night, feet up on the recliner, beer in one hand, "Dancing with the Stars" on TV, fireplace is stoked up (Minnesota), pretending to be carrying on a conversation with my wife, but really controlling the EIS Access application on the iPad. As we used to say in the 1960's "Wow... far out - this is a whole bunch of groovey". I guess the younger generation would say something like "This Rocks". Anyway, being able to use this application on the iPad (and future iPhone) opens up all kinds of new possibilities. Admittedly this isn't the ticket for an application that demands a ton of data entry, but for an inquiry system, it seems pretty cool. The only problem is that we may now need to get a second iPad as my wife, kids, and two grandkids are pretty hooked on Angry Birds :-) Brad From jwcolby at colbyconsulting.com Fri Dec 9 13:29:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Dec 2011 14:29:42 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <4EE261A6.4080505@colbyconsulting.com> >Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Nope it doesn't remain in memory if the subform on a tab unloads when you click off a tab. All objects on any form or subform loads into memory when the form loads, and unloads when the form unloads. My JIT stuff simply delays the loading of the subform until the user clicks the tab that the subform is on. I then (may) unload the subform(s) on that tab when the user clicks on another tab. The database connections form a pool. As any object in Access needs a connection, it goes to the pool to get one and when that object closes it returns the connection to the pool. The objects on a form are related to the number of available connections in that when it is time to load a form, all connections that the loading form needs have to exist (be available) when the form loads. However as the form unloads, it returns the connections back to the pool. That is quite the point of JIT subforms, to only get the connections when the user actually cares (is trying to look at the subform) and return these precious connections once the user moves on. All of which has absolutely nothing to do with the number of objects (controls) a form can contain initially or how many can be added to the form right now. Each form has a similar pool of controls that it can add. The difference is that as you delete a control off a form it does not return that "spot" in the pool back to the pool. Thus over time, as you add and delete controls on the form, the number of available "spots" slowly diminishes until they are all used up. This "objects on a given form" pool has nothing to do with the "available database connections" pool. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 12:41 PM, Arthur Fuller wrote: > Interesting theory, which I am in no position to prove or disprove. But I > am thinking of JC's JIT-tabbed forms construct. Are you suggesting that > despite JC's innovative solution to the many-tabs problem, that all this > shyte remains in memory despite JC's unloading of the various sub-forms? > Alternatively, am I missing the point completely? (Wouldn't be the first > time!) > > A. From kismert at gmail.com Fri Dec 9 14:21:53 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 9 Dec 2011 14:21:53 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Stuart, Darryl, Charlotte & Jim: > Stuart McLachlan: > ... > One way to reset the control count is Application.SaveAsText/LoadFromText. > This does not work by itself. You have to reset the ItemSuffix attribute in the resulting text file before loading it back in. And, you can't have any controls with default names. See my earlier post under this topic. Darryl Collins: > ... > In this instance importing the controls into a brand new form DOES help, > as the control count starts a zero on a new form. > Many times, on control heavy forms I have used this to get out of bother. > Now why they have the limit, and why it doesn't decrease when delete > controls is a question for someone deep in the MS bunker, Redmond WA USA > Try my variation on the SaveAsText/LoadFromText method that I outlined in my earlier post. I have verified this to work. Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user. Charlotte Foust: > ... > Copies of the form are full copies with the same limits. The control > count is part of the properties of the form, so importing it doesn't change > a thing. You can create a new form and copy the controls to it but then > you have to go through replacing the old form with the new one. > > Jim Dettman: > ... > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > You both are right that imports and form copies don't reset the count. You can only copy the controls, code and properties to a new form, or use my technique. -Ken From marksimms at verizon.net Fri Dec 9 18:22:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 19:22:48 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <008601ccb6d1$d9119510$8b34bf30$@net> Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? From jwcolby at colbyconsulting.com Sat Dec 10 09:44:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Dec 2011 10:44:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <4EE37E52.2090702@colbyconsulting.com> Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, but > there are 270 controls reserved for internal use by the application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY > WASN'T THE LIMIT RAISED ? > > From john at winhaven.net Sat Dec 10 10:04:07 2011 From: john at winhaven.net (John Bartow) Date: Sat, 10 Dec 2011 10:04:07 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE37E52.2090702@colbyconsulting.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <4EE37E52.2090702@colbyconsulting.com> Message-ID: <038e01ccb755$58d63c00$0a82b400$@winhaven.net> A-hem, that's "Ribbons" ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 10, 2011 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, > but there are 270 controls reserved for internal use by the > application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS > TIME WHY WASN'T THE LIMIT RAISED ? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 10 21:14:28 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 10 Dec 2011 22:14:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> I would love to hear MS's defense of this "lifetime" limitation. Especially a number like 754! Number theorists, have at it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 09, 2011 7:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 11 18:17:22 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Dec 2011 19:17:22 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <00d701ccb7b2$ff06d000$fd147000$@gmail.com> Message-ID: <001501ccb863$6b5e5880$421b0980$@net> Bill -What Balmer did recently was to "distribute" the product manager role for Access. There are now multiple product managers...all over the globe. >From what I know, Clint Covington is either no longer involved or no longer with Microsoft. I'm sure he had taken a LOT of heat past 3 years. So he got out of the kitchen, so-to-speak. Now, NO ONE PERSON is responsible for Access. Slick move by Balmer, eh ? Never liked the guy, never will. From Chester_Kaup at kindermorgan.com Mon Dec 12 10:17:37 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 10:17:37 -0600 Subject: [AccessD] Append Query syntax error Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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 rockysmolin at bchacc.com Mon Dec 12 10:31:38 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:31:38 -0800 Subject: [AccessD] Maximize in A2010 Message-ID: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From cjlabs at att.net Mon Dec 12 10:39:58 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 10:39:58 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 10:56:56 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:56:56 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 10:57:28 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 08:57:28 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cjlabs at att.net Mon Dec 12 11:06:50 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 11:06:50 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <6126DBCEE4A74D8DB9A87053C941E480@Dell> It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 11:21:01 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 09:21:01 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <6126DBCEE4A74D8DB9A87053C941E480@Dell> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <6126DBCEE4A74D8DB9A87053C941E480@Dell> Message-ID: So far just maximizing. Forms in question open down and to the right. When I drag them up and to the left so I can see the control box, and click the maximize button, it maximizes just fine with all the controls correctly sized for the monitor. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 9:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Dec 12 11:27:10 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 11:27:10 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 11:33:41 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 09:33:41 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 12:25:41 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 12:25:41 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 12:53:14 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 10:53:14 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 13:40:44 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 13:40:44 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B96A@houex1.kindermorgan.com> I used your suggestion but was getting some duplicates. Here is the final solution I ended up with. Thanks for the help INSERT INTO [tbl Monthly Well Count] ( [Eng Area], [Well Count] ) SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Dec 12 14:25:59 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 12 Dec 2011 14:25:59 -0600 Subject: [AccessD] ACCDE Questions References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I have an Access 2007 application that I have been deploying as an ACCDR file to a small number of users. Recently, I have been thinking about deploying it as an ACCDE file. I have some basic questions. Is there a way to generate an ACCDE file via a batch script with Command Line Switches? I have done some digging but have not been able to find a way to do this. If I create an ACCDE file, it appears that I can rename it to ACCDR to accomplish further "lock down". Is this Okay to do? Are there any "Gotchas" that a person should be aware of when using ACCDE files? The application in question does not allow users to change any form, report, VBA code, etc. However, there is VBA code that does change query defs behind the scenes. Is this going to be a problem with an ACCDE file? Thanks, Brad From kismert at gmail.com Mon Dec 12 14:51:10 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 14:51:10 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation. Especially > a number like 754! Number theorists, have at it! > I can account for 255 of the 'missing' controls: Access queries have a 255 field limit. Correspondingly, on an Access form, there are 255 AccessField objects reserved for holding query row values. AccessField objects allow you to refer to the underlying field's value without binding it to a control Subtract 255 from 1024 and you get 769. So that is 754 user controls, plus 15 'system reserved'. These could be things like navigation buttons, record selectors, datasheet support, PrtDevMode and PrtMip. Mark Simms: > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME > WHY > WASN'T THE LIMIT RAISED > I can't give you specifics, but I can tell you that a project like Access has a tremendous amount of inertia. Unless you build in flexibility from the very beginning, changing fundamental constants when a project is mature becomes very difficult. The cost of fixing all the things that would break when changing limits like this would likely exceed the cost of building a new system from scratch. Thus, the emphasis on 'window dressing'. Its all flash and noise dedicated to selling the same old thing, which buys time for newer projects like LightSwitch to gain traction. -Ken From kismert at gmail.com Mon Dec 12 15:10:29 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:10:29 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > Mark Simms > Is there some VBA to do this ? > > > all you can do is create a new form and then copy controls into it. > Yes, I developed just such a product. It copies all controls and form properties over, and all properties for each control, rebuilding the form from scratch. It worked perfectly. Doing a half-assed version in VBA is not so hard. Doing it right is really, really involved. You are really better off doing it by hand. The kicker is I did this when I worked for another company, and they own the rights to the code, so I can't distribute it. Maybe one day I will make the case for them to BSD-license it. -Ken From kismert at gmail.com Mon Dec 12 15:26:50 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:26:50 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken From charlotte.foust at gmail.com Mon Dec 12 15:31:44 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 13:31:44 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: Amen, Ken. I used to have code to build forms using a code library and some templates. It was a complicated operation and took me forever to make it work, and I discovered that doing it by hand was easier. Charlotte Foust On Mon, Dec 12, 2011 at 1:10 PM, Kenneth Ismert wrote: > > > > Mark Simms > > Is there some VBA to do this ? > > > > > all you can do is create a new form and then copy controls into it. > > > > Yes, I developed just such a product. It copies all controls and form > properties over, and all properties for each control, rebuilding the form > from scratch. It worked perfectly. > > Doing a half-assed version in VBA is not so hard. Doing it right is really, > really involved. You are really better off doing it by hand. > > The kicker is I did this when I worked for another company, and they own > the rights to the code, so I can't distribute it. Maybe one day I will make > the case for them to BSD-license it. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Mon Dec 12 17:19:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:19:09 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon Dec 12 17:21:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:21:29 +0000 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Ken, That is a good and clear explanation. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, 13 December 2011 8:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Dec 12 17:41:56 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:41:56 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008501ccb927$a31e3230$e95a9690$@net> Wow - thanks for the "heads-up" Ken. Very impressive. > Doing a half-assed version in VBA is not so hard. Doing it right is > really, really involved. You are really better off doing it by hand. > From marksimms at verizon.net Mon Dec 12 17:44:33 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:44:33 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008601ccb928$009f6be0$01de43a0$@net> But let me ask...for complex forms with a lot of controls in specific positions and "tight registration"... Isn't the manual rebuild a monumental task in some cases ? > Amen, Ken. I used to have code to build forms using a code library and > some templates. It was a complicated operation and took me forever to > make it work, and I discovered that doing it by hand was easier. > > Charlotte Foust From vbacreations at gmail.com Mon Dec 12 18:36:52 2011 From: vbacreations at gmail.com (William Benson) Date: Mon, 12 Dec 2011 19:36:52 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 12 19:01:03 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 17:01:03 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <008601ccb928$009f6be0$01de43a0$@net> References: <008601ccb928$009f6be0$01de43a0$@net> Message-ID: You might change your mind if you start writing code to copy the controls over! The code I had took me forever to write and tweak and I did it only because I was building UIs for survey input that included questions and answers and used multiple subforms and navigation buttons based on a limited set of control types to capture specific types of data. There was never a time when it was totally automated. I only built the code because the company's business was corporate direct marketing and I was building survey UIs on a daily basis. It wouldn't have been worth it otherwise. Charlotte Foust On Mon, Dec 12, 2011 at 3:44 PM, Mark Simms wrote: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > > Amen, Ken. I used to have code to build forms using a code library and > > some templates. It was a complicated operation and took me forever to > > make it work, and I discovered that doing it by hand was easier. > > > > Charlotte Foust > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Mon Dec 12 19:24:49 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 17:24:49 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 08:31:59 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 09:31:59 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> The default control names may have something to do with it, but it's not the entire answer. I just ran the code below in A2003 and was able to create 895 controls. I tried the same code in other versions as well: A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Apparently the control creation limit is not a hard limit, but based on some other internal constraint. This is similar to the table ID limit, which is stated as 2048, but actually floats a bit. These limits are somehow tied to the way Access internally handles open objects, but what that process is is un-clear. Jim. Public Sub CheckControlCreation() Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 12, 2011 07:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 13 08:33:46 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 13 Dec 2011 09:33:46 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 13 09:15:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:15:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> Message-ID: <4EE76C10.4050400@colbyconsulting.com> Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From jimdettman at verizon.net Tue Dec 13 09:32:39 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 10:32:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE76C10.4050400@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> Message-ID: <5B9F45562C414FF89415B34BFB2F845A@XPS> Have always been curious about the limit; 754 is just such an odd number. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, December 13, 2011 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Dec 13 09:39:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Dec 2011 10:39:35 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: First, it's an even number, not odd. And second, a WAG... 768 - 14 overhead bytes? LOL. A. On Tue, Dec 13, 2011 at 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > From jwcolby at colbyconsulting.com Tue Dec 13 09:58:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:58:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: <4EE77628.4000404@colbyconsulting.com> >754 is just such an odd number. That it is! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, December 13, 2011 10:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Wow! > > Obviously you need answers badly or you don't have enough paying work. ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/13/2011 9:31 AM, Jim Dettman wrote: >> >> The default control names may have something to do with it, but it's not >> the entire answer. I just ran the code below in A2003 and was able to >> create 895 controls. I tried the same code in other versions as well: >> >> A2000 - 800 >> A2002 - 894 >> A2007 - 1040 >> A2010 - 1040 >> >> Apparently the control creation limit is not a hard limit, but based on >> some other internal constraint. This is similar to the table ID limit, >> which is stated as 2048, but actually floats a bit. >> >> These limits are somehow tied to the way Access internally handles open >> objects, but what that process is is un-clear. >> >> Jim. >> >> Public Sub CheckControlCreation() >> >> Dim frm As Form >> Dim ctlText As Control >> Dim ctlLabel As Control >> Dim intK As Integer >> >> ' Create form based on Customers form. >> Set frm = CreateForm() >> >> For intK = 1 To 2000 >> >> ' Create unbound default-size text box in detail section. >> Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + >> intK, 100 + intK, 200, 200) >> >> ' Create child label control for text box. >> Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", > 100, >> 100) >> >> Debug.Print ctlText.Name, ctlLabel.Name >> >> Next intK >> >> End Sub >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> Sent: Monday, December 12, 2011 07:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >> Great explanations. Thanks Mark and Ken. >> On Dec 12, 2011 6:22 PM, "Darryl Collins" >> wrote: >> >>> Thanks Ken, >>> >>> That is a good and clear explanation. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto: >>> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >>> Sent: Tuesday, 13 December 2011 8:27 AM >>> To: accessd at databaseadvisors.com >>> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >>> A2010....) >>> >>>> >>>> William Benson: >>>> I would love to hear MS's defense of this "lifetime" limitation.... >>>> >>> >>> To answer the first part of your question, it all has to do with default >>> control names. >>> >>> When you insert a control in a form, it is given a default name, like >>> text10 or label121. The counter that names the controls is the Lifetime >>> Control Limit counter. Once it hits 754, it gives up. >>> >>> The reason for that is name collisions. You can't just reset the counter, >>> especially when lots of controls on the form have default names. In this >>> scenario, Access might try to name a new control 'text203', and that name >>> would already exist. In pathological cases, all possible new names for a >>> control could already exist, and then you're stuck. >>> >>> That is why, in my earlier instructions, I required that you rename all >>> controls with default number-suffixed names before resetting the counter. >>> >>> It was to avoid name collisions. >>> >>> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >>> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >>> for what they surely imagined was going to be a rare event. >>> >>> -Ken >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> 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 Dec 13 10:06:00 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 08:06:00 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Gotta try that. Awkward because I need to make the mde in 2003 then copy to machine #2 to test. But I'll give it a whirl. "an unhandled runtime error which stops Access from doing what it should?" Is there such a thing? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Tuesday, December 13, 2011 6:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Dec 13 11:11:24 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 13 Dec 2011 21:11:24 +0400 Subject: [AccessD] =?utf-8?q?FYI=3A_Excel_Web_App_hosted_on_SkyDrive=2E=2E?= =?utf-8?q?=2E?= Message-ID: Hi All, FYI: http://www.excelmashup.com/ Thank you. -- Shamil? From jwcolby at colbyconsulting.com Tue Dec 13 11:21:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 12:21:55 -0500 Subject: [AccessD] FYI: Excel Web App hosted on SkyDrive... In-Reply-To: References: Message-ID: <4EE789B3.2030104@colbyconsulting.com> I spend all of my day trying to prevent my data from getting mashed up and then Microsoft promotes this! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 12:11 PM, Salakhetdinov Shamil wrote: > Hi All, > > FYI: http://www.excelmashup.com/ > > Thank you. > > -- Shamil From vbacreations at gmail.com Tue Dec 13 15:22:51 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 13 Dec 2011 16:22:51 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left the > role I was in where it was a problem before a fix was required (they were > only testing A2007 at the time to suss out issues) - Google is likely to > turn up something useful if you are lucky. The form resizing was > definitely an issue at the time. Not much help for you right now I know, > but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort of > housekeeping in the Open module of every form - use the ADH form resizing > code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of my > customers are still on 2003 or 2007 and I would prefer not to have to > support two version and find out which version they're on before sending > them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Dec 13 15:58:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 16:58:39 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? Message-ID: <4EE7CA8F.5040001@colbyconsulting.com> I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading part of the name. They point to a SQL server Express database that physically does not exist any more. I have discovered that these links to old stuff cause massive slowing opening real linked tables so I need to find and delete these links, but I am at a loss to discover how. ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Dec 13 16:12:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 17:12:07 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? In-Reply-To: <4EE7CA8F.5040001@colbyconsulting.com> References: <4EE7CA8F.5040001@colbyconsulting.com> Message-ID: <4EE7CDB7.8000807@colbyconsulting.com> Never mind. that was from tables already deleted. When I exited the db and came back in these were gone. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 4:58 PM, jwcolby wrote: > I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading > part of the name. They point to a SQL server Express database that physically does not exist any > more. I have discovered that these links to old stuff cause massive slowing opening real linked > tables so I need to find and delete these links, but I am at a loss to discover how. > > ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > From darryl at whittleconsulting.com.au Tue Dec 13 16:13:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 13 Dec 2011 22:13:18 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5601060@SINPRD0402MB099.apcprd04.prod.outlook.com> Perhaps, but my experience would suggest it is more of a bug than anything else. Or perhaps a deliberate attempt to move folks off MDE to accde instead. The premise is simple. If a form is set to docmd.maximise then that is what it should do upon open (or event). It works as expected in A2003 as MDB or MDE. But in A2007 the docmd.maximise is seemingly ignored. The form usually opens as a float - I think it also did it for MDB format stuff as well - can't recall. >From memory if you click on the form or moved it - it would immediately maximise and snap to full size. As I said, it has been a while, but I do recall it coming up consistently in the testing we were doing. Annoying. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 14 December 2011 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Dec 13 16:58:46 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 16:58:46 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken From kismert at gmail.com Tue Dec 13 17:26:20 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 17:26:20 -0600 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: > > Mark Simms: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > Charlotte Foust: > You might change your mind if you start writing code to copy the controls > over! ... I only built the code because ... I was building survey UIs on > a > daily basis. It wouldn't have been worth it otherwise. > I agree with Charlotte. You have to be strongly motivated to tackle this project. In my case, the company's flagship A2K product had a crippling case of bloat that none of the normal methods (including EatBloat) could cure. It took 3 months full-time to develop the 'complete rebuild' fix, which did finally work (to everyone's great relief)! Mark: if you are forced to rebuild a huge form, try these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. In the Immediate window, count the number of controls: ? Forms("frmFoo").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access database. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" I have observed this to work. -Ken From rockysmolin at bchacc.com Tue Dec 13 19:24:40 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 17:24:40 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: No - you get the same error message - just no Debug option. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 13, 2011 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 19:30:42 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 20:30:42 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, December 13, 2011 05:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 13 20:52:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 02:52:10 +0000 Subject: [AccessD] UDF in Access called to Excel Message-ID: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi guys and girls. One of my colleagues is using a UDF embedded into an Access Query. The query runs find in access by when he is calling the query from Excel VBA (via qd.openrecordset). The code fails with a 'undefined function' error. I read on google the following which was a response to a similar issue: "Access uses Jet, and the combination of Access and Jet understands VBA functions. DAO is a generic data access layer that doesn't understand VBA functions. When you use DAO, you're not automating Access, merely using that bridge to get to the data. Even though some versions of Access use DAO internally to communicate with Jet, the ability to understand VBA is programmed into Access, not DAO." So, is that correct. I would have thought the DOA would have only sent the command to open the query and Access would still do all of the processing? Any thoughts on this. I personally wouldn't do it this way. I would use the Function from Excel to get all of the parameters first and then pass them to the query as needed. In this case the function is built into the query itself in Access. Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From stuart at lexacorp.com.pg Tue Dec 13 21:26:37 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Dec 2011 13:26:37 +1000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. From darryl at whittleconsulting.com.au Tue Dec 13 21:30:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 03:30:17 +0000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B5601256@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Stuart. That clears that up. I will tell him to go to Plan B instead. Cheers darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 December 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] UDF in Access called to Excel On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 13 21:44:17 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 13 Dec 2011 22:44:17 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <003c01ccba12$a84eb590$f8ec20b0$@net> Thanks a ton Ken ! Simply excellent technical investigative work. Well done. > 5. Import the form using: > Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & > "\" & > "Form_frmFoo.txt" > > I have observed this to work. > > -Ken From vbacreations at gmail.com Tue Dec 13 22:17:49 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 13 Dec 2011 23:17:49 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <001201ccba17$579a35c0$06cea140$@gmail.com> If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From darryl at whittleconsulting.com.au Tue Dec 13 22:35:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 04:35:10 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <56653D383CB80341995245C537A9E7B56012C7@SINPRD0402MB099.apcprd04.prod.outlook.com> That is what I normally do - which is probably why it is nearly always much more work to code it than do it all manually. The copy / paste way is usually fast, even with many hundreds of controls it doesn't take more than a few minutes I find. The only other step is to ensure you copy the form code over as well to the new form. I usually rename the old form "frmMyForm_OLD" first, create a new form and save it "frmMyForm", copy the controls, copy the code, save and test. If the new form works as expected I then delete the old form entirely (of course I have an original one on an older backup version). Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 14 December 2011 3:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Dec 14 02:11:59 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 14 Dec 2011 09:11:59 +0100 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. From jwcolby at colbyconsulting.com Wed Dec 14 06:05:11 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 07:05:11 -0500 Subject: [AccessD] Access bounc form - Data has changed Message-ID: <4EE890F7.6000204@colbyconsulting.com> I am moving to SQL Server and when a user tries to update data that has changed a message is generated. The nice part is that Access places the change in the paste buffer. How do I handle that at the form? Trap the error and requery the form then the prompt the user to insert the paste buffer? I will be testing that stuff but have no experience here. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jimdettman at verizon.net Wed Dec 14 07:24:32 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 08:24:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: BTW, one of the things I did try was creating text only controls rather then a text/label combination. Got the same results, but other control types might yield different numbers. If they do, then the limit would seem more related to object management rather then some inherent limitation with form objects themselves (in terms of storage). I'll play with that today if I have time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 14, 2011 03:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 14 09:16:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 10:16:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <4EE8BDC2.5010108@colbyconsulting.com> I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > From marksimms at verizon.net Wed Dec 14 09:49:28 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 10:49:28 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <000001ccba77$f6c10060$e4430120$@net> Apparently the important last control number is "inherited" from the old form..... that's why you must go to text... And then edit the number. > If rebuilding the form completely, why doesn't copying the controls to > a new > form and renaming the form suffice? > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From charlotte.foust at gmail.com Wed Dec 14 10:49:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 08:49:20 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <000001ccba77$f6c10060$e4430120$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: You avoid that issue entirely if you name all your controls in the first place. Charlotte Foust On Wed, Dec 14, 2011 at 7:49 AM, Mark Simms wrote: > Apparently the important last control number is "inherited" from the old > form..... > that's why you must go to text... > And then edit the number. > > > If rebuilding the form completely, why doesn't copying the controls to > > a new > > form and renaming the form suffice? > > > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< > > > -- > 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 Dec 14 11:10:59 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Dec 2011 12:10:59 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE890F7.6000204@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: Without pretending to expertise on this topic, although admitting some experience, I have found that the best way to handle this stuff is via Views. Which is also a statement of principle: never let Anyone but God touch the tables, me and in your case You assuming the God role, allow no mortal to ever touch the tables: that is Your province; they all go through sprocs or views; it happens that in an Access app, I prefer views, because they are much more flexible: simple, simple, simple: main form has one view, details form has another view, linked Master and subForm keys; drop-dead simple, and works like a charm. Maybe not scalable to hundreds of users, although I have made it work with 70+ users, and it was Fast. I have no complaints about that approach, although I am also looking at C# and LightSwitch alternatives, and attempting to re-write client apps on these new models. It's a learning experience. A. On Wed, Dec 14, 2011 at 7:05 AM, jwcolby wrote: > I am moving to SQL Server and when a user tries to update data that has > changed a message is generated. The nice part is that Access places the > change in the paste buffer. > > How do I handle that at the form? Trap the error and requery the form > then the prompt the user to insert the paste buffer? > > I will be testing that stuff but have no experience here. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From jwcolby at colbyconsulting.com Wed Dec 14 12:13:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:13:42 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: <4EE8E756.9000603@colbyconsulting.com> I am not sure what difference a view would make though. The data behind the scenes has still changed. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 12:10 PM, Arthur Fuller wrote: > Without pretending to expertise on this topic, although admitting some > experience, I have found that the best way to handle this stuff is via > Views. Which is also a statement of principle: never let Anyone but God > touch the tables, me and in your case You assuming the God role, allow no > mortal to ever touch the tables: that is Your province; they all go through > sprocs or views; it happens that in an Access app, I prefer views, because > they are much more flexible: simple, simple, simple: main form has one > view, details form has another view, linked Master and subForm keys; > drop-dead simple, and works like a charm. Maybe not scalable to hundreds of > users, although I have made it work with 70+ users, and it was Fast. I have > no complaints about that approach, although I am also looking at C# and > LightSwitch alternatives, and attempting to re-write client apps on these > new models. It's a learning experience. > > A. > > On Wed, Dec 14, 2011 at 7:05 AM, jwcolbywrote: > >> I am moving to SQL Server and when a user tries to update data that has >> changed a message is generated. The nice part is that Access places the >> change in the paste buffer. >> >> How do I handle that at the form? Trap the error and requery the form >> then the prompt the user to insert the paste buffer? >> >> I will be testing that stuff but have no experience here. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> > > > From charlotte.foust at gmail.com Wed Dec 14 12:18:07 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 10:18:07 -0800 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE8E756.9000603@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: It's a security feature. Regular users simply don't have the role permission to change the data in the tables, they have to do it through a view. Charlotte Foust On Wed, Dec 14, 2011 at 10:13 AM, jwcolby wrote: > I am not sure what difference a view would make though. The data behind > the scenes has still changed. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/14/2011 12:10 PM, Arthur Fuller wrote: > >> Without pretending to expertise on this topic, although admitting some >> experience, I have found that the best way to handle this stuff is via >> Views. Which is also a statement of principle: never let Anyone but God >> touch the tables, me and in your case You assuming the God role, allow no >> mortal to ever touch the tables: that is Your province; they all go >> through >> sprocs or views; it happens that in an Access app, I prefer views, because >> they are much more flexible: simple, simple, simple: main form has one >> view, details form has another view, linked Master and subForm keys; >> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >> of >> users, although I have made it work with 70+ users, and it was Fast. I >> have >> no complaints about that approach, although I am also looking at C# and >> LightSwitch alternatives, and attempting to re-write client apps on these >> new models. It's a learning experience. >> >> A. >> >> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >> >wrote: >> >> I am moving to SQL Server and when a user tries to update data that has >>> changed a message is generated. The nice part is that Access places the >>> change in the paste buffer. >>> >>> How do I handle that at the form? Trap the error and requery the form >>> then the prompt the user to insert the paste buffer? >>> >>> I will be testing that stuff but have no experience here. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From marksimms at verizon.net Wed Dec 14 12:30:59 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 13:30:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: <003c01ccba8e$877313d0$96593b70$@net> You mean RENAME, right ? Every control has a name property by default. i.e. there are no unnamed controls. > You avoid that issue entirely if you name all your controls in the > first place. > > Charlotte Foust From jwcolby at colbyconsulting.com Wed Dec 14 12:38:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:38:16 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: <4EE8ED18.1050604@colbyconsulting.com> Yes I understand that but I have set up users and such and their permissions. The message I am getting is that another user has changed the data. I have to do something to cause the form to discover that the data has been written and refresh the data in the current form so that changes to the data in the current form are now allowed. AFAIK that has nothing to do with views per se. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 1:18 PM, Charlotte Foust wrote: > It's a security feature. Regular users simply don't have the role > permission to change the data in the tables, they have to do it through a > view. > > Charlotte Foust > > On Wed, Dec 14, 2011 at 10:13 AM, jwcolbywrote: > >> I am not sure what difference a view would make though. The data behind >> the scenes has still changed. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/14/2011 12:10 PM, Arthur Fuller wrote: >> >>> Without pretending to expertise on this topic, although admitting some >>> experience, I have found that the best way to handle this stuff is via >>> Views. Which is also a statement of principle: never let Anyone but God >>> touch the tables, me and in your case You assuming the God role, allow no >>> mortal to ever touch the tables: that is Your province; they all go >>> through >>> sprocs or views; it happens that in an Access app, I prefer views, because >>> they are much more flexible: simple, simple, simple: main form has one >>> view, details form has another view, linked Master and subForm keys; >>> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >>> of >>> users, although I have made it work with 70+ users, and it was Fast. I >>> have >>> no complaints about that approach, although I am also looking at C# and >>> LightSwitch alternatives, and attempting to re-write client apps on these >>> new models. It's a learning experience. >>> >>> A. >>> >>> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >>>> wrote: >>> >>> I am moving to SQL Server and when a user tries to update data that has >>>> changed a message is generated. The nice part is that Access places the >>>> change in the paste buffer. >>>> >>>> How do I handle that at the form? Trap the error and requery the form >>>> then the prompt the user to insert the paste buffer? >>>> >>>> I will be testing that stuff but have no experience here. >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> Website: http://www.databaseadvisors. >>>> >>>> ****com >>>> >>>>> >>>> >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From jimdettman at verizon.net Wed Dec 14 13:15:02 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 14:15:02 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE8BDC2.5010108@colbyconsulting.com> References: <4EE8BDC2.5010108@colbyconsulting.com> Message-ID: No, that's not the case. When I ran the tests, it didn't matter if I did text and label controls or just text controls as I would get the same number of total controls either way. I had been testing to see if the type of control affected the out come (because of the difference in the number of PEM's) in the total number of controls, but it didn't (at least not for text vs label vs all text, which should have been different enough to show up). And it doesn't seem like the naming is related to the limit. The tests for A2000 and up all yielded control names >754 and A2007 and up went from three to four positions for the numeric portion of the naming. That means you would be able to get 9,999 controls for each control type without a conflict in names. However the numeric suffix counter applies to all controls, so you should be able to get to 9,999 without a problem, but the limit is far short of that. I don't think it's related to the storage method either; all the numbers are odd (not 256, 512, 1024, etc). You just can't come up with any number of bits that represent the numbers shown. Only possibility is the one Ken raised where internal objects are using some of the mapping (ie. 1024 - x number of internal objects = objects available to you). But it seems more related to internal memory management then it does to anything else we've seen so far as the value seems to float from version to version. It's like the table ID limit which also floats a bit; one minute you can be fine with a query or form and the next you get an "out of memory" message. What I'd really like to see happen is those test numbers change a bit on the same machine or between machines. That would really imply that it's related to memory management. A hard coded limit or a limit based on the storage method would always be consistent no matter when or where checked. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 14, 2011 10:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Dec 14 13:14:02 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 11:14:02 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <003c01ccba8e$877313d0$96593b70$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> <003c01ccba8e$877313d0$96593b70$@net> Message-ID: I meant specifically name the controls instead of accepting the defaults, which are less than useless anyhow. And that includes the attached labels and page breaks and all the other items you put on there. I always named them at creation to make it easier to untangle later, so I never ran into issues with default names. Charlotte Foust On Wed, Dec 14, 2011 at 10:30 AM, Mark Simms wrote: > You mean RENAME, right ? Every control has a name property by default. > i.e. there are no unnamed controls. > > > You avoid that issue entirely if you name all your controls in the > > first place. > > > > Charlotte Foust > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From kismert at gmail.com Wed Dec 14 14:23:35 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:23:35 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > Jim Dettman: > < correct only for Access 97.>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > I think the simplest explanation is A97 allowed 1024 controls. Subtract 255 'AccessField' controls (for the maximum fields in a query), and you get 769. That leaves 753 'user' controls and 16 'reserved' controls, things like RecordSelectors, DataSheet support, Record Navigation, the default Detail section, etc. But, on some service pack of Access 2000, the counter limit was raised to 16 bits, or even 32 bits. Supporting 4 billion controls was just silly, so they just picked an arbitrary limit of 800, and kept raising that over time. What I'd really like to see happen is those test numbers change a bit on > the same machine or between machines. That would really imply that it's > related to memory management. A hard coded limit or a limit based on the > storage method would always be consistent no matter when or where checked. Well, AccessD community, test away! Is the limit truly fixed for each version, or does it change? The results will be interesting. -Ken From kismert at gmail.com Wed Dec 14 14:46:02 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:46:02 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to a > new > form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken From jwcolby at colbyconsulting.com Wed Dec 14 15:28:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 16:28:18 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <4EE914F2.4020404@colbyconsulting.com> Good points Ken. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 3:46 PM, Kenneth Ismert wrote: >> >> William Benson: >> If rebuilding the form completely, why doesn't copying the controls to a >> new >> form and renaming the form suffice? >> > > Because you also have to manually duplicate all of the form properties, > which don't copy over automatically. > > For example, if your form allows datasheets, all the column width settings > will be reset to their defaults. > > Further, the copy-and-paste approach can mess up subtle things like display > order, so controls that show up on the original won't be visible on the > copy. > > Thus, if all you need to do is reset the count, I recommend my method, > because the whole form gets copied, leaving no surprises. > > Charlotte Foust: >> You avoid that issue entirely if you name all your controls in the first >> place. >> > > Giving controls meaningful names is best practice. But that doesn't reset > the counter. > > Try modifying Jim's code to give each control a non-default name before the > next is created. The limit didn't change for me. > > -Ken From kismert at gmail.com Wed Dec 14 15:55:22 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 15:55:22 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: All, I just tried another experiment: 1. In Access 2000 or later, call TestControlLifetimeLimit below (a modification of Jim's code) to populate form controls to their limit 2. Delete some or all of the highest-numbered controls 3. Call TestControlLifetimeLimit(Forms(0)) to populate more controls. What I found is that as long as you delete the highest-numbered controls, the counter limit isn't enforced. I ran this until the counter got up to 17213! Can others duplicate this? So, my new theory is that, for some service pack of Office 2000, this got sort-of fixed. (I recall running into this problem a decade ago in an early release of 2000). The maximum control limit is enforced, but the counter will keep going up, as long as you delete some of the higher-order controls. However, the 754-control limit will persist for forms & reports imported from Access 97. This is why the 'rebuild from scratch' is required to totally cure the problem in very old projects. There is simply no other way to keep the form from inheriting the old A97 behavior. Code: Public Sub TestControlLifetimeLimit(Optional ByVal rObj As Object = Nothing) Dim rFrm As Access.Form Dim rText As Control Dim rLabel As Control Dim i As Integer On Error GoTo HandleErr If rObj Is Nothing Then Set rFrm = CreateForm() rFrm.HasModule = True ElseIf TypeOf rObj Is Access.Form Then Set rFrm = rObj ElseIf TypeOf rObj Is Access.Controls Then Set rFrm = rObj.Parent Else Exit Sub End If i = rFrm.Controls.Count Do Set rText = CreateControl(rFrm.Name, acTextBox, acDetail, , , (i Mod 100) * 100, (i \ 100) * 400, 200, 200) Set rLabel = CreateControl(rFrm.Name, acLabel, , rText.Name, "", (i Mod 100) * 100 + 50, (i \ 100) * 400, 200, 200) i = i + 1 Loop While i < 2000 ExitHere: Debug.Print "Control Count: " & rFrm.Controls.Count Exit Sub HandleErr: Debug.Print "Error: " & Err.Number & vbCrLf & Err.Description & vbCrLf & Err.Source GoTo ExitHere End Sub -Ken From darryl at whittleconsulting.com.au Wed Dec 14 16:36:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 22:36:08 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B560147A@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, those are good points. In the past virtually all my forms are unbound and I rarely used datasheet view - although in my current role I do a lot more. Mind you in this role performance trumps elegance so it doesn't matter if the form looks a bit scrappy as I, or the immediate team, are the only users. And we know how to fix it if something goes *splat*. Thanks for shedding some light onto this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, 15 December 2011 7:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Advice on A2010.... > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to > a new form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Wed Dec 14 17:10:38 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 17:10:38 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken From vbacreations at gmail.com Wed Dec 14 20:12:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 14 Dec 2011 21:12:16 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <002601ccbace$f819ee20$e84dca60$@gmail.com> And how do you recommend deleting *precisely* the first 400 controls?;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 06:47:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 07:47:16 -0500 Subject: [AccessD] It just goes to show ya Message-ID: <4EE9EC54.1070108@colbyconsulting.com> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From charlotte.foust at gmail.com Thu Dec 15 07:09:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 05:09:27 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very careful > and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From df.waters at comcast.net Thu Dec 15 07:12:35 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 07:12:35 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <001401ccbb2b$366c0b20$a3442160$@comcast.net> Facebook? What's Facebook? I have work to do! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 15, 2011 7:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Thu Dec 15 07:59:23 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 15 Dec 2011 08:59:23 -0500 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. No question, I know it's not legit. Susan H. >I got an email this morning - XYZ wants to be your friend on facebook. I >don't know xyz, but I often go look to see if maybe I do know them out in a >circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. From vbacreations at gmail.com Thu Dec 15 08:10:53 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:10:53 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <003001ccbb33$5ba3cf10$12eb6d30$@gmail.com> Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 15 08:14:39 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:14:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) References: Message-ID: <003101ccbb33$e2c18000$a8448000$@gmail.com> Uh, yes it was, thanks Jim D. on Dec 13. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, December 15, 2011 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Thu Dec 15 08:18:06 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 15 Dec 2011 08:18:06 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From jimdettman at verizon.net Thu Dec 15 09:39:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Dec 2011 10:39:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <21D3D45A0B814AEAACDE39A52483D58D@XPS> Really scary I know...some of the stuff is getting pretty darn good. Almost got bit last year. E-mail came in telling me I had a problem with something, which by coincidence I had just done the previous day and it looked legit. Clicked without thinking and Trend saved my butt. After the blocked page message came up, it was only then that I realized I should not be getting an e-mail like that. That was too close for comfort And here I am the one telling everybody "Don't click on anything in an e-mail" and absolutely know better then not to. Part of the problem is though, there are still people sending e-mails (valid ones) with links in them (NY's Easy pass comes to mind). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 07:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 10:02:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 11:02:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com> <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> Message-ID: <4EEA1A0D.2020109@colbyconsulting.com> >> I turned my facebook messaging off LOL, I discovered that Facebook had "opted me in" to a TON of crap that they were sending. Of course I went in and disabled it but it is truly annoying that they would do that, and it raises the question - am I opted in to whatever they may decide I really should be receiving in the future? Where do these companies get off deciding that they can send me crap I didn't ask for? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 8:59 AM, Susan Harkins wrote: > I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. > No question, I know it's not legit. > > Susan H. > > >> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I >> often go look to see if maybe I do know them out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a page to do something bad to my >> computer. > From BradM at blackforestltd.com Thu Dec 15 10:05:08 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 15 Dec 2011 10:05:08 -0600 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: I would guess that almost everyone has been burned by a virus in the past. Here are some things that I have done to reduce the risk on the "main" PC that I use for work purposes. Use an iPad for "web surfing" Have multiple PCs so that the teenagers don't use the "main" one Use Microsoft Security Essentials (free) Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Gary Kjos Sent: Thu 12/15/2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kathryn at bassett.net Thu Dec 15 13:35:47 2011 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 15 Dec 2011 11:35:47 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <011501ccbb60$bec27010$3c475030$@net> I'm fortunate! I've never ended up with a virus and I've been online since the beginning. Now my husband, on the other hand... I'm glad he's got his own computer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Thursday, December 15, 2011 8:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > I would guess that almost everyone has been burned by a virus in the > past. > > Here are some things that I have done to reduce the risk on the "main" > PC that I use for work purposes. > > Use an iPad for "web surfing" > Have multiple PCs so that the teenagers don't use the "main" one Use > Microsoft Security Essentials (free) > > Brad From hans.andersen at phulse.com Thu Dec 15 14:32:54 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 15 Dec 2011 12:32:54 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I think the last time I had a virus, it was a boot sector virus from an infected floppy via the sneakernet. Saying that, viruses are so advanced these days that, just because you think you are clean, you could still very well be infected by something on a root kit level. The truth is, as soon as you spot an infection, you cannot trust your pc anymore even if your antivirus claims to have cleaned your machine. The only thing to do is format your machine completely and reinstall. - Hans Sent from my iPhone On 2011-12-15, at 11:35 AM, "Kathryn Bassett" wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Brad Marks >> Sent: Thursday, December 15, 2011 8:05 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] It just goes to show ya >> >> I would guess that almost everyone has been burned by a virus in the >> past. >> >> Here are some things that I have done to reduce the risk on the "main" >> PC that I use for work purposes. >> >> Use an iPad for "web surfing" >> Have multiple PCs so that the teenagers don't use the "main" one Use >> Microsoft Security Essentials (free) >> >> Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Dec 15 15:05:30 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 13:05:30 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I had one for the first time earlier this year. I still haven't figured out where it came from, but it was the joke virus, so it didn't do any actual damage just slowed my machine down. I switched to Vipre Internet Security after that, since it was the only thing I found that actually removed it. Charlotte Foust On Thu, Dec 15, 2011 at 11:35 AM, Kathryn Bassett wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 15, 2011 8:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] It just goes to show ya > > > > I would guess that almost everyone has been burned by a virus in the > > past. > > > > Here are some things that I have done to reduce the risk on the "main" > > PC that I use for work purposes. > > > > Use an iPad for "web surfing" > > Have multiple PCs so that the teenagers don't use the "main" one Use > > Microsoft Security Essentials (free) > > > > Brad > > > -- > 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 Dec 15 15:33:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:33:22 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. From Lambert.Heenan at chartisinsurance.com Thu Dec 15 15:37:20 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 16:37:20 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 15:37:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:37:27 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: <4EEA6897.3030800@colbyconsulting.com> I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Thu Dec 15 15:49:44 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:49:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > From jwcolby at colbyconsulting.com Thu Dec 15 15:48:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:48:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: <4EEA6B3C.8070309@colbyconsulting.com> Yep, an image immediately after doing all of the install / patch stuff, then another periodically. I have to tell you though, things like DropMyRights and noScript goes a long ways towards thwarting the bad guys. Sand boxes really do work well. running all Web facing apps in a sandbox prevents the nasties from doing bad stuff. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 4:37 PM, Heenan, Lambert wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Thursday, December 15, 2011 4:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. > > I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. > > A. > -- > 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 Dec 15 15:55:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:55:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EEA6B3C.8070309@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> <4EEA6B3C.8070309@colbyconsulting.com> Message-ID: Hearty agreement on that! I run a few VMs (not all at once, given my meager 4GB of RAM), and have come to the conclusion that it's always the safest path to create a new VM prior to installing anything new; run it there and see what explodes; end result is the VM explodes and the rest of my baby is intact. A. On Thu, Dec 15, 2011 at 4:48 PM, jwcolby wrote: > Yep, an image immediately after doing all of the install / patch stuff, > then another periodically. > > I have to tell you though, things like DropMyRights and noScript goes a > long ways towards thwarting the bad guys. Sand boxes really do work well. > running all Web facing apps in a sandbox prevents the nasties from doing > bad stuff. > > From Lambert.Heenan at chartisinsurance.com Thu Dec 15 16:11:30 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 17:11:30 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: DriveImageXML is free for personal use, Arthur. Only $69 for commercial use too. http://www.runtime.org/driveimage-xml.htm ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? *(...'?'.. ) *????????.??? ????????*? .? ... Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot > drive to a different drive every now and then. I find I can restore > the whole thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 16:21:01 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 16:21:01 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > And how do you recommend deleting *precisely* the first 400 controls?;-) > I tweaked Jim's code so the controls display in four rows of 200 each. So it is easy to highlight the first two rows of controls, and delete them. From darryl at whittleconsulting.com.au Thu Dec 15 16:21:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Dec 2011 22:21:26 +0000 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B560181C@SINPRD0402MB099.apcprd04.prod.outlook.com> I am one of the 9 people on the planet who doesn't use FB at all - even so I get scammer emails saying "X has commented on your photo" or "Y wants to be your friend" click on the link blah blah - not having a FB profile saves me a lot of time and bother. Mind you, only yesterday I did have someone pop up on yahoo msgnr on a profile of someone I hadn't spoken to in years wanting me to click on a link so I could apply for a free Apple computer or product - apparently Apple are giving away product in honour of Steve Jobs. Yeah... right.... "Delete!". I was lucky as that one was clearly a scam. That said, I think John has a great point - you really can't be too careful and even the experienced and knowledgeable can get caught out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 16 December 2011 12:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 15 16:22:00 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 17:22:00 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for commercial > use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* > .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > From hkotsch at arcor.de Thu Dec 15 16:27:49 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:27:49 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: Testimonials & Reviews See what our customers and the press have to say View Products View all our products Buy Now! Order our products online now! How-to-Guides Step-by-step solutions for common problems. Documentation View the software help files and other resources. Contact Us For Technical Support and all other inquiries. Languages BBB Last updated: October 23, 2011 For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Thu Dec 15 16:35:45 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:35:45 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 15 16:40:25 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 16:40:25 -0600 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEA6897.3030800@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> Message-ID: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Yes - Library referencing can be a pain. At my customers each client has a shortcut which points to an AutoUpdater file. The AutoUpdater file will check to see if the Main and Library files on the client are older than the files on the server. If so, it will copy those files up to the client in the same folder. But here's the problem - the main file on the client will still reference the library file on the server. The way I get around that is to leave the library file on the server with an XX in the name - that way the main file on the client can't find it so it re-references to the library file on the client (they're in the same folder). When the autoupdater file does its thing, it compares modified dates between Library.mdb on the client and LibraryXX.mdb on the server. If the server has the newer file, then autoupdater will copy and rename the LibraryXX.mdb file on the server to Library.mdb on the client. Another problem is that the Library.mdb file is renamed on the server (your dev/test system), so you can't open it until you manually retype the name, and then you have to remember to retype it back when you're done. To solve that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the following code: '------------------------ Public Function StartupChangeXX() On Error GoTo EH Dim stg As String Dim rst As DAO.Recordset Dim fso As FileSystemObject Dim blnAddXX As Boolean Dim stgXXFile As String Dim stgExtension As String Dim stgPrompt As String Dim blnNeedManualPrompt As Boolean Dim blnFoundAllClear As Boolean Dim blnFoundAllXX As Boolean Dim blnFirstLoopComplete As Boolean Dim stgSystemMode As String stgSystemMode = Command() ' stgSystemMode = "Review" '-- TEST Set fso = CreateObject("Scripting.FileSystemObject") '-- Do the files exist? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If fso.FileExists(rst("FileFullPath")) = False And fso.FileExists(stgXXFile) = False Then MsgBox "The file " & rst("FileFullPath") & " does not exist!", vbExclamation + vbOKOnly, "Missing File" rst.Close Set rst = Nothing Application.Quit End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Are all files clear or all XX? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False If blnFirstLoopComplete = False Then If fso.FileExists(rst("FileFullPath")) = True Then blnFoundAllClear = True blnAddXX = True Else blnFoundAllClear = False blnAddXX = False End If blnFirstLoopComplete = True Else If fso.FileExists(rst("FileFullPath")) = True Then If blnFoundAllClear = False Then blnNeedManualPrompt = True Exit Do End If Else If blnFoundAllClear = True Then blnNeedManualPrompt = True Exit Do End If End If End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Select to add XX or Remove XX If blnNeedManualPrompt = True Then stgPrompt = "Push Yes to add XX." _ & vbNewLine & vbNewLine _ & "Push No to remove XX." If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, "Change XX") = vbYes Then blnAddXX = True Else blnAddXX = False End If End If '-- Add or remove XX stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If blnAddXX = True Then If fso.FileExists(rst("FileFullPath")) = True Then fso.CopyFile rst("FileFullPath"), stgXXFile, True fso.DeleteFile rst("FileFullPath") End If Else If fso.FileExists(stgXXFile) = True Then fso.CopyFile stgXXFile, rst("FileFullPath"), True fso.DeleteFile stgXXFile End If End If rst.MoveNext Loop rst.Close Set rst = Nothing If blnAddXX = True Then CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" Else CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" End If Application.Quit Exit Function EH: MsgBox "Error!" _ & vbNewLine & vbNewLine _ & "Code: " & Err.Number & vbNewLine _ & "Desc: " & Err.Description & vbNewLine _ & "Line: " & Erl End Function '----------------------- There is also a tblParameters which contains information about which actual system I'm working on - I have three at each customer. Prod, Test, and Review. The shortcut on the desktop which opens ChangeXX.mdb has a command argument (like '/cmd Test') so the code will know which system it's supposed to be working on. Also, there is a popup message that stays open for 1 second to tell me whether it added the XX or removed the XX, then ChangeXX.mdb quits. Just click the ChangeXX shortcut on the server's desktop until it says 'Added XX' or 'Removed XX', and you're done! Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 3:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] libraries, References and some subtleties to be considered I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 17:08:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 17:08:13 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: Here is my proposal for how to best fix Form Control Limit problems: Control Limits =========== Access imposes limits on how may controls you can put on a form or report: A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Thanks to Jim Dettman for working out these limits. If you try to add more controls than your version of Access allows, you will see: Error: 29053 can't create any more controls on this form or report. At this point, check the number of controls on the form: ? forms("Form1").Controls.Count If that number is less than the stated limit, you can still add more controls, but you have to reset the control counter. Here's how: Access 2000 or Later ================= If you CREATED the form in Access 2000 or later, follow these steps: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" This should reset your control list, allowing you to keep adding up to the stated limit. Notes: * This is a lot easier than copying the controls to a new form, and manually changing all form properties to match the old * EatBloat will also reset the counter for such forms, as it uses this basic technique Access 97 ======== If the form was created in Access 97, and you imported it into a later version, there is more work to do. Follow these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. This eliminates all possibility of name collisions. 2. In the Immediate window, count the number of controls: ? Forms("Form1").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Import the form using: Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" -Ken From vbacreations at gmail.com Thu Dec 15 18:09:39 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 15 Dec 2011 19:09:39 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Control name property is read only in runtime right? So for ac97 this a manual find and rename operation? On Dec 15, 2011 6:09 PM, "Kenneth Ismert" wrote: > Here is my proposal for how to best fix Form Control Limit problems: > > Control Limits > =========== > Access imposes limits on how may controls you can put on a form or report: > A97 - 753 > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Thanks to Jim Dettman for working out these limits. > > If you try to add more controls than your version of Access allows, you > will see: > Error: 29053 > can't create any more controls on this form or report. > > At this point, check the number of controls on the form: > ? forms("Form1").Controls.Count > > If that number is less than the stated limit, you can still add more > controls, but you have to reset the control counter. Here's how: > > Access 2000 or Later > ================= > If you CREATED the form in Access 2000 or later, follow these steps: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1" > > This should reset your control list, allowing you to keep adding up to the > stated limit. Notes: > * This is a lot easier than copying the controls to a new form, and > manually changing all form properties to match the old > * EatBloat will also reset the counter for such forms, as it uses this > basic technique > > Access 97 > ======== > If the form was created in Access 97, and you imported it into a later > version, there is more work to do. Follow these steps: > > 1. Rename all form controls with a default numeric suffix, like 'label123' > and 'text234'. This eliminates all possibility of name collisions. > > 2. In the Immediate window, count the number of controls: > ? Forms("Form1").Controls.Count > > 2. Save the form as text: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and > edit it to the number of controls +1: > ItemSuffix =128 > > 4. Import the form using: > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 15 20:50:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 21:50:39 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Message-ID: <4EEAB1FF.9040103@colbyconsulting.com> Thanks for those suggestions. My methods are crude and I have always wanted to get a little more sophisticated. I will have to spend a little time thinking about the suggestions you discuss. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 5:40 PM, Dan Waters wrote: > Yes - Library referencing can be a pain. > > At my customers each client has a shortcut which points to an AutoUpdater > file. The AutoUpdater file will check to see if the Main and Library files > on the client are older than the files on the server. If so, it will copy > those files up to the client in the same folder. > > But here's the problem - the main file on the client will still reference > the library file on the server. The way I get around that is to leave the > library file on the server with an XX in the name - that way the main file > on the client can't find it so it re-references to the library file on the > client (they're in the same folder). > > When the autoupdater file does its thing, it compares modified dates between > Library.mdb on the client and LibraryXX.mdb on the server. If the server > has the newer file, then autoupdater will copy and rename the LibraryXX.mdb > file on the server to Library.mdb on the client. > > Another problem is that the Library.mdb file is renamed on the server (your > dev/test system), so you can't open it until you manually retype the name, > and then you have to remember to retype it back when you're done. To solve > that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the > following code: > > '------------------------ > Public Function StartupChangeXX() > On Error GoTo EH > > Dim stg As String > Dim rst As DAO.Recordset > Dim fso As FileSystemObject > Dim blnAddXX As Boolean > Dim stgXXFile As String > Dim stgExtension As String > Dim stgPrompt As String > Dim blnNeedManualPrompt As Boolean > Dim blnFoundAllClear As Boolean > Dim blnFoundAllXX As Boolean > Dim blnFirstLoopComplete As Boolean > Dim stgSystemMode As String > > stgSystemMode = Command() > ' stgSystemMode = "Review" '-- TEST > > Set fso = CreateObject("Scripting.FileSystemObject") > > '-- Do the files exist? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If fso.FileExists(rst("FileFullPath")) = False And > fso.FileExists(stgXXFile) = False Then > MsgBox "The file "& rst("FileFullPath")& " does not exist!", > vbExclamation + vbOKOnly, "Missing File" > rst.Close > Set rst = Nothing > Application.Quit > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Are all files clear or all XX? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > If blnFirstLoopComplete = False Then > If fso.FileExists(rst("FileFullPath")) = True Then > blnFoundAllClear = True > blnAddXX = True > Else > blnFoundAllClear = False > blnAddXX = False > End If > blnFirstLoopComplete = True > Else > If fso.FileExists(rst("FileFullPath")) = True Then > If blnFoundAllClear = False Then > blnNeedManualPrompt = True > Exit Do > End If > Else > If blnFoundAllClear = True Then > blnNeedManualPrompt = True > Exit Do > End If > End If > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Select to add XX or Remove XX > If blnNeedManualPrompt = True Then > stgPrompt = "Push Yes to add XX." _ > & vbNewLine& vbNewLine _ > & "Push No to remove XX." > If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, > "Change XX") = vbYes Then > blnAddXX = True > Else > blnAddXX = False > End If > End If > > > '-- Add or remove XX > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If blnAddXX = True Then > > If fso.FileExists(rst("FileFullPath")) = True Then > fso.CopyFile rst("FileFullPath"), stgXXFile, True > fso.DeleteFile rst("FileFullPath") > End If > > Else > > If fso.FileExists(stgXXFile) = True Then > fso.CopyFile stgXXFile, rst("FileFullPath"), True > fso.DeleteFile stgXXFile > End If > > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > If blnAddXX = True Then > CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" > Else > CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" > End If > > Application.Quit > > Exit Function > > EH: > MsgBox "Error!" _ > & vbNewLine& vbNewLine _ > & "Code: "& Err.Number& vbNewLine _ > & "Desc: "& Err.Description& vbNewLine _ > & "Line: "& Erl > > End Function > '----------------------- > > There is also a tblParameters which contains information about which actual > system I'm working on - I have three at each customer. Prod, Test, and > Review. The shortcut on the desktop which opens ChangeXX.mdb has a command > argument (like '/cmd Test') so the code will know which system it's supposed > to be working on. > > Also, there is a popup message that stays open for 1 second to tell me > whether it added the XX or removed the XX, then ChangeXX.mdb quits. > > Just click the ChangeXX shortcut on the server's desktop until it says > 'Added XX' or 'Removed XX', and you're done! > > Hope this helps! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 3:37 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] libraries, References and some subtleties to be > considered > > I use libraries - MDAs - to hold common code, variables and constants. > Libraries are essentially places to put common code so that many different > applications can do things the same way. If a bug is found it can be fixed > in the library, in just one place. > > It is possible for a lib to reference another lib. For example my C2DbFW3G > understands and uses my Presentation Level Security System and so it > references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can > be used without my FW3G. Should I have just merged the two into one big > lib? > That is a conversation for another day. > > While on this subject, two more things. There can be no circular references > between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference > FW3G. Any lib can reference another lib but the reference can never "circle > back around". Additionally the order of reference comes into play if there > are two functions, classes, variables etc with the same name. We all > understand the scope thing (local function, module, global) but the same > issue exists in libraries in that if a name is not found in the local > container the compiler starts looking at other referenced objects, starting > from the top reference in the references dialog and working down. > > This can cause oddities if we have a function (for example) with the same > name found in the application and the library. Code in the application will > use the function inside of the application container, whereas code in the > library will use the function in the library container. > If you use libraries and you write a function and move it to the library, do > not forget to delete the function from the application or you will have > problems. > > I have two main libraries, C2DbFW3G which is the 3rd generation of my > framework, and C2DbPLSS which is my Presentation Level Security System. > > Having an application reference a library causes some issues shall we say > which do not exist if you do not use them, and I just thought I would walk > through my findings and how I handle things in order to start a conversation > on the subject. > > Some tidbits in no particular order. > > When the developer references a library they do so via a browse button and > so the reference ends up specific to a location available from the > developer's machine. This implies that the location may or may not be > available to another user opening the application. > > When the application opens, it tries to find the file at the location > specified in the existing reference. If found it uses that copy of the > library, no questions asked. > > If the library cannot be found at that referenced location then the > application silently begins to search a set of paths to find the library. > > http://support.microsoft.com/kb/824255 > > If the library is found the search immediately ceases and the reference is > "fixed up" to point to that location. When the application closes it saves > that new reference location. So the application has been silently > "re-referenced" to the new location. When I say silently, I mean that there > is no immediate in-your-face indication that any of this happened. > > This silent re-reference can cause odd problems. Let's take some real life > scenarios that I encounter at my client. > > I have a directory on my C: drive at the client called C:\Dev\DisNew\ This > path, in particular the Dev\ part, is unique to my machine (standing for > development). I build a framework and an application in this location. I > reference the lib from the application, browsing to that location and voila, > the reference points to a library in a location that does not physically > exist anywhere else in the company. > > I copy the two files up to X:\DisNew\Test which is the production > (X:\DisNew) test directory. the user has a batch file which builds a > directory on their local C: drive, copies the library and application to > that local directory and opens the application. The application tries to > find the lib at my dev directory and fails, so it tries to find it in the > local directory and succeeds. Life is good. > > Now... I go into the X:\Disnew\Tester directory and open the application > file. Guess what happens? > The application opens and tests the reference and... finds it because it > can see my dev path. The file works. Life is good, nothing changes. > > A user goes into the X:\DisNew\Tester directory and opens the application > file and ... the application cannot find my dev directory so it starts "the > search". It finds the library in the X:\DisNew\Test directory and > re-references and the application works. Now when the user closes the > file... the file is referenced to the lib on the network. Life is no longer > good! > > Now we decide that the application file tests good and copy it to production > where it is copied, along with the lib down to the user's hard disk. The > user opens the copy on their hard disk and... > the application is referenced to the lib on the network (test directory) and > so it opens the lib on the network. Now I am trying to copy a new version > of the lib to tester and the file is locked. Or something. Life is not > good. > > Let's discuss decompile for a minute. Decompile flushes the pcode buffers > in the Access container, which, simply put, means that all of the "compiled" > code is flushed out. Yes I understand that Access is an interpreter but it > actually compiles the English (VBA) language stuff we write into P-Code and > interprets the P-Code. The compile of the Decompile / Compile matched pair > simply recompiles every single line of VBA code into P-Code and stuffs it > back into the buffers. > > When you perform a decompile / compile, you *REALLY* need to decompile / > compile the library first, then the application using the application. I > don't understand all of the stuff but apparently there is a table of > pointers built by the compile, things like the entry point to functions and > the locations of constant and variables. Apparently when you compile the > application, it goes out and searches the library for these tables in order > to correctly call functions and variables in the library. > > But why do we do a decompile / compile in the first place? Because it is > possible and in fact not uncommon, for the P-Code to get corrupted over > time. If the lib is corrupted and you recompile the app, then the app calls > into corrupted lib stuff. So, decompile / compile the lib *before* you > decompile the application that references the lib. And if you decompile / > compile the lib, then you must must *must* recompile the app because the lib > entry points and variables might change. > > Guess what? If you happen to get confused and decompile / compile anything > on a network share... it may (or may not) cause weird things like the app > refusing to close. So never never *never* decompile / compile anything that > is not local to your hard disk. > > Unfortunately the simple fact that FW3G references the PLSS does not expose > the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and > the application references C2DbPLSS *and* C2DbFW3G because it directly uses > code in both. Oh my goodness. Now I have to decompile / compile the PLSS > first, then the FW3G (because it references PLSS), and then the application > (which directly references both libs). All of this must be done on my local > machine so as to avoid the "can't close" issue discussed above, and then > copied to the final destination for public consumption. > > Furthermore I need to make sure that I reference the PLSS in the FW3G to the > DEV path on my local machine, and likewise reference PLSS and FW3G inside of > the application to the dev path of my local machine. Why? Because that > path is not public to the company and will trigger the re-reference when the > user downloads all this stuff to their local machine. > > But wait, there's more. I have three different applications that use the > PLSS and the framework. > So if I decompile / compile the PLSS / FW3G, all of the applications that > use these libs need to be recompiled. Again, if I make changes to the libs, > any app that I do not decompile will not reacquire the pointer tables in the > libs and may start to fail. > > > And around and around we go. > > I use batch files to copy these pieces to the user's system so that the user > ends up with local copies and doesn't end up permanently re-referencing > things back to the production location. This works reasonably well as long > as everyone plays by the rules. If anyone (other than myself) actually > opens any of these files up in tester or production, then the references > silently change and things go south in a hurry. It took me awhile to figure > out that this was happening (a long time ago) and it took me awhile to > remember that this occurs when I started having strange things happening > recently. That is the reason for starting this thread, to remind the list > how this stuff works and to get input from other list members on their > experiences with this stuff. > > I am a believer in libraries to hold common code. They exist for the simple > reason that changes to that code, bug fixes etc can be done in one place and > propagated to every place the change is needed. It is important to > understand what goes on behind the scenes however or you can have some > strange things happening that will be very difficult to figure out. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 16 06:30:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:30:35 +0100 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: Hi John I think you just won the prize of the year for the longest code-less post! /gustav >>> jwcolby at colbyconsulting.com 15-12-2011 22:37 >>> I use libraries - From Gustav at cactus.dk Fri Dec 16 06:51:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:51:55 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Darryl Even if you don't, some sites you visit may link back to FB (Check for "like this" or similar). If so and if you use WinXP and IE8, you may experience that whenever you open such site, Windows resource usage at once raises from the few percent in idle mode to about 30% because of services.exe doing something unknown - probably some phone-home-to-FB thingy. It may be so aggressive that it eats every second or third keystroke you do while IE8 has focus. A method to kill this misbehaviour is to go to Options .. Security and add to the "dirty" (non-secure) list of sites: *.facebook.com Bingo! Usage drops to a few percent. /gustav PS: I think we are 10 people. >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> I am one of the 9 people on the planet who doesn't use FB at all - From jwcolby at colbyconsulting.com Fri Dec 16 06:50:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 07:50:32 -0500 Subject: [AccessD] Browser Sandbox - Run any browser instantly from the web Message-ID: <4EEB3E98.1040206@colbyconsulting.com> I stumbled across this today. I have Googled Spoon.net and it appears to be up and up, and netcraft gives them a "zero risk" rating. http://codingstrategist.posterous.com/what-is-spoonnet http://spoon.net/browsers -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From marksimms at verizon.net Fri Dec 16 07:53:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 16 Dec 2011 08:53:51 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEAB1FF.9040103@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> Message-ID: <005001ccbbfa$251b5c70$6f521550$@net> John - great post on your use of the libraries....very few developers do this. My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? Any advantage one way or the other ? > > Thanks for those suggestions. My methods are crude and I have always > wanted to get a little more > sophisticated. I will have to spend a little time thinking about the > suggestions you discuss. > > John W. Colby > Colby Consulting From Lambert.Heenan at chartisinsurance.com Fri Dec 16 08:05:02 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 16 Dec 2011 09:05:02 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I cannot claim any credit. I found it on one of the many ASCII Art sites out there, and of course I cannot locate the exact source now, but here's a good one... http://www.ascii-art.de/ Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for > commercial use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? > '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 16 09:07:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:07:01 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: References: Message-ID: <4EEB5E95.1070606@colbyconsulting.com> ROTFL. It's a convoluted subject. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 7:30 AM, Gustav Brock wrote: > Hi John > > I think you just won the prize of the year for the longest code-less post! > > /gustav > > >>>> jwcolby at colbyconsulting.com 15-12-2011 22:37>>> > I use libraries - > > From jwcolby at colbyconsulting.com Fri Dec 16 09:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:15:35 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <005001ccbbfa$251b5c70$6f521550$@net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> <005001ccbbfa$251b5c70$6f521550$@net> Message-ID: <4EEB6097.1080306@colbyconsulting.com> The extension .MDA is just a convention and really doesn't enforce anything. The library can have an MDB, MDE or even XYZ and still be referenced and used. I know because I just renamed one of my libraries to have an extension .XYZ and referenced it. While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. Access can in fact still open the file but you can no longer just double click it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 8:53 AM, Mark Simms wrote: > John - great post on your use of the libraries....very few developers do > this. > My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? > Any advantage one way or the other ? >> >> Thanks for those suggestions. My methods are crude and I have always >> wanted to get a little more >> sophisticated. I will have to spend a little time thinking about the >> suggestions you discuss. >> >> John W. Colby >> Colby Consulting > > From kismert at gmail.com Fri Dec 16 10:14:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 16 Dec 2011 10:14:07 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: > > William Benson: > Control name property is read only in runtime right? So for ac97 this a > manual find and rename operation? > You're correct, name is a design-time property. You can fairly easily write code to rename controls with the form in design view. For the purposes of Lifetime Control Limits, the names don't even have to be meaningful, just different from the defaults. But this code would have to: * Rename control references and event handlers in the form's module * Find and fix all control references in form and control property expressions, as well as in underlying queries. * Find and fix control references in queries, forms, reports, macros and modules outside of the form in question. So, if you have to maintain a monster form that was created in A97, and are running into control limit issues, the task of fixing it could be huge. If that is the case, maybe its time to start from scratch with a simpler solution that spreads functionality among a number of smaller forms. -Ken From charlotte.foust at gmail.com Fri Dec 16 12:19:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:19:22 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From john at winhaven.net Fri Dec 16 12:34:21 2011 From: john at winhaven.net (John Bartow) Date: Fri, 16 Dec 2011 12:34:21 -0600 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Facebook makes its money from advertising. That's why it's free. They will collect as much information from you as they can and they will use it. If you want to prevent that as much as possible you need to go in and thoroughly go through the settings and change them. From charlotte.foust at gmail.com Fri Dec 16 12:39:57 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:39:57 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: <022d01ccbc21$54100360$fc300a20$@winhaven.net> References: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Message-ID: Amen, John! Charlotte Foust On Fri, Dec 16, 2011 at 10:34 AM, John Bartow wrote: > Facebook makes its money from advertising. That's why it's free. They will > collect as much information from you as they can and they will use it. If > you want to prevent that as much as possible you need to go in and > thoroughly go through the settings and change them. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rusty.hammond at cpiqpc.com Fri Dec 16 15:33:54 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 16 Dec 2011 15:33:54 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Another thing I've done is setup an opendns account for my home. It's free and does a nice job of content filtering. No need to install filtering software on the computers, but I do run the opendns ip address update client on my desktop that's on all the time. www.opendns.com Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 6:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 stuart at lexacorp.com.pg Fri Dec 16 16:35:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 17 Dec 2011 08:35:31 +1000 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEB6097.1080306@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com>, <005001ccbbfa$251b5c70$6f521550$@net>, <4EEB6097.1080306@colbyconsulting.com> Message-ID: <4EEBC7B3.9577.A21BA4E@stuart.lexacorp.com.pg> I rename whenever I use an mdb as data storage for a PB application. -- Stuart On 16 Dec 2011 at 10:15, jwcolby wrote: > While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to > obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. > Access can in fact still open the file but you can no longer just double click it. > From vbacreations at gmail.com Fri Dec 16 22:06:42 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:06:42 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Is anyone aware of some Addin or developer tool which takes care of all those referencing issues when renaming controls? It would sure be a plus to have something like that. Maybe no way to fool proof it. I agree about starting from scratch. On Dec 16, 2011 11:16 AM, "Kenneth Ismert" wrote: > > > > William Benson: > > Control name property is read only in runtime right? So for ac97 this a > > manual find and rename operation? > > > > You're correct, name is a design-time property. > > You can fairly easily write code to rename controls with the form in design > view. For the purposes of Lifetime Control Limits, the names don't even > have to be meaningful, just different from the defaults. > > But this code would have to: > * Rename control references and event handlers in the form's module > * Find and fix all control references in form and control property > expressions, as well as in underlying queries. > * Find and fix control references in queries, forms, reports, macros and > modules outside of the form in question. > > So, if you have to maintain a monster form that was created in A97, and are > running into control limit issues, the task of fixing it could be huge. > > If that is the case, maybe its time to start from scratch with a simpler > solution that spreads functionality among a number of smaller forms. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Dec 16 22:09:45 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:09:45 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Would I be mistaken in guessing that EatBloat is a recommended preventive maintenance? From hans.andersen at phulse.com Sat Dec 17 04:08:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 02:08:40 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip address > update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them out > in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page > to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 17 05:34:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 17 Dec 2011 12:34:24 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Charlotte and John You missed that I wrote "whenever you open such site". That's all. No login is needed (or done). This is a WinXP/IE8 combo issue. I don't see it with Vista/IE9. /gustav >>> charlotte.foust at gmail.com 16-12-2011 19:19 >>> Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - From df.waters at comcast.net Sat Dec 17 08:12:50 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 08:12:50 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> Message-ID: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> I use different email addresses, and also log into 4 different customers with 4 different VPN methods. Would OpenDNS cause an issue with any of this? I'm also using Comcast as an ISP - is that OK? I looked at the OpenDNS site, but I didn't see a good explanation of what it was actually doing, or even a general description of how it worked. I don't have my own 'network' - is it helpful without that? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Saturday, December 17, 2011 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip > address update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 09:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 10:06:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <4EECAFED.7070902@colbyconsulting.com> OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 17 09:13:42 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 09:13:42 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <002101ccbcce$76eead20$64cc0760$@comcast.net> I have no doubt that the son of John Colby is very sophisticated, computer literate, and determined! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 9:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different > customers with 4 different VPN methods. Would OpenDNS cause an issue > with any of this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of > what it was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hans-Christian Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if > there are any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. >> It's free and does a nice job of content filtering. No need to >> install filtering software on the computers, but I do run the opendns >> ip address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************* >> * >> 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. >> ********************************************************************* >> * >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 10:15:36 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 11:15:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <002101ccbcce$76eead20$64cc0760$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> <002101ccbcce$76eead20$64cc0760$@comcast.net> Message-ID: <4EECC028.70600@colbyconsulting.com> LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, computer > literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name Server > takes names such as Microsoft.Com and turns that into a numeric IP address > www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses > and filters them against known attributes and makes a decision whether to > perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter out > specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not allowed to > surf to that site. My son then embarks on a concerted attempt to circumvent > this issue and within minutes has discovered what is going on and has > locally set his system to use a different Domain name server. 15 minutes > later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name server > such as OpenDNS, which is a much more secure implementation method. The > problem is that IIRC if you set the NIC itself to use a specific DNS then it > goes around the router. > > But in general, other than for very sophisticated, computer literate and > determined teenagers, a service like OpenDNS works rather well, for what it > is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan From hans.andersen at phulse.com Sat Dec 17 15:31:12 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 13:31:12 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> OpenDNS basically just does the same thing your ISP does, in terms of telling your computer what public IP address (in other words, which public server(s)) are responsible for a given domain name. Your ISP normally provides this service and when you configure your router, it generally gives you those settings automatically, but there is no reason you can't use another provider (if you are a web developer/sys ops person such as myself, it is very useful to query different DNS servers around the world to see if there are problems with your configuration and how it is propagating around). It's just a matter of changing the IP address for DNS in your router or even just specific individual computers/networked devices. What makes OpenDNS stand out is that they add additional features beyond just DNS resolution that you don't get from your ISP at all. Domain filtering, statistics, malware monitoring and phishing/malware filtering (on a DNS level) and so forth. The only thing they ask for in exchange is that you allow them to display their search page with their advertising instead of an error page when you type in a bad domain in your browser address bar. Its a cheap way of providing basic filtering and protection for home, school or business, so, as long as you don't mind a third party company knowing what domains you visit, it's well worth it. They also spend a lot of effort speeding up DNS lookups, so it will be a slight boost to your Internet usage. Also, for those who are security minded and know the technical merits of it, OpenDNS uses DNSCurve (an alternative to DNSSEC), to avoid DNS cache poisoning and so forth, something many ISPs have yet to adopt. Like John said, however, it's trivial for anyone who knows basic networking, so it's not foolproof. But there you go. You get what you pay for (or not). Best regards, Hans-Christian Andersen On 17 Dec 2011, at 06:12, "Dan Waters" wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 17 15:53:15 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 17 Dec 2011 13:53:15 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECC028.70600@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com><002101ccbcce$76eead20$64cc0760$@comcast.net> <4EECC028.70600@colbyconsulting.com> Message-ID: <9CF110EE28CA43C38D0F30CE013A296B@HAL9007> I used to have some illusions about control but they got the crap kicked out of them. 21 is beyond my control. 15 is not interested in porn - more interested in torrenting SkyRim and SolidWorks. And making the robots dance and sing. So far so good. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, > computer literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name > Server takes names such as Microsoft.Com and turns that into a numeric > IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural > language" IP addresses and filters them against known attributes and > makes a decision whether to perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter > out specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not > allowed to surf to that site. My son then embarks on a concerted > attempt to circumvent this issue and within minutes has discovered > what is going on and has locally set his system to use a different > Domain name server. 15 minutes later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name > server such as OpenDNS, which is a much more secure implementation > method. The problem is that IIRC if you set the NIC itself to use a > specific DNS then it goes around the router. > > But in general, other than for very sophisticated, computer literate > and determined teenagers, a service like OpenDNS works rather well, > for what it is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 16:00:58 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 08:00:58 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> Message-ID: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if a client's IP addess is on any blacklists, to check whether their SMTP server is working and not an open relay , check that they have a valid PTR record etc). To query different DNS servers, I use DIG - you can get a Windows CLI version here: http://members.shaw.ca/nicholas.fong/dig/ -- Stuart On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > if you are a web developer/sys ops person such as myself, it is very > useful to query different DNS servers around the world to see if there > are problems with your configuration and how it is propagating around From hans.andersen at phulse.com Sat Dec 17 18:06:48 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 16:06:48 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> They made a Windows version? That's neat. Is that without using Cygwin? - Hans Sent from my iPhone On 2011-12-17, at 2:00 PM, "Stuart McLachlan" wrote: > I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if > a client's IP addess is on any blacklists, to check whether their SMTP server is working and > not an open relay , check that they have a valid PTR record etc). > > To query different DNS servers, I use DIG - you can get a Windows CLI version here: > http://members.shaw.ca/nicholas.fong/dig/ > > -- > Stuart > > On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > >> if you are a web developer/sys ops person such as myself, it is very >> useful to query different DNS servers around the world to see if there >> are problems with your configuration and how it is propagating around > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 18:35:50 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 10:35:50 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg>, <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> Message-ID: <4EED3566.6653.FB61FB2@stuart.lexacorp.com.pg> It uses Cygwin. The zip contains: 12/06/2008 09:35 AM 1,872,884 cygwin1.dll 14/12/2005 01:29 PM 73,728 dig.exe 14/12/2005 01:28 PM 61,440 host.exe 14/12/2005 01:26 PM 21,504 libbind9.dll 14/12/2005 01:23 PM 1,007,616 libdns.dll 16/10/2003 12:09 PM 737,280 libeay32.dll 14/12/2005 01:21 PM 217,088 libisc.dll 14/12/2005 01:25 PM 53,248 libisccfg.dll 14/12/2005 01:26 PM 35,328 liblwres.dll 24/01/2006 08:44 PM 344,064 msvcr70.dll 30/05/2009 07:39 AM 0 resolv.conf 12/05/2008 03:12 PM 19,968 sha1sum.exe 18/11/2009 11:48 PM 80,092 whois.exe On 17 Dec 2011 at 16:06, Hans-Christian Andersen wrote: > They made a Windows version? That's neat. Is that without using Cygwin? > > - Hans > From jimdettman at verizon.net Sun Dec 18 11:30:09 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 18 Dec 2011 12:30:09 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <5DB682B02ABE4F40AA490E1CA5ED2AAA@XPS> << My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse.>> Tongue in cheek or not, wait till he finds out about proxy servers. Even DNS filtering doesn't help you then. Having raised three boys, I can tell you it was a real challenge at times to stay ahead of them. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 10:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 20 12:57:57 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 12:57:57 -0600 Subject: [AccessD] Calculation in query problem Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> I have the following query SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (((GA_Details.UNIT)="PCT")) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) ORDER BY scada_V_All_Meter_Volumes.ReadingDate; The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 I have a feeling I am missing something in the order of calculations as done by Access. Any thoughts appreciated. 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 dw-murphy at cox.net Tue Dec 20 13:28:53 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 20 Dec 2011 11:28:53 -0800 Subject: [AccessD] Access 2010 help functionality problem Message-ID: <001401ccbf4d$9bb725c0$d3257140$@cox.net> Folks, Here is another interesting behavior in Access 2010. It is probably specific to my installation. Today when I was working on a project I hit the F1 key in the VBA IDE to get the parameters for a command. Instead of the help window opening I get a Download authorization dialog that asks if I want to save Transition.htm from MS.MSACESS.DEV.14.1033. So I say yes and it saves the file then I open it and it tries to open itself again. Is there some file association setting that has gotten changed, registry setting that got hosed, or ???? Help has worked. I shut down Access and restarted the computer to make sure it wasn't just something that failed to load. Problem still there. Any suggestions would be appreciated. I don't use Access help that often but I do like to use the help from the object browser and that is broken also. Thanks in advance. Doug From stuart at lexacorp.com.pg Tue Dec 20 15:59:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Dec 2011 07:59:21 +1000 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 Dec 20 16:44:15 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 16:44:15 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D35BE@houex1.kindermorgan.com> Good observation. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 20, 2011 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculation in query problem You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:13:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:13:43 -0500 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <00a101ccbf6d$04a75f40$0df61dc0$@net> Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:22:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:22:11 -0500 Subject: [AccessD] I told you of this one before.....and now another Message-ID: <00a201ccbf6e$33b96e80$9b2c4b80$@net> The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. From marksimms at verizon.net Tue Dec 20 18:12:45 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:12:45 -0500 Subject: [AccessD] And now the other... In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <00a701ccbf75$440949c0$cc1bdd40$@net> Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 18:20:59 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 18:20:59 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00a201ccbf6e$33b96e80$9b2c4b80$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> Message-ID: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Yes! Did I say Yes! Customers tend to buy on who 'sounds' like experts, even though the customer has no way to know who is really qualified. I have a specific process I go through to avoid this. It has two major steps - Requirements and Development. In the Requirements stage, the deliverable is a set of requirements that could be used by anyone. I will estimate the amount of time (money) this will take, but I won't get pinned down. I end up with a set of screenshots that were developed by me and a user group over time. During this phase, I simply bill by the hour. During this time, I am working as a consultant just to create requirements. >From the requirements, I quote a fixed amount to do the Development phase. The customer is free to take the requirements and have them quoted by someone else. If they want to find a cheaper company, so be it - but it hasn't happened yet. At some point during Requirements, I'll start giving a range of what the Development might cost, and I've learned to err on the high side. Another good practice is to do bite-sized pieces. Whatever get chewed off in the beginning will determine what they want to eat later on! Maybe you could now 'ride in on the white horse?' Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] I told you of this one before.....and now another The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 18:46:42 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:46:42 -0500 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Message-ID: <00d701ccbf7a$02897560$079c6020$@net> Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. From ab-mi at post3.tele.dk Tue Dec 20 18:55:19 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 21 Dec 2011 01:55:19 +0100 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <06470800591B41B3B7468FEFA76D4E04@abpc> I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 20 19:05:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 01:05:19 +0000 Subject: [AccessD] And now the other... In-Reply-To: <06470800591B41B3B7468FEFA76D4E04@abpc> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <06470800591B41B3B7468FEFA76D4E04@abpc> Message-ID: <56653D383CB80341995245C537A9E7B560616A@SINPRD0402MB099.apcprd04.prod.outlook.com> This sort of thing is exactly what is hurting a local accounting software company very badly. Their 'upgrade' to a new system has been botched pretty badly. Many complaints and screams from the 1% of customers who are using the new software to date. It is awful that even MYOB's own business partners are recommending that users stay on their legacy software or more to other competing platforms. MYOB haven't handled this very well to date. <> Is a good summary. The forums are interesting reading if you have the time and interest in these sort of things. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Wednesday, 21 December 2011 11:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] And now the other... I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Dec 20 19:09:43 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Dec 2011 20:09:43 -0500 Subject: [AccessD] And now the other... References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> I recently was asked to consult, albeit just a quick opinion, on a similar project. In truth, things didn't look particularly bad, but I didn't spend much time reviewing the code, etc. A developer, via a small consulting firm, WAAAAAAAAAAAAYYYYYYYYY underbid and then stopped working when he tired of the project. The developer claimed the client was guilty of scope creep -- the guy didn't know whether he was or not. There was no formal spec sheet, if the guy was honest with me about it. The budget for the project's been spent and it isn't done. The poor guy is stuck -- boss is mad. At some point in the conversation, sitting in his office, it became apparent to me that he thought I was going to finish it for free. Um... no, and why would I? I just said, "I don't care whether you pay me or whether the consulting firm you originally hired pays me." FWIW, I don't work for that firm, I was just doing someone a quick favor. I'm sitting across from the client and he says, "Developers aren't looking too good to me right now." So not my problem. I finally told him he needed to take it up with the consulting firm and ask for a refund or for someone to complete the project. I doubt he got either. Susan H. > > Well this one should end this final chapter in my career which has become > repetitive with these situations, stressful, and unjust. I'm almost > without > words about how I feel about this awful dev business today thru agencies. > I > do the work, they make the money. I thought slavery was abolished !. > But NO.....because when all of the Indian insourcing and outsourcing was > instituted, the net effect has been reduced opportunities and reduced > wages. > So slavery has come back to America...at least in the IT contracting > world. > What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 20:06:55 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 20:06:55 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00d701ccbf7a$02897560$079c6020$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> Message-ID: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Sounds like this marine shipping company jumped into a leaky boat and headed of in the wrong direction! ;-) They should have known better than that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before.....and now another Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 21:08:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:08:01 -0500 Subject: [AccessD] And now the other...WOW SUSAN In-Reply-To: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <0707F689F69B490FA7954485A33D30B1@SusanHarkins> Message-ID: <000101ccbf8d$c0382260$40a86720$@net> Wow Susan, WHAT A STORY ! The "attitudes" were just so....TELLING. From marksimms at verizon.net Tue Dec 20 21:25:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:25:40 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Message-ID: <000201ccbf90$37605e00$a6211a00$@net> Re: "wrong direction" Your are right, but IT GETS EVEN BETTER : After I installed the really complex and fully integrated with their CRM database Access add-on that provided them with another $300k in services fee income, they later wanted to offer me "Fulltime employment". This was AFTER I made the $80k Access proposal which they rejected. (Remember, they are currently sitting at $180k in dev expenses and NO SYSTEM has been delivered) Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete agreement. The agency decided that they were a "big part" of this (they did NOTHING) and should get a whopping $30k one-time fee for that employment contract. That put me way under $100k as a salary for which I felt entitled...especially given the 60 mile roundtrip commute I was facing daily if I were to commit to them. So I rejected the offer; and then they immediately contracted with that consulting company.... And ..."The Rest Is History" as they say. Incredible story, no ? Susan, something to publish perhaps ? From fuller.artful at gmail.com Wed Dec 21 03:40:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 04:40:25 -0500 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: I feel your pain, but at the same time I predicted this outcome over 10 years ago. We developers have become the MayTag repair-persons of this century. We wait for something to fix, and in the meantime do next to nothing Arthur From darryl at whittleconsulting.com.au Wed Dec 21 04:43:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 10:43:01 +0000 Subject: [AccessD] OT: Book Message-ID: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Arthur, Got my copy of the book today that you recommended. Just want to say thanks. It is great and will be a wonderful resource for both myself and my boys as they grow up. Most excellent indeed. Alos a good time to say a big thank you and merrry xmas to everyone on this list. Once again, you have been an invaluable source of help and support over the past year. I have learnt more from you guys and girls than any course could offer. You are an amazing and always educational resource. So Cheers! :) Darryl. From fuller.artful at gmail.com Wed Dec 21 05:49:46 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 06:49:46 -0500 Subject: [AccessD] OT: Book In-Reply-To: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I'm glad to hear that you like the book. On Wed, Dec 21, 2011 at 5:43 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Arthur, > > Got my copy of the book today that you recommended. Just want to say > thanks. It is great and will be a wonderful resource for both myself and my > boys as they grow up. Most excellent indeed. > > -- Arthur Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 07:54:04 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 08:54:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> Message-ID: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> > > Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete > agreement. > The agency decided that they were a "big part" of this (they did NOTHING) > and should get a whopping $30k one-time fee for that employment contract. > That put me way under $100k as a salary for which I felt > entitled...especially given the 60 mile roundtrip commute I was facing > daily > if I were to commit to them. ========The non-compete was 100% binding? Most will have a clause that restricts you for a certain number of weeks or even months, so how long were you there? > So I rejected the offer; and then they immediately contracted with that > consulting company.... > > And ..."The Rest Is History" as they say. > > Incredible story, no ? > > Susan, something to publish perhaps ? ========10 developers tell their favorite Scrooge stories :) Susan H. From guss at beechnutconsulting.com Wed Dec 21 11:29:10 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Wed, 21 Dec 2011 11:29:10 -0600 Subject: [AccessD] Using MS Access to read the Windows Index Message-ID: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> I have created a folder where I scan documents into searchable pdf files. I have windows (7 Ultimate) indexing setup to index on the contents, and now I want to write a query that uses the Windows Index file as the recordsource. I am hoping to set up this as perhaps a linked table, and build a query that looks something like: Select filename, path FROM WindowsIndexFile where IndexedContent = mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally guessing what the fields are. My computer tells me that the index is stored on C:\Program Data\Windows, but there are a lot of folders under that, and I have no clue about where to look or what the file is or how to access it. Any suggestions appreciated. Thanks. Sincerely yours, Guss Ginsburg Beechnut Consulting Services From davidmcafee at gmail.com Wed Dec 21 12:12:00 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 10:12:00 -0800 Subject: [AccessD] Varying results in an A2007/A2010 ADP stored procedure Message-ID: A coworker wrote a new stored procedure that works just fine when ran from SSMS. If either of these are ran from SSMS: EXEC stpR6Payouts '1/1/2011','11/30/2011','' EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL The data is returned as expected. If, the sproc is ran from VBA, or directly through the immediate window, we get different results. The sproc run from Access will return a few rows short, and data is being calculated incorrectly on the rows that are returned. Hit F5 in Access, and a different row count (and data on the returned rows) will be different. I've always assumed SQL was doing all the work and returning a resultset to Access, but it doesn't appear this is actually what happens. Does anyone have any ideas? TIA, David From marksimms at verizon.net Wed Dec 21 12:35:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:35:43 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> Message-ID: <010901ccc00f$593c53b0$0bb4fb10$@net> You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how long > were you there? > > > Susan H. From df.waters at comcast.net Wed Dec 21 12:43:48 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 12:43:48 -0600 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <010901ccc00f$593c53b0$0bb4fb10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> Message-ID: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> What I'm familiar with is an agreement where the client can't hire a temp until at least x days have passed (typically 90). If they hire a temp after that and before the contract expires, the agency then gets a prorated 'kickback' to cover their lost income. But I've never heard of a restriction After the original working time expires. This sounds onerous enough to wonder if it's legal. Or perhaps legal in one state but not in another. Sounds like a 'job-killer'. Seriously, call your congressman to get this fixed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before....."wrong direction" You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how > long were you there? > > > Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 12:46:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:46:23 -0500 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> Message-ID: <011a01ccc010$d6afb1b0$840f1510$@net> I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I > have windows (7 Ultimate) indexing setup to index on the contents, and > now I > want to write a query that uses the Windows Index file as the > recordsource. > I am hoping to set up this as perhaps a linked table, and build a query > that > looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Wed Dec 21 13:01:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 13:01:52 -0600 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <011a01ccc010$d6afb1b0$840f1510$@net> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> <011a01ccc010$d6afb1b0$840f1510$@net> Message-ID: <01b301ccc013$0035cfe0$00a16fa0$@comcast.net> Hi Guss, You can do a lot with FileSystemObject (Microsoft Scripting Runtime). This is an example of changing the read only property of files in a folder: '------------------- Dim fso As FileSystemObject Dim fol As Folder Dim fil As File Dim filList As Object Dim fProperty As Object Set fso = CreateObject("Scripting.FileSystemObject") Set fol = fso.GetFolder(stgFolderPath) Set filList = f.Files For Each fil In fc '-- Set file as read-only stgFilePath = stgFolderPath & "\" & f1.Name Set fProperties = fso.GetFile(stgFilePath) If blnReadOnly = True Then fProperties.Attributes = 1 Else fProperties.Attributes = 0 End If Next '------------------ There is much more you can do with the methods and properties from FileSystemObject. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Using MS Access to read the Windows Index I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I have windows (7 Ultimate) indexing setup to index on the > contents, and now I want to write a query that uses the Windows Index > file as the recordsource. > I am hoping to set up this as perhaps a linked table, and build a > query that looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Dec 21 13:23:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:23:57 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Did you know about this clause when you signed up? Susan H. > It was a onerous 1 year agreement. The count-down BEGINS the day after no > longer do any work for that client. > Since the client used this agency for other personnel fill-ins as well, > they > did not want to chance a lawsuit over breaking this agreement. > The agencies get away with this because the downside EFFECTS of such an > agreement are never made known. It's the agency's "big secret". That's why > this is such a great story of CAUSE and EFFECT. Here is a clear cut case > of > the clause causing harm to the client. You never hear or read about the > stories related to this, do you ? I can see it now.... > "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > > > >> ========The non-compete was 100% binding? Most will have a clause that >> restricts you for a certain number of weeks or even months, so how >> long were you there? >> >> >> Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 13:37:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:37:58 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Message-ID: <013c01ccc018$0b995cd0$22cc1670$@net> You bet. No leverage to negotiate...natch. I later discovered thru an online forum that Robert Half is one of the most hated and complained about agencies in the country. > > Did you know about this clause when you signed up? > > Susan H. From marksimms at verizon.net Wed Dec 21 13:43:41 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:43:41 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <013d01ccc018$d7d6abe0$878403a0$@net> Exactly Dan. Had it gone to a lawsuit, it would have been your typical "pissing match" by lawyers. No one would win....but they would be enriched in the process. I have heard of these non-compete cases going on for literally decades...I'm not kidding. I had a friend who did exactly that when she set-up her own Orthodontal office near her old boss. Finally settled after 20 years. Today everyone is blaming America's woes on capitalism. That's entirely BOGUS. Capitalism is about FREE MARKETS. However, today's laws and lawyers prevent capitalism to work as it was originally intended to work. We are in a quasi-socialistic environment where the "big boys" and businessmen with political influence rule our world. > But I've never heard of a restriction After the original working time > expires. This sounds onerous enough to wonder if it's legal. Or > perhaps legal in one state but not in another. Sounds like a 'job-killer'. > Seriously, call your congressman to get this fixed. > > Dan From ssharkins at gmail.com Wed Dec 21 13:55:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:55:44 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: My dad sold a small business in the early 80's. The buyer tried to force a non-compete clause that was absolutely ridiculous. My dad would've had to move to work! His lawyer told the buyer no way... they haggled for a long time, but eventually left it out. I guess you can't blame people for trying, we just have to know when to say no. Susan H. > Exactly Dan. Had it gone to a lawsuit, it would have been your typical > "pissing match" by lawyers. > No one would win....but they would be enriched in the process. > I have heard of these non-compete cases going on for literally > decades...I'm > not kidding. > I had a friend who did exactly that when she set-up her own Orthodontal > office near her old boss. > Finally settled after 20 years. From davidmcafee at gmail.com Wed Dec 21 14:37:45 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:37:45 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: I created a new mdb and it returns correctly, as expected via a pass through query. I'm going to try a box with an Access version <2007 to test the ADP. On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > How does it look if you try this in a Pass-Through query? > > Duane Hookom > MS Access MVP > > > > From: davidmcafee at GMAIL.COM > > > > A coworker wrote a new stored procedure that works just fine when ran > from > > SSMS. > > > > > > If either of these are ran from SSMS: > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011','' > > > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL > > > > The data is returned as expected. > > > > > > If, the sproc is ran from VBA, or directly through the immediate window, > we > > get different results. > > > > The sproc run from Access will return a few rows short, and data is being > > calculated incorrectly on the rows that are returned. > > > > Hit F5 in Access, and a different row count (and data on the returned > rows) > > will be different. > > > > I've always assumed SQL was doing all the work and returning a resultset > to > > Access, but it doesn't appear this is actually what happens. > > > > Does anyone have any ideas? > > -------------------------------------------------------------------------- > The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft > international's LISTSERV(R) software. For subscription/signoff info > and archives, see http://peach.ease.lsoft.com/archives/access-l.html . > COPYRIGHT INFO: > http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L > From davidmcafee at gmail.com Wed Dec 21 14:58:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:58:27 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, I tested the ADP on a box with Access 2002. It returned the same, incorrect row count and values. I tried running the stored procedure from a different ADP and it also returns incorrect records. So far the only way to get the correct results besides running it directly in SSMS is to run it from an mdb using a pass through query. What occurs differently between running a pass through vs running the sproc directly from the Access database window? David On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > I created a new mdb and it returns correctly, as expected via a pass > through query. > > I'm going to try a box with an Access version <2007 to test the ADP. > > > > > On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > >> How does it look if you try this in a Pass-Through query? >> >> Duane Hookom >> MS Access MVP >> >> >> > From: davidmcafee at GMAIL.COM >> > >> > A coworker wrote a new stored procedure that works just fine when ran >> from >> > SSMS. >> > >> > >> > If either of these are ran from SSMS: >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >> > >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >> > >> > The data is returned as expected. >> > >> > >> > If, the sproc is ran from VBA, or directly through the immediate >> window, we >> > get different results. >> > >> > The sproc run from Access will return a few rows short, and data is >> being >> > calculated incorrectly on the rows that are returned. >> > >> > Hit F5 in Access, and a different row count (and data on the returned >> rows) >> > will be different. >> > >> > I've always assumed SQL was doing all the work and returning a >> resultset to >> > Access, but it doesn't appear this is actually what happens. >> > >> > Does anyone have any ideas? >> >> -------------------------------------------------------------------------- >> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >> international's LISTSERV(R) software. For subscription/signoff info >> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >> COPYRIGHT INFO: >> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >> > > From marksimms at verizon.net Wed Dec 21 15:06:15 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 16:06:15 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: <002d01ccc024$60a4a3e0$21edeba0$@net> True, but in this economic climate, I am unable to say "no". 15 years ago ? No problem. > we just have to know when to say no. > > Susan H. From davidmcafee at gmail.com Wed Dec 21 15:44:35 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 13:44:35 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, we ran a Trace on the different ways we are running the sproc. When it is called from the ADP, the sproc is called via an RPC, not directly as a passthrough query (as I've assumed it was called). >From the ADP, if I run this: Private Sub Command8_Click() Dim rs As Recordset Set rs = CurrentProject.Connection.Execute("EXEC RRMS.dbo.stpR6Payouts '1/1/2011','11/30/2011',null") Debug.Print rs.RecordCount I get the correct count! If I put an break point on the last line above and run this from the immediate window: rs.MoveFirst ? rs![CustName] STAR FORD ? rs![IndividualPayCalc] 5368 I get the correct amount (that 5368 is never correct when running the sproc from the immediate window in the ADP). So this tells me the rendering in the ADP is having issues, correct? This is scary. How many other things have I trusted to be correct and weren't? :/ Any ideas? David On Wed, Dec 21, 2011 at 12:58 PM, David McAfee wrote: > OK, I tested the ADP on a box with Access 2002. > It returned the same, incorrect row count and values. > > I tried running the stored procedure from a different ADP and it also > returns incorrect records. > > So far the only way to get the correct results besides running it directly > in SSMS is to run it from an mdb using a pass through query. > > What occurs differently between running a pass through vs running the > sproc directly from the Access database window? > > David > > > On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > >> I created a new mdb and it returns correctly, as expected via a pass >> through query. >> >> I'm going to try a box with an Access version <2007 to test the ADP. >> >> >> >> >> On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: >> >>> How does it look if you try this in a Pass-Through query? >>> >>> Duane Hookom >>> MS Access MVP >>> >>> >>> > From: davidmcafee at GMAIL.COM >>> > >>> > A coworker wrote a new stored procedure that works just fine when ran >>> from >>> > SSMS. >>> > >>> > >>> > If either of these are ran from SSMS: >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >>> > >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >>> > >>> > The data is returned as expected. >>> > >>> > >>> > If, the sproc is ran from VBA, or directly through the immediate >>> window, we >>> > get different results. >>> > >>> > The sproc run from Access will return a few rows short, and data is >>> being >>> > calculated incorrectly on the rows that are returned. >>> > >>> > Hit F5 in Access, and a different row count (and data on the returned >>> rows) >>> > will be different. >>> > >>> > I've always assumed SQL was doing all the work and returning a >>> resultset to >>> > Access, but it doesn't appear this is actually what happens. >>> > >>> > Does anyone have any ideas? >>> >>> >>> -------------------------------------------------------------------------- >>> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >>> international's LISTSERV(R) software. For subscription/signoff info >>> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >>> COPYRIGHT INFO: >>> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >>> >> >> > From ssharkins at gmail.com Wed Dec 21 18:09:51 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:09:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Yeah, I understand. I've never turned down work. Susan H. > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > >> we just have to know when to say no. >> >> Susan H. From fuller.artful at gmail.com Wed Dec 21 18:26:12 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 19:26:12 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I don't mean to start a war here, Susan, but I venture to suggest that you ought to learn how to fire clients. Clues include: a) they don't pay within 30 days; b) they don't respond to emails within 24 hours. If either or both of these occur, move on, my lovely lady; call it a lesson learned and move on! But before doing so, document this somewhere findable (FaceBook etc.) to warn us all of dealing with this scumfork client. We have your six, Susan! Love and kisses and Merry Christmas, and know that I meant what I said in the second-previous sentence. You need reinforcements, you got 'em. My arms and reach are long, and extend way past this group. Snap your fingers, and something might happen. A. On Wed, Dec 21, 2011 at 7:09 PM, Susan Harkins wrote: > Yeah, I understand. I've never turned down work. > Susan H. > > True, but in this economic climate, I am unable to say "no". >> 15 years ago ? No problem. >> >> we just have to know when to say no. >>> >>> Susan H. >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 18:47:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:47:24 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net><002d01ccc024$60a4a3e0$21edeba0$@net><68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I would if I needed to -- don't need to. I haven't had a bad client in a long, long time, thank you Jesus. :) What I meant was, if the clients I have need something, I find a way to get it to them. That's because they pay within 30 days and always respond quickly. ;) Susan H. >I don't mean to start a war here, Susan, but I venture to suggest that you > ought to learn how to fire clients. Clues include: > > a) they don't pay within 30 days; > b) they don't respond to emails within 24 hours. > > If either or both of these occur, move on, my lovely lady; call it a > lesson > learned and move on! But before doing so, document this somewhere findable > (FaceBook etc.) to warn us all of dealing with this scumfork client. We > have your six, Susan! > > Love and kisses and Merry Christmas, and know that I meant what I said in > the second-previous sentence. You need reinforcements, you got 'em. My > arms > and reach are long, and extend way past this group. Snap your fingers, and > something might happen. > From marksimms at verizon.net Wed Dec 21 22:13:04 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 23:13:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: <002401ccc060$00acf4b0$0206de10$@net> Wow Art, that is prophetic as a measure of a client. And I totally agree. Their payment practices speak volumes for their commitment and integrity. Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law firm, they spend an enormous amount of time doing what ? SIZING UP THEIR POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. Trust me, I have a good friend in that business. I had a client from hell. Indian guy...IT director. Fired his employee....then a lawsuit ensued (OF COURSE !!). I got hired to pick up that work. It was crap (heard this before ?). I worked like a madman to learn their business, their operations, etc....there was no documentation (heard this before ?) The Access database was in need of a total rewrite. No time for that (heard this before ?) So I kept on working....without getting paid. Then they fired me, just when I had finished it all. Asked for their really expensive laptop back. I REFUSED to give it back without being paid. Agency stepped in....called for a demo. I demoed, they were happy, I got paid...on-the-spot, in full. I was contacted to do some enhancements, they didn't like my price or time estimates... so I never heard from them again. From vbacreations at gmail.com Wed Dec 21 22:26:35 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:26:35 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccc024$60a4a3e0$21edeba0$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: @Art... spot on. The longer one stays associated with a bad gig the less self respect one retains. If you stay on past the point where you can feel yourself beginning to resent this client or employer you might start to show a side of yourself which you wouldn't in a more healthy environment. It usually pays to be diplomatic in how you "fire" a client.Try not to give them a reason to blackball you and offer to do knowledge tranfer ... even if you despise them. When it comes to improving your situation SEEK AND YOU SHALL FIND!!! On Dec 21, 2011 4:07 PM, "Mark Simms" wrote: > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > > > we just have to know when to say no. > > > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 21 22:34:31 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:34:31 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002401ccc060$00acf4b0$0206de10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: When it comes to love you never forget your first. But in the working world you never forget your worst, eh Mark? On Dec 21, 2011 11:14 PM, "Mark Simms" wrote: > Wow Art, that is prophetic as a measure of a client. > And I totally agree. Their payment practices speak volumes for their > commitment and integrity. > Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law > firm, they spend an enormous amount of time doing what ? SIZING UP THEIR > POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. > Trust me, I have a good friend in that business. > > I had a client from hell. Indian guy...IT director. > Fired his employee....then a lawsuit ensued (OF COURSE !!). > I got hired to pick up that work. It was crap (heard this before ?). > I worked like a madman to learn their business, their operations, > etc....there was no documentation (heard this before ?) > The Access database was in need of a total rewrite. No time for that (heard > this before ?) > > So I kept on working....without getting paid. > Then they fired me, just when I had finished it all. > Asked for their really expensive laptop back. > I REFUSED to give it back without being paid. > > Agency stepped in....called for a demo. > I demoed, they were happy, I got paid...on-the-spot, in full. > > I was contacted to do some enhancements, they didn't like my price or time > estimates... > so I never heard from them again. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Dec 22 12:35:38 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 22 Dec 2011 12:35:38 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112221135.pBMBZcol009844@mailhostC.plex.net> Hello Group, i want the last dat from tbl1 Pat Date Result A1 01-01-11 15 A1 10-10-11 7 A1 11-11-11 6 When i use the query: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 GROUP BY tbl1.Pat, tbl1.Result; Then is stil have these three records because of the Result What i need is only record that is really the last date, regardless what value there is for result Pat LastDate Result A1 11-11-11 6 I have done this before, but i can't remember how. Is has to been done with a subquery. Who can help me? Thanks Pedro From fuller.artful at gmail.com Thu Dec 22 06:05:26 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Dec 2011 07:05:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From garykjos at gmail.com Thu Dec 22 08:03:57 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 22 Dec 2011 08:03:57 -0600 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Remove the tbl1.Result from the Group By so you only group by Pat. GK On Thu, Dec 22, 2011 at 6:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat ? ? Date ? ? ? Result > A1 ? ? 01-01-11 ? ?15 > A1 ? ? 10-10-11 ? ? 7 > A1 ? ? 11-11-11 ? ? 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what value there is for result > > Pat ? ? LastDate ? ? ? ? Result > A1 ? ? 11-11-11 ? ? ? ? ? 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > 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 marksimms at verizon.net Thu Dec 22 08:46:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 09:46:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: <007801ccc0b8$8b0e2fe0$a12a8fa0$@net> > When it comes to love you never forget your first. But in the working > world you never forget your worst, eh Mark? I just love that quip Bill. From vbacreations at gmail.com Thu Dec 22 11:02:06 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:02:06 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Ill go out on a limb and suppose that you really meant the Max date since the sample data was in ascending date order. Select tbl1.Pat, tbl1.Result from Tbl1 where tbl1.date =(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat) That is "air code" I have not tested it. On Dec 22, 2011 6:39 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Thu Dec 22 11:02:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 12:02:31 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Instead of using the number format to properly display the numbers, the original developer would use the Format function to round a large series of individual values, and then total-up the rounded results instead of the original values. As you are aware, precision is likely lost in doing it this way. Ex: .55+.55=1.1 His method would be to first "round-up" the .55 to .6: Ex: .6+.6=1.2 In this case, the total is now "off" by almost 10% ! And...this is a vital model that helps to run the company's main processing unit. Wowzer indeed. From vbacreations at gmail.com Thu Dec 22 11:13:33 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:13:33 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Dec 22 11:17:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 09:17:27 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date = B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; The only thing to warn you about Pedro is if you have more than one record with the same last date. For instance. A1 01/01/11 6 B1 01/01/11 5 Also "Date" is a bad name for a field name as it is a reserved word. HTH David McAfee From jwcolby at colbyconsulting.com Thu Dec 22 11:31:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 12:31:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF36984.3020502@colbyconsulting.com> BACKUP the original!!! You need to be able to prove that the old sucked and the new... sucks less... (you can only fix what you find). Then you need to start a document of each thing like this that you find. It will provide a huge evidence base for when you present the case for "your application sucks and this is why it takes so long to get it working". John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 12:02 PM, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > From tinanfields at torchlake.com Thu Dec 22 12:26:48 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 22 Dec 2011 13:26:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net><000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <4EF37668.3010809@torchlake.com> ABSOLUTELY!!! John is right on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/22/2011 12:31 PM, jwcolby wrote: > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge evidence base for when you present the > case for "your application sucks and this is why it takes so long to > get it working". > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/22/2011 12:02 PM, Mark Simms wrote: >> Instead of using the number format to properly display the numbers, >> the original developer would use the Format function to round a large >> series >> of individual values, >> and then total-up the rounded results instead of the original values. >> As you are aware, precision is likely lost in doing it this way. >> Ex: .55+.55=1.1 >> His method would be to first "round-up" the .55 to .6: >> Ex: .6+.6=1.2 >> In this case, the total is now "off" by almost 10% ! >> >> And...this is a vital model that helps to run the company's main >> processing >> unit. >> >> Wowzer indeed. >> >> >> > From steve at datamanagementsolutions.biz Thu Dec 22 14:20:45 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Dec 2011 09:20:45 +1300 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Agreed. Assuming you mean the most recent date, i.e. Max rather than Last, then Arthur's suggestion is how I would do it. Regards Steve -----Original Message----- From: Arthur Fuller Sent: Friday, December 23, 2011 1:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Date Query I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- From stuart at lexacorp.com.pg Thu Dec 22 14:42:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 06:42:41 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> It depends on the situation. If you are rounding prices to the nearest 10c, accountants don't like accounts that show : Item 1 0.60 Item 2 0.60 ============ Total 1.10 If you want the total to equal the sum of all of the line items, you need to round each item (using either ROUND() or FORMAT(). and sum the rounded result. That is standard practice in accounting. -- Stuart On 22 Dec 2011 at 12:02, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 22 14:54:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 15:54:08 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> Message-ID: <4EF398F0.4030401@colbyconsulting.com> It is also standard practice to use a datatype appropriate for currency. That is why currency data types exist. It is also standard practice in banking to round 1/2 of the numbers up and the other down. But that is a discussion for another day. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 3:42 PM, Stuart McLachlan wrote: > It depends on the situation. > > If you are rounding prices to the nearest 10c, accountants don't like accounts that show : > > Item 1 0.60 > Item 2 0.60 > ============ > Total 1.10 > > If you want the total to equal the sum of all of the line items, you need to round each item > (using either ROUND() or FORMAT(). and sum the rounded result. That is standard > practice in accounting. > From stuart at lexacorp.com.pg Thu Dec 22 15:39:28 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 07:39:28 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF398F0.4030401@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg>, <4EF398F0.4030401@colbyconsulting.com> Message-ID: <4EF3A390.30457.28D4B5BD@stuart.lexacorp.com.pg> How do you do that in Excel? ALL numbers in Excel are stored as Doubles, you can only change the display - not the storage format. -- Stuart On 22 Dec 2011 at 15:54, jwcolby wrote: > It is also standard practice to use a datatype appropriate for currency. That is why currency data > types exist. From vbacreations at gmail.com Thu Dec 22 15:49:26 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 16:49:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Since now two posts have been made since I offered my idea that what was really wanted was Max.... and neither commented one way or another on my query .... what was incorrect about how I did it? On Dec 22, 2011 3:22 PM, "Steve Schapel" wrote: > Agreed. Assuming you mean the most recent date, i.e. Max rather than > Last, then Arthur's suggestion is how I would do it. > > Regards > Steve > > -----Original Message----- From: Arthur Fuller > Sent: Friday, December 23, 2011 1:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Last Date Query > > I think what you want is this: > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > FROM tbl1 > ORDER BY tbl1.Date DESC; > > HTH, > Arthur > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > >> Hello Group, i want the last dat from tbl1 >> >> Pat Date Result >> A1 01-01-11 15 >> A1 10-10-11 7 >> A1 11-11-11 6 >> >> When i use the query: >> >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result >> FROM tbl1 >> GROUP BY tbl1.Pat, tbl1.Result; >> >> Then is stil have these three records because of the Result >> >> What i need is only record that is really the last date, regardless what >> value there is for result >> >> Pat LastDate Result >> A1 11-11-11 6 >> >> >> I have done this before, but i can't remember how. >> Is has to been done with a subquery. >> >> Who can help me? >> >> Thanks >> >> Pedro >> -- >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From davidmcafee at gmail.com Thu Dec 22 16:02:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 14:02:59 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Nothing, I think that would work, and would also return more than one record as my suggestion would, if there were indeed more than one record on that max date. D On Thu, Dec 22, 2011 at 1:49 PM, William Benson wrote: > Since now two posts have been made since I offered my idea that what was > really wanted was Max.... and neither commented one way or another on my > query .... what was incorrect about how I did it? > On Dec 22, 2011 3:22 PM, "Steve Schapel" < > steve at datamanagementsolutions.biz> > wrote: > > > Agreed. Assuming you mean the most recent date, i.e. Max rather than > > Last, then Arthur's suggestion is how I would do it. > > > > Regards > > Steve > > > > -----Original Message----- From: Arthur Fuller > > Sent: Friday, December 23, 2011 1:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Last Date Query > > > > I think what you want is this: > > > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > > FROM tbl1 > > ORDER BY tbl1.Date DESC; > > > > HTH, > > Arthur > > > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > > > > >> Hello Group, i want the last dat from tbl1 > >> > >> Pat Date Result > >> A1 01-01-11 15 > >> A1 10-10-11 7 > >> A1 11-11-11 6 > >> > >> When i use the query: > >> > >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > >> FROM tbl1 > >> GROUP BY tbl1.Pat, tbl1.Result; > >> > >> Then is stil have these three records because of the Result > >> > >> What i need is only record that is really the last date, regardless what > >> value there is for result > >> > >> Pat LastDate Result > >> A1 11-11-11 6 > >> > >> > >> I have done this before, but i can't remember how. > >> Is has to been done with a subquery. > >> > >> Who can help me? > >> > >> Thanks > >> > >> Pedro > >> -- > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 16:28:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 22:28:21 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 22 16:59:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 17:59:47 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <005c01ccc0fd$6757d4d0$36077e70$@net> Thanks John - exactly. I hit them with it and they were shocked. Keep in mind, I had to really push them to do this remediation.... they were dragging and kicking their feet. > > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks > less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge > evidence base for when you present the case for "your application sucks > and this is why it takes so > long to get it working". > > John W. Colby > Colby Consulting From marksimms at verizon.net Thu Dec 22 17:06:24 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 18:06:24 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <005d01ccc0fe$54079130$fc16b390$@net> Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error From darryl at whittleconsulting.com.au Thu Dec 22 17:36:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 23:36:46 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <005d01ccc0fe$54079130$fc16b390$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Mark, They had four risk bands (1-4) with each band having a heavier weighting to compensate for the higher risk. There were also four questions (the matching 4's with the questions and banding is a coincidence and not related at all - althought the 4 questions within each combobox is related to the risk banding scale). In this instance it related to property insurance (mainly for fire risk) so the questions were about type of construction, roof, interior and how old the wiring and plumbing was. You get the idea. - it was fairly high level stuff. The maths worked like this. Each of the 4 questions had 4 possible responses. The 4 responses were scaled from 1 to 4 depending on how risky they were. The sum of the four responses were divided by 4 to give a risk band rating. As the division can result in non-integers the value needed to be rounded up or down to the nearest whole to give the correct rating. For example. If the responses were 1 1 2 3 (Total of 7) 7/4 = 1.75 So this customer should be paying the rate from risk band 2. However the code was doing this INT(7/4) to make the integer which would always return a 1 regardless. The only time you would ever get a 2 rating was if the result was > than 2 already. So they were underquoting on their risk for many of their clients. This was really bad for when high level rating 3 types were not being rated as 4 (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). Had a fun one at an oil company with rounding and zeros too. Story for another day. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 10:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Dec 22 19:26:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 20:26:58 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001301ccc111$f7649270$e62db750$@net> (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. From darryl at whittleconsulting.com.au Thu Dec 22 19:35:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 01:35:01 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <001301ccc111$f7649270$e62db750$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes... Fully agree. They (the portfolio risk manager) were really unhappy as the business had already been written, the risk paid for by the client. Nothing they could do except wait out the term of the agreement. of course then it puts them in the situation next year when the client want to renew and the business manager now has to decline it. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 12:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 22 20:56:51 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 21:56:51 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really unhappy > as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as a 3 > would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 21:10:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 03:10:07 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5606FBF@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes, rounding was the oil company problem as well. In short the Aussie HO used to look after all the deliveries to all the piddly little Pacific Islands (right out to Guam etc). A lot of these places would only want less than 500,000 BOE delivered each time the ship showed up. Say Island X wanted 250,000 K of BOE this month. In the Spreadsheet used to track all this stuff the girl would key in 250,000 BOE but the workbook was rounded to display millions of BOE as the minimum display (fair enough I guess as most places do use millions and millions of BOE). Anyway, as expected the 250K would show as Zero in the workbook. Of course whilst the data was in XL the reports would still calculate correctly as the underlying value was indeed 250K, even though it was displayed as zero. But of course they used SAP for their accounting and control. So what happened was the girl would print out her Spreadsheet, send it to another dept who would then (re)key the data into SAP. Suddenly all those little oil deliveries were being entered as Zeros, not their real amounts. BAM! Big problem as millions of BOE started to vanish from the system. Easy enough to fix once I tracked down where the problem was (I ended up showing them how push the data from XL directly into SAP without all the printing, internal mail and rekeying business and also modded the format to show a different format if the zero value was not a true zero. Rounding and formats. Approach with some caution I say. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really > unhappy as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as > a 3 would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 02:18:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 03:18:35 -0500 Subject: [AccessD] Copy and execute from Access Message-ID: <4EF4395B.3010207@colbyconsulting.com> I have written a small app that allows me to define an access application and the file(s) that make it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb and passes in a command line argument which is looked up in a table. The recordset opened then defines what files to copy, the source and destination, the FE to execute, and then opens that app. It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a normal Access application which can be seen until the target FE is up and running and CopyAndExecute closes. Is there a way to cause Access to open invisible? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Fri Dec 23 04:01:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Dec 2011 11:01:31 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Darryl et al Sorry to destroy the party, but all it takes is well defined criteria (business rules) - which seems to have been present here and trivial too - as well as a skilled programmer in this area - no guru or genius is required. If you deal with calculations and feel you can't handle rounding properly, you should put this item on the agenda to fill one of the empty(!) spaces in the upcoming Christmas holiday season. It isn't difficult at all. Hint: The only native function of VB(A) that handles 4/5 rounding correctly is Format. It is, however, not very fast so if speed is a concern you have to run a custom function. And no, the VB(A) function Round is not the answer to any serious task: http://www.xbeat.net/vbspeed/c_Round.htm#Round16 And don't forget: Math is fun! /gustav >>> darryl at whittleconsulting.com.au 22-12-2011 23:28 >>> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. From pedro at plex.nl Fri Dec 23 13:01:41 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 23 Dec 2011 13:01:41 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112231201.pBNC1fGY024467@mailhostC.plex.net> Dear group, thanks for all the help. I have tried all the suggestions. Also i have added some records to the test-table, to exclude double dates etc. Here is the test table: Pat Date Result A1 1-1-20111 5 A1 10-10-2011 7 A1 11-11-2011 8 A1 11-11-2011 6 B2 4-4-2011 6 B2 5-5-2011 3 B2 1-1-2011 15 B2 1-1-2011 4 B2 5-5-2011 5 B2 5-5-2011 1 The result shout be: Pat LastDate Result A1 11-11-2011 8 B2 5-5-2011 5 Here are the result given by the groupmembers, with the result en at last the correct solution. 1-------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, Last(tbl1.Result) AS LastResult FROM tbl1 GROUP BY tbl1.Pat; Pat LastDate LastResult A1 11-11-2011 6 B2 5-5-2011 1 2--------------- SELECT tbl1.Pat, Max(tbl1.Date) AS MaxDate, Max(tbl1.Result) AS MaxResult FROM tbl1 GROUP BY tbl1.Pat; Pat MaxDate MaxResult A1 11-11-2011 8 B2 5-5-2011 6 3--------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date=B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; Pat LastDate Result A1 11-11-2011 6 A1 11-11-2011 8 4------------- SELECT Tbl1.Pat, Tbl1.Date, Tbl1.Result FROM Tbl1 WHERE (((Tbl1.Date)=(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat))); Pat Date Result A1 11-11-2011 8 A1 11-11-2011 6 B2 5-5-2011 3 B2 5-5-2011 5 B2 5-5-2011 1 This solution from Wiliam gives me the all the results with the last date. These i can easily query by: SELECT Query5.Pat, Query5.Date, Max(Query5.Result) AS MaxVanResult FROM Query5 GROUP BY Query5.Pat, Query5.Date; Pat Date MaxVanResult A1 11-11-2011 8 B2 5-5-2011 5 Thanks en best wishes Pedro p.s. David, normally i never use "date" as a fieldname. I was just for this example. From marksimms at verizon.net Fri Dec 23 07:27:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 23 Dec 2011 08:27:39 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From jwcolby at colbyconsulting.com Fri Dec 23 09:34:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 10:34:48 -0500 Subject: [AccessD] Migrate to SQL Server Message-ID: <4EF49F98.5030909@colbyconsulting.com> I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Fri Dec 23 10:05:04 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 23 Dec 2011 20:05:04 +0400 Subject: [AccessD] =?utf-8?q?My_Excel_project=2E=2E=2Eyou_won=27t_believe_?= =?utf-8?q?this_one?= In-Reply-To: <004a01ccc176$a4ce31a0$ee6a94e0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Fri Dec 23 10:05:07 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:05:07 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> John, I've done like you describe with just importing the tables, doing all the fixing up of the tables, relationships, etc... afterwards. Not fun, especially with lots of tables, but that was back on Access 97 and SQL 2000. Have you looked that the SQL Server Migration Assistant (SSMA) at Microsoft? http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp x#Access Here's an old article (July 2003) from Susan Harkins about using the Upsizing Wizard in Access 2003, probably outdated for newer versions of SQL Server http://www.techrepublic.com/article/upsizing-an-existing-microsoft-acces s-database/5035130 HTH Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 9:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 Dec 23 10:26:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:26:51 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4EF4ABCB.2070008@colbyconsulting.com> The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access From rusty.hammond at cpiqpc.com Fri Dec 23 10:42:17 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:42:17 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- 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 df.waters at comcast.net Fri Dec 23 10:47:40 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:47:40 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <015601ccc192$959333e0$c0b99ba0$@comcast.net> Hi John, Honestly, I've used SSMA for Access and it was a little funky. I recently just used the upsizing wizard in Access and that went fine with one strong caveat. I purchased an app named Must for upsizing, and it's better than using the upsizing wizard in Access - for me it pinpointed a bad date in a date field which prevented upsizing in Access. Must does have a little learning curve so go through that for an hour or so and you'll like it. You should upsize Indexes, Validation Rules, Defaults, but do not upsize relationships between tables. This will give you Triggers and Constraints which will be intended to duplicate the functionality of a relationship. That works, but in Diagrams on SQL Server you can create any number of different table relationship diagrams. But when you create the diagrams, you've now duplicated the table relationship functionality with the upsized Triggers and Constraints. SQL Server has good screens for creating both indexes and table relationships, and you should use those. Also, do add timestamp fields - these will allow 'edited record' functionality to work in SQL Server. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Dec 23 10:52:01 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:52:01 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <015a01ccc193$318c66e0$94a534a0$@comcast.net> And - after you click on the Migration Tool tab you have to select 'Access' from the dropdown list under the 'migrating from' square. Otherwise it just looks like SSMA is only for Oracle to SQL Server. Maybe today's version is better than the one I used. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Friday, December 23, 2011 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty From jwcolby at colbyconsulting.com Fri Dec 23 10:54:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:54:44 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <015601ccc192$959333e0$c0b99ba0$@comcast.net> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <015601ccc192$959333e0$c0b99ba0$@comcast.net> Message-ID: <4EF4B254.2030901@colbyconsulting.com> Must looks pretty cheap. I might give that a try. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:47 AM, Dan Waters wrote: > Hi John, > > Honestly, I've used SSMA for Access and it was a little funky. I recently > just used the upsizing wizard in Access and that went fine with one strong > caveat. I purchased an app named Must for upsizing, and it's better than > using the upsizing wizard in Access - for me it pinpointed a bad date in a > date field which prevented upsizing in Access. Must does have a little > learning curve so go through that for an hour or so and you'll like it. > > You should upsize Indexes, Validation Rules, Defaults, but do not upsize > relationships between tables. This will give you Triggers and Constraints > which will be intended to duplicate the functionality of a relationship. > That works, but in Diagrams on SQL Server you can create any number of > different table relationship diagrams. But when you create the diagrams, > you've now duplicated the table relationship functionality with the upsized > Triggers and Constraints. SQL Server has good screens for creating both > indexes and table relationships, and you should use those. > > Also, do add timestamp fields - these will allow 'edited record' > functionality to work in SQL Server. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 10:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Migrate to SQL Server > > The SQL Server migration tool seems to have disappeared. All that's left is > ... a document on how to and links to companies (Microsoft partners?) that > do this. > > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: >> http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp >> x#Access > From jimdettman at verizon.net Fri Dec 23 12:51:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 13:51:49 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <4B6F63DA6C5C4180A0185048B6E2593A@XPS> John, For some great tips on using Access with SQL Server, download "Best of both worlds" from here: http://www.jstreettech.com/cartgenie/pg_developerDownloads.asp Also not sure if it was you or someone else that posted a MSKB/MSDN link that had tons on the deep internals of how Access uses a unique key with table linking and how you could control it in Access. I'll have to dig for that one. I know it was posted to the list at one point (pretty sure I posted the above link as well in the past, but it's worth a re-post). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 14:31:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 15:31:21 -0500 Subject: [AccessD] textbox value is null Message-ID: <4EF4E519.5030106@colbyconsulting.com> I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From guss at beechnutconsulting.com Fri Dec 23 14:46:15 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Fri, 23 Dec 2011 14:46:15 -0600 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <00a101ccc1b3$ea35e890$bea1b9b0$@beechnutconsulting.com> John, I usually accomplish this by using the AfterUpdate event. If the entry is bound to a field then you may want to do validation testing on the entry (such as "is it null?", etc) in the before update event. Once validated, the after update event can populate the derived value into txtB. Sincerely yours, Guss Ginsburg Beechnut Consulting Services -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Dec 23 14:58:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 15:58:49 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <63C61366D5D745588E069510909C22B9@XPS> Until the control is updated, you need to grab the value in the buffer with the .Text property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 03:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Dec 23 15:00:09 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 07:00:09 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Try this: Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) txtB = "C:\Access\" & txtA.Text & IIf(txtA.Text = "", "", "\") End Sub -- Stuart On 23 Dec 2011 at 15:31, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory > location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 23 15:04:31 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 24 Dec 2011 01:04:31 +0400 Subject: [AccessD] =?utf-8?q?Migrate_to_SQL_Server?= In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: Hi John at all -- > The SQL Server migration tool seems to have disappeared. It didn't. I have just used MS Access 2010 and its Database Tools -> SQL Server feature to get upsized my customer model MS Access database into MS SQL Server 2008 R2 database. All worked flawlessly: - autonumbers went upsized into identity fields, - relationships - into DRI (option to be selected in upsizing setup dialog), .... Here is screenshot of relationships diagrams, the one for MS SQL was built and arranged automatically after I have added all the tables to a new empty MS SQL Database Diagram: http://smsconsulting.spb.ru/stest/fm.png Thank you. -- Shamil 23 ??????? 2011, 20:29 ?? jwcolby : > The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how > to and links to companies (Microsoft partners?) that do this. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: > > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > > x#Access > > --> AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Fri Dec 23 15:45:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 23 Dec 2011 13:45:38 -0800 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: I'm not sure value will work the way you want it to, but you might try using the beforeupdate of the first textbox to write the text in the box (not the value) to the second textbox. I may be confusing VB.Net and VBA, so don't take my advice as gospel. Charlotte Foust On Fri, Dec 23, 2011 at 12:31 PM, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a > string in another text box. IOW I type 'a' in txt1 and txt2 is set to > 'C:\Access\a\'. The C:\Access is a constant directory location and I am > inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after > update) so the string I am building looks like 'C:\Access\\' since a null > is being inserted between the 'C:\Access\' and the '\'. I thought I was > going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Fri Dec 23 15:52:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 16:52:46 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <63C61366D5D745588E069510909C22B9@XPS> References: <4EF4E519.5030106@colbyconsulting.com> <63C61366D5D745588E069510909C22B9@XPS> Message-ID: <4EF4F82E.8010903@colbyconsulting.com> OK, thanks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 3:58 PM, Jim Dettman wrote: > > Until the control is updated, you need to grab the value in the buffer with > the .Text property. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 03:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] textbox value is null > > I am trying to use the value of a text box I am typing into to create a > string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access > is a constant directory > location and I am inserting 'C:\Access\'& txtA.Value& '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) > so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the > 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never > really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > From vbacreations at gmail.com Fri Dec 23 21:42:48 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 23 Dec 2011 22:42:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Ok good article ... seems to have been written before ac2010 but I am certainly willing to believe that VBA does no better job of these things than it ever did. THAT SAID... my hope (and trust) is that the Excel interface and its functions would do a better job with calculations. Wherever possible I try to use the worksheet to do as much work as possible. Is that a mistake? I would hate to think I really need to be adding such tedious Udfs to formulas just to get accurate results ?? On Dec 23, 2011 11:06 AM, "Salakhetdinov Shamil" wrote: > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Dec 23 23:45:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 00:45:51 -0500 Subject: [AccessD] Further to libraries Message-ID: <4EF5670F.2050505@colbyconsulting.com> Libraries solve a problem of making fixes and enhancements in one location. They create another problem which is having to test all the applications that use the library to ensure that they all work with the libs before releasing the libs for general use. The reality is that software is so complex that a problem may be found even after "the tests" which may mean backing out the lib (or the app). One way of dealing with that is to have a directory with all of the files required to run the app including the libs. When any of the required files is updated, zip up all of the files and replace whatever files. If a problem is found down the road, unzip all of the files to be back at the previous state. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From vbacreations at gmail.com Sat Dec 24 01:29:03 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 02:29:03 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: I guess even the brief time the application is visible between SET MYACCESS = NEW ACCESS.APPLICATION MYACCESS.VISIBLE = FALSE is not acceptable? On Dec 23, 2011 3:21 AM, "jwcolby" wrote: > I have written a small app that allows me to define an access application > and the file(s) that make it up, and a destination directory to copy it to. > A shortcut opens the access CopyAndExecute.mdb and passes in a command > line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a normal Access application which can be seen > until the target FE is up and running and CopyAndExecute closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From stuart at lexacorp.com.pg Sat Dec 24 03:46:04 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 19:46:04 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 06:39:55 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 24 Dec 2011 07:39:55 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> Message-ID: <001d01ccc239$244b2290$6ce167b0$@gmail.com> But that shortcut... how do you execute it from code, which I think was the original plan?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 24, 2011 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy and execute from Access You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 24 09:31:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:31:24 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Mark Round is and has always been buggy. It is not the same as it will never fit a purpose but for serious use it is not reliable. >From that site (from the link) you can run the test for any custom rounding function. As noted - and (still) to the surprise for many - the only function of VB(A) and Access Basic (version 2.0) too - that performs correct 4/5 rounding is Format. All the Cxxx converter functions perform Banker's Rounding which is not "wrong", just not "clean" 4/5 rounding as you learned in school. /gustav >>> marksimms at verizon.net 23-12-2011 14:27 >>> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From gustav at cactus.dk Sat Dec 24 09:35:46 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:35:46 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Shamil Well, that article is more about the normal precautions to take when dealing with floating point numbers more than rounding issues. It is with rounding as with many other tasks that many methods exist and no one is wrong. It all depends. /gustav >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav From gustav at cactus.dk Sat Dec 24 09:40:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:40:42 +0100 Subject: [AccessD] OT: Merry Christmas Message-ID: Hi all On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. Thanks to all! /gustav From vbacreations at gmail.com Sat Dec 24 09:39:13 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 10:39:13 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 11:43:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 12:43:59 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little more > review. I opened the EIasT.mdb with a breakpoint to allow stepping thru the > code. In the problem data base, the queries and forms - up to the problem > form - are all exported as text as expected. After the error, the code > stops > on a STOP statement, as it should. If I step through, it continues with the > next procedure in code and does Import the text that was previously > exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to perform > this operation. Close unneeded programs and try the operation again". Seems > the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database and > all was well. It did build a directory and saved all queries, forms, > reports > and nodules (I don't have any macros), It did import all the text. It does > Compact and Repair. And the database , original and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I especially > like the line numbers in the vba. I take it that is based on your use of > FMC > utilities. The progress bars are a nice feature - seems there are lots of > people trying to build these based on forums I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 24 11:58:38 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 24 Dec 2011 11:58:38 -0600 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Hi William, I have a version of this that I made for myself. It works on all objects except tables. I can email a copy to you offline if you'd like. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, December 24, 2011 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - further review I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little > more review. I opened the EIasT.mdb with a breakpoint to allow > stepping thru the code. In the problem data base, the queries and > forms - up to the problem form - are all exported as text as expected. > After the error, the code stops on a STOP statement, as it should. If > I step through, it continues with the next procedure in code and does > Import the text that was previously exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to > perform this operation. Close unneeded programs and try the operation > again". Seems the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database > and all was well. It did build a directory and saved all queries, > forms, reports and nodules (I don't have any macros), It did import > all the text. It does Compact and Repair. And the database , original > and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I > especially like the line numbers in the vba. I take it that is based > on your use of FMC utilities. The progress bars are a nice feature - > seems there are lots of people trying to build these based on forums > I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 24 12:01:18 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 13:01:18 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> References: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Message-ID: For sure! THANKS IN ADVANCE. On Dec 24, 2011 1:00 PM, "Dan Waters" wrote: > Hi William, > > I have a version of this that I made for myself. It works on all objects > except tables. > > I can email a copy to you offline if you'd like. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Saturday, December 24, 2011 11:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - > further review > > I am missing the original message where this EIasT.mdb was described / > offered. Reading this message leaves me curious. May I ask someone to send > me this link offlist? > On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > > > Dan, > > > > > > > > Further to my (off list) note from late last night, I did a little > > more review. I opened the EIasT.mdb with a breakpoint to allow > > stepping thru the code. In the problem data base, the queries and > > forms - up to the problem form - are all exported as text as expected. > > After the error, the code stops on a STOP statement, as it should. If > > I step through, it continues with the next procedure in code and does > > Import the text that was previously exported. > > > > > > > > It seems I have a corrupted Form and that its source can not be > retrieved. > > I > > did not find any resolution to the "there isn't enough memory to > > perform this operation. Close unneeded programs and try the operation > > again". Seems the consensus is to rebuild the form involved. > > > > > > > > So from an EIasT view, I did use the utility against another database > > and all was well. It did build a directory and saved all queries, > > forms, reports and nodules (I don't have any macros), It did import > > all the text. It does Compact and Repair. And the database , original > > and rebuilt are available. > > Good stuuf. > > > > > > > > I'm impressed with your code. No wasted code; very concise. I > > especially like the line numbers in the vba. I take it that is based > > on your use of FMC utilities. The progress bars are a nice feature - > > seems there are lots of people trying to build these based on forums > > I've seen. > > > > > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > > Perhaps it should be made available at databaseadvisors as a utility. > > > > > > > > Jack > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Dec 24 13:53:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 14:53:02 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: <004801ccc275$a5cbc9a0$f1635ce0$@net> Thanks to all who responded...fascinating story of a software behemoth that just doesn't care. I don't want to hear the BS that they couldn't fix it because it would something. Total BS. Just an excuse not to fix. > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html From hans.andersen at phulse.com Sat Dec 24 14:10:45 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 24 Dec 2011 12:10:45 -0800 Subject: [AccessD] OT: Merry Christmas In-Reply-To: References: Message-ID: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Glaedelig jul og godt tub'aar. ;) - Hans On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > Hi all > > On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. > Thanks to all! > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 24 14:45:22 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Dec 2011 06:45:22 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <001d01ccc239$244b2290$6ce167b0$@gmail.com> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> Message-ID: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the CopyExecute flash up on screen. My solution does that. On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > But that shortcut... how do you execute it from code, which I think was the > original plan?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, December 24, 2011 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy and execute from Access > > You need two steps: > > 1. Hide on Startup. You can call the following function from an Autoexec > macro: > Option Compare Database > Option Explicit > Const SW_HIDE = 0 > Const SW_NORMAL = 1 > Const SW_MINIMIZED = 2 > Const SW_MAXIMIZED = 3 > > Private Declare Function ShowWindow Lib "user32" _ > (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long > > Function Startup() As Long > Call ShowWindow(hWndAccessApp, SW_HIDE) > End Function > > By itself, that shows a flash of Access as it opens. Tou get rid of that > flash, create a shortcut > to the Access application, set it's "Run:" property to Minimized. Open > your application via > the shortcut and you shouldn't see a thing. > > -- > Stuart > > > On 23 Dec 2011 at 3:18, jwcolby wrote: > > > I have written a small app that allows me to define an access application > and the file(s) that make > > it up, and a destination directory to copy it to. A shortcut opens the > access CopyAndExecute.mdb > > and passes in a command line argument which is looked up in a table. The > recordset opened then > > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a > > normal Access application which can be seen until the target FE is up and > running and CopyAndExecute > > closes. > > > > Is there a way to cause Access to open invisible? > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 24 15:30:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:30:27 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64473.3000305@colbyconsulting.com> Right you are Stuart. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From jwcolby at colbyconsulting.com Sat Dec 24 15:41:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:41:53 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64721.9080009@colbyconsulting.com> That worked perfectly Stuart. I set the shortcut visible attribute to false and then set the Run Minimized attribute and I never even see the CopyAndRun open. I now have a splash form that opens to say "be patient" and off we go. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From vbacreations at gmail.com Sat Dec 24 15:49:37 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:49:37 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF64721.9080009@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I am asking how do you run a shortcut in code. Isn't john doing this with vba? TIA for answering my question so I can follow along. On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > That worked perfectly Stuart. I set the shortcut visible attribute to > false and then set the Run Minimized attribute and I never even see the > CopyAndRun open. I now have a splash form that opens to say "be patient" > and off we go. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > >> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >> not have the >> CopyExecute flash up on screen. My solution does that. >> >> >> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >> >> But that shortcut... how do you execute it from code, which I think was >>> the >>> original plan?? >>> -----Original Message----- >>> From: accessd-bounces@**databaseadvisors.com >>> [mailto:accessd-bounces@**databaseadvisors.com] >>> On Behalf Of Stuart McLachlan >>> Sent: Saturday, December 24, 2011 4:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Copy and execute from Access >>> >>> You need two steps: >>> >>> 1. Hide on Startup. You can call the following function from an Autoexec >>> macro: >>> Option Compare Database >>> Option Explicit >>> Const SW_HIDE = 0 >>> Const SW_NORMAL = 1 >>> Const SW_MINIMIZED = 2 >>> Const SW_MAXIMIZED = 3 >>> >>> Private Declare Function ShowWindow Lib "user32" _ >>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>> >>> Function Startup() As Long >>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>> End Function >>> >>> By itself, that shows a flash of Access as it opens. Tou get rid of that >>> flash, create a shortcut >>> to the Access application, set it's "Run:" property to Minimized. Open >>> your application via >>> the shortcut and you shouldn't see a thing. >>> >>> -- >>> Stuart >>> >>> >>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>> >>> I have written a small app that allows me to define an access >>>> application >>>> >>> and the file(s) that make >>> >>>> it up, and a destination directory to copy it to. A shortcut opens the >>>> >>> access CopyAndExecute.mdb >>> >>>> and passes in a command line argument which is looked up in a table. >>>> The >>>> >>> recordset opened then >>> >>>> defines what files to copy, the source and destination, the FE to >>>> execute, >>>> >>> and then opens that app. >>> >>>> >>>> It all is working now however I would like CopyAndExecute to open >>>> >>> invisible. ATM it opens as a >>> >>>> normal Access application which can be seen until the target FE is up >>>> and >>>> >>> running and CopyAndExecute >>> >>>> closes. >>>> >>>> Is there a way to cause Access to open invisible? >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From vbacreations at gmail.com Sat Dec 24 15:58:44 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:58:44 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I guess I am connecting the wrong dots... when john said "I have written a small app that allows.... I thought his app calls something else via a shortcut. He wrote "A shortcut opens the copyandexecute.mdb..." so i thought this was the first thing his app did. I didnt realize he meant "I use a shortcut to launch my app which is named CopyandExecute.mdb" MY FAULT.pay me no mind. On Dec 24, 2011 4:49 PM, "William Benson" wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/24/2011 3:45 PM, Stuart McLachlan wrote: >> >>> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >>> not have the >>> CopyExecute flash up on screen. My solution does that. >>> >>> >>> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >>> >>> But that shortcut... how do you execute it from code, which I think was >>>> the >>>> original plan?? >>>> -----Original Message----- >>>> From: accessd-bounces@**databaseadvisors.com >>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>> On Behalf Of Stuart McLachlan >>>> Sent: Saturday, December 24, 2011 4:46 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Copy and execute from Access >>>> >>>> You need two steps: >>>> >>>> 1. Hide on Startup. You can call the following function from an Autoexec >>>> macro: >>>> Option Compare Database >>>> Option Explicit >>>> Const SW_HIDE = 0 >>>> Const SW_NORMAL = 1 >>>> Const SW_MINIMIZED = 2 >>>> Const SW_MAXIMIZED = 3 >>>> >>>> Private Declare Function ShowWindow Lib "user32" _ >>>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>>> >>>> Function Startup() As Long >>>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>>> End Function >>>> >>>> By itself, that shows a flash of Access as it opens. Tou get rid of >>>> that >>>> flash, create a shortcut >>>> to the Access application, set it's "Run:" property to Minimized. >>>> Open >>>> your application via >>>> the shortcut and you shouldn't see a thing. >>>> >>>> -- >>>> Stuart >>>> >>>> >>>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>>> >>>> I have written a small app that allows me to define an access >>>>> application >>>>> >>>> and the file(s) that make >>>> >>>>> it up, and a destination directory to copy it to. A shortcut opens the >>>>> >>>> access CopyAndExecute.mdb >>>> >>>>> and passes in a command line argument which is looked up in a table. >>>>> The >>>>> >>>> recordset opened then >>>> >>>>> defines what files to copy, the source and destination, the FE to >>>>> execute, >>>>> >>>> and then opens that app. >>>> >>>>> >>>>> It all is working now however I would like CopyAndExecute to open >>>>> >>>> invisible. ATM it opens as a >>>> >>>>> normal Access application which can be seen until the target FE is up >>>>> and >>>>> >>>> running and CopyAndExecute >>>> >>>>> closes. >>>>> >>>>> Is there a way to cause Access to open invisible? >>>>> >>>>> -- >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> 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 Sat Dec 24 17:26:50 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 18:26:50 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <004801ccc275$a5cbc9a0$f1635ce0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> Message-ID: <000c01ccc293$83bd8b00$8b38a100$@net> Correction in CAPS: I don't want to hear the BS that they couldn't fix it because it would BREAK something. Merry Christmas AccessD members ! From gustav at cactus.dk Sun Dec 25 05:24:40 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 25 Dec 2011 12:24:40 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi William We can't disagree on that. I work mostly with accounting systems and routines related to that where correct and predictable rounding is a high priority area. The issue is that all the Cxx converter functions and Round too perform Banker's Rounding. This is not wrong, only different from what most people expect because very little is told about it. The Int and Fix functions work correctly too and also much more as people expect them to do. What is missing is a function that clearly and correctly performs a true 4/5 rounding as we learned in school, and very few expect the "secret" Format to be that only function which does that. What messes up the picture further, is that Round is buggy as the test function from the link I posted shows. /gustav >>> vbacreations at gmail.com 24-12-2011 16:39 >>> I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil From jwcolby at colbyconsulting.com Sun Dec 25 08:44:10 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Dec 2011 09:44:10 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: <4EF736BA.1070505@colbyconsulting.com> William, What I am trying to do is have a shortcut open a program and keep it invisible. That program copies a bunch of files, then opens a second program, whereupon the first program shuts down. The shortcut properties invisible / minimized cause the first program to never appear. The first program puts up a "working, be patient" splash screen while it is opening the second program. Stuart's suggestion was to use the invisible / minimized properties of the shortcut to cause the first program to not ever even be visible, which is what I was after. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 4:49 PM, William Benson wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting From rockysmolin at bchacc.com Sun Dec 25 12:10:44 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 10:10:44 -0800 Subject: [AccessD] Odd Form Behavior Message-ID: <42452AC49FFE4219B2805935A87BE633@HAL9007> Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From vbacreations at gmail.com Sun Dec 25 16:10:43 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 17:10:43 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <004901ccc352$0c5a2270$250e6750$@gmail.com> Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 16:45:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 14:45:20 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <65B284E7EE1C4E56B7897C75635B070C@HAL9007> William: *** In line. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? *** Yes Is the table, that the form is bound to, located in the same database? *** No - back end Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? *** Tried that but no - same behavior Would it navigate fine if you removed all form module code? *** YES!!! SO now the old binary search to find out which it the offending module, I guess. Merry Christmas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 16:50:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 08:50:06 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 17:24:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:24:21 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 17:42:04 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 18:42:04 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: <004d01ccc35e$cf3d6070$6db82150$@gmail.com> I think of all the questions I asked, only the one about VBA code was worth worrying about. I had misread another post online which had to do with back-end freezing (this seems more like a front end issue). Anyway, here was what I read: http://bytes.com/topic/access/answers/828312-access-back-end-sometimes-freez es -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 17:56:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:56:42 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 18:52:27 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 19:52:27 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Message-ID: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 19:02:03 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 11:02:03 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007>, <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007>, <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: <4EF7C78B.19649.39014499@stuart.lexacorp.com.pg> Define "best". It depends on the needs of the application and what your users are used to. Generally, my users understand and like the fact that changes to a record are "autosaved". If I don't want that behaviour, I give them a read-only form - what's the point of changing data if you don't want the changes saved? -- Stuart On 25 Dec 2011 at 19:52, William Benson (VBACreations. wrote: > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) > If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 19:06:12 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 17:06:12 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com><86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I've done it both ways. I've put Save buttons on the bound form and trapped it when they try to move to a new record with a message "The record has changed since you last saved it. Save it now?". Then, if no, Me.Undo. Kind of depends on the user. And the nature of the data. In this case the data is fairly static, they have an Undo button, and they learn pretty quickly that changes are permanent unless they click the Undo. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 4:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 21:15:42 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 25 Dec 2011 22:15:42 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I would take the approach to prompt that if they continue they will lose unsaved changes. If they say cancel then they cancel the move, if they say ok then do the me.undo. I would never erase the users work just because they didn't want to save unless they agreed they wanted to DISCARD. Same way GMAIL will work with this email. If I press my BACK key I will be asked if I want to discard these changes. If I say cancel I am back to my edits. GOOGLE is more concerned with the bigger risk... losing unsaved changes... than performing my BACK command. On Dec 25, 2011 8:07 PM, "Rocky Smolin" wrote: > I've done it both ways. I've put Save buttons on the bound form and > trapped > it when they try to move to a new record with a message "The record has > changed since you last saved it. Save it now?". Then, if no, Me.Undo. > > Kind of depends on the user. And the nature of the data. > > In this case the data is fairly static, they have an Undo button, and they > learn pretty quickly that changes are permanent unless they click the Undo. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 4:52 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed > to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields > from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form > seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves > the > record but the navigation buttons are still not functional and I can't go > to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this > record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the > same > results. > > I would prefer not to use the save on the dirty event because I have an > undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue Dec 27 08:54:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 09:54:16 -0500 Subject: [AccessD] OT: Merry Christmas In-Reply-To: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> References: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Message-ID: Merry Christmas, a tad late (I've been sick) and Happy New Year to all. Arthur On Sat, Dec 24, 2011 at 3:10 PM, Hans-Christian Andersen < hans.andersen at phulse.com> wrote: > > Glaedelig jul og godt tub'aar. ;) > > - Hans > > > > On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > > > Hi all > > > > On this evening - Merry Christmas to all after another year with a lot > of learning experiences and input at this list (and its sister lists) which > still stands out from all the other fora you and I join. > > Thanks to all! > > > > /gustav > > > > > From fuller.artful at gmail.com Tue Dec 27 11:01:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 12:01:16 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF736BA.1070505@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> <4EF736BA.1070505@colbyconsulting.com> Message-ID: This thread would appear to me to be about a subject addressed by my good friend Dejan Sunderic, in his books about SQL Server, which contained a chapter about inheriting databases. At the time it was a very novel idea, even though at that time I was well-acquainted with O-O software. Building on Dejan's lead, I investigated remodeling the modeldb database, and including a number of oft-used databases, and this has worked even better than I expected. In SQL Server, the core model is called modeldb. What I ended up doing was creating several different versions of this db, with names such as modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each based on modeldb but adding the tables of interest, so that simply by renaming a couple of dbs and then issuing a Create New I had a whole bunch of the core tables (transactions and lookups) instantly installed and populated and ready to go. Perhaps not an ideal solution, but it has worked for me. When doing an Access db, I do it manually, importing tables and forms and queries from databases whose content is isolated (e.g. Geography.mdb, CustomersAndOrders.mdb, COA.mdb), but the key to making this work coherently is precisely named, consistent columns in all the dbs -- it is always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, SupplierID, etc., and that never changes; may not need all of them, but it's all predefined in the inheritable databases and it's always consistent; that's the big trick). I haven't automated this, as JC wants his solution to work. If I'm "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent upon me to remember to "inherit" all the tables and relevant queries and forms, and occasionally, modules. But force of habit causes few mistakes, and upon discovery of one, it's pretty easy to return and grab the missing object. Anyway, Happy New Year to everyone on this list! Arthur On Sun, Dec 25, 2011 at 9:44 AM, jwcolby wrote: > William, > > What I am trying to do is have a shortcut open a program and keep it > invisible. That program copies a bunch of files, then opens a second > program, whereupon the first program shuts down. > > The shortcut properties invisible / minimized cause the first program to > never appear. The first program puts up a "working, be patient" splash > screen while it is opening the second program. > > Stuart's suggestion was to use the invisible / minimized properties of the > shortcut to cause the first program to not ever even be visible, which is > what I was after. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 4:49 PM, William Benson wrote: > >> I am asking how do you run a shortcut in code. Isn't john doing this with >> vba? >> >> TIA for answering my question so I can follow along. >> On Dec 24, 2011 4:44 PM, "jwcolby"> >> wrote: >> >> That worked perfectly Stuart. I set the shortcut visible attribute to >>> false and then set the Run Minimized attribute and I never even see the >>> CopyAndRun open. I now have a splash form that opens to say "be patient" >>> and off we go. >>> >>> John W. Colby >>> Colby Consulting >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From marksimms at verizon.net Tue Dec 27 11:22:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 27 Dec 2011 12:22:47 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <000c01ccc293$83bd8b00$8b38a100$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> <000c01ccc293$83bd8b00$8b38a100$@net> Message-ID: <007501ccc4bc$27c242c0$7746c840$@net> Art - lack of season greatings... I think it's been a "Bah Humbug" Christmas for Access and Excel developers. From mcp2004 at mail.ru Tue Dec 27 12:26:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 27 Dec 2011 22:26:05 +0400 Subject: [AccessD] =?utf-8?q?Copy_and_execute_from_Access?= In-Reply-To: References: <4EF736BA.1070505@colbyconsulting.com> <4EF4395B.3010207@colbyconsulting.com> Message-ID: > Anyway, Happy New Year to everyone on this list! Happy New Year Arthur and All! -- Shamil 27 ??????? 2011, 21:02 ?? Arthur Fuller : > This thread would appear to me to be about a subject addressed by my good > friend Dejan Sunderic, in his books about SQL Server, which contained a > chapter about inheriting databases. At the time it was a very novel idea, > even though at that time I was well-acquainted with O-O software. Building > on Dejan's lead, I investigated remodeling the modeldb database, and > including a number of oft-used databases, and this has worked even better > than I expected. > > In SQL Server, the core model is called modeldb. What I ended up doing was > creating several different versions of this db, with names such as > modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each > based on modeldb but adding the tables of interest, so that simply by > renaming a couple of dbs and then issuing a Create New I had a whole bunch > of the core tables (transactions and lookups) instantly installed and > populated and ready to go. > > Perhaps not an ideal solution, but it has worked for me. When doing an > Access db, I do it manually, importing tables and forms and queries from > databases whose content is isolated (e.g. Geography.mdb, > CustomersAndOrders.mdb, COA.mdb), but the key to making this work > coherently is precisely named, consistent columns in all the dbs -- it is > always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, > SupplierID, etc., and that never changes; may not need all of them, but > it's all predefined in the inheritable databases and it's always > consistent; that's the big trick). > > I haven't automated this, as JC wants his solution to work. If I'm > "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent > upon me to remember to "inherit" all the tables and relevant queries and > forms, and occasionally, modules. But force of habit causes few mistakes, > and upon discovery of one, it's pretty easy to return and grab the missing > object. > > Anyway, Happy New Year to everyone on this list! > Arthur > <<< skipped >>> From jwcolby at colbyconsulting.com Tue Dec 27 20:54:41 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Dec 2011 21:54:41 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> References: <4EF4E519.5030106@colbyconsulting.com> <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Message-ID: <4EFA84F1.3090506@colbyconsulting.com> Yep, that works. I have gotten used to always using .Value which apparently is not valid till AfterUpdate. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > Try this: > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > End Sub > From stuart at lexacorp.com.pg Tue Dec 27 21:21:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 13:21:02 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EFA84F1.3090506@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com>, <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg>, <4EFA84F1.3090506@colbyconsulting.com> Message-ID: <4EFA8B1E.27502.43CD6174@stuart.lexacorp.com.pg> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Dec 28 03:26:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Dec 2011 10:26:46 +0100 Subject: [AccessD] textbox value is null Message-ID: Hi Stuart You may add that property Text is available only when the TextBox (or other type of control) has focus. /gustav >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub From stuart at lexacorp.com.pg Wed Dec 28 03:49:40 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 19:49:40 +1000 Subject: [AccessD] textbox value is null In-Reply-To: References: Message-ID: <4EFAE634.18576.4531333B@stuart.lexacorp.com.pg> Good point. On 28 Dec 2011 at 10:26, Gustav Brock wrote: > Hi Stuart > > You may add that property Text is available only when the TextBox (or other type of control) has focus. > > /gustav > > > >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> > .Value is the underlying "value" of the textbox. It does not change during editing of the > textbox. Only when the control loses focus. It can be a string, a number or a Null. > > .Text is the text string currently *displayed* contents of the textbox, it changes as the content > of the textbox is edited. It is always a string. > > Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an > empty string (that's why the sample code tests for an empty string, not a null.) > > -- > Stuart > > > On 27 Dec 2011 at 21:54, jwcolby wrote: > > > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > > AfterUpdate. > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > > Try this: > > > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Dec 28 08:50:15 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 09:50:15 -0500 Subject: [AccessD] Ya just gotta love it Message-ID: <4EFB2CA7.9080704@colbyconsulting.com> On my workstation at the client I have Access2K and AccessXP (2002) installed. Access 2002 is the one that opens if I just double click a database. I have written this CopyAndRun application for copying the FE and libs to the user's workstation and opening it. C&R uses office automation to open the file just copied. This is the code which actually opens the application just copied. Sub OpenApp(strFEToOpen As String) Dim appAccess As Access.Application ' Create new instance of Microsoft Access. Set appAccess = CreateObject("Access.Application") ' Open database in Microsoft Access window. appAccess.OpenCurrentDatabase strFEToOpen End Sub One of the users has Access2K SP1 installed, and when he uses C&R it does in fact open the target app but it is hidden, i.e. there is an Access process in Task Manager Processes but Access is not listed in Applications. So I try testing it with my system. I use a shortcut to Access 2K (which has SP3) to directly open C&R. I then click a test button which opens the target app. When it opens it is running under Access 2002. IOW even though the code above is running in Access 2K once the dust settles the target is running in Access XP. Not ideal for testing eh? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Wed Dec 28 09:07:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 10:07:08 -0500 Subject: [AccessD] Setting the program default application Message-ID: <4EFB309C.7070908@colbyconsulting.com> I thought that you could right click on an access database file, then Open with / Choose Program / Always use the selected program / browse / then find the program to use and select that and it would permanently modify the double click program used to open that file type. That is not happening, in fact even as I select Access2K and do the open it immediately uses AccessXP to perform the open. WTHO? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Chester_Kaup at kindermorgan.com Wed Dec 28 10:13:39 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:13:39 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <00a101ccbf6d$04a75f40$0df61dc0$@net> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <00a101ccbf6d$04a75f40$0df61dc0$@net> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C39@houex1.kindermorgan.com> Thanks for the suggestion on how to write a better query. The extra records were caused by there being 11 records for each gas meter in the table GA_Details. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculation in query problem Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 Chester_Kaup at kindermorgan.com Wed Dec 28 10:24:49 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:24:49 -0600 Subject: [AccessD] Iif satement problem in query Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 jedi at charm.net Wed Dec 28 11:50:31 2011 From: jedi at charm.net (Michael Bahr) Date: Wed, 28 Dec 2011 12:50:31 -0500 (EST) Subject: [AccessD] Setting the program default application In-Reply-To: <4EFB309C.7070908@colbyconsulting.com> References: <4EFB309C.7070908@colbyconsulting.com> Message-ID: <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> John, try Right-Click Properties | Change You should see the actual application that is being used. Here you can implicitly change to whatever app you want. Mike > I thought that you could right click on an access database file, then Open > with / Choose Program / > Always use the selected program / browse / then find the program to use > and select that and it would > permanently modify the double click program used to open that file type. > > That is not happening, in fact even as I select Access2K and do the open > it immediately uses > AccessXP to perform the open. > > WTHO? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Wed Dec 28 12:02:41 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 10:02:41 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: What is it that you want to return when the EndDate is not greater than RecordDate? this is what is in the else portion: Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] Think of an IIF as an IF Then Else: IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly Third Party Water]![RecordDate]) THEN Max([qry Monthly Third Party Water]![RecordDate]) Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 Dec 28 12:31:34 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 12:31:34 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C6F@houex1.kindermorgan.com> What I want return when the end date is less than the max date from the query is the max date that is less than the end date entered on the form. For example if the end date entered on the form is 6/13/2011 the if statement should return 5/31/2011. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, December 28, 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Iif satement problem in query What is it that you want to return when the EndDate is not greater than RecordDate? this is what is in the else portion: Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] Think of an IIF as an IF Then Else: IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly Third Party Water]![RecordDate]) THEN Max([qry Monthly Third Party Water]![RecordDate]) Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 Lambert.Heenan at chartisinsurance.com Wed Dec 28 12:42:46 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 28 Dec 2011 13:42:46 -0500 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. In short you convoluted you way into a bug. What you need is simply... IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) ... I think. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 28, 2011 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Iif satement problem in query I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 davidmcafee at gmail.com Wed Dec 28 13:17:13 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 11:17:13 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C6F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C6F@houex1.kindermorgan.com> Message-ID: The way I would do it (which isn't necessarily the correct way ;) ) would be to modify the query with left join pulling the previous date: Use that date in the False section: If(YourLogic, TrueStuff, [qry Monthly Third Party Water]![PrevMaxDate]) Another thing you could do (If in Access) is use a DMAX in the False section but this might be slower. On Wed, Dec 28, 2011 at 10:31 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > What I want return when the end date is less than the max date from the > query is the max date that is less than the end date entered on the form. > For example if the end date entered on the form is 6/13/2011 the if > statement should return 5/31/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Wednesday, December 28, 2011 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > What is it that you want to return when the EndDate is not greater than > RecordDate? > > this is what is in the else portion: > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report > Date Selector]![EndDate] > > > Think of an IIF as an IF Then Else: > > > IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly > Third Party Water]![RecordDate]) > THEN Max([qry Monthly Third Party Water]![RecordDate]) > Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate] > > > On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < > Chester_Kaup at kindermorgan.com> wrote: > > > I have the following if statement in a query. The first part of the query > > returns the correct date. The second part of the if statement returns > 12:00 > > for any date on the form less than the max date returned by the query. > What > > might I be doing wrong? > > > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > > Max([qry Monthly Third Party Water]![RecordDate]), > > Max([qry Monthly Third Party Water]![RecordDate]), > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > > Report Date Selector]![EndDate]) > > > > Date returned by qry Monthly Third Party Water > > RecordDate Gas Plant Wagner Cogdell > > 1/31/2011 35400 2834 > > 2/28/2011 25900 2400 > > 3/31/2011 33452 2500 > > 4/30/2011 46503 2891 > > 5/31/2011 24402 3746 > > 6/30/2011 15324 3557 > > 7/31/2011 14154 3765 > > 8/31/2011 25074 3715 > > 9/30/2011 24041 3456 > > 10/31/2011 24725 3593 > > 11/30/2011 25000 3468 > > > > 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 Wed Dec 28 13:21:19 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 13:21:19 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> If there is a way to convoluted your way into a bug I can find it. Unfortunately your if statement does not quite get it either. If the ending date input on the form is greater than the last date returned by the query it works correctly but in the case where it is less than the last date returned by the query the result is not correct. What I need in that case is the largest date returned by the query that is less than the ending date entered on the form For example if 4/15/2011 is entered as the ending date the value returned by the query should be 3/31/2011. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, December 28, 2011 12:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Iif satement problem in query I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. In short you convoluted you way into a bug. What you need is simply... IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) ... I think. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 28, 2011 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Iif satement problem in query I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 davidmcafee at gmail.com Wed Dec 28 13:52:31 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 11:52:31 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: What happens if you put parenthesis around the false part? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), (Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![ frm Daily Report Date Selector]![EndDate])) I still believe you need a separate select for the false part. I just did something on a test table over here: SELECT * FROM tblRentalAction WHERE RentalID = 37913 Results: RentalActionID RentalID LocKeyID TranDate 110235 37913 1 2011-02-15 00:02:00.000 110276 37913 3 2011-02-28 00:00:00.000 114347 37913 8 2011-07-11 00:00:00.000 SELECT MaxDate, RentalID, Max(PrevDate) AS NextDate FROM ( SELECT A.*, B.PrevDate FROM ( SELECT Max(TranDate) AS MaxDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 GROUP BY RentalID ) A LEFT JOIN ( SELECT TOP 3(TranDate) AS PrevDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 ) B ON A.RentalID = B.RentalID AND A.MaxDate <> B.PrevDate ) C GROUP BY MaxDate, RentalID Results: MaxDate RentalID NextDate 2011-07-11 00:00:00.000 37913 2011-02-28 00:00:00.000 You could then use your IIF(Logic, TruePart, FalsePart) on that query. Not sure if it helps or further confuses you. :) David On Wed, Dec 28, 2011 at 11:21 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > If there is a way to convoluted your way into a bug I can find it. > Unfortunately your if statement does not quite get it either. If the ending > date input on the form is greater than the last date returned by the query > it works correctly but in the case where it is less than the last date > returned by the query the result is not correct. What I need in that case > is the largest date returned by the query that is less than the ending date > entered on the form For example if 4/15/2011 is entered as the ending date > the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns > 12:00 for any date on the form less than the max date returned by the > query" because what the second part of the iif statement is returning is > the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first > part of Iif is not true), the above Boolean expression always evaluates to > False, which equals zero, which is the date value 12:00. This is because > the query date cannot be less than the form date if the form date is > already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly > Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry > Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 jwcolby at colbyconsulting.com Wed Dec 28 14:20:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 15:20:35 -0500 Subject: [AccessD] but does it run... Message-ID: <4EFB7A13.8040003@colbyconsulting.com> http://www.raspberrypi.org/ They are apparently close to production. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From vbacreations at gmail.com Wed Dec 28 14:29:14 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 28 Dec 2011 15:29:14 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFB7A13.8040003@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> Message-ID: Gee..... "its power supply balls weren't connected to the system 1.8v supply. Sounds like something that violates the Geneva convention to me. On Dec 28, 2011 3:23 PM, "jwcolby" wrote: > > http://www.raspberrypi.org/ > > They are apparently close to production. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From jwcolby at colbyconsulting.com Wed Dec 28 14:31:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 15:31:29 -0500 Subject: [AccessD] Setting the program default application In-Reply-To: <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> References: <4EFB309C.7070908@colbyconsulting.com> <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> Message-ID: <4EFB7CA1.4040405@colbyconsulting.com> Yep, I tried that. It refused to "keep" the change. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/28/2011 12:50 PM, Michael Bahr wrote: > John, try Right-Click Properties | Change > > You should see the actual application that is being used. Here you can > implicitly change to whatever app you want. > > Mike > >> I thought that you could right click on an access database file, then Open >> with / Choose Program / >> Always use the selected program / browse / then find the program to use >> and select that and it would >> permanently modify the double click program used to open that file type. >> >> That is not happening, in fact even as I select Access2K and do the open >> it immediately uses >> AccessXP to perform the open. >> >> WTHO? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From markamatte at hotmail.com Wed Dec 28 14:44:18 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 28 Dec 2011 20:44:18 +0000 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com>, , <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: Ok...I see now...you are trying to change the scope of the query in the iif. can you change the criteria on the query itself... to always be limited to the max(date) < Forms]![frm Daily Report Date Selector]![EndDate]... Or...maybe use a dlookup to get the date instead of an IIF? Mark A. Matte > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Date: Wed, 28 Dec 2011 13:21:19 -0600 > Subject: Re: [AccessD] Iif satement problem in query > > If there is a way to convoluted your way into a bug I can find it. Unfortunately your if statement does not quite get it either. If the ending date input on the form is greater than the last date returned by the query it works correctly but in the case where it is less than the last date returned by the query the result is not correct. What I need in that case is the largest date returned by the query that is less than the ending date entered on the form For example if 4/15/2011 is entered as the ending date the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 jwcolby at colbyconsulting.com Wed Dec 28 15:28:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 16:28:03 -0500 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com> Message-ID: <4EFB89E3.2000603@colbyconsulting.com> ROTFL. That is a method of torture used only in small labs in England. Very hush hush. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/28/2011 3:29 PM, William Benson wrote: > Gee..... "its power supply balls weren't connected to the system 1.8v > supply. > > Sounds like something that violates the Geneva convention to me. > On Dec 28, 2011 3:23 PM, "jwcolby" wrote: > >> >> http://www.raspberrypi.org/ >> >> They are apparently close to production. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From stuart at lexacorp.com.pg Wed Dec 28 15:31:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 29 Dec 2011 07:31:20 +1000 Subject: [AccessD] Ya just gotta love it In-Reply-To: <4EFB2CA7.9080704@colbyconsulting.com> References: <4EFB2CA7.9080704@colbyconsulting.com> Message-ID: <4EFB8AA8.0.47B3A404@stuart.lexacorp.com.pg> Not ideal, but logical. If 2002 is the registry "default" for Access, that's what COM ( or whatever MS are calling it these days) will use when creating the appAccess object. -- Stuart On 28 Dec 2011 at 9:50, jwcolby wrote: > On my workstation at the client I have Access2K and AccessXP (2002) installed. Access 2002 is the > one that opens if I just double click a database. > ... > Dim appAccess As Access.Application ... > So I try testing it with my system. I use a shortcut to Access 2K (which has SP3) to directly open > C&R. I then click a test button which opens the target app. When it opens it is running under > Access 2002. IOW even though the code above is running in Access 2K once the dust settles the > target is running in Access XP. > > Not ideal for testing eh? > From Chester_Kaup at kindermorgan.com Wed Dec 28 16:54:30 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 16:54:30 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com>, , <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3CD2@houex1.kindermorgan.com> I ended up doing it in VBA. Much easier. Thanks for the assistance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 28, 2011 2:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iif satement problem in query Ok...I see now...you are trying to change the scope of the query in the iif. can you change the criteria on the query itself... to always be limited to the max(date) < Forms]![frm Daily Report Date Selector]![EndDate]... Or...maybe use a dlookup to get the date instead of an IIF? Mark A. Matte > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Date: Wed, 28 Dec 2011 13:21:19 -0600 > Subject: Re: [AccessD] Iif satement problem in query > > If there is a way to convoluted your way into a bug I can find it. Unfortunately your if statement does not quite get it either. If the ending date input on the form is greater than the last date returned by the query it works correctly but in the case where it is less than the last date returned by the query the result is not correct. What I need in that case is the largest date returned by the query that is less than the ending date entered on the form For example if 4/15/2011 is entered as the ending date the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 Chester_Kaup at kindermorgan.com Wed Dec 28 16:55:09 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 16:55:09 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3CD4@houex1.kindermorgan.com> I ended up doing it in VBA. Much easier. Thanks for the assistance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, December 28, 2011 1:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Iif satement problem in query What happens if you put parenthesis around the false part? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), (Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![ frm Daily Report Date Selector]![EndDate])) I still believe you need a separate select for the false part. I just did something on a test table over here: SELECT * FROM tblRentalAction WHERE RentalID = 37913 Results: RentalActionID RentalID LocKeyID TranDate 110235 37913 1 2011-02-15 00:02:00.000 110276 37913 3 2011-02-28 00:00:00.000 114347 37913 8 2011-07-11 00:00:00.000 SELECT MaxDate, RentalID, Max(PrevDate) AS NextDate FROM ( SELECT A.*, B.PrevDate FROM ( SELECT Max(TranDate) AS MaxDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 GROUP BY RentalID ) A LEFT JOIN ( SELECT TOP 3(TranDate) AS PrevDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 ) B ON A.RentalID = B.RentalID AND A.MaxDate <> B.PrevDate ) C GROUP BY MaxDate, RentalID Results: MaxDate RentalID NextDate 2011-07-11 00:00:00.000 37913 2011-02-28 00:00:00.000 You could then use your IIF(Logic, TruePart, FalsePart) on that query. Not sure if it helps or further confuses you. :) David On Wed, Dec 28, 2011 at 11:21 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > If there is a way to convoluted your way into a bug I can find it. > Unfortunately your if statement does not quite get it either. If the ending > date input on the form is greater than the last date returned by the query > it works correctly but in the case where it is less than the last date > returned by the query the result is not correct. What I need in that case > is the largest date returned by the query that is less than the ending date > entered on the form For example if 4/15/2011 is entered as the ending date > the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns > 12:00 for any date on the form less than the max date returned by the > query" because what the second part of the iif statement is returning is > the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first > part of Iif is not true), the above Boolean expression always evaluates to > False, which equals zero, which is the date value 12:00. This is because > the query date cannot be less than the form date if the form date is > already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly > Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry > Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 joeo at appoli.com Wed Dec 28 17:43:17 2011 From: joeo at appoli.com (Joe O'Connell) Date: Wed, 28 Dec 2011 18:43:17 -0500 Subject: [AccessD] Learning new technologies Message-ID: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Does anyone have any experience with the training videos from LearnDevNow? They are running a special of only $99 for a full year of access to their entire library of over 3,000 videos. The deadline to subscribe is December 31. If these are good training videos, it seems like an inexpensive way to learn new technologies. The web site is http://www.learndevnow.com Joe O'Connell From vbacreations at gmail.com Wed Dec 28 20:48:59 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 28 Dec 2011 21:48:59 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: is Dec 31 2011 the deadline for the 2011 annual membership? If so, not really much of a bargain ;-) couldn't resist, hopefully you get more serious (experienced) answers. On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > Does anyone have any experience with the training videos from LearnDevNow? > They are running a special of only $99 for a full year of access to their > entire library of over 3,000 videos. The deadline to subscribe is December > 31. If these are good training videos, it seems like an inexpensive way to > learn new technologies. > > The web site is http://www.learndevnow.com > > Joe O'Connell > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From charlotte.foust at gmail.com Wed Dec 28 21:53:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 28 Dec 2011 19:53:34 -0800 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: No experience with them but experience with AppDev's CBT training, which was good. Hard to beat an instructor like Ken Getz, so that price for a year's subscription looks like a bargain to me. Charlotte Foust On Wed, Dec 28, 2011 at 6:48 PM, William Benson wrote: > is Dec 31 2011 the deadline for the 2011 annual membership? If so, not > really much of a bargain > > ;-) couldn't resist, hopefully you get more serious (experienced) answers. > > > > > On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > > > Does anyone have any experience with the training videos from > LearnDevNow? > > They are running a special of only $99 for a full year of access to > their > > entire library of over 3,000 videos. The deadline to subscribe is > December > > 31. If these are good training videos, it seems like an inexpensive way > to > > learn new technologies. > > > > The web site is http://www.learndevnow.com > > > > > > Joe O'Connell > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > *Regards,* > ** > ** > *Bill Benson* > *VBACreations* > ** > PS: You've gotten this e-mail *because you matter to me!* > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From vbacreations at gmail.com Wed Dec 28 22:55:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 28 Dec 2011 23:55:12 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: <008901ccc5e6$0cbe9bb0$263bd310$@gmail.com> I just watched 2 of the videos and I actually learned what both Silverlight and WPF are from the free vids. In addition, since I have never seen C# (only VB and VBA) I was always kind of afraid of it, but now I feel I could get going in that if I needed to. A few 30-40 minute intro videos don't make me a programmer ... but I feel a lot more knowledgeable about what I might be getting into if I chose to work in those languages / platforms or whatever the right word is. I would say the quality of the videos was very good. There's lots more than I will need or might have the time to learn, but I think I will bite for only $100. Thanks for the tip Joe. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Wednesday, December 28, 2011 6:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Learning new technologies Does anyone have any experience with the training videos from LearnDevNow? They are running a special of only $99 for a full year of access to their entire library of over 3,000 videos. The deadline to subscribe is December 31. If these are good training videos, it seems like an inexpensive way to learn new technologies. The web site is http://www.learndevnow.com Joe O'Connell -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Dec 29 12:55:41 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 12:55:41 (CET) Subject: [AccessD] query select in column Message-ID: <201112291155.pBTBtfMl007789@mailhostC.plex.net> Dear list. i have a table with patients. tblDialysis Pat OpenDate Code 1 01-01-2011 325 2 02-02-2011 325 2 03-03-2011 326 2 04-04-2011 327 3 05-05-2011 325 3 06-06-2011 326 4 07-07-2011 325 4 08-08-2011 327 5 09-09-2011 326 i need all records of patients who have a code 325 and 326 0r 325 and 327 result Pat OpenDate Code 2 02-02-2011 325 2 03-03-2011 326 2 04-04-2011 327 3 05-05-2011 325 3 06-06-2011 326 4 07-07-2011 325 4 08-08-2011 327 any idea's Pedro From vbacreations at gmail.com Thu Dec 29 06:53:46 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 29 Dec 2011 07:53:46 -0500 Subject: [AccessD] query select in column In-Reply-To: <201112291155.pBTBtfMl007789@mailhostC.plex.net> References: <201112291155.pBTBtfMl007789@mailhostC.plex.net> Message-ID: Join the table to a select query whose only criterion is code =25. Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner join (select distict pat from tbldialysis where code= 325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327) On Dec 29, 2011 6:59 AM, wrote: > Dear list. > > i have a table with patients. > > tblDialysis > > Pat OpenDate Code > 1 01-01-2011 325 > 2 02-02-2011 325 > 2 03-03-2011 326 > 2 04-04-2011 327 > 3 05-05-2011 325 > 3 06-06-2011 326 > 4 07-07-2011 325 > 4 08-08-2011 327 > 5 09-09-2011 326 > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > result > > Pat OpenDate Code > 2 02-02-2011 325 > 2 03-03-2011 326 > 2 04-04-2011 327 > 3 05-05-2011 325 > 3 06-06-2011 326 > 4 07-07-2011 325 > 4 08-08-2011 327 > > any idea's > > Pedro > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Dec 29 14:54:26 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 14:54:26 (CET) Subject: [AccessD] query select in column Message-ID: <201112291354.pBTDsQ36014718@mailhostC.plex.net> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro In antwoord op: > From: William Benson > To: Access Developers discussion and problem solving > Date: Thu, 29 Dec 2011 07:53:46 -0500 > Subject: Re: [AccessD] query select in column > > > Join the table to a select query whose only criterion is code =25. > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > join (select distict pat from tbldialysis where code= 325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > On Dec 29, 2011 6:59 AM, wrote: > > > Dear list. > > > > i have a table with patients. > > > > tblDialysis > > > > Pat OpenDate Code > > 1 01-01-2011 325 > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > 5 09-09-2011 326 > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > result > > > > Pat OpenDate Code > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > > > any idea's > > > > Pedro > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Dec 29 08:17:53 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Dec 2011 15:17:53 +0100 Subject: [AccessD] query select in column Message-ID: Hi Pedro Shouldn't last line read: tbl1.pat = tbl2.pat where tbl2.code in (326,327); /gustav >>> pedro at plex.nl 29-12-2011 14:54 >>> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro In antwoord op: > From: William Benson > To: Access Developers discussion and problem solving > Date: Thu, 29 Dec 2011 07:53:46 -0500 > Subject: Re: [AccessD] query select in column > > > Join the table to a select query whose only criterion is code =25. > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > join (select distict pat from tbldialysis where code= 325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > On Dec 29, 2011 6:59 AM, wrote: > > > Dear list. > > > > i have a table with patients. > > > > tblDialysis > > > > Pat OpenDate Code > > 1 01-01-2011 325 > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > 5 09-09-2011 326 > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > result > > > > Pat OpenDate Code > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > > > any idea's > > > > Pedro From tinanfields at torchlake.com Thu Dec 29 08:24:06 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 29 Dec 2011 09:24:06 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFB7A13.8040003@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> Message-ID: <4EFC7806.1060709@torchlake.com> I've been waiting. Production was supposed to be in mid-December 2011, if I recall correctly. Still waiting, patiently....umm, no, impatiently. I want one of those little things! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/28/2011 3:20 PM, jwcolby wrote: > > http://www.raspberrypi.org/ > > They are apparently close to production. > From jwcolby at colbyconsulting.com Thu Dec 29 08:32:22 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 29 Dec 2011 09:32:22 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFC7806.1060709@torchlake.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> Message-ID: <4EFC79F6.5000902@colbyconsulting.com> >I want one of those little things! Me too! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/29/2011 9:24 AM, Tina Norris Fields wrote: > I've been waiting. Production was supposed to be in mid-December 2011, if I recall correctly. Still > waiting, patiently....umm, no, impatiently. I want one of those little things! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/28/2011 3:20 PM, jwcolby wrote: >> >> http://www.raspberrypi.org/ >> >> They are apparently close to production. >> From pedro at plex.nl Thu Dec 29 16:13:14 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 16:13:14 (CET) Subject: [AccessD] query select in column Message-ID: <201112291513.pBTFDEcv019497@mailhostC.plex.net> Hello Gustav, that's correct (to much on my mind at the end of the year) But no i only get as result the records with code 326 and 327). William mentioned: "Join the table to a select query whose only criterion is code =25" -- i tried this, but i still only have the records with code 326 and 327. What is wrong? (more and more on my mind!!) Pedro In antwoord op: > From: "Gustav Brock" > To: > Date: Thu, 29 Dec 2011 15:17:53 +0100 > Subject: Re: [AccessD] query select in column > > > Hi Pedro > > Shouldn't last line read: > > tbl1.pat = tbl2.pat where tbl2.code in (326,327); > > /gustav > > > >>> pedro at plex.nl 29-12-2011 14:54 >>> > Hello William, > > I made a second table with only the code=325 records in it. > But i get an syntax-error when using the query; > > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner > join (select distinct pat from tbldialysis where code=325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327); > > i can't figure out why (after correction of misspelled words? > > What am i doing wrong? > > Pedro > > > > > In antwoord op: > > > From: William Benson > > To: Access Developers discussion and problem solving > > Date: Thu, 29 Dec 2011 07:53:46 -0500 > > Subject: Re: [AccessD] query select in column > > > > > > Join the table to a select query whose only criterion is code =25. > > > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > > join (select distict pat from tbldialysis where code= 325) as tbl1 on > > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > > On Dec 29, 2011 6:59 AM, wrote: > > > > > Dear list. > > > > > > i have a table with patients. > > > > > > tblDialysis > > > > > > Pat OpenDate Code > > > 1 01-01-2011 325 > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > 5 09-09-2011 326 > > > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > > > > result > > > > > > Pat OpenDate Code > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > > > > any idea's > > > > > > Pedro > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From vbacreations at gmail.com Thu Dec 29 09:22:56 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 29 Dec 2011 10:22:56 -0500 Subject: [AccessD] query select in column In-Reply-To: References: Message-ID: <001501ccc63d$c1a60750$44f215f0$@gmail.com> Yep.. air code at 5AM while not having slept at night can do that to ya! Thanks Gustav. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 29, 2011 9:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] query select in column Hi Pedro Shouldn't last line read: tbl1.pat = tbl2.pat where tbl2.code in (326,327); /gustav >>> pedro at plex.nl 29-12-2011 14:54 >>> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro In antwoord op: > From: William Benson > To: Access Developers discussion and problem solving > Date: Thu, 29 Dec 2011 07:53:46 -0500 > Subject: Re: [AccessD] query select in column > > > Join the table to a select query whose only criterion is code =25. > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > join (select distict pat from tbldialysis where code= 325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > On Dec 29, 2011 6:59 AM, wrote: > > > Dear list. > > > > i have a table with patients. > > > > tblDialysis > > > > Pat OpenDate Code > > 1 01-01-2011 325 > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > 5 09-09-2011 326 > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > result > > > > Pat OpenDate Code > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > > > any idea's > > > > Pedro -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, you'll notice that Access won't build a query like that. Instead you'll get this from Access: Select tblEmployees.FirstName, tblEmployees.LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Okay, just tested it. When you don't have a duplicate, you refer to the field in the recordset as just the field name. When you DO have a duplicate, I guessed right, you refer to it as tblTable.fldField. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, January 26, 2003 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] internal recordset field names Suppose two tables contain the same field name and you base a recordset on those two tables and include both fields -- how does the recordset name (or identify) the two fields? I know I can use As to alias them both, but how would I refer to these fields within the recordset if I didn't? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Custom Formats Custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null values. For example, you could use the following custom Currency format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null" This number format contains four sections separated by semicolons and uses a different format for each section. If you use multiple sections but don't specify a format for each section, entries for which there is no format either will display nothing or will default to the formatting of the first section. HTH, Stephen > I have a report that displays monetary fields with a 'Standard' > format, 2 decimal places. > > Currently it is showing negative numbers as -1,234.00 > > How can I make this display (1,234.00)? > > I know this can be done if the field is formatted as Currency, but > the client doesn't want to see the dollar sign. > > > > Any ideas? > > > > Thanks, > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc > > From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Custom Formats Custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null values. For example, you could use the following custom Currency format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null" This number format contains four sections separated by semicolons and uses a different format for each section. If you use multiple sections but don't specify a format for each section, entries for which there is no format either will display nothing or will default to the formatting of the first section. HTH, Stephen > I have a report that displays monetary fields with a 'Standard' > format, 2 decimal places. > > Currently it is showing negative numbers as -1,234.00 > > How can I make this display (1,234.00)? > > I know this can be done if the field is formatted as Currency, but > the client doesn't want to see the dollar sign. > > > > Any ideas? > > > > Thanks, > > Mark Boyd > > Sr. Systems Analyst > > McBee Associates, Inc > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: power I was giving my users, and make a conscious effort to prevent them from doing things they were not authorized to do. Cascade delete is a tool that has little or no justifiable use in the hands of the end user. There are simply too many scenarios where people that have no business or understanding of the consequences, end up with the ability to delete stuff. Like your example, most of us use(d) it because we didn't think about it. There are ways around enabling it. Queries can be built that will delete the data. Objects can be set up that allow qualified users (supervisors) to delete things when necessary. And of course that is a lot of work. Cascade delete is "free". It's only cost is disaster in the wrong hands. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, February 08, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Cascade-delete (was: Estimating Help) I come a bit late to this thread (but that's not new for me). I've tried to follow it but it ain't always been easy. I am using cascade delete in an app for a client who rents audio visual equipment and am wondering if this is good design runs afoul of anybody's catechism on the subject: The Rental Agreement header has one to many relationship with several table : Equipment to be rented (with one-to-one with a CheckIn/CheckOut table) Items sold at retail Labor Sub-Rental Header (with its own detail records might be more - I forget. So in order to delete a rental agreement (which they want to do from time to time) either they have to go in and delete all the detail records first, or I give them cascade delete. They opted for cascade delete. I do give them a very clear warning message about what's going to be deleted and have them confirm. What say you all to this? Rocky Smolin Beach Access Software P.S. I though everybody was used to Colby's rhetorical style by this time. He's been quite - well relatively - civil on this subject. Try him on the phrases 'unbound form' and 'natural key'. From a distance, of course. :) ----- Original Message ----- From: "John W. Colby" To: Sent: Wednesday, February 05, 2003 10:39 AM Subject: RE: [AccessD] Cascade-delete (was: Estimating Help) > Aww grow up guys. > > I never said never. I stated very plainly that if everyone has the right to > delete the records then it doesn't matter. John then states (finally, in > the last email) that this is the case. So it doesn't matter (in this case). > > So where exactly is the beef? > > I don't give a rat's patuty if you turn on cascade delete for every table, > every time, in every database. To search around struggling to find exactly > the instance where it is useful is a waste of everyone's time. If it works > for you, and you don't get fired when records disappear who really cares. > In any event, you can always blame the user after all. "Hey, I warned > them". > > In any case, I certainly don't care, it isn't my database, nor my job on the > line. And I am not getting my users fired for not doing my job correctly. > > Sorry if that was "derisive" but really, look at what I said. I was very > very VERY clear in my statements. And I see no reason to modify any of > them. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: the Access 2000 Developer?s Handbook Volume 2, I gather that the answer is that record locking is a function of the database. So since an ADP bypasses Jet and goes straight through SQL Server OLE DB then it is true record level locking when accessing the data through a form within an ADP. So record locking when accessing data within a MDB via another MDB is page locking because of Jet (although I know Access 2000 and greater does allow for record locking if told to). ****Quick question on this then, if an MDB use linked ODBC tables to access data within a SQL database is page locking employed because it passes through Jet? I think my confusion on record locking employed when using an ADP was actually a result of what I was reading in the Access 2000 Developer?s Handbook Volume 2. It covers a great deal of Client Server development using MS Access in chapter 3. But what it doesn?t seem to mention much about in the client server chapter is ADP?s and how they differ from an MDB (there is some there but not a lot). Later in the book it provides a lot of information on ADP?s but it never really comes out and says some of what I was looking for. It does come out and say Optimistic locking but I didn?t get a clear picture that it was saying true record locking. I guess I was reading too much into it. If I?m mistaken please let me know but a bound form within an ADP to a SQL2000 database will employ true Optimistic record locking only on the current record. So in a data entry only environment (where no one works on the same records) there should not be much in the manner of record locking? To everyone who took the time to comment on this I appreciate your assistance immensely. Thank you very much. Bob __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?] Order By DateAssigned DESC); Good luck, Drew -----Original Message----- From: Eric Goetz [mailto:EricGoetz at egisystems.com] Sent: Monday, February 17, 2003 10:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] select most recent Hi Gustav, Thank you for taking up my question. That comes tantalizingly close. The trouble is that with the [ManagerID] in the GROUP BY, I end up with most of the managers that have been assigned to the territory prior to [DateSelect] instead of just the most recent one. If a manager had been in the territory more than once, only the most recent assignment is returned. So I do get some filtering. My sample data looks like this: ManagerID Territory ID DateAssigned 1 1 11/1/2002 2 1 12/1/2002 1 1 1/1/2003 3 2 1/1/2003 4 2 2/1/2003 For a report as of 1/31/2003, I am trying to get: ManagerID Territory ID DateAssigned 1 1 1/1/2003 3 2 1/1/2003 I use this: SELECT tblManagerAssignments.TerritoryID, tblManagerAssignments.MangerID, Max(tblManagerAssignments.DateAssigned) AS MaxOfDateAssigned FROM tblManagerAssignments WHERE (((tblManagerAssignments.DateAssigned)<=#1/31/2003#)) GROUP BY tblManagerAssignments.TerritoryID, tblManagerAssignments.MangerID; I end up with this: ManagerID Territory ID DateAssigned 2 1 12/1/2002 1 1 1/1/2003 3 2 1/1/2003 I could add a [DateCancelled] field, but I just don't feel right about a design that incorporates NULL fields. Maybe I could calculate the [DateCancelled] field. Got any more ideas? Thanks, Eric -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, February 17, 2003 2:16 AM To: Eric Goetz Subject: Re: [AccessD] select most recent Hi Eric That could be something like: PARAMETERS DateSelect DateTime; SELECT TerritoryID, ManagerID, Max(DateAssigned) AS DateAssigned FROM tblManagerAssignments WHERE (DateAssigned <= [DateSelect]) GROUP BY TerritoryID, ManagerID; This, of course, assumes that a territory is assigned to a specific manager until assigned to another. If assignment can be cancelled without reassignment, you'll need to add a new field, DateCancelled, and add to the Where statement: AND (DateCancelled Is Null OR DateCancelled > [DateSelect]) If you wish to list territories not assigned a manager, create a query with all territories and an outer join to the query above; those not assigned will have a Null for ManagerID. Vice versa for managers without a territory. Please note that ManagerID and TerritoryID will both be foreign keys. And, as you note later, strip the name fields etc. from this table. ------_=_NextPart_001_01C2D70F.32E95930 Content-Type: text/html; charset="iso-8859-1" Re: [AccessD] select most recent
Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you have below.  Then I used this SQL statement to produce the results you want:
 
Select ManagerID, TerritoryID, DateAssigned
From tblTest As T1
Where DateAssigned In
(Select Top 1 DateAssigned
From tblTest
Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?]
Order By DateAssigned DESC);
 
Good luck,
 
Drew
-----Original Message-----
From: Eric Goetz [mailto:EricGoetz at egisystems.com]
Sent: Monday, February 17, 2003 10:00 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] select most recent

Hi Gustav,

 

Thank you for taking up my question. That comes tantalizingly close. The trouble is that with the [ManagerID] in the GROUP BY, I end up with most of the managers that have been assigned to the territory prior to [DateSelect] instead of just the most recent one. If a manager had been in the territory more than once, only the most recent assignment is returned. So I do get some filtering.

 

My sample data looks like this:

 

ManagerID  Territory ID  DateAssigned

1                  1                11/1/2002

2                  1                12/1/2002

1                  1                  1/1/2003

3                  2                  1/1/2003

4                  2                  2/1/2003

 

For a report as of 1/31/2003, I am trying to get:

 

ManagerID  Territory ID  DateAssigned

1                  1                  1/1/2003

3                  2                  1/1/2003

 

I use this:

<SQL>

SELECT

  tblManagerAssignments.TerritoryID,

  tblManagerAssignments.MangerID,

  Max(tblManagerAssignments.DateAssigned) AS MaxOfDateAssigned

FROM tblManagerAssignments

WHERE (((tblManagerAssignments.DateAssigned)<=#1/31/2003#))

GROUP BY

  tblManagerAssignments.TerritoryID,

  tblManagerAssignments.MangerID;

</SQL>

 

I end up with this:

 

ManagerID  Territory ID  DateAssigned

2                  1                12/1/2002

1                  1                  1/1/2003

3                  2                  1/1/2003

 

I could add a [DateCancelled] field, but I just don't feel right about a design that incorporates NULL fields. Maybe I could calculate the [DateCancelled] field. Got any more ideas?

 

Thanks,

 

Eric

 

-----Original Message-----
From: Gustav Brock [mailto:gustav at cactus.dk]
Sent:
Monday, February 17, 2003 2:16 AM
To: Eric Goetz
Subject: Re: [AccessD] select most recent

 

Hi Eric

That could be something like:

<SQL>

PARAMETERS
  DateSelect DateTime;
SELECT
  TerritoryID,
  ManagerID,
  Max(DateAssigned) AS DateAssigned
FROM
  tblManagerAssignments
WHERE
  (DateAssigned <= [DateSelect])
GROUP BY
  TerritoryID,
  ManagerID;

</SQL>

This, of course, assumes that a territory is assigned to a specific
manager until assigned to another. If assignment can be cancelled
without reassignment, you'll need to add a new field, DateCancelled,
and add to the Where statement:

  AND
  (DateCancelled Is Null OR DateCancelled > [DateSelect])

If you wish to list territories not assigned a manager, create a query
with all territories and an outer join to the query above; those not
assigned will have a Null for ManagerID. Vice versa for managers
without a territory.

Please note that ManagerID and TerritoryID will both be foreign keys.
And, as you note later, strip the name fields etc. from this table.

------_=_NextPart_001_01C2D70F.32E95930-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where TerritoryID=3DT1.TerritoryID And DateAssigned<=3D[What Report Date would you like to use?] Order By DateAssigned DESC); =20 Good luck, =20 Drew =20 ------_=_NextPart_001_01C2D77F.2BDB4DEA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [AccessD] select most recent

Hi Drew,

 

Wow! It’s like magic. I would = never have come up with this, especially the part = “TerritoryID=3DT1.TerritoryID”. I still don’t really understand how it works. I’ve looked = through all my books, but it seems my library needs another book (to the = astonishment of my wife!) Will you please suggest a book that explains this type of = query?

 

Thanks,

 

Eric

 

-----Original = Message-----
From: Drew Wutka [mailto:DWUTKA at marlow.com]
Sent:
Monday, February 17, 2003 9:33 PM
To: = 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] = select most recent

 

Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you = have below.  Then I used this SQL statement to produce the results you = want:

 

Select = ManagerID, TerritoryID, DateAssigned
From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where DateAssigned In
(Select Top 1 DateAssigned
From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where TerritoryID=3DT1.TerritoryID And DateAssigned<=3D[What Report = Date would you like to use?]
Order By DateAssigned DESC);

 

Good = luck,

 

Drew

 

=00 ------_=_NextPart_001_01C2D77F.2BDB4DEA-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where DateAssigned In (Select Top 1 DateAssigned From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?] Order By DateAssigned DESC); Good luck, Drew ------_=_NextPart_001_01C2D79C.CFF73570 Content-Type: text/html; charset="iso-8859-1" Re: [AccessD] select most recent
Quite frankly I haven't touched a book about Access or even remotely computer related since I started using Access.  I had a 'basic' Access book, that I used to figure out where to start looking in the help files, and from then on....no more books.  (With one exception.  I did check out a book on C++ this past summer from the library....so that's 1 book (about computer stuff) in almost 5 years.).
 
 
Lately I have been doing more 'contributing' then asking, but I learn just as much as I contribute from just reading other posts.  For example, the proposed solution I gave you is something I have never done in any of my own projects.  It just so happens that I had a post on a similar issue on Woody's lounge, that i solved using the subquery method...which is something I just remember reading about somewhere (can't remember where to be truthful), so I looked it up in Access 97's help files, and whalla.  Right after I posted to the lounge, I read your last post, so I posted a modified version for you.
 
I am not recommending that you forsake 'book knowledge', I just can't give you any good titles.
 
Drew
-----Original Message-----
From: Eric Goetz [mailto:EricGoetz at egisystems.com]
Sent: Tuesday, February 18, 2003 12:55 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] select most recent

Hi Drew,

 

Wow! It's like magic. I would never have come up with this, especially the part "TerritoryID=T1.TerritoryID". I still don't really understand how it works. I've looked through all my books, but it seems my library needs another book (to the astonishment of my wife!) Will you please suggest a book that explains this type of query?

 

Thanks,

 

Eric

 

-----Original Message-----
From: Drew Wutka [mailto:DWUTKA at marlow.com]
Sent:
Monday, February 17, 2003 9:33 PM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] select most recent

 

Okay, I built tblTest.  It has ManagerID, TerritoryID and DateAssigned as you have below.  Then I used this SQL statement to produce the results you want:

 

Select ManagerID, TerritoryID, DateAssigned
From tblTest As T1
Where DateAssigned In
(Select Top 1 DateAssigned
From tblTest
Where TerritoryID=T1.TerritoryID And DateAssigned<=[What Report Date would you like to use?]
Order By DateAssigned DESC);

 

Good luck,

 

Drew

 

------_=_NextPart_001_01C2D79C.CFF73570-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: that resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: resets it to True in your error handler. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------=_NextPart_000_00E0_01C2D823.C3976890 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IisTAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgATAA4AIAAAAAMAIAEB A5AGADgKAAAkAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAAbAAAAW0FjY2Vzc0RdIExvc3QgV2FybmluZ3MuLi4AAAIBcQABAAAAFgAAAAHC 2E2sKl4yGGiplUKSg5VPVaMS7wsAAAIBHQwBAAAAIAAAAFNNVFA6SkNPTEJZQENPTEJZQ09OU1VM VElORy5DT00ACwABDgAAAABAAAYOAHhlkk3YwgECAQoOAQAAABgAAAAAAAAACzbtW7yqMkWQ5Nfi NltZxcKAAAALAB8OAQAAAAIBCRABAAAA2QUAANUFAAAiDAAATFpGdSUtnTsDAAoAcmNwZzEyNRYy APgLYG4OEDAzM08B9wKkA+MCAGNoCsBzsGV0MCAHEwKAfQqBknYIkHdrC4BkNAxgjmMAUAsDC7Ug VGgEkBRlJwQgdBPgIHZvAw3gFHBvZiBleHAvBnEJ8BTBAZBsEmFnIeAgIDstKQqiCoQKgIhKb2gD oFcuIAhQeGxieRakF+MX0QCAdaxsdBYRFqR3GfAuF+NVGPguBaBtFqotHCJPPQUQZwuAB0AF0AeQ c2EsZ2UcIxakRgNhOiAHANAUwAQQZC1hZG3RC4BAZGEBkWERIB8AlRIgcwWwcxsiIFsAwDEDEHRv Oh6PH59dT6kDoEJlEPBsFQBPFQBeQxDxCQACQBRwRghgc150FqQGYAIwHmBXCYBuEweQIhB5LCTA ZWJy5nUKwBjQMTkmcAHQD1CBJ1A6MjIgUE0WpB5UIRAediIPGyhTdWImagWQJbFSRR5gW0HBIUNE XSBMbyUAF6B/CsADAA8gIFAtIBaqFqREpQIgJwVAcHUFQEUQ4PhvID0TwCbAFHALgBRDjRUgaQVA AmBvY2secH8JACYQF8An8C7hMGEv1nLvA2AFwBDwEoBsBJAecAQgcHdlbGwmcAeQFUBjnQcxbBjQ BpAecG55FFD3FhEvwAQgZxSgNQEhAC7AkG9wIHU2EGEgB4GrHTIG4HgxQU8UUXID8aplJnB5CGAn M4AgJhB+djMBESAVsRRhNog0kWRfFEMDYC7gC4AUcHcug2ZnNCEUQTqBZ2g1shRSRb8wVy1LJD8b jxyfHaxCCXC/AkAjgArAKXI8ECC2QkKG2kABkHAz4RkBdCbAKzD+aQIgIxMK4yVmJyAXwDiQnGxq ANA2YCdjMTEnwNsBQCg3JyjPH/knKo8rn78srxaqI2AU0zkTTCJ2B0D/JtACYBRwMvAEEBkBFEFJ APwgSU+xTHEJgBRDEPE6IA53JlA1IjXBQUxXQR5ZBfAu0hRSLnBDbWT6LgZgdExmL3MmcFNULxPX L4M6AlNUSAhhZwtgBBF+RgdAESAvxjyoJnA0cW3/GNA6hgdAJKAREBRBTCAUcP8RIRlSIFAWUBPQ UGFRwViD/zBhBQBC0QeQJnAyHzNQAxD1AyBjULFuNjIBgDMBMGDrESAj0CEWqkU4khDwOJD/W/AE cTCCB+A2MQPwFFAvBNcRITWyVxM/FlBTRvAIgZtMMUjwbS/iNPJJJ2CBvTiGbl9LP29Afx3oRyTx r2BwQhEwsiC2Z2jTQEbww0rwJPAuZGtdJS8mP2EnRTM6MzURYCgZREsJcAfgVy7ga2FKTmVnS19M bxaqSGlusxaqPv9QgAIwE/ElABryYvEvQDRx+3CkW/xkMLBTgREhUcBUBf91ATDABCAv0XQmFFJq kmcRlzYARQJcYW4kgCBqJPH3MyI2YCSgbTXwQqAm8Q7xfzUQI6Bi4VCQB0BRwQQga+9sEAfgNcF0 JmJgkQrAARBvGTBhdFO5bHBiLuFQkGSeaWwALqEJcAdAaXovsftbMQhgbDogeEM7UANheNf/ESAE EEURNbKDNXIrHiIUQP8HcTwjhYI4AThhUQEwYBfA/kIu4FiBL+JaEkbwgzFscP9XIS9AIbA6IDZg gSA60VBD/3ThETB4kWJDL4Y4AQXAMlvtcisvahQWql+OL48/kAr/FqRwpTZwINE08oEgJQZwpQtI 7yBjaAJAcDovL9uTnxsxLyDCA4EvknILgN0CEC8hNRaka+BiAJAkoP8eYJTlGfKVXyBykA+cH5BP /5Ffkm+Tf5SPlZ+Wr5e/mM//ol+a76jfnQ+eH58voD+hT/+tj6NvpH+lj6afKjmp77ZP/6ovqz+s T61fKjmuz6/fsO//sf+zD7svLZxmCcQ/xU/GK/0WpEkEIHuQINEVwRYCFODvOJKLA2xBYuFNAHBn gYr024VzYYNlyZADEEJxQFrC/yglJvEwYQNQCeAWQcCJyvgLGzcR4QDPEAAAAB4AQhABAAAARQAA ADxFNjFGQzFENEIxOTE4MjQ0OTA1QjExM0M2ODBCRUE4NjI2RDNFOUBJTkZPU0VSVkVSMDEuaW5m b3N0YXQubG9jYWw+AAAAAAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwAigAggBgAA AAAAwAAAAAAAAEYAAAAAUoUAAHN5AQALAC+ACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMA MYAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAEYUA AAAAAAADADOACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAMATYAIIAYAAAAAAMAAAAAAAABG AAAAAAGFAAAAAAAAHgBsgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAbYAI IAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAACwCHgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEA AAACAfgPAQAAABAAAAALNu1bvKoyRZDk1+I2W1nFAgH6DwEAAAAQAAAACzbtW7yqMkWQ5NfiNltZ xQIB+w8BAAAAmAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB +b+4AQCqADfZbgAAAEQ6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcamNvbGJ5XExvY2FsIFNldHRp bmdzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUA AAADAA00/TcAAAIBfwABAAAAOgAAADxEQ0VGSkFPRU5NTkVOTEFBT0ZHUEVFR0pDUEFBLmpjb2xi eUBjb2xieWNvbnN1bHRpbmcuY29tPgAAAAMABhC/r+REAwAHEAMIAAADABAQAAAAAAMAERAAAAAA HgAIEAEAAABlAAAAVEhFUkVTVEhFVk9JQ0VPRkVYUEVSSUVOQ0VUQUxLSU5HOy0pSk9ITldDT0xC WUNPTEJZQ09OU1VMVElOR1dXV0NPTEJZQ09OU1VMVElOR0NPTS0tLS0tT1JJR0lOQUxNRVNTQQAA AAAw4w== ------=_NextPart_000_00E0_01C2D823.C3976890-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her hair glistened in the rain like nose hair after a sneeze.


Her eyes were like two brown circles with big black dots in the centre.


Her vocabulary was as bad as, like, whatever.


He was as tall as a six-foot-three-inch tree.


The hailstones leaped from the pavement, just like maggots when you fry
them in hot grease.


Long separated by cruel fate, the star-crossed lovers raced across the
grassy field toward each other like two freight trains, one having left
Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 p.m. at a speed of 35 mph.


The politician was gone but unnoticed, like the full stop after the Dr.
on a Dr Pepper can.


John and Mary had never met. They were like two hummingbirds who had
also never met.


The thunder was ominous sounding, much like the sound of a thin sheet of
metal being shaken backstage during the storm scene in a play.


The red brick wall was the colour of a brick-red crayon.


He fell for her like his heart was a mob informant and she was the East
River.


Even in his last years, Grandpa had a mind like a steel trap, only one
that had been left out so long, it had rusted shut.


The plan was simple, like my brother-in-law Phil. But unlike Phil, this
plan just might work.


The young fighter had a hungry look, the kind you get from not eating
for a while.


Her artistic sense was exquisitely refined, like someone who can tell
butter from I Can't Believe It's Not Butter.


She had a deep, throaty, genuine laugh like that sound a dog makes just
before it throws up.


It came down the stairs looking very much like something no one had ever
seen before.


The ballerina rose gracefully en pointe and extended one slender leg
behind her, like a dog at a fire hydrant.


It was an American tradition, like fathers chasing kids around with
power tools.


She was as easy as the "TV Guide" crossword.


She grew on him like she was a colony of E. coli and he was
room-temperature beef.


She walked into my office like a centipede with 98 missing legs.


It hurt - the way your tongue hurts after you accidentally staple it to
the wall.


Andy Lacey
Click to bookmark this address http://www.minstersystems.co.uk

Analogies and Metaphors Found in School Essays, stupid but funny:


His thoughts tumbled in his head, making and breaking alliances like
underpants in a dryer without Cling Free.


He spoke with the wisdom that can only come from experience, like a guy
who went blind because he looked at a solar eclipse without one of those
boxes with a pinhole in it and now goes around the country speaking at
high schools about the dangers of looking at a solar eclipse without one
of those boxes with a pinhole in it.


The little boat gently drifted across the pond exactly the way a bowling
ball wouldn't.


From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her hair glistened in the rain like nose hair after a sneeze.


Her eyes were like two brown circles with big black dots in the centre.


Her vocabulary was as bad as, like, whatever.


He was as tall as a six-foot-three-inch tree.


The hailstones leaped from the pavement, just like maggots when you fry
them in hot grease.


Long separated by cruel fate, the star-crossed lovers raced across the
grassy field toward each other like two freight trains, one having left
Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 p.m. at a speed of 35 mph.


The politician was gone but unnoticed, like the full stop after the Dr.
on a Dr Pepper can.


John and Mary had never met. They were like two hummingbirds who had
also never met.


The thunder was ominous sounding, much like the sound of a thin sheet of
metal being shaken backstage during the storm scene in a play.


The red brick wall was the colour of a brick-red crayon.


He fell for her like his heart was a mob informant and she was the East
River.


Even in his last years, Grandpa had a mind like a steel trap, only one
that had been left out so long, it had rusted shut.


The plan was simple, like my brother-in-law Phil. But unlike Phil, this
plan just might work.


The young fighter had a hungry look, the kind you get from not eating
for a while.


Her artistic sense was exquisitely refined, like someone who can tell
butter from I Can't Believe It's Not Butter.


She had a deep, throaty, genuine laugh like that sound a dog makes just
before it throws up.


It came down the stairs looking very much like something no one had ever
seen before.


The ballerina rose gracefully en pointe and extended one slender leg
behind her, like a dog at a fire hydrant.


It was an American tradition, like fathers chasing kids around with
power tools.


She was as easy as the "TV Guide" crossword.


She grew on him like she was a colony of E. coli and he was
room-temperature beef.


She walked into my office like a centipede with 98 missing legs.


It hurt - the way your tongue hurts after you accidentally staple it to
the wall.


Andy Lacey
Click to bookmark this address http://www.minstersystems.co.uk




_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
Click to bookmark this address http://databaseadvisors.com/mailman/listinfo/accessd
Website: Click to bookmark this address http://www.databaseadvisors.com


_____________________________________________________________
Global Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com
----=0F30FCA5F30B42FE97A7_1442_06F9_DB50-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey Click to bookmark this address http://www.minstersystems.co.uk Analogies and Metaphors Found in School Essays, stupid but funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left out so long, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. Andy Lacey Click to bookmark this address http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com Click to bookmark this address = http://databaseadvisors.com/mailman/listinfo/accessd Website: Click to bookmark this address http://www.databaseadvisors.com _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com ------_=_NextPart_001_01C2D9D1.0C7AAD16 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
You=20 betcha!
 

Rick Ehlers
Energy Merchant Business Unit
=
Power Transactions & Regulatory=20 Settlements
4th & = Main - Room=20 540A
Phone: (513) = 287-3406=20
EMail: = rhehlers at cinergy.com=20

-----Original Message-----
From: = budge at magicaldesk.com=20 [mailto:budge at magicaldesk.com]
Sent: Friday, February 21, = 2003 12:39=20 PM
To: accessd at databaseadvisors.com
Subject: Re: = RE:=20 [AccessD] OT Friday Analogies

Not to mention Uff = Da and=20 the ubiquitous =3D wanna go with?=20 =

;-)

Pamela


************************************= ************************
BBarabash at tappeconstruction.com=20 wrote on=20 = 2/21/2003
************************************************************=
Or=20 there is the Minnesota variant, Doncha know?

-----Original=20 Message-----
From: Charlotte Foust=20 [mailto:cfoust at infostatsystems.com]
Sent: Friday, February 21, 2003 = 11:15=20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT = Friday=20 Analogies


Hah! "Y'know" was *invented* in the San Fernando = valley=20 in Southern
California. I believe you Brits have your own version, = a=20 contraction of
"do you know" as well, but the rest of that "like,=20 whatever", etc. is
pure valley-speak!

Charlotte=20 Foust

-----Original Message-----
From: = andy at minstersystems.co.uk=20 [mailto:andy at minstersystems.co.uk]
Sent: Friday, February 21, 2003 = 8:57=20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT = Friday=20 Analogies


My favourite too, although I thought it lacked a = "y'know"=20 or is that
just an epidemic over here?

Andy Lacey
http://www.minstersystems.co.uk

-- Original = Message=20 --
From: Charlotte Foust
To:=20 accessd at databaseadvisors.com
Send: 2003-02-21
Subject: RE: = [AccessD] OT=20 Friday Analogies

>>Her vocabulary was as bad as, like,=20 whatever.

I LOVED that one!! :o}

Charlotte=20 Foust

-----Original Message-----
From: Andy Lacey=20 [mailto:andy at minstersystems.co.uk]

Sent: Thursday, February 20, = 2003=20 11:49 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] OT = Friday=20 Analogies



Analogies and Metaphors Found in School = Essays,=20 stupid but funny:


His thoughts tumbled in his head, making = and=20 breaking alliances like
underpants in a dryer without Cling=20 Free.


He spoke with the wisdom that can only come from = experience,=20 like a guy
who went blind because he looked at a solar eclipse = without one=20 of those
boxes with a pinhole in it and now goes around the country = speaking at
high schools about the dangers of looking at a solar = eclipse=20 without one
of those boxes with a pinhole in it.


The = little boat=20 gently drifted across the pond exactly the way a bowling
ball=20 wouldn't.


From the attic came an unearthly howl. The whole = scene=20 had an eerie,
surreal quality, like when you're on vacation in = another city=20 and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her = hair=20 glistened in the rain like nose hair after a sneeze.


Her = eyes were=20 like two brown circles with big black dots in the = centre.


Her=20 vocabulary was as bad as, like, whatever.


He was as tall as = a=20 six-foot-three-inch tree.


The hailstones leaped from the = pavement,=20 just like maggots when you fry
them in hot grease.


Long=20 separated by cruel fate, the star-crossed lovers raced across = the
grassy=20 field toward each other like two freight trains, one having = left
Cleveland=20 at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 = p.m. at a=20 speed of 35 mph.


The politician was gone but unnoticed, = like the=20 full stop after the Dr.
on a Dr Pepper can.


John and = Mary had=20 never met. They were like two hummingbirds who had
also never=20 met.


The thunder was ominous sounding, much like the sound = of a=20 thin sheet of
metal being shaken backstage during the storm scene = in a=20 play.


The red brick wall was the colour of a brick-red=20 crayon.


He fell for her like his heart was a mob informant = and she=20 was the East
River.


Even in his last years, Grandpa had = a mind=20 like a steel trap, only one
that had been left out so long, it had = rusted=20 shut.


The plan was simple, like my brother-in-law Phil. But = unlike=20 Phil, this
plan just might work.


The young fighter had a = hungry=20 look, the kind you get from not eating
for a while.


Her = artistic=20 sense was exquisitely refined, like someone who can tell
butter = from I=20 Can't Believe It's Not Butter.


She had a deep, throaty, = genuine=20 laugh like that sound a dog makes just
before it throws = up.


It=20 came down the stairs looking very much like something no one had = ever
seen=20 before.


The ballerina rose gracefully en pointe and = extended one=20 slender leg
behind her, like a dog at a fire hydrant.


It = was an=20 American tradition, like fathers chasing kids around with
power=20 tools.


She was as easy as the "TV Guide" = crossword.


She=20 grew on him like she was a colony of E. coli and he = was
room-temperature=20 beef.


She walked into my office like a centipede with 98 = missing=20 legs.


It hurt - the way your tongue hurts after you = accidentally=20 staple it to
the wall.


Andy Lacey
http://www.minstersystems.co.uk

Analogies and = Metaphors=20 Found in School Essays, stupid but funny:


His thoughts = tumbled in=20 his head, making and breaking alliances like
underpants in a dryer = without=20 Cling Free.


He spoke with the wisdom that can only come = from=20 experience, like a guy
who went blind because he looked at a solar = eclipse=20 without one of those
boxes with a pinhole in it and now goes around = the=20 country speaking at
high schools about the dangers of looking at a = solar=20 eclipse without one
of those boxes with a pinhole in = it.


The=20 little boat gently drifted across the pond exactly the way a = bowling
ball=20 wouldn't.


From the attic came an unearthly howl. The whole = scene=20 had an eerie,
surreal quality, like when you're on vacation in = another city=20 and
"Jeopardy" comes on at 7:00 pm instead of 7:30.


Her = hair=20 glistened in the rain like nose hair after a sneeze.


Her = eyes were=20 like two brown circles with big black dots in the = centre.


Her=20 vocabulary was as bad as, like, whatever.


He was as tall as = a=20 six-foot-three-inch tree.


The hailstones leaped from the = pavement,=20 just like maggots when you fry
them in hot grease.


Long=20 separated by cruel fate, the star-crossed lovers raced across = the
grassy=20 field toward each other like two freight trains, one having = left
Cleveland=20 at 6:36 p.m. travelling at 55 mph, the other from Topeka at
4:19 = p.m. at a=20 speed of 35 mph.


The politician was gone but unnoticed, = like the=20 full stop after the Dr.
on a Dr Pepper can.


John and = Mary had=20 never met. They were like two hummingbirds who had
also never=20 met.


The thunder was ominous sounding, much like the sound = of a=20 thin sheet of
metal being shaken backstage during the storm scene = in a=20 play.


The red brick wall was the colour of a brick-red=20 crayon.


He fell for her like his heart was a mob informant = and she=20 was the East
River.


Even in his last years, Grandpa had = a mind=20 like a steel trap, only one
that had been left out so long, it had = rusted=20 shut.


The plan was simple, like my brother-in-law Phil. But = unlike=20 Phil, this
plan just might work.


The young fighter had a = hungry=20 look, the kind you get from not eating
for a while.


Her = artistic=20 sense was exquisitely refined, like someone who can tell
butter = from I=20 Can't Believe It's Not Butter.


She had a deep, throaty, = genuine=20 laugh like that sound a dog makes just
before it throws = up.


It=20 came down the stairs looking very much like something no one had = ever
seen=20 before.


The ballerina rose gracefully en pointe and = extended one=20 slender leg
behind her, like a dog at a fire hydrant.


It = was an=20 American tradition, like fathers chasing kids around with
power=20 tools.


She was as easy as the "TV Guide" = crossword.


She=20 grew on him like she was a colony of E. coli and he = was
room-temperature=20 beef.


She walked into my office like a centipede with 98 = missing=20 legs.


It hurt - the way your tongue hurts after you = accidentally=20 staple it to
the wall.


Andy Lacey
http://www.minstersystems.co.uk




______= _________________________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com
______________________= _________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com
______________________= _________________________
AccessD=20 mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
W= ebsite:=20 http://www.databaseadvisors.com


______________= _______________________________________________
Global=20 Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com
------_=_NextPart_001_01C2D9D1.0C7AAD16-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: There are two kinds of strings: variable-length and fixed-length strings. A variable-length string can contain up to approximately 2 billion (2^31) characters. A fixed-length string can contain 1 to approximately 64K (2^16) characters. In a application I use a text file is placed into a string variable defined by Public myString as String. I was under the impression that this line defined a variable length string, but ran into a text file of approximately 5mb. This file would not fit. The file contains less than 100k characters. So I asked around the office and was told that actually the variable length string with 2bill char limit referenced here is for VB only, and that VBA has a hard limit of 64K chars. The actual error is: Run Time Error 14: (out of string space) Can anyone confirm this, or have any thoughts on the subject? From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: There are two kinds of strings: variable-length and fixed-length strings. A variable-length string can contain up to approximately 2 billion (2^31) characters. A fixed-length string can contain 1 to approximately 64K (2^16) characters. In a application I use a text file is placed into a string variable defined by Public myString as String. I was under the impression that this line defined a variable length string, but ran into a text file of approximately 5mb. This file would not fit. The file contains less than 100k characters. So I asked around the office and was told that actually the variable length string with 2bill char limit referenced here is for VB only, and that VBA has a hard limit of 64K chars. The actual error is: Run Time Error 14: (out of string space) Can anyone confirm this, or have any thoughts on the subject? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------=_NextPart_000_0028_01C2DD7E.0B894B00 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IiIPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgAaAAoAAQAAAAMABAEB A5AGABgJAAAkAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAA4AAAAW0FjY2Vzc0RdIHZhcmlhYmxlIHN0cmluZyBsZW5ndGggdnMgZml4ZWQg c3RyaW5nIGxlbmd0aAACAXEAAQAAABYAAAABwt2n9Ajl+zp2U3VFOKm5CB+NrzWFAAACAR0MAQAA ACAAAABTTVRQOkpDT0xCWUBDT0xCWUNPTlNVTFRJTkcuQ09NAAsAAQ4AAAAAQAAGDgCekt+n3cIB AgEKDgEAAAAYAAAAAAAAAAs27Vu8qjJFkOTX4jZbWcXCgAAACwAfDgEAAAACAQkQAQAAAK0EAACp BAAAKwgAAExaRnWp9rxnAwAKAHJjcGcxMjUWMgD4C2BuDhAwMzNPAfcCpAPjAgBjaArAc7BldDAg BxMCgH0KgZJ2CJB3awuAZDQMYB5jAFALAwu1BdB5IHTiaAhgZ2h0BCACIBPxQGUgc3ViagWQdMou FXAgB3BhZwuAFOCpANB0dQdAbBPgYQQQDGlnAwAPICAyIGL5AxBsaRSREOIWMQSQBCDsdG8WIBTw dAUQDyAVkLQgQwOReQhgFPBhE+BhA+BhcCBmAxAU4G/GdgSQDvBvdz8KogqEEQqAOy0pG4pKb2iN A6BXFZAIUGxieRuExx2zHaEAgHVsdBchG4Radx/ALh2zHsguBaBt9RuKLSHyTwUQFeEHQAXQsweQ GhBnZSHzG4RGA2EKOhYhYyLhZC1hZGJtC4BAZGEBkRbAZask0BIgcwWwcyD4WwDAmwMQGLA6JF8l b11PA6AEQmUQ8GxmIE9mFxuEFpAawC4Q8G5udVRtQAWgLhpgayrQbvhjLnUQsBuTBmACMCQwHlcJ gBYAJ6AaICwgRihlYnIWYHIT4DI2xy2AAdAPUCA5Og5AEWB6TRuEVCcwJEYoLyD4UxMVFCQwW0En Y0RdIL52CsAHMAJgFOEZEyAawN8PIBQAMxAEIBqgeAmAM6yzG4obhEhpFiAWgCwbij8j8hFgJ2Mu YhFQFNBscHo6G4pUFNAJcBYgOpF0vncYwBJiFHEqABkEcyQw/TMmLTQlAHA1ADTDPOY71douG4RB PF8ztWMDkQWgMwIwC3EgdRqAGLJwcD0DYHgVsRhgFpEXaCgy+F4zMRxlGAg+5z2vQL1CMUHPIDY0 S0NyMdw2KRf5PuUbhEkDoBjg30IBF7BA4B8gFJFJQZARILsY0RhgeAVAGqMEACALUf8ncDUAC4AY uTMYAQEV8QsxGxuiHeZQFRBLQSBtef5TM8QWwAYAGRQbikvBGmD9BCB1EoAEkBSzB3BCICLh/xfC FAAwYBPxTPEXsBYBTwWfGNEzJzWaGQQtgGJ1BUC/GDADoE2VTFg7oUIMNQbQfxWQOmBM8RqjOxAf ADUAbvxvdBuEGqAVYFqxFOAao79BJVTxOMJUcUdRLoBrSUr/BgAYwEvQFsArsFXBA2BTIf8UshuE O6AaoCdwPVNS4hiw/1uRVHMWNxTCVg0zpgPwNGH+MheCQ+hVASfwV/EBEDqBnyvgNPE6c1riBbFW QhSB/xaQLYA9YlRzaBA/UBDwBCD/GOAQ8TUAZkQ7oBuESKIQ4/dJ+1yiFjQgBJADYAXABACdOZVS UyBasAdxIEVtI3QxNCQwKAhgamIzpnP/CrAncBxrGZIAcBnQFgFBIf0aoHI4cFTCLYAFsRDwGwDv cXIT/xUFG3tfdd9273e6/z71MqRQsCbxM+MEAFvlMpWXME8g+HPgdDmALy97T+0hAS8m4gOBL3oi C4ACEO4vJ1UbhCzwYgCQGGAkMP985R/CfV8hDSE/hM+F34a7+0plBCBlJuJzgCugFyIa8tcZwgXA LVE/GXBNAHAjEW+JZB8gbmFk82WKIAMQQv5vBBAZYS81LgFmcQNQCeC+IRlwgRmLiCEHEeEAj6AA AAAeAEIQAQAAADgAAAA8T0YwMTBDQ0NBRi4zRjAwQkU4NS1PTjg1MjU2Q0Q5LjAwNEZDODUzQGNv Lndha2UubmMudXM+AAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwAigAggBgAAAAAA wAAAAAAAAEYAAAAAUoUAAHN5AQALAC+ACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMAMYAI IAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAA AAADADOACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAMATYAIIAYAAAAAAMAAAAAAAABGAAAA AAGFAAAAAAAAHgBsgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAbYAIIAYA AAAAAMAAAAAAAABGAAAAAAaFAAAAAAAACwCHgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEAAAAC AfgPAQAAABAAAAALNu1bvKoyRZDk1+I2W1nFAgH6DwEAAAAQAAAACzbtW7yqMkWQ5NfiNltZxQIB +w8BAAAAmAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB+b+4 AQCqADfZbgAAAEQ6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcamNvbGJ5XExvY2FsIFNldHRpbmdz XEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUAAAAD AA00/TcAAAIBfwABAAAAOgAAADxEQ0VGSkFPRU5NTkVOTEFBT0ZHUENFRUVEQUFBLmpjb2xieUBj b2xieWNvbnN1bHRpbmcuY29tPgAAAAMABhA4570cAwAHEGQFAAADABAQAAAAAAMAERAAAAAAHgAI EAEAAABlAAAATVlUSE9VR0hUU09OVEhFU1VCSkVDVElNQUdJTkVBQ1RVQUxMWUFTU0lHTklORzJC SUxMSU9OQ0hBUkFDVEVSU1RPQVNUUklOR0NBTllPVVNBWVNXQVBGSUxFT1ZFUkZMT1c/OwAAAAAy eQ== ------=_NextPart_000_0028_01C2DD7E.0B894B00-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Error 49: "Bad DLL calling convention" can occur for no apparent reason. Sometimes commenting the code where the error occurs, compiling, then uncommenting that code, and recompile again fixes this problem, at least for a while. However other times only a /decompile will fix this problem. Martin Quoting Charlotte Foust : > This problem has been haunting us ever since we started working with > Windows 2000 but it really annoys in Windows XP. I wasn't able to > track > it down in Access 97 and I still can't in Access XP, but at least I > can > see it now. I realize it has to be related to a declared function but > I > can't see that any of them we use in reattaching tables is passing the > wrong kind of parameter. Has anyone else tackled and solved this? > > Charlotte Foust > > From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: gets an object pointer to the correct printer, and Set Application.Printer = prt then activates that printer as the new application default. Kind of like getting a record bookmark and then resetting it back when you're done. Seth On Fri, 2003-02-28 at 09:26, Susan Harkins wrote: > OK, wait a minute -- apparently, I'm missing a gear or two. > > Dim prt As Access.Printer > Set prt = Application.Printers(lngPrinter) > > isn't the same as > > Set Application.Printer = prt > > ???? > > Susan H. > > > ----- Original Message ----- > From: "Mike and Doris Manning" > To: > Sent: Friday, February 28, 2003 10:14 AM > Subject: RE: [AccessD] more on printing > > > > Your problem is that you haven't actually changed the default printer. > You > > need to add the line below just before you open the report. > > > > Set Application.Printer = prt > > > > And it is strongly recommended that you hold the default printer somewhere > > so you can easily switch it back to being the default. > > > > Doris Manning > > Database Administrator > > Hargrove Inc. > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins > > Sent: Friday, February 28, 2003 10:07 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] more on printing > > > > > > OK, I've done that. > > > > Dim prt As Access.Printer > > Dim strReport As String > > Dim strPrinter As String > > Dim lngPrinter As Long > > lngPrinter = cboPrinter > > strReport = cboReport > > Set prt = Application.Printers(lngPrinter) > > prt.Orientation = fraOrientation > > prt.Copies = txtCopies > > prt.PaperSize = cboPaperSize > > DoCmd.OpenReport strReport, acViewNormal > > > > Now, I've installed a few printers, but I only actually have one and the > > above always sends to the actual (default) printer, even if I select one > of > > the others -- I expected an error. In addition, if I do a preview, I don't > > see the changes in orientation, etc. that I might have selected. So, I'm > > doing something wrong. I'm wondering if Access is smart enough to know I > > don't really have that printer connected, and so it just ignores > everything > > -- but then, I'd still expect an error. > > > > Thanks for your help Doris. > > Susan H. > > > > ----- Original Message ----- > > From: "Mike and Doris Manning" > > To: > > Sent: Friday, February 28, 2003 8:37 AM > > Subject: RE: [AccessD] more on printing > > > > > > > Once you change the Application.Printer, you open and print the report > > just > > > like you normally would. > > > > > > Doris Manning > > > Database Administrator > > > Hargrove Inc. > > > www.hargroveinc.com > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins > > > Sent: Thursday, February 27, 2003 11:34 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] more on printing > > > > > > > > > After setting all the appropriate Printer properties and choosing a > > > nondefault printer, how do you actually print a report? Will the > > OpenReport > > > method print to the set printer or always print to the default > > > printer? > > > > > > Susan H. > > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The catapults on carriers are tested by shooting a heavy steel device = off the deck. This device has wheels, is about the size of a VW bug, and = just like a VW, it floats (so it can be retrieved and used again). This test = is usually done in a shipyard after the water area in front of the carrier = is cleared and 'quarantined'. Dan > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]=20 > Sent: Friday, February 28, 2003 11:47 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: for Friday - the fine art of anvil > shooting >=20 > http://www.wikipedia.org/wiki/Aircraft_carrier >=20 > Aircraft carriers have two basic configurations. The most common has a > flat top deck that serves as a take-off and landing area for = airplanes. A > steam-powered catapult accelerates an aircraft under full throttle, = from 0 > to 165 mph in 2 seconds during take-off to help it reach take-off = speed.=20 >=20 > John W. Colby > Colby Consulting > www.ColbyConsulting.com >=20 > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Friday, February 28, 2003 12:30 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: for Friday - the fine art of anvil shooting >=20 >=20 > The US Navy's Aircraft carriers (at least most of them), have a steam > powered catapult system. It is an extremely powerful mechanism, which > launches a jet from a stand still to speeds close to several hundred = miles > an hour (don't know the exact specs off the top of my head....) in a > distance of probably less then 100 feet. >=20 > I personally have never seen proof, but rumors abound that all sorts = of > things have been used to 'test' those catapults. (I've heard of vw = bugs, > and various other 'heavy' objects). >=20 > Drew >=20 > -----Original Message----- > From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] > Sent: Friday, February 28, 2003 10:34 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: for Friday - the fine art of anvil shooting >=20 >=20 > That's great! Once on TV I saw this story about this old British > landowner > whose hobby is hurling objects from his giant catapult. They showed = him > launching a Volkswagen and a burning piano. His dream is to one day = get a > catapult powerful enough to throw a double decker bus. Great fun! >=20 >=20 > Mark Whittinghill > Symphony Information Services > Minneapolis, Minnesota > Email: mark at symphonyinfo.com > Phone: 612-333-1311 > ----- Original Message ----- > From: "Seth Galitzer" > To: "accessd" > Sent: Friday, February 28, 2003 9:34 AM > Subject: [AccessD] OT: for Friday - the fine art of anvil shooting >=20 >=20 > > Been chuckling at this today. It's almost too funny to believe. > > > > Detailed info and history > > http://ncollier.com/anvils.htm > > > > Good pictures of actual shooting > > http://members.sockets.net/~mbollinger/ > > > > The funny part is that they are so serious about it. > > > > Happy Friday! > > > > Seth > > > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >=20 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >=20 >=20 >=20 > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. =20 > Try it free! http://www.eMailBoss.com ------=_NextPart_000_0016_01C2DF23.3F3766C0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IicSAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgAcAAwADgAAAAUAFwEB A5AGAIwPAAAsAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAA6AAAAW0FjY2Vzc0RdIE9UOiBmb3IgRnJpZGF5IC0gdGhlIGZpbmUgYXJ0IG9m IGFudmlsIHNob290aW5nAAAAAgFxAAEAAAAbAAAAAcLfUXKljoud9zadTO+/tPEAzhuk0wAAtvsg AAIBHQwBAAAAHAAAAFNNVFA6RFdBVEVSU0BVU0lOVEVSTkVULkNPTQALAAEOAAAAAEAABg4A5J0q Vd/CAQIBCg4BAAAAGAAAAAAAAAArhZLEdePBEZyZLk5d5TuIwoAAAAMAFA4AAAAACwAfDgEAAAAe ACgOAQAAACUAAAAwMDAwMDAwMQFkd2F0ZXJzQHVzaW50ZXJuZXQuY29tAUhvbWUAAAAAHgApDgEA AAAlAAAAMDAwMDAwMDEBZHdhdGVyc0B1c2ludGVybmV0LmNvbQFIb21lAAAAAAIBCRABAAAAmAoA AJQKAACcGAAATFpGdeFB330DAAoAcmNwZzEyNRYyAPgLYG4OEDAzM08B9wKkA+MCAGNoCsBz8GV0 MCAHEwKDAFAQZhhwcnEOUBDYVGFomwNxAoB9CoAIyCA7CW/tDjA1AoAUMioJsAnwBJDUYXQFsVIN 4GgJgAHQACA1LjQwLjExmC4yMg9AAoBcdgiQpHdrC4BkNAxgYwBQTQsDYxICC8QgRgNhICRteQew YXYbQGRhuHlzOgqiCoQKgFQXoAQgYxcgYXB1bHT3BCACIBzxcgiCBCAKwBzgRnQHkB6gZCBiG0Bz qRPAb3QLgGceUCAXoLsbch7BZQMgAQAY8GMc4B5vASAekBzRBYFrLiC9E5BoBAAgphDwBCB3F6Dx IIBzLCAiMQGgCGAFQJshYgCQeiECH8FWVx8AnHVnI3AAcB7wanUewPAgbGlrHOAk4iNxBUCNDvBv FyAEIChzbyayWx0AA6BiHOAJcHQIgXavHuElgiXQKLJnC3EpIebXHqIjgiXQdQdAbBuRAiDfHOAL gB/BH0AFIHkLER5Q9wGABJAhU3cXICyxHmEf0H8roQNRAjAkoiFiHdUjgmPObCAACXElcydxKvAX EKcCMAuACYAnLhwKRABw5xwKCvQmEDM2AUAaIAFA1xKwH3AFkHQL0jQh8BH0UDE2IC01Qk8FEGev C4AHQAXQB5BzKXBlNUMfHAYz5DOxCxMz5mktMcY0GCAzITE4MAFADNC1OONiGtM6AzAMkmIRUAcA 0CDwBBBkLWFkbb0LgEAbsAGRIuAgAGQY8NsncBEQLgWgGxBbAfEIkGxsZBaSDvBkC4AewHsASFlQ RVJMSU64SyAiAMADEBcwOjsf/TwvIhQQAfE9oBEQHWAAAP8dUBoSGyA/T0BfPNQUEBjQ/TTGXQrj CoE6EAZgAjAb8Bs6pRrgaRuxI3BGZWLmcjBhG0AyOCNwAdAPUKIgGFA6NDcRYE1Ghz5UQ2A6nURf PPJGiHViJmo0EUdXUkU6cFtB5UOTREZgT1Q6cAIQBcD/R+Q1MCFTOLArcQrALkMAcP8Y8AMgH0Yy HDdvNBIzNAu1Cz1fPmtoAkBwOi8v2ndXsC4D8BkwcAmABzAaLgWwZ1egWAEvQWn2cgUALIFfHdVB z0LSV0//WF9ZakWjC8UcGVkmHcgQ8PsooB6QdyeAPDEN4BzwAiDtOLBnCHAXIGkCIDzgIgH/HOAE YCXhPQEEYAOgItIf0PMO8SQBb3AhkyFRZFERIL5yKKAeQWPyAZAmMC0hIn8lgg8BVjEfsS2ST7IL cHIXC1EW8GKhQSBCYW0t+HBvdwSQHuEdBjsDL5BvFxFloiuxX9Z1GVAssWbvHVADICFgM+F0L5Aj cANSTiARUBcwSXA2NRsgcNpoK5IyZVFh0WQiQQhx7x+hZidtgRegbGSgJsEtkXsQ4GYYc1xgCYAh 4BwKSrRvaAOgVyHgCFBsHxD/HARzU3NBAIAdUVI3VW8+a/9b4nNTdGhBj0KWd094VF5f/xwENU82 XTo0Q49L/xwEPU+PPl9DT4AfPPJdT254v59C34SPhZx7eSHwQmUQ8GpsIUBPIUBECXAH4Fd5I/Br YRwERxNH30jpMvQ6MxFQUEn1SpEwMEtP/TyJJ4yVTaVOj0+fUK9Rv+0cDlUF8BtiJwQgX88nUJ9k US+RJeFjEy5kbSkjcN9g4yvRaOIcBGk/cxvQHqCabSHhSSqDA5FleChg/5sQIIAbQJyDbCEbIAWQ EPD5AwBzbSNwIxAXgRwEC2D/a8AXkWPyTcAm0Rrym7Ilgv8ewAMQbFEngHGjL2JjIB6B76NxKJEX EAMgaGvBL8KI0P8vkBCwHBMDkRPACHAnUCtR8icFQGtuaUAhU56wAND7ZUFcYGMdgSE1ZIIksRsx 9x/xceCp4SkrkxwEgqCiov8g859AA2A8MAJgG0ClsSoxrxegA6APQBFQZgngdDEb/kmfQB4hAiAr A2DjFvCksX9lUayhM9EhICNwJTBwkXX/BGAeMiPRJZFlEysBHzAJEf+oYhwEIWAfkWDFKBCsoSkj 922BpwAesSchUaQiHQch4XgoSSdhAR/xLFEksXbfB+AlMSNgpeYe8HYKwGJw7yXQHZAhYQXAJx/z tNCrwP1NwnMpwDErjAF8L30/fk72TQrAZPBXIiACQB+RIiBvbEGBz4Lfh/JtoJG+t0D3nZBt8QIg eQuAAhB4f4dNd8G/wsuKil2Mn42vSUMwf48QNIBJ5o/SkC+Av5JYZf+TD5QflS+WPxw5FyCYgQnB PRcgISHwhlAg8gOgVFb7nhAfMGGnYiIxHsAFsBtA7yPGIjEG8B7wQgUQH4AfQH9m42lAFvEcBCMQ pCITwGL3HxEiMaUQciYQH6G5hW0E3yIivFAwkRz3IeNlHyNpUF8e8CIgTPWhRB+UVgbwa/8D4DZh K7ElkR/QJTAEoB+S7nDawcNAIfBIIjItkRsQ/yoiJ4ArYs/CFtBqIRwEabf/n1cJ8AhgvvBtcmxy B+Af0H8rUE2gL5AhkyyxJTC10kfT06JsEW4h0g8Kvj/IBffCpZ4QwyFyAMBiYgZSINL9pdVNC4AW 8B0wBvAEACNw7+rzJ3ABkBwERYfCOnAAwLe+UMYvHARQwtHOQTYOIOotD2AzONAzGFC7ec8A97w9 NTR+iiIGYCFg5YAHQEcmwCSAWhAgPHOzMGEkeEDeAHUuCYB1Pv2PeCKINfPBy488ifTFyG/9SJ05 yoqSV85/z4/Qn9GvvRxVPotBrKEQ4BmQa9lT/2RSKhMEcBvAnfOYgQdAYxP/FzAngOXx6SFtgSgQ JhAokfcxFfTFAGBEETCH0R7hwxL/JXMiIdWCAAa/b1Z/W7GhcOt0EAQhcjzyL/5jPOBbcL/Dj1sq Cd8K5Ht/BOdHH2D/HvDfYDQgbxChoSSyEIG8gd/+zAdvCH9bk5/gbSgQPNGPJ3Dk4bXBFvB0L34V APcNIv8gmZAvC09bORTvFf3/Dn8E52LSA3Qy4SqDZRMhYf/VsZ7gsgFlUrhTI8QmwAR+/ki1gCwg +KXmJQTn8vIEjf82xiIU8zcRgPQKAAZzUG3w+9YAZzJTqDFckOtx4YASn28Tr1uxafDswC7xkC4R Lv/0VRYQ8/MW71s5Kd8q5hqvbQVScNuBEPFQZvHhgFDXtWDu4KQQZwb3S9rQNlD9Y/BTR3Bo4JgA 3xCvYWGQ9nQG9gAGXzRPNV82KgAG//vFh7NnMicyNz32n0zIEn8/KH9bkzn/CmLswuzAbi//JzLD EgqQ9ZUrfxgIPg8/H/dAKS6/AGBX+UAzEe8RO7//PM9btUKfw29bD0mvez8Eqf/wBDYvUR82b1+h N8841jl//zqPRy9IP0JvQ38//0svQh//Wg9bH0VPT/BGn1evSL9eH/9K30vvZQ9OD0/va29SD1Mf /1QvVT9WT2KvY79wD18fW5//Zq9zr3S/X99g72H/cj9kH/94r2Y/Z09/n2lv/4zwCYZ/f4ePiGut xaGwmxDs0bFwYbZr2WOvYnmmgvjhP+Vw/+dQ8RDxoYsjEdCf4KCAH1Dt1yBl51D+kEKagLXS9NX/ +ZEfUKIhrSDT4Xz/fg+CVV+NOICfga+RvIQPfWpwAAGWsB4AQhABAAAAOgAAADxEQ0VGSkFPRU5N TkVOTEFBT0ZHUEdFS0hEQUFBLmpjb2xieUBjb2xieWNvbnN1bHRpbmcuY29tPgAAAAMAkhAAAAAA AwDeP59OAAADAAJZAAAWAAMACVkDAAAAAwBAZQAAAAALAACACCAGAAAAAADAAAAAAAAARgAAAAAD hQAAAAAAAAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAFgAggBgAAAAAAwAAAAAAA AEYAAAAAUoUAABuXAQAeACWACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAUAAAAxMC4wAAAA AAMAJoAIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAvgAggBgAAAAAAwAAAAAAAAEYAAAAA DoUAAAAAAAADADKACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAsA24AIIAYAAAAAAMAAAAAA AABGAAAAAAaFAAAAAAAACwDfgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAAAAAACAfgPAQAAABAA AAArhZLEdePBEZyZLk5d5TuIAgH6DwEAAAAQAAAAK4WSxHXjwRGcmS5OXeU7iAIB+w8BAAAAiQAA AAAAAAA4obsQBeUQGqG7CAArKlbCAABtc3BzdC5kbGwAAAAAAE5JVEH5v7gBAKoAN9luAAAAQzpc RG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xEYW4gV2F0ZXJzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9z b2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAAAAAwD+DwUAAAADAA00/TcCAAIBFDQBAAAAEAAAAE5J VEH5v7gBAKoAN9luAAACAX8AAQAAADEAAAAwMDAwMDAwMDJCODU5MkM0NzVFM0MxMTE5Qzk5MkU0 RTVERTUzQjg4RTQ4MDJGMDAAAAAAAwAGEOzvXeUDAAcQ+QsAAAMAEBAAAAAAAwAREAAAAAAeAAgQ AQAAAGUAAABGUk9NTVlOQVZZREFZUzpUSEVDQVRBUFVMVFNPTkNBUlJJRVJTQVJFVEVTVEVEQllT SE9PVElOR0FIRUFWWVNURUVMREVWSUNFT0ZGVEhFREVDS1RISVNERVZJQ0VIQVNXSEVFAAAAAGIW ------=_NextPart_000_0016_01C2DF23.3F3766C0-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: in the mix, is if and how, they would use Domain security? Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, March 03, 2003 3:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Server Needed I was reading some threads that suggested that a Linux box might be used as the server. I have no idea how to configure this. Boxes a-f hit a server which hitherto has been a winX box. If have read the thread correctly, I can subst a Linux box for any given server in the farm. Small company, say 4 servers. Can I build server Documents as a Linux box and hit it from the numerous WinX boxes like they didn't even know it was a Linux server? I tend to stay at one level, so forgive me if my questions reveal much ignorance. Could I put a huge number of documents mostly media and DWMX &c. files on a Linux box and transparently hit them from a local inst of DWMX, say, running on winXP and having no idea that the server in question is running Mandrake 9.x? Is this true? If so, way cool! And how do I build it? If so, how far can one push this scenario? Could an Access MDB live on a Linux server and be accessible from x, y and z users on win98, 2K and XP? I'm not an OS-level guy, hence these questions :-) Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 3, 2003 10:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky ------_=_NextPart_001_01C2E1D1.29F4D1C0 Content-Type: text/html; charset="iso-8859-1"
From what I know yes.  What I would like to know about using Linux servers in the mix, is if and how, they would use Domain security?
 
Drew
-----Original Message-----
From: Arthur Fuller [mailto:artful at rogers.com]
Sent: Monday, March 03, 2003 3:48 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] OT: Server Needed

I was reading some threads that suggested that a Linux box might be used as the server. I have no idea how to configure this. Boxes a-f hit a server which hitherto has been a winX box. If have read the thread correctly, I can subst a Linux box for any given server in the farm. Small company, say 4 servers. Can I build server Documents as a Linux box and hit it from the numerous WinX boxes like they didn't even know it was a Linux server? I tend to stay at one level, so forgive me if my questions reveal much ignorance. Could I put a huge number of documents mostly media and DWMX &c. files on a Linux box and transparently hit them from a local inst of DWMX, say, running on winXP and having no idea that the server in question is running Mandrake 9.x? Is this true? If so, way cool! And how do I build it?

 

If so, how far can one push this scenario? Could an Access MDB live on a Linux server and be accessible from x, y and z users on win98, 2K and XP? I'm not an OS-level guy, hence these questions J

 

Arthur

 

-----Original Message-----
From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka
Sent: March 3, 2003 10:20 AM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] OT: Server Needed

 

Rocky, it is a common misconception that you need a rocking CPU for a server.  That is absolutely not true.  There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory.

 

1 - File Sharing

2 - Domain Control

3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc).

4 - Server Computing (Hard data crunching)

5 - Server Side databases.

 

You need to realize the real limiting factors on a server.  First is network bandwidth.  a 100 megabit line is roughly 12 megabytes per second.  That is not a lot.  It is a fraction of the speed of a typical IDE drive.  If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration).  So, if you are just setting up file transfers, then you don't need much of a machine to do it.  It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do).  This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through).  A faster CPU or more memory isn't going to push the data through faster.

 

Domain Controllers don't need to be whoppers either.  I think we are running a Pentium II (desktop) for a Primary Domain Controller here.  No problems.  It doesn't have to do all that much as far as processing goes.

 

Network services.  Well, it depends.  We run everything but our mail server on Pentium III desktops.  (Proxy, web, intranet, etc.).  It all runs fine.  Again, it is going to boil down to the network tunnel involved.  With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions.  Absolutely not true.  In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection.  Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'.  But again, you don't need a Cray.  Email servers can require a bit more power though.  We use an Exchange Server.  It's got a dual processor, with 2 gigs of RAM.  The real catch is how heavy it is used internally.  (for in house comms).

 

Server Computing.  This is where the most power is needed.  There are software packages out there that use server CPU time pretty heavily.  For example, we have a package called FlowTherm, and FlowStress.  These packages perform massive heat calculations, over and over and over.  If you run this software on a server, obviously the more CPU and memory you have the better.

 

Server Side Databases.  You do need power on these.  But again, you are limitted by your network speed.  However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot.

 

Just my two cents.

 

Drew

-----Original Message-----
From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com]
Sent: Sunday, March 02, 2003 12:06 AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] OT: Server Needed

Dear List:

 

Excuse the OT please but I know someone will know the answer:

 

I have a client who wants to upgrade the server on his network.  There's about 10 seats on his network, of which maybe 6 are being used.  Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc.  Which is well under $1000 these days from dell, or gateway, with three years on-site.

 

A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is.  Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD".  Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote.

 

Right now his "server" is an old Win98 box, slow, but effective.

 

My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer?  Does he need a server?

 

MTIA,

 

Rocky

 

------_=_NextPart_001_01C2E1D1.29F4D1C0-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: just an answer. 8-( John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 7:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address John, Are you doing this from the interface or from code? If you're doing it from code, you should be able to dump the addresses into an array and pick one. If you're doing it from the interface, then is this an OT thread? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address I understand that, and I have some people for example that have three email addresses. Now I want to send an email to the second email address for this person. How do I do that? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 6:43 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [ mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------_=_NextPart_001_01C2E31F.807381A0 Content-Type: text/html; charset="iso-8859-1" RE: [AccessD] Using Outlook second or third email address
John,
Is there any way you can supress the graphic that attaches itself to your messages?  Every time I open one of your messages, my company firewall dialog pops up.
 
Alternatively, I didn't see a plain text option in the list messages options.  Is there a way to do this?
 
-----Original Message-----
From: John W. Colby [mailto:jcolby at colbyconsulting.com]
Sent: Tuesday, March 04, 2003 6:23 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] OT: Using Outlook second or third email address

From interface.  It is indeed off topic.  I wasn't interested in a thread, just an answer.  8-(

John W. Colby
Colby Consulting
www.ColbyConsulting.com



I've stopped 9,259 spam messages. You can too!
Get your free, safe spam protection at www.cloudmark.com
Cloudmark SpamNet - Join the fight against spam!
-----Original Message-----
From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust
Sent: Tuesday, March 04, 2003 7:10 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Using Outlook second or third email address

John,

Are you doing this from the interface or from code?  If you're doing it from code, you should be able to dump the addresses into an array and pick one.  If you're doing it from the interface, then is this an OT thread?

Charlotte Foust

     -----Original Message-----
    From:   accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com On Behalf Of John W. Colby
    Sent:   Tuesday, March 04, 2003 3:59 PM
    To:     accessd at databaseadvisors.com
    Subject:        RE: [AccessD] Using Outlook second or third email address

    I understand that, and I have some people for example that have three email addresses.  Now I want to send an email to the second email address for this person.  How do I do that?

    John W. Colby
    Colby Consulting
    www.ColbyConsulting.com


    I've stopped 9,259 spam messages. You can too!
    Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/

    -----Original Message-----
    From: accessd-admin at databaseadvisors.com
    [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark
    Sent: Tuesday, March 04, 2003 6:43 PM
    To: 'accessd at databaseadvisors.com'
    Subject: RE: [AccessD] Using Outlook second or third email address


    There is a drop-down button between the email label and text box, this gives
    you selections (email 1,2,3).  Whichever one is selected will determine
    which email slot the email address will occupy. 

    Mark


    -----Original Message-----
    From: John W. Colby [mailto:jcolby at colbyconsulting.com]
    Sent: Tuesday, March 04, 2003 2:30 PM
    To: AccessD
    Subject: [AccessD] Using Outlook second or third email address


    Outlook allows you to store three email addresses for a contact.  However I
    cannot figure out how to use anything except the first address.  Even if I
    select the second or third to display when the contact is open, the address
    when selected still uses the first.  does anyone know how to use the second
    or third address?

    John W. Colby
    Colby Consulting
    www.ColbyConsulting.com


    I've stopped 9,258 spam messages. You can too!
    Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/

    ----------------------------------------------------
    Is email taking over your day?  Manage your time with eMailBoss.
    Try it free!  http://www.eMailBoss.com


    _______________________________________________
    AccessD mailing list
    AccessD at databaseadvisors.com
    http://databaseadvisors.com/mailman/listinfo/accessd
    Website: http://www.databaseadvisors.com


    This transmittal may contain confidential information intended solely for
    the addressee. If you are not the intended recipient, you are hereby
    notified that you have received this transmittal in error; any review,
    dissemination, distribution or copying of this transmittal is strictly
    prohibited. If you have received this communication in error, please notify
    us immediately by reply or by telephone (collect at 907-564-1000) and ask to
    speak with the message sender. In addition, please immediately delete this
    message and all attachments. Thank you.
    _______________________________________________
    AccessD mailing list
    AccessD at databaseadvisors.com
    http://databaseadvisors.com/mailman/listinfo/accessd
    Website: http://www.databaseadvisors.com



    ----------------------------------------------------
    Is email taking over your day?  Manage your time with eMailBoss. 
    Try it free!  http://www.eMailBoss.com


Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com
------_=_NextPart_001_01C2E31F.807381A0-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: answer. So I guess I Ghost it first, test it, dink around, dink around... If I find any absolute answers I'll let you all know. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Wednesday, March 05, 2003 3:22 PM To: AccessD Subject: [AccessD] multiple version of the ODE tools Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The Nz method of the data source control is suppose to replace Null values with a zero (0) or some other specified value. However, the method does not replace Null values as expected. And ... Although the Nz Method is correctly documented in Microsoft Script Editor Help, it does not function as expected However, the article doesn't explain what it *DOES* do--that unexpected behavior. I've never had any problems with Nz, so I can't agree with your "flaky" assessment. It works for me, yet the article says it "does not function as expected". Maybe I have different expectations? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 07, 2003 4:43 AM To: Charlotte Foust Subject: Re: [AccessD] Nz function in Access 2002 Hi Charlotte > I ran across an MSKB article today > http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that > says the Nz function works in 2002 but it may not work as expected! Say > what?? It works, but it doesn't? How can you read that from the article? It reads: The Nz method of the data source control is supposed to replace Null values with a zero (0) or some other specified value. However, the method does not replace Null values as expected. So it doesn't work in A2002. However, Nz() has always been flaky - to quote myself from 12. May 2002: Did you know that - when used to return an expression in a query - Nz() always returns a string even if it is supposed not to do so? Like this: Expr1: Nz([fldNumeric]) or: Expr1: Nz([fldNumeric], 0) If you need a numeric value, you'll have to wrap it in Int(): NumExpr1: Int(Nz([fldNumeric])) Even if fldNumeric is a long, this will return a long when fldNumeric is not Null but an integer for Null. If you wish a long in any case, the zero for Null values for some reason must be present: NumExpr1: Int(Nz([fldNumeric], 0)) Alternatively, Nz() can be replaced with the good old IIf() construction: NumExpr1: IIf(IsNull([fldNumeric]), 0,[fldNumeric]) This is tested for Access 95, 97 and 2000. Don't know about 2002. /gustav > Has anyone run into this? Nz isn't always the most appropriate > function, but I've never seen it fail, at least not that I knew about. > We use this a lot, and I'm concerned about migrating our apps from 97 > to 2002 and having a lot of code fall over. I wondered if it could be > the result of not passing in the optional argument, but the article > seemed rather vague to me. Does anyone else have first-hand knowledge > of the problem? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: John Pontiac Grand Prix Jill Pontiac Grand Prix Bill Pontiac Grand Am Joe Chevy Camaro Tami Dodge Intrepid Dave Pontiac Grand Prix Mike Pontiac Grand Am Jeff Chevy Camaro Mary Pontiac Grand Prix Kim Pontiac Grand Am I want it to give me: Pontiac Grand Prix 4 Pontiac Grand Am 3 Chevy Camaro 2 Dodge Intrepid 1 If it makes a difference, the car make and the model are in a table that is linked to the main table, where the name would be, by a number (PK). For instance, Pontiac Grand Prix would be represented in John's record with a 10 maybe. And, to muck up things worse (although I hope not), this list of cars is might change (i.e. next year there might be a Ford Focus, and maybe there won't be something that is there now.). Thanks for any help you may be able to give. This is a continuation of my last post (Counting "unknown" fields), and I am so close to pumping this program out...I just need to finish this and another problem that I have already done previously...with the list's help of course. Take care! John W Clark From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: John Pontiac Grand Prix Jill Pontiac Grand Prix Bill Pontiac Grand Am Joe Chevy Camaro Tami Dodge Intrepid Dave Pontiac Grand Prix Mike Pontiac Grand Am Jeff Chevy Camaro Mary Pontiac Grand Prix Kim Pontiac Grand Am I want it to give me: Pontiac Grand Prix 4 Pontiac Grand Am 3 Chevy Camaro 2 Dodge Intrepid 1 If it makes a difference, the car make and the model are in a table that is linked to the main table, where the name would be, by a number (PK). For instance, Pontiac Grand Prix would be represented in John's record with a 10 maybe. And, to muck up things worse (although I hope not), this list of cars is might change (i.e. next year there might be a Ford Focus, and maybe there won't be something that is there now.). Thanks for any help you may be able to give. This is a continuation of my last post (Counting "unknown" fields), and I am so close to pumping this program out...I just need to finish this and another problem that I have already done previously...with the list's help of course. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: John Pontiac Grand Prix Jill Pontiac Grand Prix Bill Pontiac Grand Am Joe Chevy Camaro Tami Dodge Intrepid Dave Pontiac Grand Prix Mike Pontiac Grand Am Jeff Chevy Camaro Mary Pontiac Grand Prix Kim Pontiac Grand Am I want it to give me: Pontiac Grand Prix 4 Pontiac Grand Am 3 Chevy Camaro 2 Dodge Intrepid 1 If it makes a difference, the car make and the model are in a table that is linked to the main table, where the name would be, by a number (PK). For instance, Pontiac Grand Prix would be represented in John's record with a 10 maybe. And, to muck up things worse (although I hope not), this list of cars is might change (i.e. next year there might be a Ford Focus, and maybe there won't be something that is there now.). Thanks for any help you may be able to give. This is a continuation of my last post (Counting "unknown" fields), and I am so close to pumping this program out...I just need to finish this and another problem that I have already done previously...with the list's help of course. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Couls you give me the sql for Year and Year+1. Maybe then i undersatnd things better. Greetings Pedro ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Saturday, March 08, 2003 11:55 AM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > Drew Wutka his query is working (Thanks for that Drew), but you were right > > it is very slow. For 10000 records it almost takes 20 minutes. > > You gave me a unionquery that i can't seem to work. Maybe i don't understand > > the fields in your query and what do you mean with: > > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > > > Could you explain a little more. > > Sure. In addition to the correct comments of Drew, here is the union > query which collects data from maximum three years. If you need more > years, simply insert more "Union Select ..." sections where you for > each section increase by 1 the number to add to Year. > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > UNION > SELECT TOP 5 > Year+2 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > ID; > > > > You will, of course, have to change the names of table and fields to > those of your table. > > /gustav > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Pedro Janssen" > > Sent: Wednesday, March 05, 2003 8:36 PM > > Subject: Re: [AccessD] first five dates per year > > > >> Hi Pedro > >> > >> > I have a table with 10000 records. I would like to filter out, by > >> > query, the first 5 or 10 dates per different years. > >> > Is this possible. > >> > >> For a large table the use of a subquery may be painfully or even > >> unacceptably slow. > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> > >> ... > >> > >> UNION > >> SELECT TOP 5 > >> Year+n AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+n,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Couls you give me the sql for Year and Year+1. Maybe then i undersatnd things better. Greetings Pedro ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Saturday, March 08, 2003 11:55 AM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > Drew Wutka his query is working (Thanks for that Drew), but you were right > > it is very slow. For 10000 records it almost takes 20 minutes. > > You gave me a unionquery that i can't seem to work. Maybe i don't understand > > the fields in your query and what do you mean with: > > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > > > Could you explain a little more. > > Sure. In addition to the correct comments of Drew, here is the union > query which collects data from maximum three years. If you need more > years, simply insert more "Union Select ..." sections where you for > each section increase by 1 the number to add to Year. > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > UNION > SELECT TOP 5 > Year+2 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > ID; > > > > You will, of course, have to change the names of table and fields to > those of your table. > > /gustav > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Pedro Janssen" > > Sent: Wednesday, March 05, 2003 8:36 PM > > Subject: Re: [AccessD] first five dates per year > > > >> Hi Pedro > >> > >> > I have a table with 10000 records. I would like to filter out, by > >> > query, the first 5 or 10 dates per different years. > >> > Is this possible. > >> > >> For a large table the use of a subquery may be painfully or even > >> unacceptably slow. > >> If you know the maximum number of years to list, you can create a > >> union query like this where Year is the first year to list: > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> > >> ... > >> > >> UNION > >> SELECT TOP 5 > >> Year+n AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+n,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: forms makes things simpler for you, but not the user, I don't know -- on the other hand, some forms really do try to do too much and subsequent forms can keep the user on track. Susan H. > For about a decade I have worked on the principle that the same form can > handle displays, inserts and updates. > Lately I have been experimenting, and my tentative conclusions are that I > have been wrong for a decade; that a better approach is to have a reead-only > navigation form of some sort, containing an edit button, which does not flip > flags in the current form but rather loads an frmEditMyDataSource form > specifically designed for insert or edit. > > In this model, no single form contains the logic for multiple operations. > Rather, one designs forms for Insert and Edit separately. The behaviours are > radically different. Why complicate the logic of one form by injecting two > purposes? > > I'm not throwing this out as a definitive conclusion, but merely one of my > regular queries (select * from projects where decision_certainty < .8). > I have coded innumerable dual/treble purpose forms, with logic distributed > among their controls, and in a few recent experiments have noticed that the > logic is a lot cleaner if I code something like this: > > On DoubleClick > If Me.NewRecord = True Then > Open the Insert form > Else > Open the Edit form > End If > > Opinions? Diatribes? Scathing denunciations? > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: March 5, 2003 2:56 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Editing Records > > In cases where a number of items (boolean variables in this case) must be > true for an event to occur I usually multiply the booleans by each other. > If I get a 0 result I know the event should not happen: > > blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) > > If blnDoTheEvent Then > 'do it here > End If > > HTH, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: Bob Gajewski [mailto:bob at renaissancesiding.com] > Sent: Wednesday, March 05, 2003 2:50 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Editing Records > > > Andy > > Just shooting from the hip, but couldn't that be done using a loop? > > Seems like it might be a lot of coding, even for just 13 validations ... and > then it would handle more if they were added later. > > Regards, > Bob Gajewski > > On Wednesday, March 05, 2003 14:22 PM, Andy Lacey > [SMTP:andy at minstersystems.co.uk] wrote: > > Tim > > Just a suggestion > > > > Dim blnNeedsUpdate As Boolean > > > > > > blnNeedsUpdate =False > > > > If validation1 = false then > > blnNeedsUpdate =True > > > > End if > > > > If validation2 = false then > > blnNeedsUpdate =True > > > > End if > > > > > > etc > > > > if blnNeedsUpdate = true > > > > ..edit > > > > change all fields > > > > ..update > > > > > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > > Timothy B > > Sent: 05 March 2003 13:06 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Editing Records > > > > > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > > cycles through the data validating/updating several fields for each > > record. My question is, what is the best way to do this, > > > > Like this > > > > ..edit > > If validation1 = false then > > change data > > End if > > > > If validation2 = false then > > change data > > End if > > ..update > > > > Or > > > > If validation1 = false then > > .edit > > change data > > .update > > End if > > > > If validation2 = false then > > .edit > > change data > > .update > > End if > > > > I have about 13 validations that need to be done on about 90,000 > > records. Each validation goes to a SQL Server BE and check the validity > > of the data. There is a huge difference in speed opening and closing > > the recordset so many times, but if that is the better way to go, then > > so be it. All help is appreciated. TIA > > > > Tim > > > > << File: ATT00006.htm >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health Plan > (HS/HHP) that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named recipient, > please notify us immediately, either by contacting the sender at the > electronic mail address noted above or calling HS/HHP at (914) 631-1611. If > you are not the intended recipient, please do not forward this email to > anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: 1. Set objWord = "JA45.dot" ' an existing Word template on disk 2. objWord.Application.Visible = true 3. With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource _ Name:="this MDB name", _ LinkToSource:=True, _ Connection:="QUERY qry name in the MDB" .Execute 4. End With This worked great until ... the customer wanted some security features. To the same MDW as I used to create the MDB, I added a couple of Groups and their Users, and in the basAutoExec code closed out immediately if the user was 'admin' (user trying to use a vanilla MDW). Each user must now log in with a username and password. In this new environment, when line 3 above executes, another copy of the MDB opens and attempts to login, and gets thrown out, and the DDE connection fails. That is, except when I log in as me with my username/password (I'm the owner of the MDB and all components of), then it works fine. I don't have much hair to pull out, and the various combinations of Permissions I tried to get this to work with the other users has got me at the wall. Because the thing needed to be up and running yesterday, I have got around this problem by creating a MailMerge .txt file external to the MDB and pointing the Word templates to this .txt file. Line 3 above has become: With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource Name:="the .txt file on disk" .Execute and this works. I am still interested in what is going on. My suspicion is that it has something to do with the Word templates not opening the MDB with the same username/password used to get in to the original MDB. But if I am right, how do you do that? MTIA. Stephen Bond Otatara, South Island, New Zealand From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: 1. Set objWord = "JA45.dot" ' an existing Word template on disk From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The Count of queries: qryCountOfType1... SELECT qryTypes1.Type, Count(qryTypes1.Type) AS CountOfType FROM qryTypes1 GROUP BY qryTypes1.Type; qryCountOfType2... SELECT qryTypes2.Type, Count(qryTypes2.Type) AS CountOfType FROM qryTypes2 GROUP BY qryTypes2.Type; Finally a Union query with an extra field to sort by the two types of groups. The Union query SELECT '1' as SortOrder, * FROM qryCountOfType1 UNION SELECT '2' as SortOrder, * From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: This was a long way to go about doing this when you could easily do the Crosstab query suggested in another post then run a report that sums the colums and the rows. The only problem with the Crosstab is that you must modify the report if new types are added. My way does not matter if new types are created as long as the last 3 characters are one type and the other characters are another type (you could modify this to use a delimiter and then not have to worry about the length). Scott Marcus -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 11, 2003 4:55 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Painted into a corner No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: For Personnel, you would use this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: To show all of them together, you use the Union statement. The Union statement is put before EACH following 'segment'. For example, this lists both personnel and clients Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: However, if you had more 'segments' they too would have the Union statement in the beginning. So, you can do something like this: Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select FirstName, LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select "George" As FirstName, "Bush" As LastName From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The above SQL statement as four 'segments'. All segments after the first one are 'preceded' with a Union statement. The second and third are identical, which means that you will get a recordset that has duplicate records for all of your personnel. The last statement is actually inserting into the resulting recordset a 'dummy' record. It doesn't exist within the table, but you are giving the values of the field by using an Alias. I hope I have made this too complex. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Union Select TopicText, TopicID From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Order By TopicID Now you have a recordset with All at the top. Now for your Question combo's query: Select Question, QID, [Forms]![Form2]![cmbTopic] As Expr1 From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Where TopicID=[Forms]![Form2]![cmbTopic] Or [Forms]![Form2]![cmbTopic]=0 Then just have the Topics combo requery the question combo. Drew -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Wednesday, March 12, 2003 11:41 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Building a search form Drew, my problem with that is the way I synchronize two combo boxes. Each is set to a query and I use the ID in the first combo as the criteria for the query used as a source for the second box. Now, what criteria do I use for "all"? -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 11:38 AM To: ''accessd at databaseadvisors.com' ' Subject: RE: [AccessD] Building a search form Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: serious problem. If a department in your organization develops a program (from inside or outside) without coordinating with the people who will need to manage the equipment this program runs on and probably manage the program itself, it's guaranteed that there will be serious problems to come. I am just starting as an independent, but I can't imagine not cooperating closely with the IT folks right from the start. Light a fire under your boss and get this resolved before it happens again! Good Luck! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, March 13, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: The name Schengen originates from a small town in Luxembourg. In March = 1995, seven European Union countries signed a treaty to end internal = border checkpoints and controls. More countries have joined the treaty = over the past years. At present (February 2003), there are 15 Schengen = countries, all in Europe.=20 The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, = France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, = Norway, Portugal, Spain and Sweden. The collected territories of these = countries are known as the Schengen area.=20 All countries except Norway and Iceland are European Union members. = Conversely, the United Kingdom and Ireland are in the European Union but = are not parties to the Schengen treaty.=20 Source: http://www.eurovisa.info/SchengenCountries.htm=20 ----- Original Message -----=20 From: "Mark Whittinghill" To: Sent: Friday, March 14, 2003 10:01 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? Does that mean the European Union or is it > something else? Just curious. >=20 >=20 > Mark Whittinghill > Symphony Information Services > Minneapolis, Minnesota > Email: mark at symphonyinfo.com > Phone: 612-333-1311 > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Friday, March 14, 2003 12:17 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... >=20 >=20 > > Hi All, > > > > We made it! - I've got Visum to Netherlands (Shengen States) for = myself > and > > my two kids for twenty days today! I fly to Amsterdam on 20 March = 2003. I > > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go = back > > home on 03 of April 2003. > > > > Without your great moral support and hints of Marty I would have not = had > > Visum today... > > And of course Onno van Shelven who is not on the list these days but = who I > > contact from time to time with was the main helping hand - he helped = me to > > define a concept and then edit/augment a letter, which I wrote and = sent to > > the Consul and which made this incredible bombing effect and holed > > bureaucracy wall... > > > > Well, I had to pay second time for their services and I didn't hear = any > > words of excuses or something like that but all that doesn't matter = when > > what was almost impossible on Monday becomes a reality on Friday... > > > > THNX a lot again to everybody, > > Have nice weekend, > > Shamil :) > > >=20 >=20 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ------=_NextPart_000_01E5_01C2EA77.8392A9B0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

> What is Shengen=20 States?

http://www.wikipedia.org/wiki/Schengen_treaty

Schengen = treaty

From Wikipedia, the free = encyclopedia.=20

The name Schengen originates from a small = town in=20 Luxembourg. In March = 1995, seven = European Union countries = signed a=20 treaty to end internal border checkpoints and controls. More countries = have=20 joined the treaty over the past years. At present (February 2003), there = are 15=20 Schengen countries, all in Europe.

The 15 Schengen countries are: Austria, = Belgium, = Denmark, = Finland, = France, = Germany, = Iceland, = Italy, = Greece, = Luxembourg, the = Netherlands, Norway, Portugal, Spain and Sweden. The collected = territories of=20 these countries are known as the Schengen area.

All countries except Norway and Iceland = are European=20 Union members. Conversely, the United Kingdom and = Ireland are = in the European=20 Union but are not parties to the Schengen treaty.

Source: http://www.eurovisa.info/SchengenCountries.htm

----- Original Message ----- =

From: "Mark Whittinghill" <mwhittinghill at symphonyinfo.com>
To: <accessd at databaseadvisors.com>
Sent: Friday, March 14, 2003 10:01 = PM
Subject: Re: [AccessD] OT: "Chevaux de = frise" of=20 free world...

> What is Shengen States?  Does that mean the European = Union or=20 is it
> something else?  Just curious.
>
> =
> Mark=20 Whittinghill
> Symphony Information Services
> Minneapolis,=20 Minnesota
> Email:
mark at symphonyinfo.com
> Phone: 612-333-1311
> ----- Original Message = -----
>=20 From: "Shamil Salakhetdinov" <
shamil at smsconsulting.spb.ru>
> To: <
accessd at databaseadvisors.com>
> Sent: Friday, March 14, 2003 12:17 PM
> = Subject: Re:=20 [AccessD] OT: "Chevaux de frise" of free world...
>
> =
> >=20 Hi All,
> >
> > We made it! - I've got Visum to = Netherlands=20 (Shengen States) for myself
> and
> > my two kids for = twenty days=20 today! I fly to Amsterdam on 20 March 2003. I
> > plan to visit = also=20 Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back
> > home = on 03=20 of April 2003.
> >
> > Without your great moral = support and=20 hints of Marty I would have not had
> > Visum today...
> = > And=20 of course Onno van Shelven who is not on the list these days but who = I
>=20 > contact from time to time with was the main helping hand - he = helped me=20 to
> > define a concept and then edit/augment a letter, which I = wrote=20 and sent to
> > the Consul and which made this incredible = bombing=20 effect and holed
> > bureaucracy wall...
> >
> = >=20 Well, I had to pay second time for their services and I didn't hear = any
>=20 > words of excuses or something like that but all that doesn't matter = when
> > what was almost impossible on Monday becomes a reality = on=20 Friday...
> >
> > THNX a lot again to = everybody,
> >=20 Have nice weekend,
> > Shamil :)
> >
>
> =
>=20 _______________________________________________
> AccessD mailing=20 list
>
AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd<= BR>> Website: http://www.databaseadvisors.com ------=_NextPart_000_01E5_01C2EA77.8392A9B0-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Rocky Smolin Beach Access Software ----- Original Message -----=20 From: Joe K Anderson=20 To: Joe Anderson ; Barry Hynum ; Bob Heygood ; Dixon Foss ; Ed Lance ; = Greg Otero ; Rocky Smolin ; Tim Henning ; Wayne Warren-Angelucci=20 Sent: Monday, March 17, 2003 11:03 PM Subject: Fw: Feb 2003 Access-VB-SQL, pg 10 'Database Problem' Guys ... FYI .... joe ----- Original Message -----=20 From: Joe K Anderson=20 To: mikegroh at earthlink.net=20 Sent: 03-17-2003 23:02 Subject: Feb 2003 Access-VB-SQL, pg 10 'Database Problem' Hi Mike ... Thanks for continuing to be involved with a high quality magazine like = Access-VB-SQL. In fact I have every issue since day one. Regarding the "Error Accessing File. Network Connection may have been = lost" problem: The good news is that is has nothing to do with networks, split MDB's, = LDB's etc. It's a totally bogus error message. =20 The bad news is the mdb is *usually* corrupted beyond repair ... even = the 'decompile' trick does not fix it, nor does the JetComp utility. = The code behind a form(s) and/or code in a VBA module(s) is corrupted. = Odd, because Decompile fixes about 99% of all VBA corruption problems In Office 2000, there is a certain version of the Vbe6.dll that causes = the problem This knowledge base article gives all the details. http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;304548 I indicated *usually* above because I was never able to fix the = corruption with any trick I was aware of. I don't recall the original = KB article discussing any resolutions ... just mentioning the DLL and to = get Office 2000 Service Pack 3 ... which *did* fix the problem. =20 The bottom line usually was just as Microsoft states at the bottom of = 'RESOLUTION': "If you do not have a computer without the version of Vbe6.dll mentioned = in the "Cause" section, you must revert to a known good backup copy of = the database. To prevent this problem from happening again, use one of = the following methods, depending on which version of Access you are = using." BTW .. neither of the 'Methods' mentioned were 100% reliable!! Anyway ... since I've had first hand experience with this ugly problem = .. I thought I would pass this info on to you. Joe Anderson AllData, Inc. www.alldatacorp.com 858.270.4400 ------=_NextPart_000_00CB_01C2ED35.BBB89140 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
From a friend.  FYI.
 
Rocky Smolin
Beach Access = Software
 
----- Original Message -----=20
From: Joe K = Anderson=20
To: Joe=20 Anderson ; Barry=20 Hynum ; Bob Heygood ; Dixon Foss = ; Ed Lance = ; Greg=20 Otero ; Rocky=20 Smolin ; Tim=20 Henning ; Wayne Warren-Angelucci =
Sent: Monday, March 17, 2003 11:03 PM
Subject: Fw: Feb 2003 Access-VB-SQL, pg 10 'Database=20 Problem'

Guys ... FYI ....
 
joe
 
----- Original Message -----=20
From: Joe K = Anderson=20
Sent: 03-17-2003 23:02
Subject: Feb 2003 Access-VB-SQL, pg 10 'Database=20 Problem'

Hi Mike ...
 
Thanks for continuing to be involved with a high quality magazine = like=20 Access-VB-SQL.  In fact I have every issue since day = one.
 
Regarding the "Error Accessing File.  Network = Connection may=20 have been lost" problem:
 
The good news is that is has nothing to do with = networks,=20 split MDB's, LDB's etc.  It's a totally bogus error = message. =20
 
The bad news is the mdb is *usually* corrupted = beyond repair=20 ... even the 'decompile' trick does not fix it, nor does the JetComp=20 utility.  The code behind a form(s) and/or code in a VBA module(s) = is=20 corrupted.  Odd, because Decompile fixes about 99% of all VBA = corruption=20 problems
 
In Office 2000, there is a certain version of the = Vbe6.dll=20 that causes the problem
 
This knowledge base article gives all the=20 details.
 
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;304548
 
 
I indicated *usually* above because I was never able = to fix=20 the corruption with any trick I was aware of.  I don't recall the = original=20 KB article discussing any resolutions ... just mentioning the DLL and to = get=20 Office 2000 Service Pack 3 ... which *did* fix the problem.  =
 
The bottom line usually was just as Microsoft = states at=20 the bottom of 'RESOLUTION':
 
"If you do not have a computer without the version of Vbe6.dll=20 mentioned in the "Cause" section, you must = revert to=20 a known good backup copy of the database. To prevent = this=20 problem from happening again, use one of the following methods, = depending on=20 which version of Access you are using."
 
BTW .. neither of the 'Methods' mentioned were 100% = reliable!!
 
Anyway ... since I've had first hand experience with this ugly = problem=20 .. I thought I would pass this info on to you.
 
Joe Anderson
AllData, Inc.
www.alldatacorp.com
858.270.44= 00
------=_NextPart_000_00CB_01C2ED35.BBB89140-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: that=20 person, including the public key, is stored in the contact = info. =20 Obvious this isn't going to work as expected with the list since = the=20 message is retransmitted.  In fact I have no idea what is = going to=20 happen in this case, we shall just have to wait and = see.

That public key from the contact = can then be=20 used to encrypt email and theoretically an attachment as = well. =20 Since the public key is stored in the contact record, it is used = for the=20 encryption, and the message (and attachments) can only be = decoded by the=20 matching private key.  I.e. automatic digital signature and = easy to=20 use (though not automatic) encryption of messages.  Since = your=20 friend's certificate is stored with his contact info on your = computer,=20 any email and attachments sent to him can be encrypted using his = public=20 key.

I say easy to use though not = automatic=20 encryption because in order to encrypt a given message you have = to go to=20 the properties of that message and select encryption.  = There is=20 however an option to encrypt all messages.  I assume that = if the=20 contact selected as the recipient has no certificate, no = encryption=20 takes place, so it appears that maybe a totally automatic / = always on=20 encryption scheme can take place with any contacts that you have = received and stored a certificate for.  However... I tested = this...=20 if you send an encrypted message to a contact with a certificate = in your=20 contact book, and CC a contact without a certificate, the = message is=20 encrypted.  You are warned that the person without a = certificate=20 will not be able to see the message (because it is encrypted) = and that=20 does indeed happen.

Anyway, I have always wanted to = have this=20 capability.  I have contacts with clients that should be = kept=20 confidential, for example transferring BE databases that contain = customer data to me for my work at my home office etc.  The = ability=20 to encrypt these things is or should be important.  I = understand=20 that there are now laws that state that if you transmit people's = SSNs=20 across the internet you must take specific precautions or you = are=20 breaking the law.  I haven't seen this law, but I know that = certain=20 insurance companies I deal with are starting to get touchy about = sending=20 data files to me with the SSNs in them.  Perhaps this = security will=20 help in these situations.

I thought you guys might be = interested in=20 what I have figured out.  First of all there is a company = that=20 provides FREE personal email certificates.  Most such = companies=20 charge a small fee for them.

http://www.thawte.com/html/COMMUNITY/personal/index.html<= /A>=20

In order to get this you have to = fill out a=20 form with your address, phone and one personal ID number - SSN, = Drivers=20 License Number or Passport Number.  Basically after = following the=20 process you are sent an email to the email address you provide = them that=20 contains a "ping" hotlink that you have to click on which then = tells=20 them you received the email and you are then issued the=20 certificate.

Anyway, I just thought I'd let = you know that=20 free certs are available, are reasonably easy to obtain, and = reasonably=20 easy to get working.

John W. Colby
Colby Consulting
www.ColbyConsulting.com

----------------------------------------------------=20
Is email taking over your = day?  Manage=20 your time with eMailBoss. 
Try=20 it free!  http://www.eMailBoss.com=20


Is email taking over your day? Manage your time with eMailBoss. = Try it=20 free! http://www.eMailBoss.com
------=_NextPart_000_0048_01C2ED50.E8518B60-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Replication Object and some code, but I was looking for a user friendly way of doing this. Have you had any experience with managing synchronization this way? Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, March 20, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug ------=_NextPart_000_000E_01C2EEE5.94D03630 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message

Charlotte,

 

Thank you.  I guess my = ignorance is going to show here but that is how I learn, sometimes.  My = objective, I think, is to have the replication manager on the user’s system so = I can set up the replicas on the various computers and set up the = synchronization schedule.  From what I understand if I use the Access menu I can = make the replicas and put them on the various computers but I can not get = automatic synchronization, or indirect synchronization.  It seems like a real = waste to put the full developer edition on a computer just to get the = replication manager tool, but this is a MS product.

 

From the ADH it looks like I could = do everything through use of the Jet Replication Object and some code, but = I was looking for a user friendly way of doing this.  Have you had any experience with managing synchronization this way?

 

Doug

 

 

 

-----Original = Message-----
From: accessd-admin at databaseadvisors.com = [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust
Sent: Thursday, March 20, = 2003 12:57 PM
To: = accessd at databaseadvisors.com
Subject: RE: [AccessD] = Access XP Developer and replication manager

 

Replication manager is an administrative tool, not an end = user tool.  The users of your app will be able to synchronize without = any kind of replication manager because replicas have the capability of = synchronizing built in.

 

Charlotte Foust

-----Original Message-----
From: Doug Murphy [mailto:doug at murphyscreativity.com]
Sent: Thursday, March 20, = 2003 12:54 PM
To: = accessd at databaseadvisors.com
Subject: [AccessD] Access = XP Developer and replication manager

Hi List,

I have what seem = like a simple question but I don't seem to be able to find the answer.  I = have Office XP Developer.  I am looking at the use of replication to = keep several users synchronized on a really slow network plus be able to synchronize lap tops when they = dial in.  I got interested in this method after reading Arthur Fuller's = article in "Inside Microsoft Access", March edition.  I also read the chapter in the ADH on replication to get additional information.  What I have been = trying to determine is can I distribute the Replication Manager tool that comes = with the Developer Edition with my database.  It seems like this is the = easiest way to set up the replication and synchronization schedule on the = users system.  I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have = found nothing in any of my XP literature of help files.

Has anyone had = experience with this tool and been able to distribute it or does the user need to = have the MOD on their machine?

Thanks in advance = for your assistance.

Doug

------=_NextPart_000_000E_01C2EEE5.94D03630-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: Replication Object and some code, but I was looking for a user friendly way of doing this. Have you had any experience with managing synchronization this way? Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, March 20, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug ------=_NextPart_000_0005_01C2EF05.616E03B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

David,

 

Thank you.



Now I use dial up connections and indirect synchronization.  I = distribute replication manager as part of the installation and once it is = configured on the users machines they are (mostly) able to follow the simple = synchronization process using it.

 

That is the answer I was searching = for; you can distribute the replication manager as part of the runtime.  =

 

How do you do the indirect = synchronization over a modem?  That is another task I need to do.

 

Doug



I am not sure about XP but would be pretty certain that it would be distributable as well.

David Emerson
Dalyn Software Ltd
New Zealand

At 20/03/2003, you wrote:

No, I haven't.  When I've used replication, I didn't = try to do it on a schedule because I had no control over the users' = schedules.  Procedurally, our users were instructed to sync their replica at the = beginning of each session to get the latest updates and at the end of a session to = upload their own changes.  You could set up code to sync the database when = they opened it, but there is at least a slight delay involved with = that.
 
Charlotte = Foust

-----Original = Message-----

From: Doug Murphy [mailto:doug at murphyscreativity.com]

Sent: Thursday, March 20, 2003 1:36 PM

To: = accessd at databaseadvisors.com

Subject: RE: [AccessD] Access XP Developer and replication = manager

Charlotte,

 

Thank you.  I guess my ignorance is = going to show here but that is how I learn, sometimes.  My objective, I = think, is to have the replication manager on the users system so I can set up the replicas on the various computers and set up the synchronization = schedule.  From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: and put them on the various computers but I can not get automatic = synchronization, or indirect synchronization.  It seems like a real waste to put the = full developer edition on a computer just to get the replication manager = tool, but this is a MS product.

 

From the ADH it looks like I could do = everything through use of the Jet Replication Object and some code, but I was = looking for a user friendly way of doing this.  Have you had any experience = with managing synchronization this way?

 

Doug

 

 

 

-----Original = Message-----

From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust

Sent: Thursday, March 20, 2003 12:57 = PM

To: = accessd at databaseadvisors.com

Subject: RE: [AccessD] Access XP Developer and replication = manager

 

Replication manager is an administrative tool, not an end user tool.  The users of your app = will be able to synchronize without any kind of replication manager because = replicas have the capability of synchronizing built in.

 

Charlotte = Foust

-----Original = Message-----

From: Doug Murphy [mailto:doug at murphyscreativity.com]

Sent: Thursday, March 20, 2003 12:54 = PM

To: = accessd at databaseadvisors.com

Subject: [AccessD] Access XP Developer and replication manager

Hi List,

I have what seem like a simple question but I = don't seem to be able to find the answer.  I have Office XP = Developer.  I am looking at the use of replication to keep several users = synchronized on a really slow network plus be able to synchronize lap tops when they = dial in.  I got interested in this method after reading Arthur Fuller's = article in "Inside Microsoft Access", March edition. I also read the chapter in the = ADH on replication to get additional information. What I have been trying to = determine is can I distribute the Replication Manager tool that comes with the = Developer Edition with my database.  It seems like this is the easiest way to = set up the replication and synchronization schedule on the users = system.  I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have = found nothing in any of my XP literature of help files.

Has anyone had experience with this tool and = been able to distribute it or does the user need to have the MOD on their = machine?

Thanks in advance for your = assistance.

Doug

------=_NextPart_000_0005_01C2EF05.616E03B0-- From bogus@does.not.exist.com Thu Dec 29 09:38:12 2011 From: bogus@does.not.exist.com () Date: Thu, 29 Dec 2011 15:38:12 -0000 Subject: No subject Message-ID: I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. From mcp2004 at mail.ru Thu Dec 1 04:11:42 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 14:11:42 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <4ED62278.3040000@colbyconsulting.com> References: <4ED62278.3040000@colbyconsulting.com> Message-ID: Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 ?Ice Cream Sandwich? on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... From rusty.hammond at cpiqpc.com Thu Dec 1 08:59:53 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Thu, 1 Dec 2011 08:59:53 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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 Thu Dec 1 09:16:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 10:16:07 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4ED79A37.70008@colbyconsulting.com> LOL, yea what a scandal! 8o John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 9:59 AM, Rusty Hammond wrote: > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-powered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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 Thu Dec 1 10:41:22 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 08:41:22 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> Message-ID: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. With more Linux packages spreading out in the market, not only will it directly threaten Windows, at least to a small degree but it gives Linux a lot more of free advertisement and before Android Linux had virtually none. That could be very dangerous to Microsoft's previous unchallenged PC domination. But we shall see...If Microsoft released its top versions of Windows at say $100 they could halt the Linux advance but then they would be annoying the PC manufactures market from which they make most of their money. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 2:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's > >> another technological revolution of the ways of communicating with > >> computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- 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 Dec 1 11:05:18 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 09:05:18 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> The problem is that so far there is no way to remove it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 1 11:08:16 2011 From: john at winhaven.net (John Bartow) Date: Thu, 1 Dec 2011 11:08:16 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. From garykjos at gmail.com Thu Dec 1 11:09:07 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 1 Dec 2011 11:09:07 -0600 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- Gary Kjos garykjos at gmail.com From accessd at shaw.ca Thu Dec 1 12:00:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:00:33 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> In all the box stores around here, Staples, Future Shop, Best Buy and even Costco, the last price I saw (yesterday) was $379 plus taxes which puts it up to about $420. There are upgrades from Pro versions to Ultimate versions which can be had for a mere $189 plus tax; $210 You will have to send me one of these super cheap copies. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, December 01, 2011 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available lots of places for under $200. $189 here http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213938 Can't imagine that most users really NEED ultimate though. Full version of Professional is $139.99 http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 213934 GK 2011/12/1 Jim Lawrence : > These are interesting times... > > A full version of Windows is selling for about $400 while preloaded version > cost $50 or less. It is cheaper to buy a new computer with Windows preloaded > and now people are seriously looking at other options than always having to > go out and buy another piece of hardware. > > Recently, a client asked whether it would be a good idea to install Linux in > their office. I have to admit the price is right and their old XP computers > do need a face-lift. The other option is to buy Windows and in their case > the cost will be another 10K to 15K...that is before the server is upgraded. > > With more Linux packages spreading out in the market, not only will it > directly threaten Windows, at least to a small degree but it gives Linux a > lot more of free advertisement and before Android Linux had virtually none. > That could be very dangerous to Microsoft's previous unchallenged PC > domination. > > But we shall see...If Microsoft released its top versions of Windows at say > $100 they could halt the Linux advance but then they would be annoying the > PC manufactures market from which they make most of their money. > > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 2:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: >> >>> Shamil, >> >>> >> >>> Actually you touched on the next thing I think which is voice. ?My > Droid >> >> has wonderful voice >> >>> recognition, *when* it is context sensitive. ?IOW when I am > programming >> >> I pretty much type 99% the >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code to my >> >> computer is something that is >> >>> close I believe and which I will gladly use over typing. >> >>> >> >>> John W. Colby >> >>> Colby Consulting >> >>> >> >>> Reality is what refuses to go away >> >>> when you do not believe in it >> >>> >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >> >>>> Darryl -- >> >>>> >> >>>> Working with "virtual documents" by hands - two hands - on > multi-touch >> >> displays is no doubt more ergonomic and intuitive than using mouse... >> >>>> The next logical step are "virtual desktops" - horizontally mounted >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - that's >> >> another technological revolution of the ways of communicating with >> >> computers by using a broad range of both hands gestures and voice... >> >>>> >> >>>> The next should probably be "virtual holographic displays" and 3D >> >> communication with them... >> >>>> >> >>>> Thank you. >> >>>> >> >>>> -- 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 -- 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 accessd at shaw.ca Thu Dec 1 12:08:39 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 10:08:39 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <016601ccb04b$d16f7480$744e5d80$@winhaven.net> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: The client wants a full version of Office, word and excel for cheap and they have been hearing how fast a Linux server is. Two years ago they would have never said such a thing. Linux, if they even cared about it, was just for geeks. Now they are asking. Android has changed all that. I have not decided what to tell them yet but if dollars are a concern stick with XP until you need new computers would be my first thought. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 01, 2011 9:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 I never really understood what "their old XP computers do need a face-lift" meant. Why? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 10:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. Recently, a client asked whether it would be a good idea to install Linux in their office. I have to admit the price is right and their old XP computers do need a face-lift. The other option is to buy Windows and in their case the cost will be another 10K to 15K...that is before the server is upgraded. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu Dec 1 12:26:12 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 1 Dec 2011 10:26:12 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: OEM versions are running 189 at New egg: http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&N=100006907&isNodeId=1&Description=windows+7+ultimate&x=0&y=0 2011/12/1 Jim Lawrence > In all the box stores around here, Staples, Future Shop, Best Buy and even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > > http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will it > > directly threaten Windows, at least to a small degree but it gives Linux > a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows at > say > > $100 they could halt the Linux advance but then they would be annoying > the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > > Cream Sandwich" on x86?: > > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. Dictating code to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating with > >> >> computers by using a broad range of both hands gestures and voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 fuller.artful at gmail.com Thu Dec 1 13:00:51 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 1 Dec 2011 14:00:51 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: Assuming the availability of a big backup disk (very cheap now, 1TB for less than $100), then I'd opt for DriveImaging the Win 7 boot disk and then replacing the OS with Linux Mint 12 or Ubuntu 11.10, and after that mounging XP and/or Win7 as VMs inside Oracle VirtualBox. In fact that is precisely my plan to execute over the Christmas holidays. I'm still teaching myself C#, with the help of several books, and that's one VM; another is dedicated to my sole remaining Access+Word+Excel=Office Automation client, and there's an Ubuntu VM too. I don't run them all at once, of course; just when I need to or want to. BTW, I think that Mint 12 is pretty slick! A. From hans.andersen at phulse.com Thu Dec 1 13:32:27 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 11:32:27 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> Message-ID: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Dec 1 15:11:18 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 01 Dec 2011 16:11:18 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> Message-ID: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> From tinanfields at torchlake.com Thu Dec 1 15:43:19 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 16:43:19 -0500 Subject: [AccessD] Paint.net In-Reply-To: <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4ED7F4F7.5030104@torchlake.com> When I try to find paint.net for download, I find GIMP. Are they the same thing? T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 11/27/2011 10:53 PM, Darryl Collins wrote: > Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one ! :) thanks. > > Will download and have a look. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Monday, 28 November 2011 1:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Paint.net > > Paint.Net looks like a nice program...I have never heard of it before. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, November 27, 2011 5:40 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Paint.net > > I have to do reports over actual pictures of state documents. Of course the copy is very light. Is it possible to darken the washed out text with Paint.net without also darkening the background. IOW increase the contrast but more than that actually make the grey more black? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Dec 1 15:59:09 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 01 Dec 2011 16:59:09 -0500 Subject: [AccessD] Windows 8 In-Reply-To: <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <4C24D5890B884D9AA8E0BB18ED35F918@creativesystemdesigns.com> Message-ID: <000601ccb074$74bab5f0$5e3021d0$@net> The "ultimate" question: difference between it and the Pro version ? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, December 01, 2011 1:01 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > In all the box stores around here, Staples, Future Shop, Best Buy and > even > Costco, the last price I saw (yesterday) was $379 plus taxes which puts > it > up to about $420. > > There are upgrades from Pro versions to Ultimate versions which can be > had > for a mere $189 plus tax; $210 > > You will have to send me one of these super cheap copies. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, December 01, 2011 9:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > $400? Ouch. Full version of Windows 7 Ultimate 64 bit is available > lots of places for under $200. $189 here > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213938 > > Can't imagine that most users really NEED ultimate though. Full > version of Professional is $139.99 > > http://www.tigerdirect.com/applications/searchtools/item- > details.asp?EdpNo=5 > 213934 > > GK > > 2011/12/1 Jim Lawrence : > > These are interesting times... > > > > A full version of Windows is selling for about $400 while preloaded > version > > cost $50 or less. It is cheaper to buy a new computer with Windows > preloaded > > and now people are seriously looking at other options than always > having > to > > go out and buy another piece of hardware. > > > > Recently, a client asked whether it would be a good idea to install > Linux > in > > their office. I have to admit the price is right and their old XP > computers > > do need a face-lift. The other option is to buy Windows and in their > case > > the cost will be another 10K to 15K...that is before the server is > upgraded. > > > > With more Linux packages spreading out in the market, not only will > it > > directly threaten Windows, at least to a small degree but it gives > Linux a > > lot more of free advertisement and before Android Linux had virtually > none. > > That could be very dangerous to Microsoft's previous unchallenged PC > > domination. > > > > But we shall see...If Microsoft released its top versions of Windows > at > say > > $100 they could halt the Linux advance but then they would be > annoying the > > PC manufactures market from which they make most of their money. > > > > Jim > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > Shamil > > Sent: Thursday, December 01, 2011 2:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Windows 8 > > > > Hi John at all, > > > > How about that probable "Windows Metro Style Killer" ?- Android 4.0 > "Ice > > Cream Sandwich" on x86?: > > > > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an- > android-pow > > ered-pc/9867?tag=nl.e101 > > > > -- Shamil > > > > > >> >> 29 ?????? 2011, 07:43 ?? jwcolby: > >> >>> Shamil, > >> >>> > >> >>> Actually you touched on the next thing I think which is voice. > ?My > > Droid > >> >> has wonderful voice > >> >>> recognition, *when* it is context sensitive. ?IOW when I am > > programming > >> >> I pretty much type 99% the > >> >>> same stuff - keywords, syntax etc over and over. ?Dictating code > to > my > >> >> computer is something that is > >> >>> close I believe and which I will gladly use over typing. > >> >>> > >> >>> John W. Colby > >> >>> Colby Consulting > >> >>> > >> >>> Reality is what refuses to go away > >> >>> when you do not believe in it > >> >>> > >> >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >> >>>> Darryl -- > >> >>>> > >> >>>> Working with "virtual documents" by hands - two hands - on > > multi-touch > >> >> displays is no doubt more ergonomic and intuitive than using > mouse... > >> >>>> The next logical step are "virtual desktops" - horizontally > mounted > >> >> displays, "virtual blackboards" with "virtual keyboards" etc. - > that's > >> >> another technological revolution of the ways of communicating > with > >> >> computers by using a broad range of both hands gestures and > voice... > >> >>>> > >> >>>> The next should probably be "virtual holographic displays" and > 3D > >> >> communication with them... > >> >>>> > >> >>>> Thank you. > >> >>>> > >> >>>> -- 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 > > > > -- > 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 jwcolby at colbyconsulting.com Thu Dec 1 16:02:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 01 Dec 2011 17:02:29 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED7F975.7010407@colbyconsulting.com> Not to my knowledge. http://www.paint.net/ John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 4:43 PM, Tina Norris Fields wrote: > When I try to find paint.net for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: >> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >> ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >> it possible to darken the washed out text with Paint.net without also darkening the background. >> IOW increase the contrast but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> From dbdoug at gmail.com Thu Dec 1 16:03:50 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 14:03:50 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: Try http://www.getpaint.net/index.html Doug On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net for download, I find GIMP. Are they the > same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of Jim Lawrence >> Sent: Monday, 28 November 2011 1:36 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Paint.net >> >> Paint.Net looks like a nice program...I have never heard of it before. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Sunday, November 27, 2011 5:40 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Paint.net >> >> I have to do reports over actual pictures of state documents. Of course >> the copy is very light. Is it possible to darken the washed out text with >> Paint.net without also darkening the background. IOW increase the contrast >> but more than that actually make the grey more black? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From charlotte.foust at gmail.com Thu Dec 1 17:00:12 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 1 Dec 2011 15:00:12 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F4F7.5030104@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> Message-ID: The download says paint.net but then leads to a gimp download and a site that WOT is less than thrilled with. What's going on? Charlotte Foust On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > When I try to find paint.net > > for download, I find GIMP. Are they the same thing? > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 11/27/2011 10:53 PM, Darryl Collins wrote: > >> Ditto, but it looks very nice. We use GIMP at work, but this (at a >> glance) looks better. Nice one ! :) thanks. >> >> Will download and have a look. >> >> Cheers >> Darryl. >> >> From hans.andersen at phulse.com Thu Dec 1 17:01:28 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 1 Dec 2011 15:01:28 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED7F975.7010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED7F975.7010407@colbyconsulting.com> Message-ID: <8F312CA6-84B6-4AEA-954B-372468762FE4@phulse.com> Paint.Net started as a little home project (in 2004) in learning the .NET Framework around the time that Microsoft was really starting to hype .NET. It eventually evolved into a sort of showcase and proof-of-concept of a decent and strictly .NET application. The Gimp has a much longer history, beginning in the mid 90's, as an image editor on Unix. The main difference between the two is that the Gimp has more advanced features and also is cross platform (Windows, Linux, Mac). Paint.Net isn't quite as feature rich and only runs on Windows (I guess Windows XP and above, if you have .NET installed), but it also has more eye candy and a flashier interface (which can be a bit distracting in my opinion though). Popularity-wise, I'd have to say that the Gimp has a bigger user base, but thats not saying much since they are both vastly dwarfed by Photoshop. - Hans On 2011-12-01, at 2:02 PM, jwcolby wrote: > Not to my knowledge. > > http://www.paint.net/ > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 4:43 PM, Tina Norris Fields wrote: >> When I try to find paint.net for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a glance) looks better. Nice one >>> ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf >>> Of Jim Lawrence >>> Sent: Monday, 28 November 2011 1:36 PM >>> To: 'Access Developers discussion and problem solving' >>> Subject: Re: [AccessD] Paint.net >>> >>> Paint.Net looks like a nice program...I have never heard of it before. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>> Sent: Sunday, November 27, 2011 5:40 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Paint.net >>> >>> I have to do reports over actual pictures of state documents. Of course the copy is very light. Is >>> it possible to darken the washed out text with Paint.net without also darkening the background. >>> IOW increase the contrast but more than that actually make the grey more black? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:09:11 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:09:11 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> References: <4ED62278.3040000@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A372@CPIEMAIL-EVS1.CPIQPC.NET> <71F8BD42B7C64BE1A2CEA7BC6A10C8E5@creativesystemdesigns.com> <89550E0E-8934-434E-A641-5D240C07C51E@phulse.com> Message-ID: <776135A40CBB4EC1B10997D95CFA09BC@creativesystemdesigns.com> Hi All: Here is a vid on how to go through the steps to install the latest 'gingerbread' cyanogenmod 7 update. It does not even require the product to be 'unlocked' which in some cases invalidates the operator/Cell Service Provider agreement. The modification is also not in violation of Google's agreement with reference to proprietary components...if you do have those new components, they can backed up and restored without violating any licensing agreements. (I have not looked up the methods to properly backup and restore proprietary components, yet.) http://www.youtube.com/watch?v=z3thA9OWQc8 Sorry, to say there is not an 'ice-cream sandwich' version available, yet but, in most cases, unless you have the latest hardware, there are insufficient resources to install and run that version. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Thursday, December 01, 2011 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 That's not strictly true. There is a popular alternative firmware of android (or "distro", I suppose you could call it) called cyanogenmod (http://www.cyanogenmod.com/). It should be fairly trivial on many android phones (or most?) to install this alternative, clean firmware and it frees your phone from vendor specific nastiness (funny how android vendors are following the same path as the pc world with HP style software bundling) plus throws in a bunch of nice features on top of that. The only problem is that it is still only using gingerbread. They are working on an icecream sandwich version now tho. I hear a lot of android users raving on about it, so it seems to have a popular support, and it's free & open source. There's a list of devices that it supports on its wiki page: http://en.wikipedia.org/wiki/CyanogenMod Happy jail breaking. Best regards, Hans-Christian Andersen -- Sent from my iPad On 1 Dec 2011, at 09:05, "Jim Lawrence" wrote: > The problem is that so far there is no way to remove it. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond > Sent: Thursday, December 01, 2011 7:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Not if it includes this: > > http://news.yahoo.com/smartphone-spying-204933867.html > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, December 01, 2011 4:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi John at all, > > How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice > Cream Sandwich" on x86?: > > http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow > ered-pc/9867?tag=nl.e101 > > -- Shamil > > >>>> 29 ?????? 2011, 07:43 ?? jwcolby: >>>>> Shamil, >>>>> >>>>> Actually you touched on the next thing I think which is voice. My >>>>> Droid >>>> has wonderful voice >>>>> recognition, *when* it is context sensitive. IOW when I am >>>>> programming >>>> I pretty much type 99% the >>>>> same stuff - keywords, syntax etc over and over. Dictating code >>>>> to my >>>> computer is something that is >>>>> close I believe and which I will gladly use over typing. >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: >>>>>> Darryl -- >>>>>> >>>>>> Working with "virtual documents" by hands - two hands - on >>>>>> multi-touch >>>> displays is no doubt more ergonomic and intuitive than using mouse... >>>>>> The next logical step are "virtual desktops" - horizontally >>>>>> mounted >>>> displays, "virtual blackboards" with "virtual keyboards" etc. - >>>> that's another technological revolution of the ways of >>>> communicating with computers by using a broad range of both hands > gestures and voice... >>>>>> >>>>>> The next should probably be "virtual holographic displays" and 3D >>>> communication with them... >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- Shamil >>>>>> > ...... > > -- > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 1 17:12:57 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 1 Dec 2011 15:12:57 -0800 Subject: [AccessD] Windows 8 In-Reply-To: <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <18C283CC3E1F4FC4BFA7C65B0F656D8A@XPS> Message-ID: Of course, so lowering the price of their separate or non-OEM packages would not adversely affect their OEM hardware distributors, as the user would most likely have to buy new hardware anyway. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 01, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 <> The problem with them doing that is you don't end up buying new hardware then. Try running Win 7 on older hardware and you won't like it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 01, 2011 11:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Windows 8 These are interesting times... A full version of Windows is selling for about $400 while preloaded version cost $50 or less. It is cheaper to buy a new computer with Windows preloaded and now people are seriously looking at other options than always having to go out and buy another piece of hardware. <> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Dec 1 17:20:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 01 Dec 2011 18:20:53 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> Message-ID: <4ED80BD5.8080904@torchlake.com> Well, I persevered. The links provided by John and Doug took me to the same place where all the big green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the table near the bottom of the page, I was taken to the page where small text says to click the free link over on the far right. In every page of this journey, the big green arrows all were for GIMP. What a strange experience. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:00 PM, Charlotte Foust wrote: > The download says paint.net but then leads to a gimp download and a site > that WOT is less than thrilled with. What's going on? > > Charlotte Foust > > On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> When I try to find paint.net >> >> for download, I find GIMP. Are they the same thing? >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 11/27/2011 10:53 PM, Darryl Collins wrote: >> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>> glance) looks better. Nice one ! :) thanks. >>> >>> Will download and have a look. >>> >>> Cheers >>> Darryl. >>> >>> From dbdoug at gmail.com Thu Dec 1 17:28:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 1 Dec 2011 15:28:32 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From steve at datamanagementsolutions.biz Thu Dec 1 17:44:07 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 2 Dec 2011 12:44:07 +1300 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> I think this is just a case of a really poor and confusing website layout design. The bit towards the top right, where it says: "Get it now (free download) Paint.NET v 3.5.10" ... that's the bit that is relevant to the Paint.Net download. The big button underneath that, green, with "Download" - that's part of a big square advertisement that (for me at the moment) relates to FoxTab PDF Creator. Regards Steve -----Original Message----- From: Doug Steele Sent: Friday, December 02, 2011 12:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Paint.net I see what you mean. The weird thing is that the link I posted was shown as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. Doug On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < tinanfields at torchlake.com> wrote: > Well, I persevered. The links provided by John and Doug took me to the > same place where all the big green arrows download GIMP. However, by > following carefully and clicking on the dotpdn button in the table near > the > bottom of the page, I was taken to the page where small text says to click > the free link over on the far right. In every page of this journey, the > big green arrows all were for GIMP. What a strange experience. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > >> The download says paint.net but then leads to a gimp download and a site >> that WOT is less than thrilled with. What's going on? >> >> Charlotte Foust >> >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >> tinanfields at torchlake.com> wrote: >> >> When I try to find paint.net >>> >>> for download, I find GIMP. Are they the same thing? >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>> >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>> glance) looks better. Nice one ! :) thanks. >>>> >>>> Will download and have a look. >>>> >>>> Cheers >>>> Darryl. >>>> >>>> >>>> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: > http://www.databaseadvisors.**com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Dec 1 18:55:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 1 Dec 2011 16:55:20 -0800 Subject: [AccessD] FW: FW: Windows 8 Message-ID: >From my son. Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin _____ From: Noah Sutton-Smolin [mailto:heedleblambeedle at gmail.com] Sent: Thursday, December 01, 2011 4:13 PM To: Rocky Smolin Subject: Re: FW: [AccessD] Windows 8 Droid X is CIQ-Free 2011/12/1 Rocky Smolin Does your phone run Carrier IQ in the background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Thursday, December 01, 2011 7:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Not if it includes this: http://news.yahoo.com/smartphone-spying-204933867.html Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Thursday, December 01, 2011 4:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi John at all, How about that probable "Windows Metro Style Killer" - Android 4.0 "Ice Cream Sandwich" on x86?: http://www.techrepublic.com/blog/hiner/poll-would-you-welcome-an-android-pow ered-pc/9867?tag=nl.e101 -- Shamil > >> 29 ?????? 2011, 07:43 ?? jwcolby: > >>> Shamil, > >>> > >>> Actually you touched on the next thing I think which is voice. My > >>> Droid > >> has wonderful voice > >>> recognition, *when* it is context sensitive. IOW when I am > >>> programming > >> I pretty much type 99% the > >>> same stuff - keywords, syntax etc over and over. Dictating code > >>> to my > >> computer is something that is > >>> close I believe and which I will gladly use over typing. > >>> > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away when you do not believe in it > >>> > >>> On 11/28/2011 7:25 PM, Salakhetdinov Shamil wrote: > >>>> Darryl -- > >>>> > >>>> Working with "virtual documents" by hands - two hands - on > >>>> multi-touch > >> displays is no doubt more ergonomic and intuitive than using mouse... > >>>> The next logical step are "virtual desktops" - horizontally > >>>> mounted > >> displays, "virtual blackboards" with "virtual keyboards" etc. - > >> that's another technological revolution of the ways of > >> communicating with computers by using a broad range of both hands gestures and voice... > >>>> > >>>> The next should probably be "virtual holographic displays" and 3D > >> communication with them... > >>>> > >>>> Thank you. > >>>> > >>>> -- Shamil > >>>> ...... -- 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. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 2 06:00:32 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:00:32 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8BDE0.7000702@torchlake.com> Steve, You're right. I left out that part, didn't I? ALMOST all the big green arrows were for GIMP, but one, right under the Paint.NET real link was another big green arrow for FoxTab PDF Creator. I agree with you that the website layout is poor and confusing. But, as I said, I persevered and finally got Paint.net. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website > layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part > of a big square advertisement that (for me at the moment) relates to > FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table >> near the >> bottom of the page, I was taken to the page where small text says to >> click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a >>> site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: >> http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 06:02:02 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 07:02:02 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@t orchlake.com><4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8BE3A.4030002@torchlake.com> Hi Doug, Yes, that is the site they point to. It's just really badly laid out. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/1/2011 6:28 PM, Doug Steele wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields< > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From jwcolby at colbyconsulting.com Fri Dec 2 06:40:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:28 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED80BD5.8080904@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: <4ED8C73C.6010407@colbyconsulting.com> This happens with most of those pages that exist just to download someone else's program. they apparently get paid for clicks so they intentionally make it very confusing, they intentionally make the big green arrow go to something else entirely because they get paid a few cents of you go there, even if you just immediately click your back button. Hint, the BIG GREEN BUTTON is *not* the one you want to click on. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:20 PM, Tina Norris Fields wrote: > Well, I persevered. The links provided by John and Doug took me to the same place where all the big > green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the > table near the bottom of the page, I was taken to the page where small text says to click the free > link over on the far right. In every page of this journey, the big green arrows all were for GIMP. > What a strange experience. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 From jwcolby at colbyconsulting.com Fri Dec 2 06:40:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 07:40:35 -0500 Subject: [AccessD] Paint.net In-Reply-To: <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <0221BBAF2771444A816DA3E51B18F5AF@stevelaptop> Message-ID: <4ED8C743.40302@colbyconsulting.com> No, I think it is intentional. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/1/2011 6:44 PM, Steve Schapel wrote: > I think this is just a case of a really poor and confusing website layout design. > > The bit towards the top right, where it says: > "Get it now (free download) > Paint.NET v 3.5.10" > ... that's the bit that is relevant to the Paint.Net download. > > The big button underneath that, green, with "Download" - that's part of a big square advertisement > that (for me at the moment) relates to FoxTab PDF Creator. > > Regards > Steve > > -----Original Message----- From: Doug Steele > Sent: Friday, December 02, 2011 12:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Paint.net > > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > >> Well, I persevered. The links provided by John and Doug took me to the >> same place where all the big green arrows download GIMP. However, by >> following carefully and clicking on the dotpdn button in the table near the >> bottom of the page, I was taken to the page where small text says to click >> the free link over on the far right. In every page of this journey, the >> big green arrows all were for GIMP. What a strange experience. >> >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/1/2011 6:00 PM, Charlotte Foust wrote: >> >>> The download says paint.net but then leads to a gimp download and a site >>> that WOT is less than thrilled with. What's going on? >>> >>> Charlotte Foust >>> >>> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< >>> tinanfields at torchlake.com> wrote: >>> >>> When I try to find paint.net >>>> >>>> for download, I find GIMP. Are they the same thing? >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 11/27/2011 10:53 PM, Darryl Collins wrote: >>>> >>>> Ditto, but it looks very nice. We use GIMP at work, but this (at a >>>>> glance) looks better. Nice one ! :) thanks. >>>>> >>>>> Will download and have a look. >>>>> >>>>> Cheers >>>>> Darryl. >>>>> >>>>> >>>>> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.**com >> From tinanfields at torchlake.com Fri Dec 2 07:03:38 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 02 Dec 2011 08:03:38 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8C73C.6010407@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> Message-ID: <4ED8CCAA.10302@torchlake.com> What a goofy way to make a living! :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/2/2011 7:40 AM, jwcolby wrote: > This happens with most of those pages that exist just to download > someone else's program. they apparently get paid for clicks so they > intentionally make it very confusing, they intentionally make the big > green arrow go to something else entirely because they get paid a few > cents of you go there, even if you just immediately click your back > button. > > Hint, the BIG GREEN BUTTON is *not* the one you want to click on. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >> Well, I persevered. The links provided by John and Doug took me to >> the same place where all the big >> green arrows download GIMP. However, by following carefully and >> clicking on the dotpdn button in the >> table near the bottom of the page, I was taken to the page where >> small text says to click the free >> link over on the far right. In every page of this journey, the big >> green arrows all were for GIMP. >> What a strange experience. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 > From jwcolby at colbyconsulting.com Fri Dec 2 07:22:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Dec 2011 08:22:27 -0500 Subject: [AccessD] Paint.net In-Reply-To: <4ED8CCAA.10302@torchlake.com> References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: <4ED8D113.4070204@colbyconsulting.com> > What a goofy way to make a living! :-) LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. Well guess what, someone is PAID to trick us. I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/2/2011 8:03 AM, Tina Norris Fields wrote: > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download someone else's program. they >> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >> make the big green arrow go to something else entirely because they get paid a few cents of you go >> there, even if you just immediately click your back button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>> table near the bottom of the page, I was taken to the page where small text says to click the free >>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>> What a strange experience. >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >> From hans.andersen at phulse.com Fri Dec 2 07:28:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 05:28:40 -0800 Subject: [AccessD] Paint.net In-Reply-To: <4ED8D113.4070204@colbyconsulting.com> References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <56653D383CB8034199 5245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> <4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> <4ED8D113.4070204@colbyconsulting.com> Message-ID: Maybe the website operators aren't aware of it and the ads are being delivered by a third party ad network? Best regards, Hans-Christian Andersen On 2 Dec 2011, at 05:22, jwcolby wrote: > > What a goofy way to make a living! :-) > > LOL, yep. Most of the time the text next to the big green button clearly states that it is for some other program but we are at that page to download some specific thing and out brain just tells us that nobody is intentionally going to try and trick us. > > Well guess what, someone is PAID to trick us. > > I find the whole thing extremely annoying. It usually takes a fair amount of time to figure out where to click to actually get what you want. Often times when you finally do discover the right place to click, it takes you to another page where the process begins all over. > > Paying anyone for clicks on their page that send people to my page breeds all kinds of scams but that is the way the internet works. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/2/2011 8:03 AM, Tina Norris Fields wrote: >> What a goofy way to make a living! :-) >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/2/2011 7:40 AM, jwcolby wrote: >>> This happens with most of those pages that exist just to download someone else's program. they >>> apparently get paid for clicks so they intentionally make it very confusing, they intentionally >>> make the big green arrow go to something else entirely because they get paid a few cents of you go >>> there, even if you just immediately click your back button. >>> >>> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/1/2011 6:20 PM, Tina Norris Fields wrote: >>>> Well, I persevered. The links provided by John and Doug took me to the same place where all the big >>>> green arrows download GIMP. However, by following carefully and clicking on the dotpdn button in the >>>> table near the bottom of the page, I was taken to the page where small text says to click the free >>>> link over on the far right. In every page of this journey, the big green arrows all were for GIMP. >>>> What a strange experience. >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Dec 2 07:45:49 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 2 Dec 2011 08:45:49 -0500 Subject: [AccessD] Paint.net References: <4ED2E661.9000808@colbyconsulting.com><28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com><56653D383CB80341995245C537A9E7B55DEAB4@SINPRD0402MB099.apcprd04.prod.outlook.com><4ED7F4F7.5030104@torchlake.com><4ED80BD5.8080904@torchlake.com><4ED8C73C.6010407@colbyconsulting.com> <4ED8CCAA.10302@torchlake.com> Message-ID: Passive income... the best kind! ;) I'll click for food... Susan H. > What a goofy way to make a living! :-) > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/2/2011 7:40 AM, jwcolby wrote: >> This happens with most of those pages that exist just to download >> someone else's program. they apparently get paid for clicks so they >> intentionally make it very confusing, they intentionally make the big >> green arrow go to something else entirely because they get paid a few >> cents of you go there, even if you just immediately click your back >> button. >> >> Hint, the BIG GREEN BUTTON is *not* the one you want to click on. >> From garykjos at gmail.com Fri Dec 2 08:34:40 2011 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 2 Dec 2011 08:34:40 -0600 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Most of our machines are work are still running XP and Office 2003. Works fine until you hit the row limits in Excel or something. I've never been a fan of upgrading operating systems - well not since the DOS days anyway. The hardware requirements go up with each new version and so you are usually not as happy with the new OS on old hardware as you would be with the New OS on New hardware. With the price of hardware as low as it is now I thinik it's a better choice to just replace the enter box OS and all. If you need to upgrade at all that is. The question is, what do they need to do that they can't do now? GK On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: > The client wants a full version of Office, word and excel for cheap and they > have been hearing how fast a Linux server is. Two years ago they would have > never said such a thing. Linux, if they even cared about it, was just for > geeks. Now they are asking. Android has changed all that. > > I have not decided what to tell them yet but if dollars are a concern stick > with XP until you need new computers would be my first thought. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, December 01, 2011 9:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Windows 8 > > I never really understood what "their old XP computers do need a face-lift" > meant. Why? -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Dec 2 10:27:51 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 08:27:51 -0800 Subject: [AccessD] Solution in search of a problem Message-ID: I have had occasion to create custom spread sheets from access table data where TransferSpreadsheet wouldn't work. After all of the rows have been written, I use: objXLWS.Columns("A:U").Columns.AutoFit and all of the columns automagically adjust their widths to fit the data so when the user opens it up it looks real pretty and all the data is displayed - column set to the width of the longest value in the column - but without a lot of white space which you'd get if you tried to guess the column width needed. HTH somebody Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From markamatte at hotmail.com Fri Dec 2 10:29:04 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 16:29:04 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , Message-ID: Hello All, Anyone done any matching or standardization routines around company names? Thanks, Mark M. From jackandpat.d at gmail.com Fri Dec 2 10:33:29 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 11:33:29 -0500 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: Mark, Can you give a little more info? What's the context? Are you looking for Address etc. On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > Hello All, > > Anyone done any matching or standardization routines around company names? > > Thanks, > > Mark M. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hans.andersen at phulse.com Fri Dec 2 12:24:38 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Fri, 2 Dec 2011 10:24:38 -0800 Subject: [AccessD] Windows 8 In-Reply-To: References: <4ED62278.3040000@colbyconsulting.com> <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com> <016601ccb04b$d16f7480$744e5d80$@winhaven.net> Message-ID: <5441C45C-DD66-46D4-A008-B2841A18393C@phulse.com> Not to mention the massive pollution to the environment by simply discarding computer hardware just to get that new upgrade to something new or run the latest version of Windows. It would be far better to recycle and repurpose computers you presently own, if you plan to upgrade your main desktop (ie. put linux on it or turn it into a media or web server or something like that), or give it away to someone else who can make use of it. This is an oft neglected subject, simply because all the waste gets exported halfway across the world, where we don't have to see or deal with the effects of it ourselves. http://www.youtube.com/watch?v=5sMOAWW6I0k - Hans On 2011-12-02, at 6:34 AM, Gary Kjos wrote: > Most of our machines are work are still running XP and Office 2003. > Works fine until you hit the row limits in Excel or something. I've > never been a fan of upgrading operating systems - well not since the > DOS days anyway. The hardware requirements go up with each new version > and so you are usually not as happy with the new OS on old hardware as > you would be with the New OS on New hardware. With the price of > hardware as low as it is now I thinik it's a better choice to just > replace the enter box OS and all. If you need to upgrade at all that > is. The question is, what do they need to do that they can't do now? > > GK > > On Thu, Dec 1, 2011 at 12:08 PM, Jim Lawrence wrote: >> The client wants a full version of Office, word and excel for cheap and they >> have been hearing how fast a Linux server is. Two years ago they would have >> never said such a thing. Linux, if they even cared about it, was just for >> geeks. Now they are asking. Android has changed all that. >> >> I have not decided what to tell them yet but if dollars are a concern stick >> with XP until you need new computers would be my first thought. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow >> Sent: Thursday, December 01, 2011 9:08 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Windows 8 >> >> I never really understood what "their old XP computers do need a face-lift" >> meant. Why? > > -- > 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 edzedz at comcast.net Fri Dec 2 12:47:22 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 11:47:22 -0700 Subject: [AccessD] Any good name matching algorithms in VBA Message-ID: <008401ccb122$d40d7d40$5bdea8c0@edz1> Does anyone know where I can find some good name matching algorithms in VBA, and or examples, that I can look into ? Thanks. Ed Zuris. edzedz at comcast.net From charlotte.foust at gmail.com Fri Dec 2 12:51:51 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:51:51 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Fri Dec 2 12:55:53 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 10:55:53 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table data > where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the data so > when the user opens it up it looks real pretty and all the data is > displayed > - column set to the width of the longest value in the column - but without > a > lot of white space which you'd get if you tried to guess the column width > needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From edzedz at comcast.net Fri Dec 2 13:33:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 12:33:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000701ccb129$40844ed0$5bdea8c0@edz1> It might be. Is there a Access example that I could study to see if would fit ? Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA I used to use Soundex a lot. Is that the kind of thing you're looking for? Charlotte Foust On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Fri Dec 2 13:52:55 2011 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 2 Dec 2011 14:52:55 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Fri Dec 2 13:55:48 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 2 Dec 2011 19:55:48 +0000 Subject: [AccessD] Company name matching/standardization In-Reply-To: References: , , <4ED62278.3040000@colbyconsulting.com>, , <2549AAC9775448649F15DF6186F297E2@creativesystemdesigns.com>, <016601ccb04b$d16f7480$744e5d80$@winhaven.net>, , , , Message-ID: Address standardization is everywhere...we us the postal service. Even the first/last name is covered. I'm specifically looking for company/business names. I have found a few packages/services online...I was just wondering if anyone had any experience working with or writing VBA/SQL to accomplish something like this. Thanks, Mark A. Matte > From: jackandpat.d at gmail.com > Date: Fri, 2 Dec 2011 11:33:29 -0500 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Company name matching/standardization > > Mark, > > Can you give a little more info? What's the context? Are you looking for > Address etc. > > On Fri, Dec 2, 2011 at 11:29 AM, Mark A Matte wrote: > > > > > Hello All, > > > > Anyone done any matching or standardization routines around company names? > > > > Thanks, > > > > Mark M. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Fri Dec 2 14:02:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 02 Dec 2011 15:02:12 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <001e01ccb12d$4864ec00$d92ec400$@net> Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From edzedz at comcast.net Fri Dec 2 14:10:21 2011 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 2 Dec 2011 13:10:21 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <001e01ccb12d$4864ec00$d92ec400$@net> Message-ID: <000b01ccb12e$6b974730$5bdea8c0@edz1> Thanks. . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 02, 2011 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed - I once had a project to convert mis-spelled names and typical aliases to a "standard name". This client had inconsistent data coming from multiple sources. It had to be consolidated. It was pretty simple actually. I built a cross-reference table that associated all alias's and mis-spellings to a single reference name. Every month we'd run the matching process I developed, find more "drop outs" (reference names with no matches), And then just add them to the cross-reference table and re-run the reports. I did this in Excel, but definitely doable in Access with a single table. That's a table-driven approach. Now if you want something more elegant and heuristic, ask those two guys who started this small company with a funny name that begins with a G. They're pretty good at matching-up words. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, December 02, 2011 1:47 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Any good name matching algorithms in VBA > > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Dec 2 15:23:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 2 Dec 2011 13:23:34 -0800 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000701ccb129$40844ed0$5bdea8c0@edz1> References: <000701ccb129$40844ed0$5bdea8c0@edz1> Message-ID: http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Fri Dec 2 15:31:30 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 2 Dec 2011 13:31:30 -0800 Subject: [AccessD] Solution in search of a problem In-Reply-To: References: Message-ID: Don't know. Never had an occasion to export a memo field. I've had some very long test fields which made the column width unwieldy. So after that statement I adjust the long field to something reasonable and turn on the word wrap. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 10:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Solution in search of a problem Just curious. What happens if one of the fields is a memo field? Charlotte Foust On Fri, Dec 2, 2011 at 8:27 AM, Rocky Smolin wrote: > I have had occasion to create custom spread sheets from access table > data where TransferSpreadsheet wouldn't work. > > After all of the rows have been written, I use: > > objXLWS.Columns("A:U").Columns.AutoFit > > and all of the columns automagically adjust their widths to fit the > data so when the user opens it up it looks real pretty and all the > data is displayed > - column set to the width of the longest value in the column - but > without a lot of white space which you'd get if you tried to guess the > column width needed. > > HTH somebody > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > > > > > www.e-z-mrp.com > > > > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Dec 2 15:48:50 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 02 Dec 2011 22:48:50 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi Jim Of course, most old hardware won't do. But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. It took a little to locate the legacy ATI video drivers for Vista, though. /gustav >>> jimdettman at verizon.net 01-12-2011 22:11 >>> Try running Win 7 on older hardware and you won't like it. Jim. From stuart at lexacorp.com.pg Fri Dec 2 16:04:12 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:04:12 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <008401ccb122$d40d7d40$5bdea8c0@edz1> References: <008401ccb122$d40d7d40$5bdea8c0@edz1> Message-ID: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:07:18 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:07:18 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, Message-ID: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 2 16:48:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 03 Dec 2011 08:48:48 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> > On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > Function LevenshteinDistance(phrase1 As String, phrase2 As String) As Long 'Calculates the minimum number of edits required to transform 'Phrase1 into Phrase2 using addition, deletion, and substitution of characters 'Case insensitive Dim str1() As String Dim str2() As String Dim dist() As Long Dim lngLen1 As Long Dim lngLen2 As Long Dim i As Long Dim j As Long Dim k As Long Dim a(2) As Long Dim r As Long Dim cost As Long lngLen1 = Len(phrase1) lngLen2 = Len(phrase2) ReDim str1(lngLen1) ReDim str2(lngLen2) ReDim dist(lngLen1, lngLen2) For i = 1 To lngLen1 str1(i) = UCase$(Mid$(phrase1, i, 1)) Next For i = 1 To lngLen2 str2(i) = UCase$(Mid$(phrase2, i, 1)) Next For i = 0 To lngLen1 dist(i, 0) = i Next For j = 0 To lngLen2 dist(0, j) = j Next For i = 1 To lngLen1 For j = 1 To lngLen2 If str1(i) = str2(j) Then cost = 0 Else cost = 1 End If a(0) = dist(i - 1, j) + 1 '' deletion a(1) = dist(i, j - 1) + 1 '' insertion a(2) = dist(i - 1, j - 1) + cost '' substitution r = a(0) For k = 1 To UBound(a) If a(k) < r Then r = a(k) Next dist(i, j) = r Next Next LevenshteinDistance = dist(lngLen1, lngLen2) End Function From mcp2004 at mail.ru Fri Dec 2 17:50:19 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 03:50:19 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: References: Message-ID: Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Sat Dec 3 09:21:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 03 Dec 2011 10:21:24 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: Message-ID: <591BD9DBEA5E4256B8EBECFC66083908@XPS> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines you are describing would have been considered higher end machines; not the typical entry level machines that most businesses put in place. In fact if you remember when Vista came out, the big stink was that Microsoft said flat out "buy new hardware" if you wanted to use all the features (it was more then memory, but memory was a good part of it). Many at that time asked if Vista was even worth the upgrade price considering you could not use most of the new features if you didn't get new hardware. Win 7 is a far better OS then Vista and is what Vista should have been, but it's still something I would not consider running on anything less then 2GB. I have clients that have fallen behind on five year replacement cycles and have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. And yes I know memory is cheap, but in many cases the MB is maxed out and upgrading is not possible. Replacing the station as a whole is the best approach, but they've held off. Thankfully most of them are caught up now, but I still have a few stragglers. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Friday, December 02, 2011 06:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows 8 Hi Gustav -- Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... And this old laptop also runs rather well Windows Phone 7 emulator while debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and XNA development isn't available AFAIS) but still well IMO to start learning WP7 development... Thank you. -- Shamil 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > Hi Jim > > Of course, most old hardware won't do. > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 with DirectX 9) and it runs of course not fast but smoothly. > > It took a little to locate the legacy ATI video drivers for Vista, though. > > /gustav > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > Try running Win 7 on older hardware and you won't like it. > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Dec 3 09:43:49 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 03 Dec 2011 10:43:49 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> <4ED955D0.31652.7CBE789@stuart.lexacorp.com.pg> Message-ID: <006f01ccb1d2$5a050a30$0e0f1e90$@net> Extremely interesting. Does GOOGLE use this or a proprietary variant I wonder ? http://en.wikipedia.org/wiki/Levenshtein_distance From edzedz at comcast.net Sat Dec 3 11:38:15 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:38:15 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Better solutions ? Please share. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 11:40:30 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 10:40:30 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94B5C.13549.7A31211@stuart.lexacorp.com.pg> Message-ID: <000701ccb1e2$a7124760$5bdea8c0@edz1> Thanks. . . Will look into the HotFuzz() function at the end. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA There wa a recent discussion on one of the LinkedIn Access forums about optimising a "fuzzy matching" function. Final Test code is here: http://code.google.com/p/fast-vba-fuzzy-scoring-algorithm/source/browse/ trunk/Fuzzy2 Try the HotFuzz() function at the end. I think I may have also have some Levenshtein distance code sitting around somewhere. I will have a dig around. -- Stuart On 2 Dec 2011 at 11:47, Edward Zuris wrote: > > Does anyone know where I can find some good name > matching algorithms in VBA, and or examples, that > I can look into ? > > Thanks. > > Ed Zuris. > edzedz at comcast.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:12:40 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:12:40 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000b01ccb1e7$2575a350$5bdea8c0@edz1> Thanks. http://allenbrowne.com/vba-Soundex.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 02, 2011 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA http://allenbrowne.com/vba-Soundex.html Charlotte Foust On Fri, Dec 2, 2011 at 11:33 AM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Sat Dec 3 12:14:43 2011 From: edzedz at comcast.net (Edward Zuris) Date: Sat, 3 Dec 2011 11:14:43 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Dec 3 13:50:12 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 03 Dec 2011 23:50:12 +0400 Subject: [AccessD] =?utf-8?q?Windows_8?= In-Reply-To: <591BD9DBEA5E4256B8EBECFC66083908@XPS> References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: Hi Jim -- Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? Thank you. -- Shamil 03 ??????? 2011, 19:22 ?? "Jim Dettman" : > > It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines > you are describing would have been considered higher end machines; not the > typical entry level machines that most businesses put in place. > > In fact if you remember when Vista came out, the big stink was that > Microsoft said flat out "buy new hardware" if you wanted to use all the > features (it was more then memory, but memory was a good part of it). Many > at that time asked if Vista was even worth the upgrade price considering you > could not use most of the new features if you didn't get new hardware. > > Win 7 is a far better OS then Vista and is what Vista should have been, but > it's still something I would not consider running on anything less then 2GB. > > I have clients that have fallen behind on five year replacement cycles and > have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. > And yes I know memory is cheap, but in many cases the MB is maxed out and > upgrading is not possible. Replacing the station as a whole is the best > approach, but they've held off. > > Thankfully most of them are caught up now, but I still have a few > stragglers. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Friday, December 02, 2011 06:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Windows 8 > > Hi Gustav -- > > Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop > Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... > > And this old laptop also runs rather well Windows Phone 7 emulator while > debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and > XNA development isn't available AFAIS) but still well IMO to start learning > WP7 development... > > Thank you. > > -- Shamil > > 03 ??????? 2011, 01:45 ?? "Gustav Brock" : > > Hi Jim > > > > Of course, most old hardware won't do. > > > > But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion > zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 > with DirectX 9) and it runs of course not fast but smoothly. > > > > It took a little to locate the legacy ATI video drivers for Vista, though. > > > > /gustav > > > > >>> jimdettman at verizon.net 01-12-2011 22:11 >>> > > > > Try running Win 7 on older hardware and you won't like it. > > > > Jim. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Dec 3 16:40:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 04 Dec 2011 08:40:20 +1000 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> Message-ID: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Levenshtein and the HotFuzz() function for two, On 3 Dec 2011 at 10:38, Edward Zuris wrote: > > Better solutions ? > > Please share. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Friday, December 02, 2011 3:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > Soundex is very limited, that are much better solutions. > > -- > Stuart > > On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > > > I used to use Soundex a lot. Is that the kind of thing you're looking > > > for? > > > > Charlotte Foust > > > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > > wrote: > > > > > > > > Does anyone know where I can find some good name > > > matching algorithms in VBA, and or examples, that > > > I can look into ? > > > > > > Thanks. > > > > > > Ed Zuris. > > > edzedz at comcast.net > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 3 18:23:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 19:23:04 -0500 Subject: [AccessD] Windows 8 In-Reply-To: References: <591BD9DBEA5E4256B8EBECFC66083908@XPS> Message-ID: <4EDABD68.3040307@colbyconsulting.com> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007605%2050001305&IsNodeId=1&bop=And&SrchInDesc=momentus%20xt&Page=1&PageSize=100 It adds a 4 gig "SSD" (flash) cache to store small files that are loaded often. It takes several times loading things but on the second or third pass suddenly stuff loads faster. I bought one for my laptop and I was so pleased that I did the same for my wife's notebook. It is not the same experience as a full on SSD boot disk but very close. On my WMC system downstairs I repurposed an old 30 gb SSD drive that simply wasn't big enough to make the boot disk, and I put a 15 gb readyboost cache on it and put the swap file on the rest. That too has made an enormous difference. But for a notebook where you only have a single disk slot, try the seagate momentus. It may give the old laptop an addition couple of years. I actually replaced my brand new laptop's 5400 rpm drive with this thing and man what a difference. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/3/2011 2:50 PM, Salakhetdinov Shamil wrote: > Hi Jim -- > > Yes, I do remember Vista - I have used it with the same laptop I mentioned with 2GB RAM for more than four years. :) > I've changed/enlarged HDD, added 1GB of memory and installed Win 7 this summer only. > This five years old PC is not good enough for full scale Windows Phone7.1 Development and it can't be used at all for SharePoint Development but other VS2010 SP1 project types development proceed smoothly on this PC, and MS Office 2010 "flies" on it. > > Yes, you're right "memory is the kicker" but for end-user systems 1.5 GB and even 1GB should be good enough for Win 7 I suppose. > 2GB is much better of course but AFAIU your customers can't install 2GB as that is not technically possible for their PCs - then that should be very old PCs? > > Thank you. > > -- Shamil > > > 03 ??????? 2011, 19:22 ?? "Jim Dettman": >> >> It's the memory that's the kicker. Six years ago, the 2 and 3 GB machines >> you are describing would have been considered higher end machines; not the >> typical entry level machines that most businesses put in place. >> >> In fact if you remember when Vista came out, the big stink was that >> Microsoft said flat out "buy new hardware" if you wanted to use all the >> features (it was more then memory, but memory was a good part of it). Many >> at that time asked if Vista was even worth the upgrade price considering you >> could not use most of the new features if you didn't get new hardware. >> >> Win 7 is a far better OS then Vista and is what Vista should have been, but >> it's still something I would not consider running on anything less then 2GB. >> >> I have clients that have fallen behind on five year replacement cycles and >> have systems running from .5 GB to 1.5GB. Even with XP, that's a stretch. >> And yes I know memory is cheap, but in many cases the MB is maxed out and >> upgrading is not possible. Replacing the station as a whole is the best >> approach, but they've held off. >> >> Thankfully most of them are caught up now, but I still have a few >> stragglers. >> >> Jim. >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov >> Shamil >> Sent: Friday, December 02, 2011 06:50 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Windows 8 >> >> Hi Gustav -- >> >> Yes, Windows 7 Ultimate runs very well here on my DELL Inspiron 9400 laptop >> Dual Core 2GHz Intel with 3GB RAM - 5+ years old device... >> >> And this old laptop also runs rather well Windows Phone 7 emulator while >> debugging/running WP7 project under VS2010 SP1 - a bit slow start-up (and >> XNA development isn't available AFAIS) but still well IMO to start learning >> WP7 development... >> >> Thank you. >> >> -- Shamil >> >> 03 ??????? 2011, 01:45 ?? "Gustav Brock": >>> Hi Jim >>> >>> Of course, most old hardware won't do. >>> >>> But I just installed Windows 7 Pro on my 6 years old HP 17" Pavilion >> zd8000 (zd8237) laptop (P4, 3 GHz, 2 GB ram, 90 GB disk, ATI Radeon X600 >> with DirectX 9) and it runs of course not fast but smoothly. >>> >>> It took a little to locate the legacy ATI video drivers for Vista, though. >>> >>> /gustav >>> >>>>>> jimdettman at verizon.net 01-12-2011 22:11>>> >>> >>> Try running Win 7 on older hardware and you won't like it. >>> >>> Jim. >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > From jwcolby at colbyconsulting.com Sat Dec 3 20:06:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 21:06:28 -0500 Subject: [AccessD] Subversion repositories and server Message-ID: <4EDAD5A4.3020505@colbyconsulting.com> I use subversion here at my office. I have to say I find it confusing and "just use it" without really understanding it. I am trying to set it up at my clients as I am about to start doing some VS 2010 / C# stuff there to replace some less reliable Access stuff. I want the repositories to reside on the server with all of its raid and backup safety net. Here at my office I use the file:// method of accessing the repository which the way I understand it is nothing more than allowing VSN on the workstation to check in and out through a shared directory. When I started research on Google I am getting "shared directories is a bad idea, use a server", but I do not know how to do that. I have set up the server simply by downloading the VisualSVN Server msi and installing it. I created a group and a user and ser my user into the group. I then created two repositories for two different projects and added the group to the project with R/W access and disabled the Everyone user. My question is how do I get my workstation to use the server now? I am using VS 2010, and it has the VisualSVN package installed. I just need to "hook up" the VisualSVN in my workstation to get data from the repository server. Onw would think that there would be a place to go to tell VisualSVN in the workstation "your server is named XYZ" etc but I am not finding that. The "Get solution from Subversion" has a Repository URL line but it does not automatically look for and find my repository and I have no clue what the URL is. IMHO this is the shakiest part of using this stuff. Any help is much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Dec 3 21:39:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Dec 2011 22:39:42 -0500 Subject: [AccessD] VSN right click isn't working Message-ID: <4EDAEB7E.1090208@colbyconsulting.com> I use VSN with right click context stuff to check in and out some DLLs such as NLog which are referenced by my projects but are not stuff that I can directly open in VS and use that to do the checkin. The problem is that while the right click menu works on my systems at the office, at my client they cause Windows Explorer to crash, as in close and explorer reopens a few seconds later. Right clicking on any file or directory causes the explorer crash. I eventually found this thing called ShellExView that allows one to see the right click processes that are hooking into Explorer's right click widget, and from there I caused all of the VSNTortoise stuff to stop and the crashes stopped. So I can't use VSN's stuff on my dev machine at the client to check directories in and out of tortoise / VSN and so I have no way to check in initially. I decided to try and do this on the server directly and the right click menu works just fine there, or at least doesn't page fault explorer. However when I try to check it in, it complains about a different user or something. Sigh. AFAIC I do not have to have this in source control, i.e. the reference that I am trying to check in are just dlls which are referenced at a specific path on my hard disk and for that purpose having them in source control doesn't matter. However putting it in source control allows me to "check them out" from any other machine which needs them, and further if I get a new version of a file (nlogs.dll for example) I can check it in and then check it out on other machines to get the latest. The whole point of source control really. So long term I really want to get this working. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From gustav at cactus.dk Sun Dec 4 04:20:48 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Dec 2011 11:20:48 +0100 Subject: [AccessD] Windows 8 Message-ID: Hi John Had the same idea about a 64 GB SSD drive I have at hand, but my old zd8000 sports an ATA interface only. No cigar. /gustav >>> jwcolby at colbyconsulting.com 04-12-2011 01:23 >>> I have to say that the hybrid disk I bought made an enormous difference with Windows 7 in my laptop. From marksimms at verizon.net Sun Dec 4 09:48:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 10:48:14 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> References: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg>, <000601ccb1e2$56b2b7a0$5bdea8c0@edz1> <4EDAA554.2194.CEA8394@stuart.lexacorp.com.pg> Message-ID: <000001ccb29c$22db9540$6892bfc0$@net> Best solution IMHO: Use all three....table lookup, and then the below. > Levenshtein and the HotFuzz() function for two, > From jwcolby at colbyconsulting.com Sun Dec 4 09:59:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 10:59:19 -0500 Subject: [AccessD] Users in SQL Server Message-ID: <4EDB98D7.30009@colbyconsulting.com> Several times now I have run into an issue where SQL Server does not have a pair of users I use for my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases that I am picking up on that server was already set up and has those users. When I try to set those users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. Basically I am able to create the user but not assign rights - db_reader, db_writer etc. I have always been fuzzy about how this stuff works and I just need an explanation of why it won't allow me to set these rights even though the user exists and the check boxes are enabled when I select that database. I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have a DiscoApp in the database with a set of rights for that database but when I look at it back at the server level it does not reflect those rights for that user for that database. Any assistance great fully accepted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sun Dec 4 10:13:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 11:13:31 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB98D7.30009@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> Message-ID: <4EDB9C2B.1010201@colbyconsulting.com> >I just discovered that if I delete the user out in that database and then set the rights through the user back in the server security stuff it happily accepts my changes and re-adds the user to the database. Unfortunately after I did this delete / re-add rigamarole I discovered that all of the rights to objects in the database were removed. For example I had rights to execute stored procedures assigned to these users but after deleting the users the rights to execute were lost. Sigh. This SQL Server Users stuff is really developer unfriendly. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 10:59 AM, jwcolby wrote: > > Several times now I have run into an issue where SQL Server does not have a pair of users I use for > my Access application called DiscoAdmin and DiscoApp. The problem is that one of the the databases > that I am picking up on that server was already set up and has those users. When I try to set those > users up in the server's security it tells me that "the server principal 'DiscoApp' already exists. > Basically I am able to create the user but not assign rights - db_reader, db_writer etc. > > I have always been fuzzy about how this stuff works and I just need an explanation of why it won't > allow me to set these rights even though the user exists and the check boxes are enabled when I > select that database. I just discovered that if I delete the user out in that database and then set > the rights through the user back in the server security stuff it happily accepts my changes and > re-adds the user to the database. This just seems strange. If I don't do this rigamarole then I have > a DiscoApp in the database with a set of rights for that database but when I look at it back at the > server level it does not reflect those rights for that user for that database. > > Any assistance great fully accepted. From marksimms at verizon.net Sun Dec 4 11:36:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 12:36:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDB9C2B.1010201@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> Message-ID: <002601ccb2ab$31538290$93fa87b0$@net> John - as you are discovering (the hard way I might add), SQL Security is a whole specialty onto itself....in fact, there have been books written about just that. Here's one that may be helpful: http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 and here's another: http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 233044X/ref=pd_sim_b_6 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, December 04, 2011 11:14 AM > To: Discussion concerning MS SQL Server; Access Developers discussion > and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > >I just discovered that if I delete the user out in that database and > then set the rights through > the user back in the server security stuff it happily accepts my > changes and re-adds the user to the > database. > > Unfortunately after I did this delete / re-add rigamarole I discovered > that all of the rights to > objects in the database were removed. For example I had rights to > execute stored procedures > assigned to these users but after deleting the users the rights to > execute were lost. > > Sigh. > > This SQL Server Users stuff is really developer unfriendly. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 10:59 AM, jwcolby wrote: > > > > Several times now I have run into an issue where SQL Server does not > have a pair of users I use for > > my Access application called DiscoAdmin and DiscoApp. The problem is > that one of the the databases > > that I am picking up on that server was already set up and has those > users. When I try to set those > > users up in the server's security it tells me that "the server > principal 'DiscoApp' already exists. > > Basically I am able to create the user but not assign rights - > db_reader, db_writer etc. > > > > I have always been fuzzy about how this stuff works and I just need > an explanation of why it won't > > allow me to set these rights even though the user exists and the > check boxes are enabled when I > > select that database. I just discovered that if I delete the user out > in that database and then set > > the rights through the user back in the server security stuff it > happily accepts my changes and > > re-adds the user to the database. This just seems strange. If I don't > do this rigamarole then I have > > a DiscoApp in the database with a set of rights for that database but > when I look at it back at the > > server level it does not reflect those rights for that user for that > database. > > > > Any assistance great fully accepted. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sun Dec 4 12:47:53 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 04 Dec 2011 13:47:53 -0500 Subject: [AccessD] I should be able to do this Message-ID: <4EDBC059.1080609@torchlake.com> Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From ssharkins at gmail.com Sun Dec 4 12:52:18 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 4 Dec 2011 13:52:18 -0500 Subject: [AccessD] I should be able to do this References: <4EDBC059.1080609@torchlake.com> Message-ID: <356134BD550B4B7E94EFBF1984EC2284@SusanHarkins> stu_counselor.Value = combobox.value Is stu_counselor bound to a control in your form? If it is, this should be easy enough. Susan H. > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who will > be assigned to the student whose record is displayed in the form. Once > that is updated, I want the matching name of the counselor to placed in > the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From steve at goodhall.info Sun Dec 4 12:54:43 2011 From: steve at goodhall.info (Steve Goodhall) Date: Sun, 4 Dec 2011 13:54:43 -0500 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 13:25:49 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 14:25:49 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <002601ccb2ab$31538290$93fa87b0$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> Message-ID: <4EDBC93D.8040801@colbyconsulting.com> Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), > SQL Security is a whole specialty onto itself....in fact, there have been > books written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultant/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database and >> then set the rights through >> the user back in the server security stuff it happily accepts my >> changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I discovered >> that all of the rights to >> objects in the database were removed. For example I had rights to >> execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From dw-murphy at cox.net Sun Dec 4 14:20:22 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 4 Dec 2011 12:20:22 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDBC93D.8040801@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> Message-ID: <001201ccb2c2$269e9b70$73dbd250$@cox.net> Don't know about this book but I try and get all my tech books for kindle these days. Have a kindle reader and have the pc reader on my desktop and laptop. That way I can share the book between my devices. I like it. Much less clutter on the book shelves. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, December 04, 2011 11:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server Thanks for the suggestions. Has anyone ever used a kindle edition of books like this? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 12:36 PM, Mark Simms wrote: > John - as you are discovering (the hard way I might add), SQL Security > is a whole specialty onto itself....in fact, there have been books > written about just that. > Here's one that may be helpful: > http://www.amazon.com/Microsoft-Server-Administrators-Pocket-Consultan > t/dp/0 > 73562738X/ref=sr_1_4?s=books&ie=UTF8&qid=1323019853&sr=1-4 > and here's another: > http://www.amazon.com/Microsoft-Server-2008-Management-Administration/ > dp/067 > 233044X/ref=pd_sim_b_6 > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Sunday, December 04, 2011 11:14 AM >> To: Discussion concerning MS SQL Server; Access Developers discussion >> and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> >I just discovered that if I delete the user out in that database >> and then set the rights through the user back in the server security >> stuff it happily accepts my changes and re-adds the user to the >> database. >> >> Unfortunately after I did this delete / re-add rigamarole I >> discovered that all of the rights to objects in the database were >> removed. For example I had rights to execute stored procedures >> assigned to these users but after deleting the users the rights to >> execute were lost. >> >> Sigh. >> >> This SQL Server Users stuff is really developer unfriendly. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 10:59 AM, jwcolby wrote: >>> >>> Several times now I have run into an issue where SQL Server does not >> have a pair of users I use for >>> my Access application called DiscoAdmin and DiscoApp. The problem is >> that one of the the databases >>> that I am picking up on that server was already set up and has those >> users. When I try to set those >>> users up in the server's security it tells me that "the server >> principal 'DiscoApp' already exists. >>> Basically I am able to create the user but not assign rights - >> db_reader, db_writer etc. >>> >>> I have always been fuzzy about how this stuff works and I just need >> an explanation of why it won't >>> allow me to set these rights even though the user exists and the >> check boxes are enabled when I >>> select that database. I just discovered that if I delete the user >>> out >> in that database and then set >>> the rights through the user back in the server security stuff it >> happily accepts my changes and >>> re-adds the user to the database. This just seems strange. If I >>> don't >> do this rigamarole then I have >>> a DiscoApp in the database with a set of rights for that database >>> but >> when I look at it back at the >>> server level it does not reflect those rights for that user for that >> database. >>> >>> Any assistance great fully accepted. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Sun Dec 4 14:27:16 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Mon, 5 Dec 2011 09:27:16 +1300 Subject: [AccessD] I should be able to do this In-Reply-To: References: <4EDBC059.1080609@torchlake.com> Message-ID: Tina, I agree with Steve. On the face of what you have told us so far, what you are trying to do here is irregular. Assuming the combobox is bound to a field in the tblStudent table, what field is it? Regards Steve -----Original Message----- From: Steve Goodhall Sent: Monday, December 05, 2011 7:54 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] I should be able to do this Why store the counselor name in the student table? Why not just store the id and use a join when you need the name? That way if the counselor's name changes (marriage, divorce, whim) you don't need to run around updating student records. Steve Goodhall, MSCS, PMP -----Original message----- From: Tina Norris Fields To: DatabaseAdvisors-Access Sent: Sun, Dec 4, 2011 18:47:04 GMT+00:00 Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 4 15:41:56 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 07:41:56 +1000 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDBE924.30917.11DB6A54@stuart.lexacorp.com.pg> Bad girl! :-) tbStudent.Stu_Counselor should be a numerice field which contains the Counselor_ID foreign key. You should NOT be storing the counselor's name in individual student records. Set the Control Source of the combobox to Stu_Counselor and set its bound column to the (zero based) column number of the field you want to store in the student record. -- Stuart On 4 Dec 2011 at 13:47, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the form. > Once that is updated, I want the matching name of the counselor to > placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found in > tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be rescued. > Any help waking up my brain? > > Thanks, > T > > -- > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 4 16:48:47 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 14:48:47 -0800 Subject: [AccessD] I should be able to do this In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <9E5970D986864D8BB3B1035FBDAB2589@HAL9007> If Counselor_Lname is not a bound field in the form then there are two ways to do this: 1) an Update Query - ( cheat by writing the update query in the QBE and copy the SQL from the SQL View of the query) set db = CurrentDb, then db.Execute the update query string, 2) DAO = open a recordset of tblCounselor either filtered to include only the record you want or all records then use .FIndFirst to find the record you want. Then .Edit/.Update. Walla! HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Sunday, December 04, 2011 10:48 AM To: DatabaseAdvisors-Access Subject: [AccessD] I should be able to do this Dear Friends, Okay, I have a form with a combo-box for selecting the counselor who will be assigned to the student whose record is displayed in the form. Once that is updated, I want the matching name of the counselor to placed in the student's record. So combo-box is looking into the tblCounselor, which has two fields Counselor_ID and Counselor_LName. Once the choice is made, I want to update the field Stu_Counselor in the tblStudent with the name found in tblCounselor.Counselor_LName. I'm writing gibberish in my AfterUpdate event and I need to be rescued. Any help waking up my brain? Thanks, T -- Tina Norris Fields tinanfields at torchlake.com 231-322-2787 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 4 17:15:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 04 Dec 2011 18:15:14 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <001201ccb2c2$269e9b70$73dbd250$@cox.net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> Message-ID: <000f01ccb2da$94de8f10$be9bad30$@net> But - can you mark-up or annotate with a Kindle ? I love to get books in PDF format and use Acrobat Pro to add notes and comments and highlighting. > Don't know about this book but I try and get all my tech books for > kindle > these days. Have a kindle reader and have the pc reader on my desktop > and > laptop. That way I can share the book between my devices. I like it. > Much > less clutter on the book shelves. From darryl at whittleconsulting.com.au Sun Dec 4 18:15:00 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:15:00 +0000 Subject: [AccessD] Multi Select. Message-ID: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hmmmm... Turns out you can only set this property when the form is in design mode, even via VBA. Why on earth would they do that? I have a couple of workarounds in the bag, so not looking for a solution (unless you have a really cool one you can share), but it seems like an odd thing to enforce on developers, especially as the form is nearly always going to be open and in use when you want to change that property 'on the fly'... Anyone got any thoughts on this? Just curious. Cheers Darryl. From jwcolby at colbyconsulting.com Sun Dec 4 18:18:56 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 19:18:56 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <000f01ccb2da$94de8f10$be9bad30$@net> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> Message-ID: <4EDC0DF0.2020107@colbyconsulting.com> > But - can you mark-up or annotate with a Kindle ? Apparently to some extent that depends on the version. You apparently can with the new Kindle Touch which has a virtual keyboard and touch screen. I am looking at buying one of these. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 6:15 PM, Mark Simms wrote: > But - can you mark-up or annotate with a Kindle ? I love to get books in PDF > format and use Acrobat Pro to add notes and comments and highlighting. > >> Don't know about this book but I try and get all my tech books for >> kindle >> these days. Have a kindle reader and have the pc reader on my desktop >> and >> laptop. That way I can share the book between my devices. I like it. >> Much >> less clutter on the book shelves. > > From charlotte.foust at gmail.com Sun Dec 4 18:45:52 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 16:45:52 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a solution > (unless you have a really cool one you can share), but it seems like an odd > thing to enforce on developers, especially as the form is nearly always > going to be open and in use when you want to change that property 'on the > fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Sun Dec 4 18:58:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 00:58:47 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> It is not the active control itself, which I agree needs to retain its state - at least while active, but the other listboxes on the form. For example I have a form where listbox 1's default setting is 'multi-select' and if the user chooses more than one option from listbox 1, then list box 2 can only allow a single option from its list (so multi-select should = none for listbox 2). However if list box 1 has only one option selected than listbox 2 should allow multi-select to be available. So the multi-select status of listbox 2 has a dependency on what the user selects (or doesn't select) in listbox 1 and visa versa. If a user chooses multiple values in listbox 2 first, then only a single option should be allowed from listbox 1 and the status change from multi to single. Yep, I have a real live scenario where this has to happen. I have a work around which basically fakes that behaviour and it works ok. I can understand why you should not be able to change the state of the active listbox, but you cannot change any listboxes on the form, unless you are in design mode. Oh well.... Just curious - seems a bit like a case of laziness to me, but there are often other implications I am yet to grasp, maybe this is one of them. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 11:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It makes sense to me. A control is either going to be multiselect or not. Why would you even want to change it on the fly? Charlotte Foust On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 19:07:17 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:07:17 -0800 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from listbox 1, > then list box 2 can only allow a single option from its list (so > multi-select should = none for listbox 2). However if list box 1 has only > one option selected than listbox 2 should allow multi-select to be > available. So the multi-select status of listbox 2 has a dependency on > what the user selects (or doesn't select) in listbox 1 and visa versa. If > a user chooses multiple values in listbox 2 first, then only a single > option should be allowed from listbox 1 and the status change from multi to > single. > > Yep, I have a real live scenario where this has to happen. I have a work > around which basically fakes that behaviour and it works ok. I can > understand why you should not be able to change the state of the active > listbox, but you cannot change any listboxes on the form, unless you are in > design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, but > there are often other implications I am yet to grasp, maybe this is one of > them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is in > > design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Sun Dec 4 19:09:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 17:09:34 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC0DF0.2020107@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: Or you could buy the new Nook tablet. The Nook has had the keyboard and touch screen for a long time. ;-) Charlotte Foust On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > > But - can you mark-up or annotate with a Kindle ? > > Apparently to some extent that depends on the version. You apparently can > with the new Kindle Touch which has a virtual keyboard and touch screen. I > am looking at buying one of these. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 6:15 PM, Mark Simms wrote: > >> But - can you mark-up or annotate with a Kindle ? I love to get books in >> PDF >> format and use Acrobat Pro to add notes and comments and highlighting. >> >> Don't know about this book but I try and get all my tech books for >>> kindle >>> these days. Have a kindle reader and have the pc reader on my desktop >>> and >>> laptop. That way I can share the book between my devices. I like it. >>> Much >>> less clutter on the book shelves. >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From stuart at lexacorp.com.pg Sun Dec 4 19:10:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 05 Dec 2011 11:10:02 +1000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 19:41:16 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:41:16 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDC19EA.7526.1299F1A0@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EE44C@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, now that makes more sense... I figured there is likely to be a deeper reason I just didn't understand. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 5 December 2011 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. It's not an Access thing, it's a Windows thing. Listbox and Combobox common controls, and some others, don't support modifying Window Styles dynamically. The only way to change Style and Extended Style attributes for these is to destroy and recreate the control regardless of what development environment you are in. -- Stuart On 5 Dec 2011 at 0:15, Darryl Collins wrote: > Hmmmm... Turns out you can only set this property when the form is in > design mode, even via VBA. Why on earth would they do that? > > I have a couple of workarounds in the bag, so not looking for a > solution (unless you have a really cool one you can share), but it > seems like an odd thing to enforce on developers, especially as the > form is nearly always going to be open and in use when you want to > change that property 'on the fly'... > > Anyone got any thoughts on this? Just curious. > > Cheers > Darryl. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 19:53:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 01:53:02 +0000 Subject: [AccessD] Multi Select. In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 20:19:54 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 02:19:54 +0000 Subject: [AccessD] Multi Select. In-Reply-To: <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE39C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE3F4@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EE470@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE4B7@SINPRD0402MB099.apcprd04.prod.outlook.com> Doh... proof reading is important... proof reading is important... " there is NO left to right sequence required " Bah.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, 5 December 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Hi Charlotte, Yeah, that was my original idea, have one listbox set to multi and the other set to single and swap the visibility, but in reality that wasn't going to work functionally for what is required here. Mainly as the process is not a linear one, so the user can 'go back' (so to speak) can change how many records are selected in either list box - or select them in any order, there is left to right sequence required Of course choosing one of each only is also a valid option. No, I ended up using option II I found on Google, which is to emulate what I was looking to do via code. This works by first counting how many records are selected in the active listbox and setting a public Boolean variable. I then use code like this I use an onclick event to work out how many records are selected (If the other list box has more than one record select this stage is skipped as we have already set the select status on both boxes). For i = 0 To lstBox1.ListCount - 1 If lstBox1.Selected(i) = True Then x = x + 1 strMaterialTypeName(x) = lstBox1.Column(0, x) End If Next i If x > 1 Then gbOutputMatTypeMS = False Else gbOutputMatTypeMS = True End If '---------------------------------------------------------------------------- Then when the user clicks on the the other listbox we already know the status of the original listbox If gbInputMatTypeMS = False Then For i = 0 To lstBox1.ListCount - 1 lstBox1.Selected(i) = False Next i lstBox1.Selected(lstBox1.ListIndex + 1) = True End If '------------------------------------------------------------------------------------------ Which will force the other listbox to only select the item click on by the user if the multiselect variable for the dependant listbox is set to FALSE (gbInputMatTypeMS=False). This actually works rather well and painlessly. It allows the user to automagically select whatever they want in any order and the listboxes adjust state accordingly depending on how many records are chosen in each listbox. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, 5 December 2011 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Multi Select. Simplest way to handle it is with stacked controls using the particular settings you need. Just set their visibility depending on the selection in listbox 2. No need to make design changes to the form, which is what you're doing when you change the property of the control itself. Charlotte Foust On Sun, Dec 4, 2011 at 4:58 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > It is not the active control itself, which I agree needs to retain its > state - at least while active, but the other listboxes on the form. > > For example I have a form where listbox 1's default setting is > 'multi-select' and if the user chooses more than one option from > listbox 1, then list box 2 can only allow a single option from its > list (so multi-select should = none for listbox 2). However if list > box 1 has only one option selected than listbox 2 should allow > multi-select to be available. So the multi-select status of listbox 2 > has a dependency on what the user selects (or doesn't select) in > listbox 1 and visa versa. If a user chooses multiple values in > listbox 2 first, then only a single option should be allowed from > listbox 1 and the status change from multi to single. > > Yep, I have a real live scenario where this has to happen. I have a > work around which basically fakes that behaviour and it works ok. I > can understand why you should not be able to change the state of the > active listbox, but you cannot change any listboxes on the form, > unless you are in design mode. > > Oh well.... Just curious - seems a bit like a case of laziness to me, > but there are often other implications I am yet to grasp, maybe this > is one of them. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, 5 December 2011 11:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Multi Select. > > It makes sense to me. A control is either going to be multiselect or not. > Why would you even want to change it on the fly? > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:15 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Hmmmm... Turns out you can only set this property when the form is > > in design mode, even via VBA. Why on earth would they do that? > > > > I have a couple of workarounds in the bag, so not looking for a > > solution (unless you have a really cool one you can share), but it > > seems like an odd thing to enforce on developers, especially as the > > form is nearly always going to be open and in use when you want to > > change that property 'on the fly'... > > > > Anyone got any thoughts on this? Just curious. > > > > Cheers > > Darryl. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Dec 4 21:07:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 04 Dec 2011 22:07:32 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> Message-ID: <4EDC3574.1090602@colbyconsulting.com> Yes but the nook is sold by a company that might not be here in a year. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/4/2011 8:09 PM, Charlotte Foust wrote: > Or you could buy the new Nook tablet. The Nook has had the keyboard and > touch screen for a long time. ;-) > > Charlotte Foust > > On Sun, Dec 4, 2011 at 4:18 PM, jwcolby wrote: > >>> But - can you mark-up or annotate with a Kindle ? >> >> Apparently to some extent that depends on the version. You apparently can >> with the new Kindle Touch which has a virtual keyboard and touch screen. I >> am looking at buying one of these. >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 6:15 PM, Mark Simms wrote: >> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>> PDF >>> format and use Acrobat Pro to add notes and comments and highlighting. >>> >>> Don't know about this book but I try and get all my tech books for >>>> kindle >>>> these days. Have a kindle reader and have the pc reader on my desktop >>>> and >>>> laptop. That way I can share the book between my devices. I like it. >>>> Much >>>> less clutter on the book shelves. >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From Benson at ge.com Sun Dec 4 21:24:49 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 4 Dec 2011 22:24:49 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. From rockysmolin at bchacc.com Sun Dec 4 22:04:37 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 4 Dec 2011 20:04:37 -0800 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: I suppose it's there in case you mistakenly start to delete all records in a table or mean to delete 100 and delete 10,000 instead. The only way I know is DoCmd.SetWarnings False but that's in code. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 7:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Dec 4 22:05:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:05:29 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 4 22:09:20 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:09:20 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Yeah code or a macro step I guess is all I got. I'd hoped a hot key variant on run might turn up. On Dec 4, 2011 11:05 PM, "Rocky Smolin" wrote: > I suppose it's there in case you mistakenly start to delete all records in > a > table or mean to delete 100 and delete 10,000 instead. The only way I know > is DoCmd.SetWarnings False but that's in code. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 7:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun Dec 4 22:11:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 4 Dec 2011 23:11:59 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How are > you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror > to execute them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back again, > without using a macro that has such steps or calling a VBA routine? Or is > there a way to get rid of that message that interrupts query execution to > inform me about exceeding Access's rollback buffer, thus continuing without > undo. I understand why Access offers this but frankly for me it is > superfluous, I would never change my behavior regarding that message other > than to click ok, so the warning is useless and an annoyance to me > personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun Dec 4 22:26:37 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 5 Dec 2011 04:26:37 +0000 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EE68B@SINPRD0402MB099.apcprd04.prod.outlook.com> Give it a try Bill. Although I didn't read anyone who actually had any success with that approach and the message. It seems it must impact some users as MS have gone to the trouble of publishing that page. You can turn off warnings at an application level, but I am not sure if that will be effective or not with the undo warning. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 5 December 2011 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Maybe the maxlocks will. For this I don't want code cuz I just wanted a quicker way to run a query in view just after editing. Thanks. On Dec 4, 2011 11:08 PM, "Darryl Collins" wrote: > Hi Bill, > > It seems you get this message depending on how you do the delete. How > are you deleting them? > > From what I understand if you can use > > CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute > them without messages > > or > > if necessary (last resort) you can use > > With DoCmd > .SetWarnings False > .OpenQuery "QueryName" > .SetWarnings True > End with > > It seems you can also get this if you hit MaxLocksPerFile as well << > http://support.microsoft.com/kb/286153>> > > Does any of that help? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE > Global Research, consultant) > Sent: Monday, 5 December 2011 2:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete > Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 1 22:34:11 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 1 Dec 2011 22:34:11 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EE64D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <004101ccb0ab$a3f488f0$ebdd9ad0$@comcast.net> No Messages --> CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, December 04, 2011 10:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Hi Bill, It seems you get this message depending on how you do the delete. How are you deleting them? >From what I understand if you can use CurrentDb.Execute("DELETE FROM tblMyTable"), dbfailonerror to execute them without messages or if necessary (last resort) you can use With DoCmd .SetWarnings False .OpenQuery "QueryName" .SetWarnings True End with It seems you can also get this if you hit MaxLocksPerFile as well <> Does any of that help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Monday, 5 December 2011 2:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sun Dec 4 23:23:47 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 4 Dec 2011 21:23:47 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDC3574.1090602@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: Thanks for the reminder, Chicken Little. LOL Charlotte Foust On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > Yes but the nook is sold by a company that might not be here in a year. ;) > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/4/2011 8:09 PM, Charlotte Foust wrote: > >> Or you could buy the new Nook tablet. The Nook has had the keyboard and >> touch screen for a long time. ;-) >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >> wrote: >> >> But - can you mark-up or annotate with a Kindle ? >>>> >>> >>> Apparently to some extent that depends on the version. You apparently >>> can >>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>> I >>> am looking at buying one of these. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>> PDF >>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>> >>>> Don't know about this book but I try and get all my tech books for >>>> >>>>> kindle >>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>> and >>>>> laptop. That way I can share the book between my devices. I like it. >>>>> Much >>>>> less clutter on the book shelves. >>>>> >>>>> >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> 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 Dec 5 06:35:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Dec 2011 07:35:00 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> Message-ID: <4EDCBA74.70207@colbyconsulting.com> http://www.ecolibris.net/bnindex.asp ;) It's unfortunate they stopped graphing the results. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/5/2011 12:23 AM, Charlotte Foust wrote: > Thanks for the reminder, Chicken Little. LOL > > Charlotte Foust > > On Sun, Dec 4, 2011 at 7:07 PM, jwcolby wrote: > >> Yes but the nook is sold by a company that might not be here in a year. ;) >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>> touch screen for a long time. ;-) >>> >>> Charlotte Foust >>> >>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby> >>> wrote: >>> >>> But - can you mark-up or annotate with a Kindle ? >>>>> >>>> >>>> Apparently to some extent that depends on the version. You apparently >>>> can >>>> with the new Kindle Touch which has a virtual keyboard and touch screen. >>>> I >>>> am looking at buying one of these. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? I love to get books in >>>>> PDF >>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>> >>>>> Don't know about this book but I try and get all my tech books for >>>>> >>>>>> kindle >>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>> and >>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>> Much >>>>>> less clutter on the book shelves. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> >>>> >>>> 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 chartisinsurance.com Mon Dec 5 08:21:33 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 5 Dec 2011 09:21:33 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> References: <008401ccb122$d40d7d40$5bdea8c0@edz1>, <4ED94C16.28124.7A5E6EC@stuart.lexacorp.com.pg> Message-ID: Citations? :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, December 02, 2011 5:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA Soundex is very limited, that are much better solutions. -- Stuart On 2 Dec 2011 at 10:51, Charlotte Foust wrote: > I used to use Soundex a lot. Is that the kind of thing you're looking for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris wrote: > > > > > Does anyone know where I can find some good name matching > > algorithms in VBA, and or examples, that I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 08:30:26 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 09:30:26 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Set the queries UseTransaction property to no in query design. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Sunday, December 04, 2011 10:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Is there a way to turn warnings off through the interface and back again, without using a macro that has such steps or calling a VBA routine? Or is there a way to get rid of that message that interrupts query execution to inform me about exceeding Access's rollback buffer, thus continuing without undo. I understand why Access offers this but frankly for me it is superfluous, I would never change my behavior regarding that message other than to click ok, so the warning is useless and an annoyance to me personally. TIA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Mon Dec 5 08:37:02 2011 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Mon, 5 Dec 2011 09:37:02 -0500 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> References: <000d01ccb1e7$6ed6bbb0$5bdea8c0@edz1> Message-ID: Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text-in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Mon Dec 5 12:20:45 2011 From: edzedz at comcast.net (Edward Zuris) Date: Mon, 5 Dec 2011 11:20:45 -0700 Subject: [AccessD] Any good name matching algorithms in VBA In-Reply-To: Message-ID: <002401ccb37a$9bd7e0a0$5bdea8c0@edz1> Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Monday, December 05, 2011 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Ed, Here is a link showing both Soundex and Levenshtein distance code for vba http://stackoverflow.com/questions/1607690/finding-similar-sounding-text -in- vba -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Saturday, December 03, 2011 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Any good name matching algorithms in VBA Thanks Jack. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Friday, December 02, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any good name matching algorithms in VBA See http://allenbrowne.com/vba-Soundex.html On Fri, Dec 2, 2011 at 2:33 PM, Edward Zuris wrote: > > > It might be. > > Is there a Access example that I could study to see if would fit ? > > Thanks. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, December 02, 2011 11:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any good name matching algorithms in VBA > > > I used to use Soundex a lot. Is that the kind of thing you're looking > for? > > Charlotte Foust > > On Fri, Dec 2, 2011 at 10:47 AM, Edward Zuris > wrote: > > > > > Does anyone know where I can find some good name > > matching algorithms in VBA, and or examples, that > > I can look into ? > > > > Thanks. > > > > Ed Zuris. > > edzedz at comcast.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Dec 5 14:42:20 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 05 Dec 2011 15:42:20 -0500 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: <86C79486EC244013B7EB9E95C3C0D47E@XPS> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From Benson at ge.com Mon Dec 5 15:09:43 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 16:09:43 -0500 Subject: [AccessD] Close a form during the Activate event Message-ID: There is something that I require to be true, upon testing, or this one particular form I consider to be dangerous to use. It is a condition that may change over the session, it is not necessarily a stable condition during the user session. I understand it can be tested for on Form Open, and the opening of the form can then be canceled. But how about afterwards: For example, suppose on activation of the form, I want to test the condition again. According to an error message I just got, I am not allowed to close the form during the form's events. I am kinda stumped how to protect myself now, if I cannot make this check-environment-and-dismiss-form occur on a form's events. I guess I could have a hidden form checking this on a timed basis but I am sure that will cause some regrets. TIA... From gustav at cactus.dk Mon Dec 5 15:43:47 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Dec 2011 22:43:47 +0100 Subject: [AccessD] OT: Of possible interest: Deploying LightSwitch Applications to Windows Azure Message-ID: Thanks Jim, very promising. /gustav >>> jimdettman at verizon.net 05-12-2011 21:42 >>> Deploying LightSwitch Applications to Windows Azure http://msdn.microsoft.com/en-us/magazine/hh547097.aspx gustav mentioned Lightswitch some time ago. May be of interest to some Access developers looking for something else, but don't want to move into .Net. Jim From charlotte.foust at gmail.com Mon Dec 5 15:51:33 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 13:51:33 -0800 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: I'm not clear on what the problem is. You can close a form from other events within a form. What was the message you got and what event were you trying to use? Charlotte Foust On Mon, Dec 5, 2011 at 1:09 PM, Benson, William (GE Global Research, consultant) wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Mon Dec 5 15:55:15 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 07:55:15 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: Message-ID: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Presumably when you say "dangerous to use", you are referring to triggering control events on the form. What happens if you: 1. build a function which checks for the condition and closes the form if necesary 2. Call the function as the first step in any potentially dangerous control event. -- Stuart On 5 Dec 2011 at 16:09, Benson, William (GE Global Re wrote: > There is something that I require to be true, upon testing, or this one > particular form I consider to be dangerous to use. It is a condition > that may change over the session, it is not necessarily a stable > condition during the user session. > > I understand it can be tested for on Form Open, and the opening of the > form can then be canceled. But how about afterwards: For example, > suppose on activation of the form, I want to test the condition again. > According to an error message I just got, I am not allowed to close the > form during the form's events. > > I am kinda stumped how to protect myself now, if I cannot make this > check-environment-and-dismiss-form occur on a form's events. > > I guess I could have a hidden form checking this on a timed basis but I > am sure that will cause some regrets. > > TIA... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 5 17:14:29 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 5 Dec 2011 15:14:29 -0800 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDCBA74.70207@colbyconsulting.com> References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You apparently >>>>> can >>>>> with the new Kindle Touch which has a virtual keyboard and touch >>>>> screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get books >>>>> in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my desktop >>>>>>> and >>>>>>> laptop. That way I can share the book between my devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>> >>>>> ** >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From darryl at whittleconsulting.com.au Mon Dec 5 18:10:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:10:08 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: References: <4EDB98D7.30009@colbyconsulting.com> <4EDB9C2B.1010201@colbyconsulting.com> <002601ccb2ab$31538290$93fa87b0$@net> <4EDBC93D.8040801@colbyconsulting.com> <001201ccb2c2$269e9b70$73dbd250$@cox.net> <000f01ccb2da$94de8f10$be9bad30$@net> <4EDC0DF0.2020107@colbyconsulting.com> <4EDC3574.1090602@colbyconsulting.com> <4EDCBA74.70207@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> I think the one upside of Kindle over a tablet is probably the battery life. Personally I like a good ol' fashioned book. I love the way I can read it on the beach and never have to worry about battery issues, screen resolution, reflection or it getting too much salt and sand in the cracks. I like the tactile book thing too. The feel of the paper, the smell, the way you can get an idea of where you are in the story visually, and it make an excellent shade over your eyes when you want to have nap - try doing that with your tablet ;) The can see some upside to kindle and their ilk such as: 1: Environmental (less paper, less supply chain costs, less printing issues, less waste etc) 2: Speed of delivery (usually a lot faster than even FedEx) 3: Weight (books are heavy if you need to carry a lot of them) 4: Searchable: Much faster to search and reference But I still much prefer a decent paper book over them. Must be getting old ;) Just my thoughts Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 6 December 2011 10:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server I wouldn't have a kindle on a plate! I'd simply get an android table and load the reader software on it. I've never liked the kindle layout or feel, so I see no reason to change now. Charlotte Foust On Mon, Dec 5, 2011 at 4:35 AM, jwcolby wrote: > http://www.ecolibris.net/**bnindex.asp x.asp> > > > > ;) > > It's unfortunate they stopped graphing the results. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/5/2011 12:23 AM, Charlotte Foust wrote: > >> Thanks for the reminder, Chicken Little. LOL >> >> Charlotte Foust >> >> On Sun, Dec 4, 2011 at 7:07 PM, >> jwcolby> >> wrote: >> >> Yes but the nook is sold by a company that might not be here in a year. >>> ;) >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/4/2011 8:09 PM, Charlotte Foust wrote: >>> >>> Or you could buy the new Nook tablet. The Nook has had the >>> keyboard and >>>> touch screen for a long time. ;-) >>>> >>>> Charlotte Foust >>>> >>>> On Sun, Dec 4, 2011 at 4:18 PM, >>>> jwcolby >>>> >>>> >> >>>> >>>> wrote: >>>> >>>> But - can you mark-up or annotate with a Kindle ? >>>> >>>>> >>>>>> >>>>> Apparently to some extent that depends on the version. You >>>>> apparently can with the new Kindle Touch which has a virtual >>>>> keyboard and touch screen. >>>>> I >>>>> am looking at buying one of these. >>>>> >>>>> >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away when you do not believe in it >>>>> >>>>> On 12/4/2011 6:15 PM, Mark Simms wrote: >>>>> >>>>> But - can you mark-up or annotate with a Kindle ? I love to get >>>>> books in >>>>> >>>>>> PDF >>>>>> format and use Acrobat Pro to add notes and comments and highlighting. >>>>>> >>>>>> Don't know about this book but I try and get all my tech books >>>>>> for >>>>>> >>>>>> kindle >>>>>>> these days. Have a kindle reader and have the pc reader on my >>>>>>> desktop and laptop. That way I can share the book between my >>>>>>> devices. I like it. >>>>>>> Much >>>>>>> less clutter on the book shelves. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/******mailman/listinfo/accessd>>>> databaseadvisors.com/****mailman/listinfo/accessd> >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>> /databaseadvisors.com/**mailman/listinfo/accessd> >>>>> >>>>> **>>>> atabaseadvisors.com/mailman/listinfo/accessd> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> Website: http://www.databaseadvisors >>>>> >>>>> . >>>>> >>>>> ****com>>>> s.com> >>>>> >>>>> >>>> >>>>> >>>>> > >>>>> >>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd>> baseadvisors.com/**mailman/listinfo/accessd> >>> >>> >> abaseadvisors.com/mailman/listinfo/accessd> >>> >>> > >>> >>> >>> Website: http://www.databaseadvisors. >>> >>> ****com>> s.com> >>> >>> > >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 5 18:20:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 10:20:25 +1000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > From darryl at whittleconsulting.com.au Mon Dec 5 18:56:59 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 00:56:59 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... Message-ID: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Hehehehe.... exactly. All jokes aside, the paperback book is in many ways a nearly perfect technology. It is a bit like the traditional mousetrap or the standard design on the traditional dial telephone. Some designs are sooo close to being optimal there is little advantage in tweaking them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 6 December 2011 11:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php On 6 Dec 2011 at 0:10, Darryl Collins wrote: > But I still much prefer a decent paper book over them. Must be getting old ;) > > Just my thoughts > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, 6 December 2011 10:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server > > I wouldn't have a kindle on a plate! I'd simply get an android table > and load the reader software on it. I've never liked the kindle > layout or feel, so I see no reason to change now. > > Charlotte Foust > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 20:41:28 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 21:41:28 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> References: <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg> Message-ID: Sorry, I cannot make my statement about "dangerous to use" very clear at this time. Essentially, if the form is open and a certain value has changed (say, for example, a user's privileges have changed from one class to another) then I do not want them able to see the form that they had been looking at. So it was on the activate event that this was to be checked for. That is not the exact condition, it is a representative example. To answer Charlotte's question: "this action cannot be carried out while processing a form or report event" Here is a sample of code you can put in a form that is already opened: Private Sub Form_Activate() If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub Launch the form, then deactivate it by opening a different form. Change the code to If 1 = 1 Then DoCmd.Close acForm, Me.Name Click back on the first form, you will get this error message. From stuart at lexacorp.com.pg Mon Dec 5 21:22:25 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 13:22:25 +1000 Subject: [AccessD] Close a form during the Activate event In-Reply-To: References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, Message-ID: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear at > this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that they > had been looking at. So it was on the activate event that this was to be > checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name > End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Benson at ge.com Mon Dec 5 22:04:22 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:04:22 -0500 Subject: [AccessD] Close a form during the Activate event In-Reply-To: <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> References: , <4EDD3DC3.15134.4573DA2@stuart.lexacorp.com.pg>, <4EDD8A71.27107.582C7BE@stuart.lexacorp.com.pg> Message-ID: Not a difficult task... but not something I want to resort to. I gave up :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 05, 2011 10:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close a form during the Activate event You can set me.Visible = False instead of closing the form. How to garbage collect and subsequently close the hidden form is left as an exercise for the reader. :-) -- Stuart On 5 Dec 2011 at 21:41, Benson, William (GE Global Re wrote: > Sorry, I cannot make my statement about "dangerous to use" very clear > at this time. Essentially, if the form is open and a certain value has > changed (say, for example, a user's privileges have changed from one > class to another) then I do not want them able to see the form that > they had been looking at. So it was on the activate event that this > was to be checked for. > > That is not the exact condition, it is a representative example. > > To answer Charlotte's question: > > "this action cannot be carried out while processing a form or report > event" > > Here is a sample of code you can put in a form that is already opened: > > Private Sub Form_Activate() > If 1 = 2 Then DoCmd.Close acForm, Me.Name End Sub > > > Launch the form, then deactivate it by opening a different form. > > Change the code to > If 1 = 1 Then DoCmd.Close acForm, Me.Name > > Click back on the first form, you will get this error message. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Mon Dec 5 22:08:44 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Mon, 5 Dec 2011 23:08:44 -0500 Subject: [AccessD] .SendObject when Outlook is not present Message-ID: I have a client who feels he will have contractors who will have Access 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to remove any references to Outlook. Well, thing is, I did not have a reference to outlook, I had Access sending some tables through .SendObject, and also I in another situation use Excel's library to attach and mail a file. I can get both applications to run these steps with no DLL reference to Outlook, however without taking Outlook itself off my machine, I cannot really be sure what would happen if the Excel or Access applications tried these steps with no Outlook. Anyone know? Will those applications still call some default e-mail client? Will they just throw off an error? Not process the command? Pls help me know what to expect, if possible, thanks. From stuart at lexacorp.com.pg Mon Dec 5 22:57:34 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 06 Dec 2011 14:57:34 +1000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: Message-ID: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> SendObject will send through whatever the default MAPI client is on the workstation in question. If nothing else has been installed, it is likely to use OE or Windows Mail depending on the OS. In my case, it invokes Pegasus Mail. If there is no installed MAPI mail client, they should get a message telling them that they need to configure one. -- Stuart On 5 Dec 2011 at 23:08, Benson, William (GE Global Re wrote: > I have a client who feels he will have contractors who will have Access > 2010 but (unbelievably) not Outlook on their PCs. So he wanted me to > remove any references to Outlook. Well, thing is, I did not have a > reference to outlook, I had Access sending some tables through > .SendObject, and also I in another situation use Excel's library to > attach and mail a file. I can get both applications to run these steps > with no DLL reference to Outlook, however without taking Outlook itself > off my machine, I cannot really be sure what would happen if the Excel > or Access applications tried these steps with no Outlook. Anyone know? > Will those applications still call some default e-mail client? Will they > just throw off an error? Not process the command? > > Pls help me know what to expect, if possible, thanks. > > -- > 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 Dec 6 09:04:37 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:04:37 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: Me too. A few years back I did an app used by several locations, a couple of which didn't use Outlook but Pegasus instead, and it was trivial. I *love * when that happens! Arthur On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan wrote: > SendObject will send through whatever the default MAPI client is on the > workstation in > question. If nothing else has been installed, it is likely to use OE or > Windows Mail depending > on the OS. In my case, it invokes Pegasus Mail. > > If there is no installed MAPI mail client, they should get a message > telling them that they > need to configure one. > > From fuller.artful at gmail.com Tue Dec 6 09:27:01 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 10:27:01 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. Some > designs are sooo close to being optimal there is little advantage in > tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From vbacreations at gmail.com Tue Dec 6 13:01:09 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:01:09 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a couple > of which didn't use Outlook but Pegasus instead, and it was trivial. I > *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan >wrote: > > > SendObject will send through whatever the default MAPI client is on the > > workstation in > > question. If nothing else has been installed, it is likely to use OE or > > Windows Mail depending > > on the OS. In my case, it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they > > need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Dec 6 13:06:44 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 6 Dec 2011 14:06:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: <6EC310281C8E4710AEC02AE4B4E90497@XPS> References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Tue Dec 6 14:00:06 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 06 Dec 2011 15:00:06 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William > (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is useless > and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 16:52:04 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 22:52:04 +0000 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> " Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." Looks good, just purchased a copy from Amazon - thanks :) Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 7 December 2011 2:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... To add to and reinforce your point, even though I have almost all the Data-Architecture tools available (ERwin, PowerDesigner, DeZign, Rational DA, etc.), more often than not I resort to a pencil and paper to lay out the initial sketch. I don't bother describing the columns at this stage -- just the tables and the joins, and I can use the eraser to refine the Rdefs. When DBs are extremely complex (i.e. several hundred tables) then I skip the pencil-stage and go directly to PowerDesigner (my choice) or ERwin (more often the client's choice, despite its inadequacies). But for SMBs, my first choice remains pencil and paper, where I capture the logic. Maybe it's similar to painters who first sketch the landscape in pencil and only afterward return to the studio and the canvas and the palette. Either way, the fact remains that I understand the pencil-UI way more intuitively than anything yet invented, including all of the late Steve Jobs's inventions. Granted, it took a while to learn how to describe a circle and a square and a triangle, and then to write the alphabet, but I learned all that before attending First Grade in school, and would imagine that in these days so do almost all kids. Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter. Arthur On Mon, Dec 5, 2011 at 7:56 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hehehehe.... exactly. All jokes aside, the paperback book is in many > ways a nearly perfect technology. It is a bit like the traditional > mousetrap or the standard design on the traditional dial telephone. > Some designs are sooo close to being optimal there is little advantage > in tweaking them. > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 6 17:00:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 6 Dec 2011 23:00:21 +0000 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Microsoft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:01:00 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:01:00 -0500 Subject: [AccessD] Turn off delete buffer warning for FasterDelete Queries In-Reply-To: References: <6EC310281C8E4710AEC02AE4B4E90497@XPS> Message-ID: I accept the warning. I am much more concerned that deleting records from an open query or table has such an undo feature. Once I have pulled the trigger on a delete query, I have already done my homework. Really. Famous last words. Thanks again! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, December 06, 2011 3:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Turn off delete buffer warning for FasterDelete Queries Understand that your not turning off the warning, but setting the query so transactions are not used. That means you'll never run out of locks nor will you get the message that the transaction cannot be undone past a certain point. Only do this if you don't care if a failure occurs in the middle execution and can simply re-run it if that happens. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 06, 2011 02:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn off delete buffer warning for Faster Delete Queries Can't wait to try this (but I have to because I am not near PC)... sounds promising. On Dec 5, 2011 9:31 AM, "Jim Dettman" wrote: > > Set the queries UseTransaction property to no in query design. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, > William (GE Global Research, consultant) > Sent: Sunday, December 04, 2011 10:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries > > Is there a way to turn warnings off through the interface and back > again, without using a macro that has such steps or calling a VBA > routine? Or is there a way to get rid of that message that interrupts > query execution to inform me about exceeding Access's rollback buffer, > thus continuing without undo. I understand why Access offers this but > frankly for me it is superfluous, I would never change my behavior > regarding that message other than to click ok, so the warning is > useless and an annoyance to me personally. > > TIA. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 6 17:09:51 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 6 Dec 2011 18:09:51 -0500 Subject: [AccessD] .SendObject when Outlook is not present In-Reply-To: <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDDA0BE.17013.5D9E84A@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B55EECAF@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: That's a lot of dough! Very glad to be kept informed of issues like this Darryl, thanks for taking the time to add. I find it harder and harder, since working mostly from home, to keep abreast of what's going on; very gratified for others weighing in on such matters. Another issue lately is retention. I just took a battery of tests through a psychological testing company, and one of the things I found out is that with a lot of detail, my brain needs a few passes before anything sinks in enough to recall it later. If one has to solve a problem, hunts around on Google for a solution, plops it in and the program works ... forget about remembering it. If I have to mess with it and mess with it til it finally works, there is a chance. Maybe to a degree this is a lot of folk, not just me - but I have seen a marked decrease in what I can retain over only a few short years. This is my long way of saying "I may ask this again some time" and please, please don't take it as a sign of not paying attention. You can see by the fact that I have read and replied, that I was at least in the here and now, paying attention. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, December 06, 2011 6:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present Bill, You are likely to find this more and more these days as MS Outlook is no longer a standard part of every version of Office these days - rather it is only available on the more costly versions. You can buy it separately if you wish. Of course costs vary wildly around the world and here in Oz (Australia) we get ripped pretty badly on prices - so to purchase MS Outlook as a stand-alone product is an additional $180 AUD over and above the cost of the MS office suite (assuming the version you purchased doesn't come with an Outlook License). Many folks or small businesses, who just want an email client or two, decide it ain't worth the cost and swap to Thunderbird, Pegasus or even Gmail instead. For the curious... here is what MS Office product cost in AUD (keep in mind that the AUD is worth approx 1.02 USD at the moment - so pretty much parity). << http://www.officeworks.com.au/retail/products/Technology/Software/Micros oft-Office>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 7 December 2011 6:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .SendObject when Outlook is not present (I think??) I'm glad to hear this! Thanks for such well informed responses. There are so many things I take for granted with MS Office installed. On Dec 6, 2011 10:06 AM, "Arthur Fuller" wrote: > Me too. A few years back I did an app used by several locations, a > couple of which didn't use Outlook but Pegasus instead, and it was > trivial. I *love > * when that happens! > > Arthur > > On Mon, Dec 5, 2011 at 11:57 PM, Stuart McLachlan > >wrote: > > > SendObject will send through whatever the default MAPI client is on > > the workstation in question. If nothing else has been installed, it > > is likely to use OE or Windows Mail depending on the OS. In my case, > > it invokes Pegasus Mail. > > > > If there is no installed MAPI mail client, they should get a message > > telling them that they need to configure one. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Dec 6 17:27:16 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 6 Dec 2011 17:27:16 -0600 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries Message-ID: > > Benson, William: > I accept the warning. I am much more concerned that deleting records > from an open query or table has such an undo feature. Once I have pulled > the trigger on a delete query, I have already done my homework. > > Really. > > Famous last words. > > Thanks again! > I take it that you are running the delete queries from the interface. Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm options: Record Changes, Document Deletions, Action Queries? This should turn off all the safeties. I mean really, what could possibly go wrong? ;) -Ken From fuller.artful at gmail.com Tue Dec 6 19:49:54 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 6 Dec 2011 20:49:54 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's an awesome work, IMO. I'm certain that you will love it, and your kids will get the best possible intro to the world of math, not to mention such things as the reason why some plants have opposing branches while others have spiraling branches, and a zillion other topics too. Have fun! I know you will. A. On Tue, Dec 6, 2011 at 5:52 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > " Tangentially relevant and directed to listers with children: I want to > recommend at the highest level a book called "A Beginner's Guide to > Constructing the Universe" by Michael S. Schneider. You and your children > will have 110% fun going through this book, and both of you will end up > smarter." > > Looks good, just purchased a copy from Amazon - thanks :) > > Cheers > Darryl > > From vbacreations at gmail.com Wed Dec 7 00:54:44 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 01:54:44 -0500 Subject: [AccessD] Turn off delete buffer warning for Faster Delete Queries In-Reply-To: References: Message-ID: Hi Ken. I want the option for the current query only; that would I think affect other queries...? On Dec 6, 2011 6:28 PM, "Kenneth Ismert" wrote: > > > > Benson, William: > > I accept the warning. I am much more concerned that deleting records > > from an open query or table has such an undo feature. Once I have pulled > > the trigger on a delete query, I have already done my homework. > > > > Really. > > > > Famous last words. > > > > Thanks again! > > > > I take it that you are running the delete queries from the interface. > > Have you tried: Tools -> Options -> Edit/Find Tab -> Turning off Confirm > options: Record Changes, Document Deletions, Action Queries? > > This should turn off all the safeties. I mean really, what could possibly > go wrong? ;) > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 7 01:29:13 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 7 Dec 2011 02:29:13 -0500 Subject: [AccessD] Paint.net In-Reply-To: References: <4ED2E661.9000808@colbyconsulting.com> <28F452091DBF49399F4DF88F0300A737@creativesystemdesigns.com> <4ED7F4F7.5030104@torchlake.com> <4ED80BD5.8080904@torchlake.com> Message-ID: I wonder if the original website registration ran out and got scooped up by a competition On Dec 1, 2011 6:29 PM, "Doug Steele" wrote: > I see what you mean. The weird thing is that the link I posted was shown > as 'Paint.Net Website' in the 'Help' menu in Paint.Net itself. > > Doug > > On Thu, Dec 1, 2011 at 3:20 PM, Tina Norris Fields < > tinanfields at torchlake.com> wrote: > > > Well, I persevered. The links provided by John and Doug took me to the > > same place where all the big green arrows download GIMP. However, by > > following carefully and clicking on the dotpdn button in the table near > the > > bottom of the page, I was taken to the page where small text says to > click > > the free link over on the far right. In every page of this journey, the > > big green arrows all were for GIMP. What a strange experience. > > > > T > > > > Tina Norris Fields > > tinanfields at torchlake.com > > 231-322-2787 > > > > > > On 12/1/2011 6:00 PM, Charlotte Foust wrote: > > > >> The download says paint.net but then leads to a gimp download and a > site > >> that WOT is less than thrilled with. What's going on? > >> > >> Charlotte Foust > >> > >> On Thu, Dec 1, 2011 at 1:43 PM, Tina Norris Fields< > >> tinanfields at torchlake.com> wrote: > >> > >> When I try to find paint.net > >>> > >>> for download, I find GIMP. Are they the same thing? > >>> T > >>> > >>> Tina Norris Fields > >>> tinanfields at torchlake.com > >>> 231-322-2787 > >>> > >>> > >>> On 11/27/2011 10:53 PM, Darryl Collins wrote: > >>> > >>> Ditto, but it looks very nice. We use GIMP at work, but this (at a > >>>> glance) looks better. Nice one ! :) thanks. > >>>> > >>>> Will download and have a look. > >>>> > >>>> Cheers > >>>> Darryl. > >>>> > >>>> > >>>> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:10:57 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:10:57 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: All, About a week or two ago, someone posted a link to a website that had info about products to enhance Windows. One of these was "Fences". I had never heard of Fences before so I installed it and I find it to be quite useful. Now I am trying to locate the info about the other products. I evidently did not keep the AccessD Email and I can't seem to get the AccessD Archive to work. Does anyone have the original post or the link? Thanks, Brad From dbdoug at gmail.com Wed Dec 7 15:15:47 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:15:47 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such as Fences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feedburner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Wed Dec 7 15:20:29 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 7 Dec 2011 15:20:29 -0600 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Doug, Thanks. I owe ya a beer! Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, December 07, 2011 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) Here's a link to a later post on the subject of useful software from Scott Hanselman: http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed burner.com%2FScottHanselman On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks wrote: > All, > > About a week or two ago, someone posted a link to a website that had > info about products to enhance Windows. One of these was "Fences". I > had never heard of Fences before so I installed it and I find it to be > quite useful. > > Now I am trying to locate the info about the other products. > > I evidently did not keep the AccessD Email and I can't seem to get the > AccessD Archive to work. > > Does anyone have the original post or the link? > > Thanks, > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From tinanfields at torchlake.com Wed Dec 7 15:33:11 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 16:33:11 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDBC059.1080609@torchlake.com> References: <4EDBC059.1080609@torchlake.com> Message-ID: <4EDFDB97.8080605@torchlake.com> Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > From dbdoug at gmail.com Wed Dec 7 15:44:43 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 13:44:43 -0800 Subject: [AccessD] Earlier AccessD Post about Windows Utilities (such asFences) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I will gladly accept one! Doug On Wed, Dec 7, 2011 at 1:20 PM, Brad Marks wrote: > Doug, > > Thanks. > > I owe ya a beer! > > Brad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Wednesday, December 07, 2011 3:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Earlier AccessD Post about Windows Utilities > (such asFences) > > Here's a link to a later post on the subject of useful software from > Scott > Hanselman: > > http://www.google.com/reader/view/#stream/feed%2Fhttp%3A%2F%2Ffeeds.feed > burner.com%2FScottHanselman > > On Wed, Dec 7, 2011 at 1:10 PM, Brad Marks > wrote: > > > All, > > > > About a week or two ago, someone posted a link to a website that had > > info about products to enhance Windows. One of these was "Fences". I > > had never heard of Fences before so I installed it and I find it to be > > quite useful. > > > > Now I am trying to locate the info about the other products. > > > > I evidently did not keep the AccessD Email and I can't seem to get the > > AccessD Archive to work. > > > > Does anyone have the original post or the link? > > > > Thanks, > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 16:49:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 22:49:07 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <4EDFDB97.8080605@torchlake.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> Message-ID: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Wed Dec 7 17:04:15 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:04:15 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4EDBC059.1080609@torchlake.com> <4EDFDB97.8080605@torchlake.com> <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF0EF.7000202@torchlake.com> Darryl, Thanks, that is a terrific story. Yes, I think I finally have this lesson learned. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 5:49 PM, Darryl Collins wrote: > " and in my heart of hearts I did know it." > > Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. > > I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. > > Cheers > Darryl. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields > Sent: Thursday, 8 December 2011 8:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I should be able to do this - resolved > > Dear Friends, > > Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. > > When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. > > I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. > > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/4/2011 1:47 PM, Tina Norris Fields wrote: >> Dear Friends, >> >> Okay, I have a form with a combo-box for selecting the counselor who >> will be assigned to the student whose record is displayed in the >> form. Once that is updated, I want the matching name of the counselor >> to placed in the student's record. >> >> So combo-box is looking into the tblCounselor, which has two fields >> Counselor_ID and Counselor_LName. Once the choice is made, I want to >> update the field Stu_Counselor in the tblStudent with the name found >> in tblCounselor.Counselor_LName. >> >> I'm writing gibberish in my AfterUpdate event and I need to be >> rescued. Any help waking up my brain? >> >> Thanks, >> T >> From djkr at msn.com Wed Dec 7 17:11:59 2011 From: djkr at msn.com (DJK (John) Robinson) Date: Wed, 7 Dec 2011 23:11:59 +0000 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: A place I worked for a while had Christmas Day fall in the fourth half of the third month, for similar reasons - yes, the *fourth* half! Never assume anything ... John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: 07 December 2011 22:49 To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved " and in my heart of hearts I did know it." Heh... You know Tina, over the years I have had many of these moments, and in every instance it has come back to bite me. And the longer you leave it, the greater the pain. These days when I get that feeling, I make sure I fix the problem immediately - even if it seems like a lot of unnecessary work. I guess the golden rule is nothing should be fixed and everything can (and probably will) change. I have a great example of "months in the year" Sure, everyone knows they should be 12, but I had one year, in one company where they had to make it 11 months in a year instead - they need to do this as the company had been purchased by another company who used a different report cycle. To get the cycles aligned they had to effective drop a month. In short, everyone who had stuff hardcoded regarding months and periods etc had a lot of work to do... A good example of something that will never ever change, changing. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, 8 December 2011 8:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I should be able to do this - resolved Dear Friends, Of course, you were right, I should not have had the Stu_Counselor field in the students table in the first place. There's a story behind this and a lesson learned again and again, but I think for the last time, this time. This all began as a little database for a counselor friend of mine, just to track the students for whom he and his colleague were responsible. There were never going to be any more counselors, so I did make a lookup field in the students table that had a value list - just the two counselors' names. Okay, I should have known that there would ultimately be other counselors, and in my heart of hearts I did know it. When the remodeling time came, I did add a table for the counselors and a numeric field in the students table. BUT, I overlooked the existing references to the Stu_Counselor field in the queries that underlay the reports. So, when I saw that records were not appearing for the new counselors, in those queries, I started down the wrong path, trying to force updates into the Stu_Counselor field based on the Counselor_ID selection. I didn't want to walk through all the queries and all the reports to find the old links to the Stu_Counselor field. Yet, that is the only real solution. I am almost finished examining every query and report now. Thank you all for gently saying "WHAT!!! You shouldn't be doing THAT!!!" You are right. I won't do it again. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/4/2011 1:47 PM, Tina Norris Fields wrote: > Dear Friends, > > Okay, I have a form with a combo-box for selecting the counselor who > will be assigned to the student whose record is displayed in the > form. Once that is updated, I want the matching name of the counselor > to placed in the student's record. > > So combo-box is looking into the tblCounselor, which has two fields > Counselor_ID and Counselor_LName. Once the choice is made, I want to > update the field Stu_Counselor in the tblStudent with the name found > in tblCounselor.Counselor_LName. > > I'm writing gibberish in my AfterUpdate event and I need to be > rescued. Any help waking up my brain? > > Thanks, > T > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Dec 7 17:29:33 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 07 Dec 2011 18:29:33 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server - well OT now... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EDFF6DD.9050605@torchlake.com> Thank you, Arthur. I have just ordered the book. "Tangentially relevant and directed to listers with children: I want to recommend at the highest level a book called "A Beginner's Guide to Constructing the Universe" by Michael S. Schneider. You and your children will have 110% fun going through this book, and both of you will end up smarter." T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 From darryl at whittleconsulting.com.au Wed Dec 7 17:33:02 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:33:02 +0000 Subject: [AccessD] Advice on A2010.... Message-ID: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From dbdoug at gmail.com Wed Dec 7 17:43:22 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 7 Dec 2011 15:43:22 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Wed Dec 7 17:59:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 7 Dec 2011 23:59:26 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. Thanks Doug! Cheers D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Dec 7 18:05:42 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 00:05:42 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B55EF05D@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaah, I dunno. It is sooo damn random. Sometimes the same database will function for hours without issue. This morning, it is it misbehaving almost immediately. Restarted the app and now it is purring along like a little kitten - no errors or anything. Sheesh. I don't mind things not working, but it is so much easier to find the problem when there are consistent symptoms. It is the seemingly randomness that does my head in. Just when I get relaxed about it, it will fail. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, 8 December 2011 10:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access 2003 if I remember correctly, the total number of open recordsets (or connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. Doug On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save > changes" was the gist of it. Now how can that happen? There was some > suggestion from Google search that it maybe one of the DAO recordsets > was being left opened and thus Access thinks there is a open > connection and thus another user(?). I double checked I was closing > all RS and setting them to nothing when I finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Dec 7 18:40:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 07 Dec 2011 19:40:01 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001601ccb541$ebc7bfe0$c3573fa0$@net> 37 tab multipage control ? That's HUGE. I had horrible experience with multipage in 2007.... I am sure the same bugs have been carried thru to 2010. Multipage was very "touchy"....especially during design mode. I could easily crash Access consistently just by moving controls around. From stuart at lexacorp.com.pg Wed Dec 7 19:03:11 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 08 Dec 2011 11:03:11 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > From darryl at whittleconsulting.com.au Wed Dec 7 19:16:56 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 01:16:56 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE00CCF.25250.F500EBF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B55EF391@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks guys. That is the angle I am taking. Even though I have worked on databases with many more bound controls et al, it seems this is the most likely suspect for these issues. Going to unbound everything and use value only lists in the list boxes. Luckily I have all code to do this fairly quickly. Should only take a couple of days. Will let you know how it goes. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 8 December 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Too many open connections with all of those listboxes and subforms? On 7 Dec 2011 at 23:33, Darryl Collins wrote: > > The only thing that is unusual for me is I have one main form, which > has 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small > datasets. > -- 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 Dec 7 23:22:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 00:22:04 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I've got one like this, too. (Don't we all?) Way back when, I did an app for an insurance company's pension fund arm. The app worked just fine and everyone was happy, save one problem. (Preamble: pension funds come and go.) Everything was rock-solid save one particular report, about 90% of whose data was correct but the remainder was wonky. I fought this problem on and off for about 6 weeks, to no avail. Then one day in a meeting, someone mentioned that the company uses 360-day years. They just wrote off the other 5.26 days as if they didn't exist. Hence, on about 10& of the records, depending on calendar dates of the relevant funds, the reports were a few dollars out there and there. Once this was explained, I commented out all my clever date calculations (e.g. 365.26 is how to anticipate leap years) and pretended the world was flat, and automagically all the data conformed to the flat earth. Whew! At last, I was free to find a real job. A. From marksimms at verizon.net Thu Dec 8 07:38:12 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 08:38:12 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <008301ccb5ae$a1bac290$e53047b0$@net> Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? From df.waters at comcast.net Thu Dec 8 07:47:23 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 07:47:23 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) Message-ID: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 8 08:18:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:18:12 -0500 Subject: [AccessD] SQL Compression - interesting read Message-ID: <4EE0C724.1040604@colbyconsulting.com> http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/what-is-page-compression.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:29:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:29:32 -0500 Subject: [AccessD] Compression Interesting read - part 2 Message-ID: <4EE0C9CC.8090103@colbyconsulting.com> I had to go find this... http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Dec 8 08:31:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Dec 2011 09:31:27 -0500 Subject: [AccessD] I should be able to do this - resolved In-Reply-To: <008301ccb5ae$a1bac290$e53047b0$@net> References: <56653D383CB80341995245C537A9E7B55EEF98@SINPRD0402MB099.apcprd04.prod.outlook.com> <008301ccb5ae$a1bac290$e53047b0$@net> Message-ID: <4EE0CA3F.3020100@colbyconsulting.com> > So what's more important: the analysis or the coding ? This is not either / or. Problems on either end can be just as devastating. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/8/2011 8:38 AM, Mark Simms wrote: > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > From tinanfields at torchlake.com Thu Dec 8 09:07:54 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:07:54 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE0D2CA.9010609@torchlake.com> Thanks for keeping me company, Darryl. I'm going to make up a plaque that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/7/2011 6:59 PM, Darryl Collins wrote: > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > Thanks Doug! > > Cheers > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, 8 December 2011 10:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Advice on A2010.... > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > 2003 if I remember correctly, the total number of open recordsets (or > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > Doug > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > >> Hi everyone, >> >> Boy, A2010 does some weird stuff. >> >> I have an accdb database. It is on my local drive, it is only me who >> uses it, it is only me who can access it. It has DAO code it uses to >> do stuff with recordsets within the currentDB only. There are no >> external connections. There is no BE / FE setup (doesn't need it). >> This database is tiny (about 7 MB) - doesn't have a lot of data or >> really do any heavy processing at all - basic stuff. >> >> The only thing that is unusual for me is I have one main form, which >> has >> 37 tabs on it which in turn has listboxes and subforms - and the >> subforms are bound to their tables - I would usually use unbound, but >> in this case there is no point. Besides they are all really small datasets. >> >> For weeks this has worked pretty well - then suddenly I started >> getting an error when trying to make design changes "Not opened in >> Exclusive mode - another user is using the database - can't save >> changes" was the gist of it. Now how can that happen? There was some >> suggestion from Google search that it maybe one of the DAO recordsets >> was being left opened and thus Access thinks there is a open >> connection and thus another user(?). I double checked I was closing >> all RS and setting them to nothing when I finished with them. >> >> Nothing seemed to work. After much poking around on Google I found >> this piece of code and added it. It seems to have helped, but I am >> not sure if that is just co-incidence or not. I had done a few tweaks >> and rebuild a couple of modules so hard to say: >> >> "'Initiate Passive Shutdown - do not allow new Users >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" >> >> This is meant to force access to reject any new users to the database. >> I wish I could say with confidence that this was what fixed it. I >> guess I could comment out the code and do some tests, but right now, >> after losing two days, I am just wanting to catch up on the days I have lost. >> >> The other weird issue I get at some point when using this database is >> "You don't have enough resources to perform the operation". WTF? >> Again this will fail on doing something low impact and simple. It is >> like Access hit some sort of limit (again maybe open connections via >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). >> But all the DAO connections are all being closed in the code - and >> usually only 1 is open at any one time (a max of 3 in a couple of >> modules) and they are all set to nothing once I have finished with >> them. Besides they are also doing bugger all work. Maybe updating 10 >> records out of a total of 50 >> - that sort of thing. What 'resources' could possibly be being >> exhausted with that sort of workload? A restart of the app will >> usually fix the problem, but what is going here? >> >> Has anyone else had these issues, and any ideas on what to do about them? >> >> Cheers >> Darryl. >> >> Darryl Collins >> Whittle Consulting Pty Ltd >> Suite 8, 660 Canterbury Rd >> Surrey Hills, VIC, 3127 >> >> p: +61 3 9898 3242 >> m: +61 418 381 548 >> f: +61 3 9898 1855 >> e: >> darryl at whittleconsulting.com.au> w: www.whittleconsulting.com.au >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Thu Dec 8 09:18:52 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 08 Dec 2011 10:18:52 -0500 Subject: [AccessD] [dba-SQLServer] Users in SQL Server In-Reply-To: <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> References: <4EDB98D7.30009@colbyconsulting.com>, , <56653D383CB80341995245C537A9E7B55EEA25@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EDD5FC9.21974.4DC27B4@stuart.lexacorp.com.pg> Message-ID: <4EE0D55C.50508@torchlake.com> Love it! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/5/2011 7:20 PM, Stuart McLachlan wrote: > http://www.thinkleadershipideas.com/leadershipideasblog/files/book.php > > On 6 Dec 2011 at 0:10, Darryl Collins wrote: > > >> But I still much prefer a decent paper book over them. Must be getting old ;) >> >> Just my thoughts >> Darryl. >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Tuesday, 6 December 2011 10:14 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [dba-SQLServer] Users in SQL Server >> >> I wouldn't have a kindle on a plate! I'd simply get an android table >> and load the reader software on it. I've never liked the kindle >> layout or feel, so I see no reason to change now. >> >> Charlotte Foust >> > From jimdettman at verizon.net Thu Dec 8 10:49:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 08 Dec 2011 11:49:36 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 10:54:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 02:54:21 +1000 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <000001ccb5af$e9f67850$bde368f0$@comcast.net> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 chartisinsurance.com Thu Dec 8 10:57:25 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 8 Dec 2011 11:57:25 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 8 11:03:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 03:03:49 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0D2CA.9010609@torchlake.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> Message-ID: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Like the "fast and easy" function I put in an A97 application that I built years ago which is still in use Functiion Wait(secs as long) as long DIm t as Single t = timer Do Doevents Loop until timer = t + secs End Function It worked fine for years until a couple of months ago when they ran a monthly process late at night and the Wait function was in the middle of the loop at midnight :-( -- Stuart On 8 Dec 2011 at 10:07, Tina Norris Fields wrote: > Thanks for keeping me company, Darryl. I'm going to make up a plaque > that says something like NEVER, NEVER DO IT THE FAST AND EASY WAY. > LATER ON IT IS GOING TO BITE YOU IN THE SIT-DOWN! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/7/2011 6:59 PM, Darryl Collins wrote: > > Alright. That sounds like a possible suspect. I can make a start by unbinding the forms, not hard to do but a bit more coding work. Heh, Hey Tina. Thinking of you right now. I was thinking when I started this - "leaving them bound is fast and easy, but I really should do them unbound like I usually do. naah it will be ok..." :) > > > > Here is a great example of what I am talking about. Got a blank version of this database - no data in any of the table. Been compacted and reopened after deleting the data - copied 40 lines of data (x 2 columns - so 80 fields of simple data data in all) into a table. Get a "out of resources" message. Blah! Oddly it still copies the data in ok, once I press "ok" on the warning msgbox. > > > > *Sigh*. Will start to unbind the buggers and see if that helps - change to a JIT approach instead. > > > > Thanks Doug! > > > > Cheers > > D > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > > Sent: Thursday, 8 December 2011 10:43 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Advice on A2010.... > > > > Each time you open a subform or bound listbox/dropdown, you use up system resources - it doesn't matter how big the underlying tables are. In Access > > 2003 if I remember correctly, the total number of open recordsets (or > > connections?) is something like 256. I once built a cafeteria recipe/menu building screen which had 31 subforms, and each subform had multiple dropdowns in it to select the recipes used. I was so proud of it until I discovered that it wouldn't run! I had to change it from a monthly to a weekly screen before it would work. > > > > Doug > > > > On Wed, Dec 7, 2011 at 3:33 PM, Darryl Collins< darryl at whittleconsulting.com.au> wrote: > > > >> Hi everyone, > >> > >> Boy, A2010 does some weird stuff. > >> > >> I have an accdb database. It is on my local drive, it is only me who > >> uses it, it is only me who can access it. It has DAO code it uses to > >> do stuff with recordsets within the currentDB only. There are no > >> external connections. There is no BE / FE setup (doesn't need it). > >> This database is tiny (about 7 MB) - doesn't have a lot of data or > >> really do any heavy processing at all - basic stuff. > >> > >> The only thing that is unusual for me is I have one main form, which > >> has > >> 37 tabs on it which in turn has listboxes and subforms - and the > >> subforms are bound to their tables - I would usually use unbound, but > >> in this case there is no point. Besides they are all really small datasets. > >> > >> For weeks this has worked pretty well - then suddenly I started > >> getting an error when trying to make design changes "Not opened in > >> Exclusive mode - another user is using the database - can't save > >> changes" was the gist of it. Now how can that happen? There was some > >> suggestion from Google search that it maybe one of the DAO recordsets > >> was being left opened and thus Access thinks there is a open > >> connection and thus another user(?). I double checked I was closing > >> all RS and setting them to nothing when I finished with them. > >> > >> Nothing seemed to work. After much poking around on Google I found > >> this piece of code and added it. It seems to have helped, but I am > >> not sure if that is just co-incidence or not. I had done a few tweaks > >> and rebuild a couple of modules so hard to say: > >> > >> "'Initiate Passive Shutdown - do not allow new Users > >> CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > >> > >> This is meant to force access to reject any new users to the database. > >> I wish I could say with confidence that this was what fixed it. I > >> guess I could comment out the code and do some tests, but right now, > >> after losing two days, I am just wanting to catch up on the days I have lost. > >> > >> The other weird issue I get at some point when using this database is > >> "You don't have enough resources to perform the operation". WTF? > >> Again this will fail on doing something low impact and simple. It is > >> like Access hit some sort of limit (again maybe open connections via > >> DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > >> But all the DAO connections are all being closed in the code - and > >> usually only 1 is open at any one time (a max of 3 in a couple of > >> modules) and they are all set to nothing once I have finished with > >> them. Besides they are also doing bugger all work. Maybe updating 10 > >> records out of a total of 50 > >> - that sort of thing. What 'resources' could possibly be being > >> exhausted with that sort of workload? A restart of the app will > >> usually fix the problem, but what is going here? > >> > >> Has anyone else had these issues, and any ideas on what to do about them? > >> > >> Cheers > >> Darryl. > >> > >> Darryl Collins > >> Whittle Consulting Pty Ltd > >> Suite 8, 660 Canterbury Rd > >> Surrey Hills, VIC, 3127 > >> > >> p: +61 3 9898 3242 > >> m: +61 418 381 548 > >> f: +61 3 9898 1855 > >> e: > >> darryl at whittleconsulting.com.au >> w: www.whittleconsulting.com.au > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu Dec 8 11:05:23 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 8 Dec 2011 09:05:23 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Hi Jim: Thanks for correcting my answer - my memory didn't serve me well. The problem with my mighty recipe database was the control count. Doug On Thu, Dec 8, 2011 at 8:49 AM, Jim Dettman wrote: > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have > one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I > would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you > use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count > towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has 37 > tabs on it which in turn has listboxes and subforms - and the subforms are > bound to their tables - I would usually use unbound, but in this case there > is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of > it. > Now how can that happen? There was some suggestion from Google search that > it maybe one of the DAO recordsets was being left opened and thus Access > thinks there is a open connection and thus another user(?). I double > checked I was closing all RS and setting them to nothing when I finished > with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will > fail on doing something low impact and simple. It is like Access hit some > sort of limit (again maybe open connections via DAO.Recordset(?) - this is > where it usually fails when using code to update stuff via DAO). But all > the DAO connections are all being closed in the code - and usually only 1 > is > open at any one time (a max of 3 in a couple of modules) and they are all > set to nothing once I have finished with them. Besides they are also doing > bugger all work. Maybe updating 10 records out of a total of 50 - that > sort > of thing. What 'resources' could possibly be being exhausted with that > sort > of workload? A restart of the app will usually fix the problem, but what > is > going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Thu Dec 8 13:29:15 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 8 Dec 2011 13:29:15 -0600 Subject: [AccessD] Requirements (was: I should be able to do this -resolved) References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: "Weeks of Computer Programming Can Save You Hours of Planning" :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, December 08, 2011 7:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Requirements (was: I should be able to do this -resolved) Requirements are more important. You can't build a good house with bad plans - no matter how good the builders are! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, December 08, 2011 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I should be able to do this - resolved Re: "......someone mentioned that the company uses 360-day years" Oh boy, here we go with a fundamental issue that should have come out way back in the requirements definition. The best programmers in the world cannot overcome something like this. On the other hand, the best analysts cannot overcome bugs caused by crappy coding. So what's more important: the analysis or the coding ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ab-mi at post3.tele.dk Thu Dec 8 14:02:59 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Thu, 8 Dec 2011 21:02:59 +0100 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Oh what a wonderful statement! Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Brad Marks Sendt: 8. december 2011 20:29 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Requirements (was: I should be able to do this-resolved) "Weeks of Computer Programming Can Save You Hours of Planning" :-) From df.waters at comcast.net Thu Dec 8 14:46:56 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 8 Dec 2011 14:46:56 -0600 Subject: [AccessD] Requirements (was: I should be able to do this - resolved) In-Reply-To: <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> <4EE0EBBD.18032.12B6B59A@stuart.lexacorp.com.pg> Message-ID: <001301ccb5ea$866c7010$93455030$@comcast.net> By Definition, if you are using Agile, building flexibility into your design is one of the developer's requirements! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 08, 2011 10:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this - resolved) But if you are using Agile methodolgies, that requirement may not be identified until some distance down the track. Building Flexibility into your design is just as important and analysis and coding :-) On 8 Dec 2011 at 7:47, Dan Waters wrote: > Requirements are more important. You can't build a good house with > bad plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 8 14:52:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 15:52:02 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <56653D383CB80341995245C537A9E7B55EF041@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0D2CA.9010609@torchlake.com> <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg> Message-ID: <004401ccb5eb$3ce95b50$b6bc11f0$@net> I love this story !!! > Like the "fast and easy" function I put in an A97 application that I > built years ago which is still > in use > > Function Wait(secs as long) as long > DIm t as Single > t = timer > Do > Doevents > Loop until timer = t + secs > End Function > > It worked fine for years until a couple of months ago when they ran a > monthly process late at > night and the Wait function was in the middle of the loop at midnight From stuart at lexacorp.com.pg Thu Dec 8 15:06:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 07:06:41 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <004401ccb5eb$3ce95b50$b6bc11f0$@net> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> Message-ID: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Yep, there was "no way" that this would ever be run other than over a couple of hours during a normal work day. :-) -- Stuart On 8 Dec 2011 at 15:52, Mark Simms wrote: > I love this story !!! > > > Like the "fast and easy" function I put in an A97 application that I > > built years ago which is still > > in use > > > > Function Wait(secs as long) as long > > DIm t as Single > > t = timer > > Do > > Doevents > > Loop until timer = t + secs > > End Function > > > > It worked fine for years until a couple of months ago when they ran a > > monthly process late at > > night and the Wait function was in the middle of the loop at midnight > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu Dec 8 15:29:21 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 8 Dec 2011 13:29:21 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should only > have one with DAO as long as your not using Opendatabase. Always using > currentdb(), will use the same connection. Don't see where your bumping > into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > used for every table and field reference. A form with 37 tabs is huge and > I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long as > you use it, you'll show up as only one user. If you open your open ADO > connections, each will count as a user (when opened together) and will > count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who uses > it, it is only me who can access it. It has DAO code it uses to do stuff > with recordsets within the currentDB only. There are no external > connections. There is no BE / FE setup (doesn't need it). This database is > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which has > 37 tabs on it which in turn has listboxes and subforms - and the subforms > are bound to their tables - I would usually use unbound, but in this case > there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started getting an > error when trying to make design changes "Not opened in Exclusive mode - > another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found this > piece of code and added it. It seems to have helped, but I am not sure if > that is just co-incidence or not. I had done a few tweaks and rebuild a > couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. I > wish I could say with confidence that this was what fixed it. I guess I > could comment out the code and do some tests, but right now, after losing > two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is "You > don't have enough resources to perform the operation". WTF? Again this > will fail on doing something low impact and simple. It is like Access hit > some sort of limit (again maybe open connections via DAO.Recordset(?) - > this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and usually > only 1 is open at any one time (a max of 3 in a couple of modules) and they > are all set to nothing once I have finished with them. Besides they are > also doing bugger all work. Maybe updating 10 records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being exhausted > with that sort of workload? A restart of the app will usually fix the > problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: darryl at whittleconsulting.com.au > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Thu Dec 8 16:07:32 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 08:07:32 +1000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, , Message-ID: <4EE13524.23286.13D57150@stuart.lexacorp.com.pg> That was one of the benefits of EatBloat. One way to reset the control count is Application.SaveAsText/LoadFromText. -- Stuart On 8 Dec 2011 at 13:29, Charlotte Foust wrote: > Copies of the form are full copies with the same limits. The control count > is part of the properties of the form, so importing it doesn't change a > thing. You can create a new form and copy the controls to it but then you > have to go through replacing the old form with the new one. > Charlotte Foust > On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > Jim, > > > > Regarding the (crazy) form control limit. Do you know if the count gets > > reset if you make a copy of the form? Does the new copy have a controls > > count equal to the number of controls currently on the form? What about > > importing the form into another MDB file? > > > > Just curious, I've not yet hit that limit. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > > Sent: Thursday, December 08, 2011 11:50 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Advice on A2010.... > > > > > > Couple of comments: > > > > 1. In regards to Doug's comments on connections, you really should only > > have one with DAO as long as your not using Opendatabase. Always using > > currentdb(), will use the same connection. Don't see where your bumping > > into the 255 user limit there. > > > > 2. Access is limited to 2048 table ID's open at one time. A table ID is > > used for every table and field reference. A form with 37 tabs is huge and > > I would guess that's what your running into. > > > > 3. Access is limited to 754 controls over the life of a form, so watch how > > big you get (note the limit is not 754 - deleting and creating a control > > does not decrement/increment the count, it only increments it). Surprised > > you didn't run into that one. > > > > 4. If your working in ADO, make sure you use CurrentProject.Connection > > This is Access/Jet's ADO connection for the DB you opened and as long as > > you use it, you'll show up as only one user. If you open your open ADO > > connections, each will count as a user (when opened together) and will > > count towards the 255 limit. > > > > HTH, > > Jim. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > > Sent: Wednesday, December 07, 2011 06:33 PM > > To: Access Developers discussion and problem solving > > (accessd at databaseadvisors.com) > > Subject: [AccessD] Advice on A2010.... > > > > Hi everyone, > > > > Boy, A2010 does some weird stuff. > > > > I have an accdb database. It is on my local drive, it is only me who uses > > it, it is only me who can access it. It has DAO code it uses to do stuff > > with recordsets within the currentDB only. There are no external > > connections. There is no BE / FE setup (doesn't need it). This database is > > tiny (about 7 MB) - doesn't have a lot of data or really do any heavy > > processing at all - basic stuff. > > > > The only thing that is unusual for me is I have one main form, which has > > 37 tabs on it which in turn has listboxes and subforms - and the subforms > > are bound to their tables - I would usually use unbound, but in this case > > there is no point. Besides they are all really small datasets. > > > > For weeks this has worked pretty well - then suddenly I started getting an > > error when trying to make design changes "Not opened in Exclusive mode - > > another user is using the database - can't save changes" was the gist of it. > > Now how can that happen? There was some suggestion from Google search > > that it maybe one of the DAO recordsets was being left opened and thus > > Access thinks there is a open connection and thus another user(?). I > > double checked I was closing all RS and setting them to nothing when I > > finished with them. > > > > Nothing seemed to work. After much poking around on Google I found this > > piece of code and added it. It seems to have helped, but I am not sure if > > that is just co-incidence or not. I had done a few tweaks and rebuild a > > couple of modules so hard to say: > > > > "'Initiate Passive Shutdown - do not allow new Users > > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > > > This is meant to force access to reject any new users to the database. I > > wish I could say with confidence that this was what fixed it. I guess I > > could comment out the code and do some tests, but right now, after losing > > two days, I am just wanting to catch up on the days I have lost. > > > > The other weird issue I get at some point when using this database is "You > > don't have enough resources to perform the operation". WTF? Again this > > will fail on doing something low impact and simple. It is like Access hit > > some sort of limit (again maybe open connections via DAO.Recordset(?) - > > this is where it usually fails when using code to update stuff via DAO). > > But all the DAO connections are all being closed in the code - and usually > > only 1 is open at any one time (a max of 3 in a couple of modules) and they > > are all set to nothing once I have finished with them. Besides they are > > also doing bugger all work. Maybe updating 10 records out of a total of 50 > > - that sort of thing. What 'resources' could possibly be being exhausted > > with that sort of workload? A restart of the app will usually fix the > > problem, but what is going here? > > > > Has anyone else had these issues, and any ideas on what to do about them? > > > > Cheers > > Darryl. > > > > Darryl Collins > > Whittle Consulting Pty Ltd > > Suite 8, 660 Canterbury Rd > > Surrey Hills, VIC, 3127 > > > > p: +61 3 9898 3242 > > m: +61 418 381 548 > > f: +61 3 9898 1855 > > e: darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > 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 Thu Dec 8 16:54:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 02:54:41 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE0C9CC.8090103@colbyconsulting.com> References: <4EE0C9CC.8090103@colbyconsulting.com> Message-ID: Hi John -- Yes, this PAGE compression feature makes using natural keys for OLAP systems more preferable than using surrogate keys.. Thank you. -- Shamil. 08 ??????? 2011, 18:31 ?? jwcolby : > I had to go find this... > > http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/01/18/details-on-page-compression-page-dictionary.aspx > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kismert at gmail.com Thu Dec 8 17:15:30 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 8 Dec 2011 17:15:30 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Heenan, Lambert: > > Regarding the (crazy) form control limit. Do you know if the count gets > reset if you make a copy of the form? Does the new copy have a controls > count equal to the number of controls currently on the form? What about > importing the form into another MDB file? > > Jim Dettman: > > 3. Access is limited to 754 controls over the life of a form, so watch how > big you get (note the limit is not 754 - deleting and creating a control > does not decrement/increment the count, it only increments it). Surprised > you didn't run into that one. > There is one moderately sneaky way around this limit. Steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. Count the number of controls on your form. With the form in design view, enter this in the Immediate window: ? Forms("frmFoo").Controls.Count 2. Save the form as text, using this command: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access file. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" You should now be able to add new controls to your previously 'stuck' form. It is a little work, but probably less than copying all the controls, code and properties over to a new form. -Ken From stuart at lexacorp.com.pg Thu Dec 8 17:26:19 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 09:26:19 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, Message-ID: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Sorry, you've lost me completely there. Would you care to explain how data page compression has any bearing on natural v surrogate keys? -- Stuart On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > Hi John -- > > Yes, this PAGE compression feature makes using natural keys for OLAP > systems more preferable than using surrogate keys.. > > Thank you. > > -- Shamil. > From darryl at whittleconsulting.com.au Thu Dec 8 17:45:35 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:45:35 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Well, Yes and no. If you are at the absolute limit because you have > 754 controls then you are screwed - and moving to a new form won't help at all. On an existing form that is corrupt or crashing though, there is hope. Access forms are a bit stupid it seems when it comes to counting controls. If you have a single form and add 753 controls, Save the form. Then you delete the controls and add another 5. Then the form will crash even though there are only 5 controls on the form. Trouble is, the control count is absolute and doesn't decrease when you delete controls - everytime you add a control it adds 1 to the count regardless of if the control still exists or not. This is highly bothersome if you consistently copy a default type form and then remove and add new controls. Sooner or later you hit the limit regardless of the number of controls on the form. In this instance importing the controls into a brand new form DOES help, as the control count starts a zero on a new form. Many times, on control heavy forms I have used this to get out of bother. Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 9 December 2011 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Copies of the form are full copies with the same limits. The control count is part of the properties of the form, so importing it doesn't change a thing. You can create a new form and copy the controls to it but then you have to go through replacing the old form with the new one. Charlotte Foust On Thu, Dec 8, 2011 at 8:57 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Jim, > > Regarding the (crazy) form control limit. Do you know if the count > gets reset if you make a copy of the form? Does the new copy have a > controls count equal to the number of controls currently on the form? > What about importing the form into another MDB file? > > Just curious, I've not yet hit that limit. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Thursday, December 08, 2011 11:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Advice on A2010.... > > > Couple of comments: > > 1. In regards to Doug's comments on connections, you really should > only have one with DAO as long as your not using Opendatabase. Always > using currentdb(), will use the same connection. Don't see where your > bumping into the 255 user limit there. > > 2. Access is limited to 2048 table ID's open at one time. A table ID > is used for every table and field reference. A form with 37 tabs is > huge and I would guess that's what your running into. > > 3. Access is limited to 754 controls over the life of a form, so watch > how big you get (note the limit is not 754 - deleting and creating a > control does not decrement/increment the count, it only increments > it). Surprised you didn't run into that one. > > 4. If your working in ADO, make sure you use CurrentProject.Connection > This is Access/Jet's ADO connection for the DB you opened and as long > as you use it, you'll show up as only one user. If you open your open > ADO connections, each will count as a user (when opened together) and > will count towards the 255 limit. > > HTH, > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl > Collins > Sent: Wednesday, December 07, 2011 06:33 PM > To: Access Developers discussion and problem solving > (accessd at databaseadvisors.com) > Subject: [AccessD] Advice on A2010.... > > Hi everyone, > > Boy, A2010 does some weird stuff. > > I have an accdb database. It is on my local drive, it is only me who > uses it, it is only me who can access it. It has DAO code it uses to > do stuff with recordsets within the currentDB only. There are no > external connections. There is no BE / FE setup (doesn't need it). > This database is tiny (about 7 MB) - doesn't have a lot of data or > really do any heavy processing at all - basic stuff. > > The only thing that is unusual for me is I have one main form, which > has > 37 tabs on it which in turn has listboxes and subforms - and the > subforms are bound to their tables - I would usually use unbound, but > in this case there is no point. Besides they are all really small datasets. > > For weeks this has worked pretty well - then suddenly I started > getting an error when trying to make design changes "Not opened in > Exclusive mode - another user is using the database - can't save changes" was the gist of it. > Now how can that happen? There was some suggestion from Google search > that it maybe one of the DAO recordsets was being left opened and thus > Access thinks there is a open connection and thus another user(?). I > double checked I was closing all RS and setting them to nothing when I > finished with them. > > Nothing seemed to work. After much poking around on Google I found > this piece of code and added it. It seems to have helped, but I am > not sure if that is just co-incidence or not. I had done a few tweaks > and rebuild a couple of modules so hard to say: > > "'Initiate Passive Shutdown - do not allow new Users > CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" > > This is meant to force access to reject any new users to the database. > I wish I could say with confidence that this was what fixed it. I > guess I could comment out the code and do some tests, but right now, > after losing two days, I am just wanting to catch up on the days I have lost. > > The other weird issue I get at some point when using this database is > "You don't have enough resources to perform the operation". WTF? > Again this will fail on doing something low impact and simple. It is > like Access hit some sort of limit (again maybe open connections via > DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). > But all the DAO connections are all being closed in the code - and > usually only 1 is open at any one time (a max of 3 in a couple of > modules) and they are all set to nothing once I have finished with > them. Besides they are also doing bugger all work. Maybe updating 10 > records out of a total of 50 > - that sort of thing. What 'resources' could possibly be being > exhausted with that sort of workload? A restart of the app will > usually fix the problem, but what is going here? > > Has anyone else had these issues, and any ideas on what to do about them? > > Cheers > Darryl. > > Darryl Collins > Whittle Consulting Pty Ltd > Suite 8, 660 Canterbury Rd > Surrey Hills, VIC, 3127 > > p: +61 3 9898 3242 > m: +61 418 381 548 > f: +61 3 9898 1855 > e: > darryl at whittleconsulting.com.au > > w: www.whittleconsulting.com.au > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Dec 8 17:52:53 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 8 Dec 2011 23:52:53 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <47774217B25C456C9FDB2FBEE1C32CB2@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <56653D383CB80341995245C537A9E7B55F064A@SINPRD0402MB099.apcprd04.prod.outlook.com> Jim, Many thanks. Yep, Point 1 was initially my main concern with using 37 tabs on a single form. I was aware of the control limit on forms and have hit it many times in the past, but usually due to the issue I mentioned in the other post (control count not adjusting when controls are deleted etc). I feel point 2 is probably what is happening. 2048 sound like a big number, but if every listbox is bound then you can gobble them up rather quickly. I need to leave some of the subforms bound as I am using them as datasheet views. However, yesterday I bit the bullet and did what I should have done from day 1 and converted all of the listboxes to Value lists only (waves at Tina ;)). Whilst I was running out of enthusiasm with the huge shebang and I need to test it a lot more, the database didn't seem to have any more issues (fingers crossed) and using value lists load and respond a darn site faster anyway. Only down side to them is there is a limit to just how much data you can fit into a value list (at least loading them they I am via an "adstring" command). In this case it doesn't matter. Most of the lists only have 1-20 entries anyway - so easy. I am using DAO for all connections - well I was, I am using an ADO connection to create the listbox strings for the value list. But that is all working good. Really appreciate your time and effort on this. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 9 December 2011 3:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Dec 8 19:33:14 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:33:14 -0500 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: <003d01ccb612$85552c80$8fff8580$@net> PULEASE - no more KEY WARS !!!! (although Shamil is right) > Sorry, you've lost me completely there. Would you care to explain how > data page compression has any bearing on natural v surrogate keys? From marksimms at verizon.net Thu Dec 8 19:35:06 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 08 Dec 2011 20:35:06 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <56653D383CB80341995245C537A9E7B55F062E@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <003e01ccb612$c81e3070$585a9150$@net> Re: "Now why they have the limit, and why it doesn't decrease when delete controls is a question for someone deep in the MS bunker, Redmond WA USA." Two words: MEMORY MANAGEMENT Access is still written in C++ AFAIK. From fuller.artful at gmail.com Thu Dec 8 21:41:04 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 8 Dec 2011 22:41:04 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > From darryl at whittleconsulting.com.au Thu Dec 8 22:02:47 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 9 Dec 2011 04:02:47 +0000 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <56653D383CB80341995245C537A9E7B55F0794@SINPRD0402MB099.apcprd04.prod.outlook.com> Heh.. Outstanding. And I totally agree - many times I have ended up making much more mulla than the original spec as the stakeholders are unable to agree on much. Person X will request this feature, Person Y want something else. You add both, and then their manager will make changes again - or remove the said functions. Good for the invoice, but it can be frustrating. Indeed for one client I almost never deleted any feature they had been requested and built, I would merely turn if 'off' or made it invisible. It was fairly common for a 'deleted' function to be reinstated in a month or two at the insistence of someone in the organisation. Fun stuff. I always document who requested what and when - and often even show it as a line item on the invoice for those hours. This makes any discussion about budget overruns easier to deal with I find. Sure, there maybe some heat and fire from the accounting dept, but at least I am not in the firing line ;) Live and learn... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 9 December 2011 2:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Requirements (was: I should be able to do this-resolved) Referring back to my original whine about this problem, in the absence of a definition of calendar-years, how was I supposed to know there might be a difference between the real world and the world of pension-funds? A pension-fund specialist or programmer of apps in this field might have known to ask this question, but I didn't, nor did any of the requirements-people deem it worth mentioning. Granted, now that I've been severely bitten and savaged by this, I know enough to ask about the definition of a year. But even granting that, what about the definition of a month? How to handle leap-years? How many Requirements-meetings shall be consumed discovering these anomalies? Thank God that I have subsequently learned that Gathering and Verifying Requirements is a (and perhaps The Most) billable item on the ultimate invoice; and that any subsequent changes to the Requirements document is also billable vis-a-vis the Development spec. The beauty part of this arrangement is that when some flunky wants this to work that way instead of the previously-accepted spec, I get to say, "Ok, but it's going to cost you another $10+K. Are you sure you want to make this change?" Which adroitly punts the ball to her or him, and forces her or him to justify the change in specs. Even more elegant, all such requests for change are directly traceable to the person who requested them. LOL. Twice bitten, thrice shy, as it were. "You want to fork with me? Go ahead, it's all billable, directly to you! So there, MoFo." Go ahead, stretch your middle-management muscles, but your bosses will know precisely whom to blame for the OverRuns. A. On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > Oh what a wonderful statement! > Asger > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Fri Dec 9 03:26:35 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:26:35 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- Thank you for your question. AFAIU MS SQL page compression feature substitutes all the duplicate entries in data records columns of a DB file page by one/two/... bytes long references to "dictionary" area located on the same page. By "duplicate entries" are meant not only full length columns' values but also their values' leading parts... Please read the articles/blog entries JC referred in his postings for details. Please correct me if you'll find I'm wrong. Thank you. -- Shamil P.S. Stuart, please note I've written "using natural keys for *OLAP* systems" - I have no any intentions in re-starting "surrogate vs. natural keys" generic discussion covering OLTP systems - I'm *currently* strong advocate of using surrogate keys in OLTP systems.... 09 ??????? 2011, 03:27 ?? "Stuart McLachlan" : > Sorry, you've lost me completely there. Would you care to explain how data page > compression has any bearing on natural v surrogate keys? > > -- > Stuart > > On 9 Dec 2011 at 2:54, Salakhetdinov Shamil wrote: > > > Hi John -- > > > > Yes, this PAGE compression feature makes using natural keys for OLAP > > systems more preferable than using surrogate keys.. > > > > Thank you. > > > > -- Shamil. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 9 03:30:29 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 09 Dec 2011 13:30:29 +0400 Subject: [AccessD] =?utf-8?q?Compression_Interesting_read_-_part_2?= In-Reply-To: <003d01ccb612$85552c80$8fff8580$@net> References: <4EE0C9CC.8090103@colbyconsulting.com>, <4EE1479B.27790.141D92F5@stuart.lexacorp.com.pg> <003d01ccb612$85552c80$8fff8580$@net> Message-ID: Hi Mark -- Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. Thank you. -- Shamil 09 ??????? 2011, 05:34 ?? "Mark Simms" : > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > Sorry, you've lost me completely there. Would you care to explain how > > data page compression has any bearing on natural v surrogate keys? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Dec 9 03:43:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Dec 2011 19:43:07 +1000 Subject: [AccessD] Compression Interesting read - part 2 In-Reply-To: References: <4EE0C9CC.8090103@colbyconsulting.com>, <003d01ccb612$85552c80$8fff8580$@net>, Message-ID: <4EE1D82B.9612.16524732@stuart.lexacorp.com.pg> I wasn't trying to start a war either :-) I just couldn't see the relationship between data compression and the different type of keys. I'm still not sure that I do, I will have to look at the original article more carefully. On 9 Dec 2011 at 13:30, Salakhetdinov Shamil wrote: > Hi Mark -- > > Yes, no KEY WARS - you can see my reply to Stuart where I outlined that I do not have any intentions for a war/flame like that. > > Thank you. > > -- Shamil > > > 09 2011, 05:34 "Mark Simms" : > > PULEASE - no more KEY WARS !!!! (although Shamil is right) > > > > > Sorry, you've lost me completely there. Would you care to explain how > > > data page compression has any bearing on natural v surrogate keys? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Fri Dec 9 04:07:28 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:07:28 +1300 Subject: [AccessD] OpenRecordset Error Message-ID: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Fri Dec 9 04:22:23 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 09 Dec 2011 23:22:23 +1300 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.c o.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111209102235.CGYG28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Never mind. I found it - I had closed db in an earlier part of the code between setting it and referring to rst2. At 9/12/2011, David Emerson wrote: >It is getting late. Can anyone see why I am getting error 91 Object >variable or With block variable not set) when the "Set rst2" line is >run? I have checked the value of strSQL and it looks ok. I have >put the sql into a query and it returns the expected result. Could >it be because OpenRecordset doesn't like group by queries? > > Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String > > Set db = CurrentDb() > > strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, > tblTenantInvoiceMeter.TenantInvoiceIDNo " > strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN > tblTenantInvoiceMeterTran ON > tblTenantInvoiceMeter.TenantInvoiceMeterID = > tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " > strSQL = strSQL & "GROUP BY > tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING > tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" > Set rst2 = db.OpenRecordset(strSQL) > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Dec 9 08:10:03 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 9 Dec 2011 06:10:03 -0800 Subject: [AccessD] OpenRecordset Error In-Reply-To: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111209100737.JFMC18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I can't see it either but what I do in cases like this is put strSQL into a text box on my form, then copy the contest of the text box to the SQL view of a new query and go to design view. If it makes it that far, I run it. Lots of times it will tell me what the real error is. The error 91 would seem to be pointing to db as not being set. Is the reference to DAO set correctly? The next thing I'd do is Dim db2 as dao.Databaser and set db2 = CurrentDb. Then use db2 to set rst2 and see if it makes a difference. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, December 09, 2011 2:07 AM To: access Developers discussion and problem solving Subject: [AccessD] OpenRecordset Error It is getting late. Can anyone see why I am getting error 91 Object variable or With block variable not set) when the "Set rst2" line is run? I have checked the value of strSQL and it looks ok. I have put the sql into a query and it returns the expected result. Could it be because OpenRecordset doesn't like group by queries? Dim db As DAO.Database, rst2 As DAO.Recordset, strSQL As String Set db = CurrentDb() strSQL = "SELECT Sum(UnitAmt) AS TotalAmt, tblTenantInvoiceMeter.TenantInvoiceIDNo " strSQL = strSQL & "FROM tblTenantInvoiceMeter INNER JOIN tblTenantInvoiceMeterTran ON tblTenantInvoiceMeter.TenantInvoiceMeterID = tblTenantInvoiceMeterTran.TenantInvoiceMeterIDNo " strSQL = strSQL & "GROUP BY tblTenantInvoiceMeter.TenantInvoiceIDNo HAVING tblTenantInvoiceMeter.TenantInvoiceIDNo = 9" Set rst2 = db.OpenRecordset(strSQL) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Dec 9 10:41:59 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:41:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com>, <4EE0EDF5.22217.12BF6347@stuart.lexacorp.com.pg>, <004401ccb5eb$3ce95b50$b6bc11f0$@net> <4EE126E1.21363.139DBBA7@stuart.lexacorp.com.pg> Message-ID: <4EE23A57.40009@torchlake.com> Oh boy! Yeah, the user has a very different perspective from the developer. My township had an Excel spreadsheet for registered voters. The state developed a new standard and the spreadsheet had to be updated to match. Of course, in the township's spreadsheet the voter's name was just one cell, with no standardization for data entry (my name, for instance, could have been entered as "Tina Norris Fields," "Fields, Tina N.," "Fields, Tina Norris," "Mr.s Tina Fields," and any other configurations you can think of). So, I was asked to help. When it got to the field for a name suffix, such as "Jr.," "Sr.," "III," "Esq." and the like, the office assistant actually said to me, "No, we don't have to worry about that, there aren't that many of them." It had never dawned on her that the field would be required if there was even one person with a name suffix. I get it that our different perspectives color the way we see the problem. I just haven't figured out how to properly anticipate the user's likely take on it. :-) T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 4:06 PM, Stuart McLachlan wrote: > Yep, there was "no way" that this would ever be run other than over a couple of hours during > a normal work day. :-) > From tinanfields at torchlake.com Fri Dec 9 10:42:55 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:42:55 -0500 Subject: [AccessD] Requirements (was: I should be able to do this-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23A8F.4020205@torchlake.com> ROTFLMAO!!! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 2:29 PM, Brad Marks wrote: > "Weeks of Computer Programming Can Save You Hours of Planning" > > :-) > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, December 08, 2011 7:47 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Requirements (was: I should be able to do this > -resolved) > > Requirements are more important. You can't build a good house with bad > plans - no matter how good the builders are! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Thursday, December 08, 2011 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I should be able to do this - resolved > > Re: "......someone mentioned that the company uses 360-day years" > > Oh boy, here we go with a fundamental issue that should have come out > way > back in the requirements definition. > The best programmers in the world cannot overcome something like this. > On the other hand, the best analysts cannot overcome bugs caused by > crappy > coding. > > So what's more important: the analysis or the coding ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Fri Dec 9 10:45:36 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 09 Dec 2011 11:45:36 -0500 Subject: [AccessD] Requirements (was: I should be able to dothis-resolved) In-Reply-To: References: <000001ccb5af$e9f67850$bde368f0$@comcast.net> Message-ID: <4EE23B30.2050302@torchlake.com> Yay, Arthur! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/8/2011 10:41 PM, Arthur Fuller wrote: > Referring back to my original whine about this problem, in the absence of a > definition of calendar-years, how was I supposed to know there might be a > difference between the real world and the world of pension-funds? A > pension-fund specialist or programmer of apps in this field might have > known to ask this question, but I didn't, nor did any of the > requirements-people deem it worth mentioning. > > Granted, now that I've been severely bitten and savaged by this, I know > enough to ask about the definition of a year. But even granting that, what > about the definition of a month? How to handle leap-years? How many > Requirements-meetings shall be consumed discovering these anomalies? Thank > God that I have subsequently learned that Gathering and Verifying > Requirements is a (and perhaps The Most) billable item on the ultimate > invoice; and that any subsequent changes to the Requirements document is > also billable vis-a-vis the Development spec. The beauty part of this > arrangement is that when some flunky wants this to work that way instead of > the previously-accepted spec, I get to say, "Ok, but it's going to cost you > another $10+K. Are you sure you want to make this change?" Which adroitly > punts the ball to her or him, and forces her or him to justify the change > in specs. Even more elegant, all such requests for change are directly > traceable to the person who requested them. LOL. Twice bitten, thrice shy, > as it were. "You want to fork with me? Go ahead, it's all billable, > directly to you! So there, MoFo." Go ahead, stretch your middle-management > muscles, but your bosses will know precisely whom to blame for the OverRuns. > > A. > > On Thu, Dec 8, 2011 at 3:02 PM, Asger Blond wrote: > >> Oh what a wonderful statement! >> Asger >> >> From jimdettman at verizon.net Fri Dec 9 10:55:24 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 09 Dec 2011 11:55:24 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> Message-ID: <413332D02540427285BB20F711596C16@XPS> No, un-changed, and nope. Every control you create increments the count. Deleting a control does not decrement it, so the count only goes up. Importing into a new DB does not reset the count. Once you hit the limit, all you can do is create a new form and then copy controls into it. You can't add any more controls to the existing form. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 08, 2011 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Advice on A2010.... Jim, Regarding the (crazy) form control limit. Do you know if the count gets reset if you make a copy of the form? Does the new copy have a controls count equal to the number of controls currently on the form? What about importing the form into another MDB file? Just curious, I've not yet hit that limit. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 08, 2011 11:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... Couple of comments: 1. In regards to Doug's comments on connections, you really should only have one with DAO as long as your not using Opendatabase. Always using currentdb(), will use the same connection. Don't see where your bumping into the 255 user limit there. 2. Access is limited to 2048 table ID's open at one time. A table ID is used for every table and field reference. A form with 37 tabs is huge and I would guess that's what your running into. 3. Access is limited to 754 controls over the life of a form, so watch how big you get (note the limit is not 754 - deleting and creating a control does not decrement/increment the count, it only increments it). Surprised you didn't run into that one. 4. If your working in ADO, make sure you use CurrentProject.Connection This is Access/Jet's ADO connection for the DB you opened and as long as you use it, you'll show up as only one user. If you open your open ADO connections, each will count as a user (when opened together) and will count towards the 255 limit. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Wednesday, December 07, 2011 06:33 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Advice on A2010.... Hi everyone, Boy, A2010 does some weird stuff. I have an accdb database. It is on my local drive, it is only me who uses it, it is only me who can access it. It has DAO code it uses to do stuff with recordsets within the currentDB only. There are no external connections. There is no BE / FE setup (doesn't need it). This database is tiny (about 7 MB) - doesn't have a lot of data or really do any heavy processing at all - basic stuff. The only thing that is unusual for me is I have one main form, which has 37 tabs on it which in turn has listboxes and subforms - and the subforms are bound to their tables - I would usually use unbound, but in this case there is no point. Besides they are all really small datasets. For weeks this has worked pretty well - then suddenly I started getting an error when trying to make design changes "Not opened in Exclusive mode - another user is using the database - can't save changes" was the gist of it. Now how can that happen? There was some suggestion from Google search that it maybe one of the DAO recordsets was being left opened and thus Access thinks there is a open connection and thus another user(?). I double checked I was closing all RS and setting them to nothing when I finished with them. Nothing seemed to work. After much poking around on Google I found this piece of code and added it. It seems to have helped, but I am not sure if that is just co-incidence or not. I had done a few tweaks and rebuild a couple of modules so hard to say: "'Initiate Passive Shutdown - do not allow new Users CurrentProject.Connection.Properties("Jet OLEDB:Connection Control") = 1" This is meant to force access to reject any new users to the database. I wish I could say with confidence that this was what fixed it. I guess I could comment out the code and do some tests, but right now, after losing two days, I am just wanting to catch up on the days I have lost. The other weird issue I get at some point when using this database is "You don't have enough resources to perform the operation". WTF? Again this will fail on doing something low impact and simple. It is like Access hit some sort of limit (again maybe open connections via DAO.Recordset(?) - this is where it usually fails when using code to update stuff via DAO). But all the DAO connections are all being closed in the code - and usually only 1 is open at any one time (a max of 3 in a couple of modules) and they are all set to nothing once I have finished with them. Besides they are also doing bugger all work. Maybe updating 10 records out of a total of 50 - that sort of thing. What 'resources' could possibly be being exhausted with that sort of workload? A restart of the app will usually fix the problem, but what is going here? Has anyone else had these issues, and any ideas on what to do about them? Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Dec 9 11:41:03 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 9 Dec 2011 12:41:03 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: Interesting theory, which I am in no position to prove or disprove. But I am thinking of JC's JIT-tabbed forms construct. Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Alternatively, am I missing the point completely? (Wouldn't be the first time!) A. On Fri, Dec 9, 2011 at 11:55 AM, Jim Dettman wrote: > > No, un-changed, and nope. > > Every control you create increments the count. Deleting a control does > not decrement it, so the count only goes up. > > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > > Jim. > > From marksimms at verizon.net Fri Dec 9 12:08:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 13:08:23 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <413332D02540427285BB20F711596C16@XPS> References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <000a01ccb69d$8b0d7f20$a1287d60$@net> Is there some VBA to do this ? > all you can do is create a new form and then copy controls into it. From BradM at blackforestltd.com Fri Dec 9 13:25:17 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 9 Dec 2011 13:25:17 -0600 Subject: [AccessD] Controlling an Access 2007 EIS Application via RealVNC on the iPad - almost as good as Angry Birds References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com><47774217B25C456C9FDB2FBEE1C32CB2@XPS><413332D02540427285BB20F711596C16@XPS> <000a01ccb69d$8b0d7f20$a1287d60$@net> Message-ID: All, I have built an Executive Information System (reports, graphs, gauges, etc.) with Access 2007 that runs on a remote server. Most of the data comes from a SQL Server database. The remote server has the "server component" of a remote control product called RealVNC. Last week I learned that there was a $5.00 RealVNC "Client" component available for the iPad. (I believe that the "Server" component is about $50.00) You folks may already being using this kind of stuff, but this was a new adventure for me. Picture this... sitting in the living room at night, feet up on the recliner, beer in one hand, "Dancing with the Stars" on TV, fireplace is stoked up (Minnesota), pretending to be carrying on a conversation with my wife, but really controlling the EIS Access application on the iPad. As we used to say in the 1960's "Wow... far out - this is a whole bunch of groovey". I guess the younger generation would say something like "This Rocks". Anyway, being able to use this application on the iPad (and future iPhone) opens up all kinds of new possibilities. Admittedly this isn't the ticket for an application that demands a ton of data entry, but for an inquiry system, it seems pretty cool. The only problem is that we may now need to get a second iPad as my wife, kids, and two grandkids are pretty hooked on Angry Birds :-) Brad From jwcolby at colbyconsulting.com Fri Dec 9 13:29:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Dec 2011 14:29:42 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <56653D383CB80341995245C537A9E7B55EEFF3@SINPRD0402MB099.apcprd04.prod.outlook.com> <47774217B25C456C9FDB2FBEE1C32CB2@XPS> <413332D02540427285BB20F711596C16@XPS> Message-ID: <4EE261A6.4080505@colbyconsulting.com> >Are you suggesting that despite JC's innovative solution to the many-tabs problem, that all this shyte remains in memory despite JC's unloading of the various sub-forms? Nope it doesn't remain in memory if the subform on a tab unloads when you click off a tab. All objects on any form or subform loads into memory when the form loads, and unloads when the form unloads. My JIT stuff simply delays the loading of the subform until the user clicks the tab that the subform is on. I then (may) unload the subform(s) on that tab when the user clicks on another tab. The database connections form a pool. As any object in Access needs a connection, it goes to the pool to get one and when that object closes it returns the connection to the pool. The objects on a form are related to the number of available connections in that when it is time to load a form, all connections that the loading form needs have to exist (be available) when the form loads. However as the form unloads, it returns the connections back to the pool. That is quite the point of JIT subforms, to only get the connections when the user actually cares (is trying to look at the subform) and return these precious connections once the user moves on. All of which has absolutely nothing to do with the number of objects (controls) a form can contain initially or how many can be added to the form right now. Each form has a similar pool of controls that it can add. The difference is that as you delete a control off a form it does not return that "spot" in the pool back to the pool. Thus over time, as you add and delete controls on the form, the number of available "spots" slowly diminishes until they are all used up. This "objects on a given form" pool has nothing to do with the "available database connections" pool. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 12:41 PM, Arthur Fuller wrote: > Interesting theory, which I am in no position to prove or disprove. But I > am thinking of JC's JIT-tabbed forms construct. Are you suggesting that > despite JC's innovative solution to the many-tabs problem, that all this > shyte remains in memory despite JC's unloading of the various sub-forms? > Alternatively, am I missing the point completely? (Wouldn't be the first > time!) > > A. From kismert at gmail.com Fri Dec 9 14:21:53 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 9 Dec 2011 14:21:53 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Stuart, Darryl, Charlotte & Jim: > Stuart McLachlan: > ... > One way to reset the control count is Application.SaveAsText/LoadFromText. > This does not work by itself. You have to reset the ItemSuffix attribute in the resulting text file before loading it back in. And, you can't have any controls with default names. See my earlier post under this topic. Darryl Collins: > ... > In this instance importing the controls into a brand new form DOES help, > as the control count starts a zero on a new form. > Many times, on control heavy forms I have used this to get out of bother. > Now why they have the limit, and why it doesn't decrease when delete > controls is a question for someone deep in the MS bunker, Redmond WA USA > Try my variation on the SaveAsText/LoadFromText method that I outlined in my earlier post. I have verified this to work. Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user. Charlotte Foust: > ... > Copies of the form are full copies with the same limits. The control > count is part of the properties of the form, so importing it doesn't change > a thing. You can create a new form and copy the controls to it but then > you have to go through replacing the old form with the new one. > > Jim Dettman: > ... > Importing into a new DB does not reset the count. Once you hit the limit, > all you can do is create a new form and then copy controls into it. You > can't add any more controls to the existing form. > You both are right that imports and form copies don't reset the count. You can only copy the controls, code and properties to a new form, or use my technique. -Ken From marksimms at verizon.net Fri Dec 9 18:22:48 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 09 Dec 2011 19:22:48 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <008601ccb6d1$d9119510$8b34bf30$@net> Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? From jwcolby at colbyconsulting.com Sat Dec 10 09:44:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Dec 2011 10:44:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <4EE37E52.2090702@colbyconsulting.com> Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, but > there are 270 controls reserved for internal use by the application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY > WASN'T THE LIMIT RAISED ? > > From john at winhaven.net Sat Dec 10 10:04:07 2011 From: john at winhaven.net (John Bartow) Date: Sat, 10 Dec 2011 10:04:07 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE37E52.2090702@colbyconsulting.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <4EE37E52.2090702@colbyconsulting.com> Message-ID: <038e01ccb755$58d63c00$0a82b400$@winhaven.net> A-hem, that's "Ribbons" ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 10, 2011 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Well there are much more important things in life than the number of controls on a form. Like pretty tool bars. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/9/2011 7:22 PM, Mark Simms wrote: > Re: " Regarding the limit, my theory is that the real limit is 1024, > but there are 270 controls reserved for internal use by the > application, leaving > 754 for the user." > > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS > TIME WHY WASN'T THE LIMIT RAISED ? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 10 21:14:28 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 10 Dec 2011 22:14:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <008601ccb6d1$d9119510$8b34bf30$@net> References: <008601ccb6d1$d9119510$8b34bf30$@net> Message-ID: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> I would love to hear MS's defense of this "lifetime" limitation. Especially a number like 754! Number theorists, have at it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, December 09, 2011 7:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Re: " Regarding the limit, my theory is that the real limit is 1024, but there are 270 controls reserved for internal use by the application, leaving 754 for the user." Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME WHY WASN'T THE LIMIT RAISED ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Dec 11 18:17:22 2011 From: marksimms at verizon.net (Mark Simms) Date: Sun, 11 Dec 2011 19:17:22 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <00d701ccb7b2$ff06d000$fd147000$@gmail.com> References: <008601ccb6d1$d9119510$8b34bf30$@net> <00d701ccb7b2$ff06d000$fd147000$@gmail.com> Message-ID: <001501ccb863$6b5e5880$421b0980$@net> Bill -What Balmer did recently was to "distribute" the product manager role for Access. There are now multiple product managers...all over the globe. >From what I know, Clint Covington is either no longer involved or no longer with Microsoft. I'm sure he had taken a LOT of heat past 3 years. So he got out of the kitchen, so-to-speak. Now, NO ONE PERSON is responsible for Access. Slick move by Balmer, eh ? Never liked the guy, never will. From Chester_Kaup at kindermorgan.com Mon Dec 12 10:17:37 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 10:17:37 -0600 Subject: [AccessD] Append Query syntax error Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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 rockysmolin at bchacc.com Mon Dec 12 10:31:38 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:31:38 -0800 Subject: [AccessD] Maximize in A2010 Message-ID: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From cjlabs at att.net Mon Dec 12 10:39:58 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 10:39:58 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 10:56:56 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 08:56:56 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 10:57:28 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 08:57:28 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cjlabs at att.net Mon Dec 12 11:06:50 2011 From: cjlabs at att.net (Carolyn Johnson) Date: Mon, 12 Dec 2011 11:06:50 -0600 Subject: [AccessD] Maximize in A2010 References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <6126DBCEE4A74D8DB9A87053C941E480@Dell> It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Dec 12 11:21:01 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 09:21:01 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <6126DBCEE4A74D8DB9A87053C941E480@Dell> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <6126DBCEE4A74D8DB9A87053C941E480@Dell> Message-ID: So far just maximizing. Forms in question open down and to the right. When I drag them up and to the left so I can see the control box, and click the maximize button, it maximizes just fine with all the controls correctly sized for the monitor. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 9:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 It's difficult for me to say. I have about 100 users for different databases, all on different computers, and was getting some complaints about screens not fitting the monitors and controls moving to the wrong place. But it's hard to know exactly what was going on in the different situations -- the users are generally not reliable reporters. I had been using ADH since 1999 or so and was reluctant to switch as well. I'm getting fewer complaints with AD Tejpal's code. I just did a mass find and replace with some occasional editing -- it went pretty smoothly. But you may be having a different issue if it's just a maximizing problem. Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:56 AM Subject: Re: [AccessD] Maximize in A2010 Do you think the maximize problem is an artifact of the resizing code? The ADH code has caused me some problems over the years, but has been pretty reliable. I've got a lot of forms to change over so I'm not anxious to switch but if I have to... Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Monday, December 12, 2011 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Rocky, I was having problems with my Access2000 format database resizing correctly in Access2010 using the ADH code. I'm having pretty good results using AD Tejpel's code instead: Amongst various alternatives, my sample db named Form_Resize (in access 2003 file format, reference: DAO 3.6), might be of interest to you It is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Carolyn Johnson ----- Original Message ----- From: Rocky Smolin To: 'Access Developers discussion and problem solving' Sent: Monday, December 12, 2011 10:31 AM Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Dec 12 11:27:10 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 11:27:10 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 11:33:41 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 09:33:41 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 12:25:41 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 12:25:41 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Mon Dec 12 12:53:14 2011 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Mon, 12 Dec 2011 10:53:14 -0800 Subject: [AccessD] Append Query syntax error In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Dec 12 13:40:44 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 12 Dec 2011 13:40:44 -0600 Subject: [AccessD] Append Query syntax error In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199841B8EC@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199841B927@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199841B939@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199841B96A@houex1.kindermorgan.com> I used your suggestion but was getting some duplicates. Here is the final solution I ended up with. Thanks for the help INSERT INTO [tbl Monthly Well Count] ( [Eng Area], [Well Count] ) SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 12:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Doh, wait. Sorry, I didn't really bother to try to understand WHAT you're trying to do - just looked at your syntax. If you're trying to insert a row containing the count of active flowing wells for each EngArea, something like this should do it: INSERT INTO [tbl Monthly Well Count] (EngArea, [Name_Of_Column_Containing_The_Count]) ( SELECT a.EngArea, Count(a.PID) FROM [tbl Statuses During Prior Month] as a WHERE a.Status in ("FL","FM","FH") GROUP BY a.EngArea ) Where I've specified [Name_Of_Column_Containing_The_Count] above, substitute the name of the column in the destination table where you want to place the count. Again, not sure if Access requires the subQ to be in parens. If this chokes try removing them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error That is kind of what I was thinking. Trying to do something that cannot be done. Thanks for confirming it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Missed that. You can't insert into "Count(A.PID)" of the destination table. Think about it . . . Remove the Count() from around A.PID. That should do it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error I tried your suggestions ( I think correctly) and still get an insert into syntax error. The cursor goes to the "(" after count on the first line when the syntax error comes up. Thanks for the ideas. Here is how the sql reads now INSERT INTO [tbl Monthly Well Count] (Count(A.PID) AS [Active Flowing Count],EngArea) (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don Sent: Monday, December 12, 2011 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query syntax error Try this: 1) Lose the FROM before your subquery. 2) Not sure whether you need the parentheses around your subquery. Access SQL may require it, but other flavors (e.g. Oracle) don't. 3) The GROUP BY clause was part of the main query - not the subquery - in the original. Take that out. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, December 12, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Append Query syntax error The following select query works great SELECT Count(A.PID) AS [Active Flowing Count],EngArea FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; When I tried to make it an append query I get a syntax error. I don't see the error. Maybe someone else can INSERT INTO [tbl Monthly Well Count](Count(A.PID) AS [Active Flowing Count],EngArea) FROM (SELECT DISTINCT A.PID, EngArea FROM [tbl Statuses During Prior Month] AS A WHERE(A.Status In ("FL","FM","FH"))) Group by EngArea; 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Dec 12 14:25:59 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 12 Dec 2011 14:25:59 -0600 Subject: [AccessD] ACCDE Questions References: <56653D383CB80341995245C537A9E7B55EEA79@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B55EEC93@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I have an Access 2007 application that I have been deploying as an ACCDR file to a small number of users. Recently, I have been thinking about deploying it as an ACCDE file. I have some basic questions. Is there a way to generate an ACCDE file via a batch script with Command Line Switches? I have done some digging but have not been able to find a way to do this. If I create an ACCDE file, it appears that I can rename it to ACCDR to accomplish further "lock down". Is this Okay to do? Are there any "Gotchas" that a person should be aware of when using ACCDE files? The application in question does not allow users to change any form, report, VBA code, etc. However, there is VBA code that does change query defs behind the scenes. Is this going to be a problem with an ACCDE file? Thanks, Brad From kismert at gmail.com Mon Dec 12 14:51:10 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 14:51:10 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation. Especially > a number like 754! Number theorists, have at it! > I can account for 255 of the 'missing' controls: Access queries have a 255 field limit. Correspondingly, on an Access form, there are 255 AccessField objects reserved for holding query row values. AccessField objects allow you to refer to the underlying field's value without binding it to a control Subtract 255 from 1024 and you get 769. So that is 754 user controls, plus 15 'system reserved'. These could be things like navigation buttons, record selectors, datasheet support, PrtDevMode and PrtMip. Mark Simms: > Wow Ken, very intriguing....but more importantly, AFTER ALL OF THIS TIME > WHY > WASN'T THE LIMIT RAISED > I can't give you specifics, but I can tell you that a project like Access has a tremendous amount of inertia. Unless you build in flexibility from the very beginning, changing fundamental constants when a project is mature becomes very difficult. The cost of fixing all the things that would break when changing limits like this would likely exceed the cost of building a new system from scratch. Thus, the emphasis on 'window dressing'. Its all flash and noise dedicated to selling the same old thing, which buys time for newer projects like LightSwitch to gain traction. -Ken From kismert at gmail.com Mon Dec 12 15:10:29 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:10:29 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > Mark Simms > Is there some VBA to do this ? > > > all you can do is create a new form and then copy controls into it. > Yes, I developed just such a product. It copies all controls and form properties over, and all properties for each control, rebuilding the form from scratch. It worked perfectly. Doing a half-assed version in VBA is not so hard. Doing it right is really, really involved. You are really better off doing it by hand. The kicker is I did this when I worked for another company, and they own the rights to the code, so I can't distribute it. Maybe one day I will make the case for them to BSD-license it. -Ken From kismert at gmail.com Mon Dec 12 15:26:50 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 12 Dec 2011 15:26:50 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken From charlotte.foust at gmail.com Mon Dec 12 15:31:44 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 13:31:44 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: Amen, Ken. I used to have code to build forms using a code library and some templates. It was a complicated operation and took me forever to make it work, and I discovered that doing it by hand was easier. Charlotte Foust On Mon, Dec 12, 2011 at 1:10 PM, Kenneth Ismert wrote: > > > > Mark Simms > > Is there some VBA to do this ? > > > > > all you can do is create a new form and then copy controls into it. > > > > Yes, I developed just such a product. It copies all controls and form > properties over, and all properties for each control, rebuilding the form > from scratch. It worked perfectly. > > Doing a half-assed version in VBA is not so hard. Doing it right is really, > really involved. You are really better off doing it by hand. > > The kicker is I did this when I worked for another company, and they own > the rights to the code, so I can't distribute it. Maybe one day I will make > the case for them to BSD-license it. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Mon Dec 12 17:19:09 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:19:09 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> Message-ID: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon Dec 12 17:21:29 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 12 Dec 2011 23:21:29 +0000 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Ken, That is a good and clear explanation. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, 13 December 2011 8:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > William Benson: > I would love to hear MS's defense of this "lifetime" limitation.... > To answer the first part of your question, it all has to do with default control names. When you insert a control in a form, it is given a default name, like text10 or label121. The counter that names the controls is the Lifetime Control Limit counter. Once it hits 754, it gives up. The reason for that is name collisions. You can't just reset the counter, especially when lots of controls on the form have default names. In this scenario, Access might try to name a new control 'text203', and that name would already exist. In pathological cases, all possible new names for a control could already exist, and then you're stuck. That is why, in my earlier instructions, I required that you rename all controls with default number-suffixed names before resetting the counter. It was to avoid name collisions. So, that is the explanation for the Lifetime Control Limit. Is it stupid? Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution for what they surely imagined was going to be a rare event. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Dec 12 17:41:56 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:41:56 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008501ccb927$a31e3230$e95a9690$@net> Wow - thanks for the "heads-up" Ken. Very impressive. > Doing a half-assed version in VBA is not so hard. Doing it right is > really, really involved. You are really better off doing it by hand. > From marksimms at verizon.net Mon Dec 12 17:44:33 2011 From: marksimms at verizon.net (Mark Simms) Date: Mon, 12 Dec 2011 18:44:33 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <008601ccb928$009f6be0$01de43a0$@net> But let me ask...for complex forms with a lot of controls in specific positions and "tight registration"... Isn't the manual rebuild a monumental task in some cases ? > Amen, Ken. I used to have code to build forms using a code library and > some templates. It was a complicated operation and took me forever to > make it work, and I discovered that doing it by hand was easier. > > Charlotte Foust From vbacreations at gmail.com Mon Dec 12 18:36:52 2011 From: vbacreations at gmail.com (William Benson) Date: Mon, 12 Dec 2011 19:36:52 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Mon Dec 12 19:01:03 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 12 Dec 2011 17:01:03 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <008601ccb928$009f6be0$01de43a0$@net> References: <008601ccb928$009f6be0$01de43a0$@net> Message-ID: You might change your mind if you start writing code to copy the controls over! The code I had took me forever to write and tweak and I did it only because I was building UIs for survey input that included questions and answers and used multiple subforms and navigation buttons based on a limited set of control types to capture specific types of data. There was never a time when it was totally automated. I only built the code because the company's business was corporate direct marketing and I was building survey UIs on a daily basis. It wouldn't have been worth it otherwise. Charlotte Foust On Mon, Dec 12, 2011 at 3:44 PM, Mark Simms wrote: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > > Amen, Ken. I used to have code to build forms using a code library and > > some templates. It was a complicated operation and took me forever to > > make it work, and I discovered that doing it by hand was easier. > > > > Charlotte Foust > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rockysmolin at bchacc.com Mon Dec 12 19:24:49 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 12 Dec 2011 17:24:49 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 08:31:59 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 09:31:59 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> The default control names may have something to do with it, but it's not the entire answer. I just ran the code below in A2003 and was able to create 895 controls. I tried the same code in other versions as well: A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Apparently the control creation limit is not a hard limit, but based on some other internal constraint. This is similar to the table ID limit, which is stated as 2048, but actually floats a bit. These limits are somehow tied to the way Access internally handles open objects, but what that process is is un-clear. Jim. Public Sub CheckControlCreation() Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, December 12, 2011 07:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Great explanations. Thanks Mark and Ken. On Dec 12, 2011 6:22 PM, "Darryl Collins" wrote: > Thanks Ken, > > That is a good and clear explanation. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, 13 December 2011 8:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > > > > William Benson: > > I would love to hear MS's defense of this "lifetime" limitation.... > > > > To answer the first part of your question, it all has to do with default > control names. > > When you insert a control in a form, it is given a default name, like > text10 or label121. The counter that names the controls is the Lifetime > Control Limit counter. Once it hits 754, it gives up. > > The reason for that is name collisions. You can't just reset the counter, > especially when lots of controls on the form have default names. In this > scenario, Access might try to name a new control 'text203', and that name > would already exist. In pathological cases, all possible new names for a > control could already exist, and then you're stuck. > > That is why, in my earlier instructions, I required that you rename all > controls with default number-suffixed names before resetting the counter. > > It was to avoid name collisions. > > So, that is the explanation for the Lifetime Control Limit. Is it stupid? > Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution > for what they surely imagined was going to be a rare event. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Tue Dec 13 08:33:46 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Tue, 13 Dec 2011 09:33:46 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 13 09:15:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:15:28 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> Message-ID: <4EE76C10.4050400@colbyconsulting.com> Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From jimdettman at verizon.net Tue Dec 13 09:32:39 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 10:32:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE76C10.4050400@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> Message-ID: <5B9F45562C414FF89415B34BFB2F845A@XPS> Have always been curious about the limit; 754 is just such an odd number. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, December 13, 2011 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Wow! Obviously you need answers badly or you don't have enough paying work. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 9:31 AM, Jim Dettman wrote: > > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > > Apparently the control creation limit is not a hard limit, but based on > some other internal constraint. This is similar to the table ID limit, > which is stated as 2048, but actually floats a bit. > > These limits are somehow tied to the way Access internally handles open > objects, but what that process is is un-clear. > > Jim. > > Public Sub CheckControlCreation() > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + > intK, 100 + intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, December 12, 2011 07:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Great explanations. Thanks Mark and Ken. > On Dec 12, 2011 6:22 PM, "Darryl Collins" > wrote: > >> Thanks Ken, >> >> That is a good and clear explanation. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >> Sent: Tuesday, 13 December 2011 8:27 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >>> >>> William Benson: >>> I would love to hear MS's defense of this "lifetime" limitation.... >>> >> >> To answer the first part of your question, it all has to do with default >> control names. >> >> When you insert a control in a form, it is given a default name, like >> text10 or label121. The counter that names the controls is the Lifetime >> Control Limit counter. Once it hits 754, it gives up. >> >> The reason for that is name collisions. You can't just reset the counter, >> especially when lots of controls on the form have default names. In this >> scenario, Access might try to name a new control 'text203', and that name >> would already exist. In pathological cases, all possible new names for a >> control could already exist, and then you're stuck. >> >> That is why, in my earlier instructions, I required that you rename all >> controls with default number-suffixed names before resetting the counter. >> >> It was to avoid name collisions. >> >> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >> for what they surely imagined was going to be a rare event. >> >> -Ken >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Dec 13 09:39:35 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 13 Dec 2011 10:39:35 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: First, it's an even number, not odd. And second, a WAG... 768 - 14 overhead bytes? LOL. A. On Tue, Dec 13, 2011 at 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > From jwcolby at colbyconsulting.com Tue Dec 13 09:58:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 10:58:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <5B9F45562C414FF89415B34BFB2F845A@XPS> References: <56653D383CB80341995245C537A9E7B55FFD66@SINPRD0402MB099.apcprd04.prod.outlook.com> <7D55BD1A293E46ED9C379A8FD232ABA8@XPS> <4EE76C10.4050400@colbyconsulting.com> <5B9F45562C414FF89415B34BFB2F845A@XPS> Message-ID: <4EE77628.4000404@colbyconsulting.com> >754 is just such an odd number. That it is! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 10:32 AM, Jim Dettman wrote: > > Have always been curious about the limit; 754 is just such an odd number. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, December 13, 2011 10:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Wow! > > Obviously you need answers badly or you don't have enough paying work. ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/13/2011 9:31 AM, Jim Dettman wrote: >> >> The default control names may have something to do with it, but it's not >> the entire answer. I just ran the code below in A2003 and was able to >> create 895 controls. I tried the same code in other versions as well: >> >> A2000 - 800 >> A2002 - 894 >> A2007 - 1040 >> A2010 - 1040 >> >> Apparently the control creation limit is not a hard limit, but based on >> some other internal constraint. This is similar to the table ID limit, >> which is stated as 2048, but actually floats a bit. >> >> These limits are somehow tied to the way Access internally handles open >> objects, but what that process is is un-clear. >> >> Jim. >> >> Public Sub CheckControlCreation() >> >> Dim frm As Form >> Dim ctlText As Control >> Dim ctlLabel As Control >> Dim intK As Integer >> >> ' Create form based on Customers form. >> Set frm = CreateForm() >> >> For intK = 1 To 2000 >> >> ' Create unbound default-size text box in detail section. >> Set ctlText = CreateControl(frm.Name, acTextBox, acDetail, , , 100 + >> intK, 100 + intK, 200, 200) >> >> ' Create child label control for text box. >> Set ctlLabel = CreateControl(frm.Name, acLabel, , ctlText.Name, "", > 100, >> 100) >> >> Debug.Print ctlText.Name, ctlLabel.Name >> >> Next intK >> >> End Sub >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> Sent: Monday, December 12, 2011 07:37 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >> A2010....) >> >> Great explanations. Thanks Mark and Ken. >> On Dec 12, 2011 6:22 PM, "Darryl Collins" >> wrote: >> >>> Thanks Ken, >>> >>> That is a good and clear explanation. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com [mailto: >>> accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert >>> Sent: Tuesday, 13 December 2011 8:27 AM >>> To: accessd at databaseadvisors.com >>> Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on >>> A2010....) >>> >>>> >>>> William Benson: >>>> I would love to hear MS's defense of this "lifetime" limitation.... >>>> >>> >>> To answer the first part of your question, it all has to do with default >>> control names. >>> >>> When you insert a control in a form, it is given a default name, like >>> text10 or label121. The counter that names the controls is the Lifetime >>> Control Limit counter. Once it hits 754, it gives up. >>> >>> The reason for that is name collisions. You can't just reset the counter, >>> especially when lots of controls on the form have default names. In this >>> scenario, Access might try to name a new control 'text203', and that name >>> would already exist. In pathological cases, all possible new names for a >>> control could already exist, and then you're stuck. >>> >>> That is why, in my earlier instructions, I required that you rename all >>> controls with default number-suffixed names before resetting the counter. >>> >>> It was to avoid name collisions. >>> >>> So, that is the explanation for the Lifetime Control Limit. Is it stupid? >>> Yes. Is it lazy? Yes. But it was Microsoft's 'quick and dirty' solution >>> for what they surely imagined was going to be a rare event. >>> >>> -Ken >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> 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 Dec 13 10:06:00 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 08:06:00 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: Gotta try that. Awkward because I need to make the mde in 2003 then copy to machine #2 to test. But I'll give it a whirl. "an unhandled runtime error which stops Access from doing what it should?" Is there such a thing? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Tuesday, December 13, 2011 6:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Any possibility there is an unhandled runtime error which stops Access from doing what it should? In order to trouble-chute this you could remove most of the functionality from those forms and see whether you get better reaction... Bill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 12, 2011 8:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Maximize in A2010 It's a comfort. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, December 12, 2011 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 Hi Rocky, Seen it before - never did get a fix, but that was more because I left the role I was in where it was a problem before a fix was required (they were only testing A2007 at the time to suss out issues) - Google is likely to turn up something useful if you are lucky. The form resizing was definitely an issue at the time. Not much help for you right now I know, but you are not alone with this issue. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 13 December 2011 3:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Maximize in A2010 Dear List: I have an mde compiled in A2003 - works fine. When running in A2010, however, some of the forms do not open maximized. I use the same sort of housekeeping in the Open module of every form - use the ADH form resizing code and issue a DoCmd.Maximize. Has anyone seen this behavior and/or developed a workaround? I would prefer not to convert the app to 2010 and compile as many of my customers are still on 2003 or 2007 and I would prefer not to have to support two version and find out which version they're on before sending them the system. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Dec 13 11:11:24 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 13 Dec 2011 21:11:24 +0400 Subject: [AccessD] =?utf-8?q?FYI=3A_Excel_Web_App_hosted_on_SkyDrive=2E=2E?= =?utf-8?q?=2E?= Message-ID: Hi All, FYI: http://www.excelmashup.com/ Thank you. -- Shamil? From jwcolby at colbyconsulting.com Tue Dec 13 11:21:55 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 12:21:55 -0500 Subject: [AccessD] FYI: Excel Web App hosted on SkyDrive... In-Reply-To: References: Message-ID: <4EE789B3.2030104@colbyconsulting.com> I spend all of my day trying to prevent my data from getting mashed up and then Microsoft promotes this! ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 12:11 PM, Salakhetdinov Shamil wrote: > Hi All, > > FYI: http://www.excelmashup.com/ > > Thank you. > > -- Shamil From vbacreations at gmail.com Tue Dec 13 15:22:51 2011 From: vbacreations at gmail.com (William Benson) Date: Tue, 13 Dec 2011 16:22:51 -0500 Subject: [AccessD] Maximize in A2010 In-Reply-To: <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left the > role I was in where it was a problem before a fix was required (they were > only testing A2007 at the time to suss out issues) - Google is likely to > turn up something useful if you are lucky. The form resizing was > definitely an issue at the time. Not much help for you right now I know, > but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort of > housekeeping in the Open module of every form - use the ADH form resizing > code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of my > customers are still on 2003 or 2007 and I would prefer not to have to > support two version and find out which version they're on before sending > them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Dec 13 15:58:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 16:58:39 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? Message-ID: <4EE7CA8F.5040001@colbyconsulting.com> I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading part of the name. They point to a SQL server Express database that physically does not exist any more. I have discovered that these links to old stuff cause massive slowing opening real linked tables so I need to find and delete these links, but I am at a loss to discover how. ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Dec 13 16:12:07 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Dec 2011 17:12:07 -0500 Subject: [AccessD] How do I find ~TMPxyz connections? In-Reply-To: <4EE7CA8F.5040001@colbyconsulting.com> References: <4EE7CA8F.5040001@colbyconsulting.com> Message-ID: <4EE7CDB7.8000807@colbyconsulting.com> Never mind. that was from tables already deleted. When I exited the db and came back in these were gone. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/13/2011 4:58 PM, jwcolby wrote: > I am iterating my connections in tabledefs and I have three connections with ~TMP as the leading > part of the name. They point to a SQL server Express database that physically does not exist any > more. I have discovered that these links to old stuff cause massive slowing opening real linked > tables so I need to find and delete these links, but I am at a loss to discover how. > > ~TMPCLP184931: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP280711: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP288731: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP373521: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > Access;WSID=DISABILITYINS89;DATABASE=DISCO_UllicoEligibility;Network=DBMSSOCN > ~TMPCLP457481: ODBC;Description=Ullico Elig;DRIVER=SQL > Server;SERVER=DISCOSRVR\SQLEXPRESS;UID=DiscoApp;APP=Microsoft? > From darryl at whittleconsulting.com.au Tue Dec 13 16:13:18 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 13 Dec 2011 22:13:18 +0000 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007> <56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5601060@SINPRD0402MB099.apcprd04.prod.outlook.com> Perhaps, but my experience would suggest it is more of a bug than anything else. Or perhaps a deliberate attempt to move folks off MDE to accde instead. The premise is simple. If a form is set to docmd.maximise then that is what it should do upon open (or event). It works as expected in A2003 as MDB or MDE. But in A2007 the docmd.maximise is seemingly ignored. The form usually opens as a float - I think it also did it for MDB format stuff as well - can't recall. >From memory if you click on the form or moved it - it would immediately maximise and snap to full size. As I said, it has been a while, but I do recall it coming up consistently in the testing we were doing. Annoying. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, 14 December 2011 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Tue Dec 13 16:58:46 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 16:58:46 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken From kismert at gmail.com Tue Dec 13 17:26:20 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 13 Dec 2011 17:26:20 -0600 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: > > Mark Simms: > But let me ask...for complex forms with a lot of controls in specific > positions and "tight registration"... > Isn't the manual rebuild a monumental task in some cases ? > > Charlotte Foust: > You might change your mind if you start writing code to copy the controls > over! ... I only built the code because ... I was building survey UIs on > a > daily basis. It wouldn't have been worth it otherwise. > I agree with Charlotte. You have to be strongly motivated to tackle this project. In my case, the company's flagship A2K product had a crippling case of bloat that none of the normal methods (including EatBloat) could cure. It took 3 months full-time to develop the 'complete rebuild' fix, which did finally work (to everyone's great relief)! Mark: if you are forced to rebuild a huge form, try these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. 2. In the Immediate window, count the number of controls: ? Forms("frmFoo").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Backup your Access database. Delete the problem form. Compact & Repair. 5. Import the form using: Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & "\" & "Form_frmFoo.txt" I have observed this to work. -Ken From rockysmolin at bchacc.com Tue Dec 13 19:24:40 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 13 Dec 2011 17:24:40 -0800 Subject: [AccessD] Maximize in A2010 In-Reply-To: References: <2E9687AB0B7449D0BA93BACAD5505DA9@HAL9007><56653D383CB80341995245C537A9E7B55FFD48@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: No - you get the same error message - just no Debug option. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Tuesday, December 13, 2011 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Maximize in A2010 As far as unhandled error what I was wondering is that maybe if perhaps an mde keeps users out of the code, then unlike an accdb or an mdb possibly the code in an event just stops executing with no warning? I've never built or tested an mde! On Dec 12, 2011 6:20 PM, "Darryl Collins" wrote: > Hi Rocky, > > Seen it before - never did get a fix, but that was more because I left > the role I was in where it was a problem before a fix was required > (they were only testing A2007 at the time to suss out issues) - Google > is likely to turn up something useful if you are lucky. The form > resizing was definitely an issue at the time. Not much help for you > right now I know, but you are not alone with this issue. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 13 December 2011 3:32 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Maximize in A2010 > > Dear List: > > I have an mde compiled in A2003 - works fine. When running in A2010, > however, some of the forms do not open maximized. I use the same sort > of housekeeping in the Open module of every form - use the ADH form > resizing code and issue a DoCmd.Maximize. > > Has anyone seen this behavior and/or developed a workaround? > > I would prefer not to convert the app to 2010 and compile as many of > my customers are still on 2003 or 2007 and I would prefer not to have > to support two version and find out which version they're on before > sending them the system. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com < > http://www.e-z-mrp.com/> > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Dec 13 19:30:42 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 13 Dec 2011 20:30:42 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, December 13, 2011 05:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) > > Jim Dettman: > The default control names may have something to do with it, but it's not > the entire answer. I just ran the code below in A2003 and was able to > create 895 controls. I tried the same code in other versions as well: > > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Very intriguing, Jim. I ran your code on Access 2000, and got 801 controls, confirming your result. A Google search revealed that the 754 limit is very widely quoted, and even Microsoft's own page repeats this figure: http://support.microsoft.com/kb/208192 But I have personally seen forms with this 754 control limit, however the database was imported from Access 97. So, I still think my theory stands -- but the numbers are correct only for Access 97. Does anybody have an ancient version of Access 97 they can test this on? It is obvious that the control limit was raised in later versions of Access, but the reasons for these particular limits remain mysterious. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 13 20:52:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 02:52:10 +0000 Subject: [AccessD] UDF in Access called to Excel Message-ID: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi guys and girls. One of my colleagues is using a UDF embedded into an Access Query. The query runs find in access by when he is calling the query from Excel VBA (via qd.openrecordset). The code fails with a 'undefined function' error. I read on google the following which was a response to a similar issue: "Access uses Jet, and the combination of Access and Jet understands VBA functions. DAO is a generic data access layer that doesn't understand VBA functions. When you use DAO, you're not automating Access, merely using that bridge to get to the data. Even though some versions of Access use DAO internally to communicate with Jet, the ability to understand VBA is programmed into Access, not DAO." So, is that correct. I would have thought the DOA would have only sent the command to open the query and Access would still do all of the processing? Any thoughts on this. I personally wouldn't do it this way. I would use the Function from Excel to get all of the parameters first and then pass them to the query as needed. In this case the function is built into the query itself in Access. Cheers Darryl. Darryl Collins Whittle Consulting Pty Ltd Suite 8, 660 Canterbury Rd Surrey Hills, VIC, 3127 p: +61 3 9898 3242 m: +61 418 381 548 f: +61 3 9898 1855 e: darryl at whittleconsulting.com.au w: www.whittleconsulting.com.au From stuart at lexacorp.com.pg Tue Dec 13 21:26:37 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Dec 2011 13:26:37 +1000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. From darryl at whittleconsulting.com.au Tue Dec 13 21:30:17 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 03:30:17 +0000 Subject: [AccessD] UDF in Access called to Excel In-Reply-To: <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> References: <56653D383CB80341995245C537A9E7B560121C@SINPRD0402MB099.apcprd04.prod.outlook.com> <4EE8176D.24437.13D851CF@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B5601256@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Stuart. That clears that up. I will tell him to go to Plan B instead. Cheers darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 14 December 2011 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] UDF in Access called to Excel On 14 Dec 2011 at 2:52, Darryl Collins wrote: > > So, is that correct. I would have thought the DOA would have only > sent the command to open the query and Access would still do all of > the processing? > Yes, it is correct. Access does not do the processing, the DAO/JET engine does it. DAO/JET doesn't know anything at all about VBA., let alone what VBA functions happen to be in the same Access container are the table. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 13 21:44:17 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 13 Dec 2011 22:44:17 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <003c01ccba12$a84eb590$f8ec20b0$@net> Thanks a ton Ken ! Simply excellent technical investigative work. Well done. > 5. Import the form using: > Application.LoadFromText acForm, "frmFoo", CurrentProject.Path & > "\" & > "Form_frmFoo.txt" > > I have observed this to work. > > -Ken From vbacreations at gmail.com Tue Dec 13 22:17:49 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 13 Dec 2011 23:17:49 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <001201ccba17$579a35c0$06cea140$@gmail.com> If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From darryl at whittleconsulting.com.au Tue Dec 13 22:35:10 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 04:35:10 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <56653D383CB80341995245C537A9E7B56012C7@SINPRD0402MB099.apcprd04.prod.outlook.com> That is what I normally do - which is probably why it is nearly always much more work to code it than do it all manually. The copy / paste way is usually fast, even with many hundreds of controls it doesn't take more than a few minutes I find. The only other step is to ensure you copy the form code over as well to the new form. I usually rename the old form "frmMyForm_OLD" first, create a new form and save it "frmMyForm", copy the controls, copy the code, save and test. If the new form works as expected I then delete the old form entirely (of course I have an original one on an older backup version). Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Wednesday, 14 December 2011 3:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Advice on A2010.... If rebuilding the form completely, why doesn't copying the controls to a new form and renaming the form suffice? >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Dec 14 02:11:59 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 14 Dec 2011 09:11:59 +0100 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. From jwcolby at colbyconsulting.com Wed Dec 14 06:05:11 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 07:05:11 -0500 Subject: [AccessD] Access bounc form - Data has changed Message-ID: <4EE890F7.6000204@colbyconsulting.com> I am moving to SQL Server and when a user tries to update data that has changed a message is generated. The nice part is that Access places the change in the paste buffer. How do I handle that at the form? Trap the error and requery the form then the prompt the user to insert the paste buffer? I will be testing that stuff but have no experience here. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jimdettman at verizon.net Wed Dec 14 07:24:32 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 08:24:32 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: BTW, one of the things I did try was creating text only controls rather then a text/label combination. Got the same results, but other control types might yield different numbers. If they do, then the limit would seem more related to object management rather then some inherent limitation with form objects themselves (in terms of storage). I'll play with that today if I have time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 14, 2011 03:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Hi Jim For Access 2.0 it runs to: Field652 Text653 then exits with an "out of memory" error. Code must be modified to: Sub CheckControlCreation () Dim frm As Form Dim ctlText As Control Dim ctlLabel As Control Dim intK As Integer ' Create form based on Customers form. Set frm = CreateForm() For intK = 1 To 2000 ' Create unbound default-size text box in detail section. Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + intK, 200, 200) ' Create child label control for text box. Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, 100) Debug.Print ctlText.Name, ctlLabel.Name Next intK End Sub /gustav >>> jimdettman at verizon.net 14-12-2011 02:30 >>> Ken, <> Yes, it's been out there for many years. It was sometime in the A95/A97 timeframe that I first saw it documented. A quick check of the A2 manuals (yes, they are still on the shelf) does not have it listed as part of the specs. Unfortunately I don't have it loaded to test. Disks are still around somewhere but it's not worth the effort. <> For A97 I got 752. Still would like to know how it even started out as 754. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 14 09:16:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 10:16:18 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <4EE8BDC2.5010108@colbyconsulting.com> I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > From marksimms at verizon.net Wed Dec 14 09:49:28 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 10:49:28 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: <001201ccba17$579a35c0$06cea140$@gmail.com> References: <001201ccba17$579a35c0$06cea140$@gmail.com> Message-ID: <000001ccba77$f6c10060$e4430120$@net> Apparently the important last control number is "inherited" from the old form..... that's why you must go to text... And then edit the number. > If rebuilding the form completely, why doesn't copying the controls to > a new > form and renaming the form suffice? > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< From charlotte.foust at gmail.com Wed Dec 14 10:49:20 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 08:49:20 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <000001ccba77$f6c10060$e4430120$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: You avoid that issue entirely if you name all your controls in the first place. Charlotte Foust On Wed, Dec 14, 2011 at 7:49 AM, Mark Simms wrote: > Apparently the important last control number is "inherited" from the old > form..... > that's why you must go to text... > And then edit the number. > > > If rebuilding the form completely, why doesn't copying the controls to > > a new > > form and renaming the form suffice? > > > > >>>if you are forced to rebuild a huge form, try these steps:<<<<<<<<<< > > > -- > 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 Dec 14 11:10:59 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 14 Dec 2011 12:10:59 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE890F7.6000204@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: Without pretending to expertise on this topic, although admitting some experience, I have found that the best way to handle this stuff is via Views. Which is also a statement of principle: never let Anyone but God touch the tables, me and in your case You assuming the God role, allow no mortal to ever touch the tables: that is Your province; they all go through sprocs or views; it happens that in an Access app, I prefer views, because they are much more flexible: simple, simple, simple: main form has one view, details form has another view, linked Master and subForm keys; drop-dead simple, and works like a charm. Maybe not scalable to hundreds of users, although I have made it work with 70+ users, and it was Fast. I have no complaints about that approach, although I am also looking at C# and LightSwitch alternatives, and attempting to re-write client apps on these new models. It's a learning experience. A. On Wed, Dec 14, 2011 at 7:05 AM, jwcolby wrote: > I am moving to SQL Server and when a user tries to update data that has > changed a message is generated. The nice part is that Access places the > change in the paste buffer. > > How do I handle that at the form? Trap the error and requery the form > then the prompt the user to insert the paste buffer? > > I will be testing that stuff but have no experience here. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From jwcolby at colbyconsulting.com Wed Dec 14 12:13:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:13:42 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> Message-ID: <4EE8E756.9000603@colbyconsulting.com> I am not sure what difference a view would make though. The data behind the scenes has still changed. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 12:10 PM, Arthur Fuller wrote: > Without pretending to expertise on this topic, although admitting some > experience, I have found that the best way to handle this stuff is via > Views. Which is also a statement of principle: never let Anyone but God > touch the tables, me and in your case You assuming the God role, allow no > mortal to ever touch the tables: that is Your province; they all go through > sprocs or views; it happens that in an Access app, I prefer views, because > they are much more flexible: simple, simple, simple: main form has one > view, details form has another view, linked Master and subForm keys; > drop-dead simple, and works like a charm. Maybe not scalable to hundreds of > users, although I have made it work with 70+ users, and it was Fast. I have > no complaints about that approach, although I am also looking at C# and > LightSwitch alternatives, and attempting to re-write client apps on these > new models. It's a learning experience. > > A. > > On Wed, Dec 14, 2011 at 7:05 AM, jwcolbywrote: > >> I am moving to SQL Server and when a user tries to update data that has >> changed a message is generated. The nice part is that Access places the >> change in the paste buffer. >> >> How do I handle that at the form? Trap the error and requery the form >> then the prompt the user to insert the paste buffer? >> >> I will be testing that stuff but have no experience here. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> > > > From charlotte.foust at gmail.com Wed Dec 14 12:18:07 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 10:18:07 -0800 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: <4EE8E756.9000603@colbyconsulting.com> References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: It's a security feature. Regular users simply don't have the role permission to change the data in the tables, they have to do it through a view. Charlotte Foust On Wed, Dec 14, 2011 at 10:13 AM, jwcolby wrote: > I am not sure what difference a view would make though. The data behind > the scenes has still changed. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/14/2011 12:10 PM, Arthur Fuller wrote: > >> Without pretending to expertise on this topic, although admitting some >> experience, I have found that the best way to handle this stuff is via >> Views. Which is also a statement of principle: never let Anyone but God >> touch the tables, me and in your case You assuming the God role, allow no >> mortal to ever touch the tables: that is Your province; they all go >> through >> sprocs or views; it happens that in an Access app, I prefer views, because >> they are much more flexible: simple, simple, simple: main form has one >> view, details form has another view, linked Master and subForm keys; >> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >> of >> users, although I have made it work with 70+ users, and it was Fast. I >> have >> no complaints about that approach, although I am also looking at C# and >> LightSwitch alternatives, and attempting to re-write client apps on these >> new models. It's a learning experience. >> >> A. >> >> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >> >wrote: >> >> I am moving to SQL Server and when a user tries to update data that has >>> changed a message is generated. The nice part is that Access places the >>> change in the paste buffer. >>> >>> How do I handle that at the form? Trap the error and requery the form >>> then the prompt the user to insert the paste buffer? >>> >>> I will be testing that stuff but have no experience here. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/accessd >>> >>> >>> >>> > >>> Website: http://www.databaseadvisors. >>> >>> ****com >>> >>> > >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From marksimms at verizon.net Wed Dec 14 12:30:59 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 14 Dec 2011 13:30:59 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> Message-ID: <003c01ccba8e$877313d0$96593b70$@net> You mean RENAME, right ? Every control has a name property by default. i.e. there are no unnamed controls. > You avoid that issue entirely if you name all your controls in the > first place. > > Charlotte Foust From jwcolby at colbyconsulting.com Wed Dec 14 12:38:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 13:38:16 -0500 Subject: [AccessD] Access bounc form - Data has changed In-Reply-To: References: <4EE890F7.6000204@colbyconsulting.com> <4EE8E756.9000603@colbyconsulting.com> Message-ID: <4EE8ED18.1050604@colbyconsulting.com> Yes I understand that but I have set up users and such and their permissions. The message I am getting is that another user has changed the data. I have to do something to cause the form to discover that the data has been written and refresh the data in the current form so that changes to the data in the current form are now allowed. AFAIK that has nothing to do with views per se. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 1:18 PM, Charlotte Foust wrote: > It's a security feature. Regular users simply don't have the role > permission to change the data in the tables, they have to do it through a > view. > > Charlotte Foust > > On Wed, Dec 14, 2011 at 10:13 AM, jwcolbywrote: > >> I am not sure what difference a view would make though. The data behind >> the scenes has still changed. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/14/2011 12:10 PM, Arthur Fuller wrote: >> >>> Without pretending to expertise on this topic, although admitting some >>> experience, I have found that the best way to handle this stuff is via >>> Views. Which is also a statement of principle: never let Anyone but God >>> touch the tables, me and in your case You assuming the God role, allow no >>> mortal to ever touch the tables: that is Your province; they all go >>> through >>> sprocs or views; it happens that in an Access app, I prefer views, because >>> they are much more flexible: simple, simple, simple: main form has one >>> view, details form has another view, linked Master and subForm keys; >>> drop-dead simple, and works like a charm. Maybe not scalable to hundreds >>> of >>> users, although I have made it work with 70+ users, and it was Fast. I >>> have >>> no complaints about that approach, although I am also looking at C# and >>> LightSwitch alternatives, and attempting to re-write client apps on these >>> new models. It's a learning experience. >>> >>> A. >>> >>> On Wed, Dec 14, 2011 at 7:05 AM, jwcolby >>>> wrote: >>> >>> I am moving to SQL Server and when a user tries to update data that has >>>> changed a message is generated. The nice part is that Access places the >>>> change in the paste buffer. >>>> >>>> How do I handle that at the form? Trap the error and requery the form >>>> then the prompt the user to insert the paste buffer? >>>> >>>> I will be testing that stuff but have no experience here. >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>> >>>> >>>> >>>>> >>>> Website: http://www.databaseadvisors. >>>> >>>> ****com >>>> >>>>> >>>> >>>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From jimdettman at verizon.net Wed Dec 14 13:15:02 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 14 Dec 2011 14:15:02 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: <4EE8BDC2.5010108@colbyconsulting.com> References: <4EE8BDC2.5010108@colbyconsulting.com> Message-ID: No, that's not the case. When I ran the tests, it didn't matter if I did text and label controls or just text controls as I would get the same number of total controls either way. I had been testing to see if the type of control affected the out come (because of the difference in the number of PEM's) in the total number of controls, but it didn't (at least not for text vs label vs all text, which should have been different enough to show up). And it doesn't seem like the naming is related to the limit. The tests for A2000 and up all yielded control names >754 and A2007 and up went from three to four positions for the numeric portion of the naming. That means you would be able to get 9,999 controls for each control type without a conflict in names. However the numeric suffix counter applies to all controls, so you should be able to get to 9,999 without a problem, but the limit is far short of that. I don't think it's related to the storage method either; all the numbers are odd (not 256, 512, 1024, etc). You just can't come up with any number of bits that represent the numbers shown. Only possibility is the one Ken raised where internal objects are using some of the mapping (ie. 1024 - x number of internal objects = objects available to you). But it seems more related to internal memory management then it does to anything else we've seen so far as the value seems to float from version to version. It's like the table ID limit which also floats a bit; one minute you can be fine with a query or form and the next you get an "out of memory" message. What I'd really like to see happen is those test numbers change a bit on the same machine or between machines. That would really imply that it's related to memory management. A hard coded limit or a limit based on the storage method would always be consistent no matter when or where checked. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, December 14, 2011 10:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) I would bet you will find that each type of control can have that limit of controls IOW 750 labels (not connected to a text box) 750 text boxes, 750 radio buttons, 750 combos etc. Each control has a different name prefix and thus there will be no collision between names for text boxes and combo boxes and radio buttons. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 8:24 AM, Jim Dettman wrote: > > BTW, one of the things I did try was creating text only controls rather > then a text/label combination. Got the same results, but other control > types might yield different numbers. If they do, then the limit would seem > more related to object management rather then some inherent limitation with > form objects themselves (in terms of storage). > > I'll play with that today if I have time. > > Jim. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, December 14, 2011 03:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on > A2010....) > > Hi Jim > > For Access 2.0 it runs to: > > Field652 Text653 > > then exits with an "out of memory" error. > Code must be modified to: > > > Sub CheckControlCreation () > > Dim frm As Form > Dim ctlText As Control > Dim ctlLabel As Control > Dim intK As Integer > > ' Create form based on Customers form. > Set frm = CreateForm() > > For intK = 1 To 2000 > > ' Create unbound default-size text box in detail section. > Set ctlText = CreateControl(frm.Name, 109, 0, "", "", 100 + intK, 100 + > intK, 200, 200) > > ' Create child label control for text box. > Set ctlLabel = CreateControl(frm.Name, 100, 0, ctlText.Name, "", 100, > 100) > > Debug.Print ctlText.Name, ctlLabel.Name > > Next intK > > End Sub > > > /gustav > > >>>> jimdettman at verizon.net 14-12-2011 02:30>>> > Ken, > > < even > Microsoft's own page repeats this figure:>> > > Yes, it's been out there for many years. It was sometime in the A95/A97 > timeframe that I first saw it documented. A quick check of the A2 manuals > (yes, they are still on the shelf) does not have it listed as part of the > specs. Unfortunately I don't have it loaded to test. Disks are still > around somewhere but it's not worth the effort. > > < Access 97. Does anybody have an ancient version of Access 97 they can test > this on?>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > > Jim. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Dec 14 13:14:02 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 14 Dec 2011 11:14:02 -0800 Subject: [AccessD] Advice on A2010.... In-Reply-To: <003c01ccba8e$877313d0$96593b70$@net> References: <001201ccba17$579a35c0$06cea140$@gmail.com> <000001ccba77$f6c10060$e4430120$@net> <003c01ccba8e$877313d0$96593b70$@net> Message-ID: I meant specifically name the controls instead of accepting the defaults, which are less than useless anyhow. And that includes the attached labels and page breaks and all the other items you put on there. I always named them at creation to make it easier to untangle later, so I never ran into issues with default names. Charlotte Foust On Wed, Dec 14, 2011 at 10:30 AM, Mark Simms wrote: > You mean RENAME, right ? Every control has a name property by default. > i.e. there are no unnamed controls. > > > You avoid that issue entirely if you name all your controls in the > > first place. > > > > Charlotte Foust > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From kismert at gmail.com Wed Dec 14 14:23:35 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:23:35 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > Jim Dettman: > < correct only for Access 97.>> > > For A97 I got 752. > > Still would like to know how it even started out as 754. > I think the simplest explanation is A97 allowed 1024 controls. Subtract 255 'AccessField' controls (for the maximum fields in a query), and you get 769. That leaves 753 'user' controls and 16 'reserved' controls, things like RecordSelectors, DataSheet support, Record Navigation, the default Detail section, etc. But, on some service pack of Access 2000, the counter limit was raised to 16 bits, or even 32 bits. Supporting 4 billion controls was just silly, so they just picked an arbitrary limit of 800, and kept raising that over time. What I'd really like to see happen is those test numbers change a bit on > the same machine or between machines. That would really imply that it's > related to memory management. A hard coded limit or a limit based on the > storage method would always be consistent no matter when or where checked. Well, AccessD community, test away! Is the limit truly fixed for each version, or does it change? The results will be interesting. -Ken From kismert at gmail.com Wed Dec 14 14:46:02 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 14:46:02 -0600 Subject: [AccessD] Advice on A2010.... Message-ID: > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to a > new > form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken From jwcolby at colbyconsulting.com Wed Dec 14 15:28:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 14 Dec 2011 16:28:18 -0500 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <4EE914F2.4020404@colbyconsulting.com> Good points Ken. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/14/2011 3:46 PM, Kenneth Ismert wrote: >> >> William Benson: >> If rebuilding the form completely, why doesn't copying the controls to a >> new >> form and renaming the form suffice? >> > > Because you also have to manually duplicate all of the form properties, > which don't copy over automatically. > > For example, if your form allows datasheets, all the column width settings > will be reset to their defaults. > > Further, the copy-and-paste approach can mess up subtle things like display > order, so controls that show up on the original won't be visible on the > copy. > > Thus, if all you need to do is reset the count, I recommend my method, > because the whole form gets copied, leaving no surprises. > > Charlotte Foust: >> You avoid that issue entirely if you name all your controls in the first >> place. >> > > Giving controls meaningful names is best practice. But that doesn't reset > the counter. > > Try modifying Jim's code to give each control a non-default name before the > next is created. The limit didn't change for me. > > -Ken From kismert at gmail.com Wed Dec 14 15:55:22 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 15:55:22 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: All, I just tried another experiment: 1. In Access 2000 or later, call TestControlLifetimeLimit below (a modification of Jim's code) to populate form controls to their limit 2. Delete some or all of the highest-numbered controls 3. Call TestControlLifetimeLimit(Forms(0)) to populate more controls. What I found is that as long as you delete the highest-numbered controls, the counter limit isn't enforced. I ran this until the counter got up to 17213! Can others duplicate this? So, my new theory is that, for some service pack of Office 2000, this got sort-of fixed. (I recall running into this problem a decade ago in an early release of 2000). The maximum control limit is enforced, but the counter will keep going up, as long as you delete some of the higher-order controls. However, the 754-control limit will persist for forms & reports imported from Access 97. This is why the 'rebuild from scratch' is required to totally cure the problem in very old projects. There is simply no other way to keep the form from inheriting the old A97 behavior. Code: Public Sub TestControlLifetimeLimit(Optional ByVal rObj As Object = Nothing) Dim rFrm As Access.Form Dim rText As Control Dim rLabel As Control Dim i As Integer On Error GoTo HandleErr If rObj Is Nothing Then Set rFrm = CreateForm() rFrm.HasModule = True ElseIf TypeOf rObj Is Access.Form Then Set rFrm = rObj ElseIf TypeOf rObj Is Access.Controls Then Set rFrm = rObj.Parent Else Exit Sub End If i = rFrm.Controls.Count Do Set rText = CreateControl(rFrm.Name, acTextBox, acDetail, , , (i Mod 100) * 100, (i \ 100) * 400, 200, 200) Set rLabel = CreateControl(rFrm.Name, acLabel, , rText.Name, "", (i Mod 100) * 100 + 50, (i \ 100) * 400, 200, 200) i = i + 1 Loop While i < 2000 ExitHere: Debug.Print "Control Count: " & rFrm.Controls.Count Exit Sub HandleErr: Debug.Print "Error: " & Err.Number & vbCrLf & Err.Description & vbCrLf & Err.Source GoTo ExitHere End Sub -Ken From darryl at whittleconsulting.com.au Wed Dec 14 16:36:08 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 14 Dec 2011 22:36:08 +0000 Subject: [AccessD] Advice on A2010.... In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B560147A@SINPRD0402MB099.apcprd04.prod.outlook.com> Aaaah, those are good points. In the past virtually all my forms are unbound and I rarely used datasheet view - although in my current role I do a lot more. Mind you in this role performance trumps elegance so it doesn't matter if the form looks a bit scrappy as I, or the immediate team, are the only users. And we know how to fix it if something goes *splat*. Thanks for shedding some light onto this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Thursday, 15 December 2011 7:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Advice on A2010.... > > William Benson: > If rebuilding the form completely, why doesn't copying the controls to > a new form and renaming the form suffice? > Because you also have to manually duplicate all of the form properties, which don't copy over automatically. For example, if your form allows datasheets, all the column width settings will be reset to their defaults. Further, the copy-and-paste approach can mess up subtle things like display order, so controls that show up on the original won't be visible on the copy. Thus, if all you need to do is reset the count, I recommend my method, because the whole form gets copied, leaving no surprises. Charlotte Foust: > You avoid that issue entirely if you name all your controls in the first > place. > Giving controls meaningful names is best practice. But that doesn't reset the counter. Try modifying Jim's code to give each control a non-default name before the next is created. The limit didn't change for me. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Wed Dec 14 17:10:38 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Wed, 14 Dec 2011 17:10:38 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken From vbacreations at gmail.com Wed Dec 14 20:12:16 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 14 Dec 2011 21:12:16 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <002601ccbace$f819ee20$e84dca60$@gmail.com> And how do you recommend deleting *precisely* the first 400 controls?;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 06:47:16 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 07:47:16 -0500 Subject: [AccessD] It just goes to show ya Message-ID: <4EE9EC54.1070108@colbyconsulting.com> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From charlotte.foust at gmail.com Thu Dec 15 07:09:27 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 05:09:27 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very careful > and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From df.waters at comcast.net Thu Dec 15 07:12:35 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 07:12:35 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <001401ccbb2b$366c0b20$a3442160$@comcast.net> Facebook? What's Facebook? I have work to do! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 15, 2011 7:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Thu Dec 15 07:59:23 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 15 Dec 2011 08:59:23 -0500 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. No question, I know it's not legit. Susan H. >I got an email this morning - XYZ wants to be your friend on facebook. I >don't know xyz, but I often go look to see if maybe I do know them out in a >circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. From vbacreations at gmail.com Thu Dec 15 08:10:53 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:10:53 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) In-Reply-To: References: Message-ID: <003001ccbb33$5ba3cf10$12eb6d30$@gmail.com> Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 15 08:14:39 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 15 Dec 2011 09:14:39 -0500 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) References: Message-ID: <003101ccbb33$e2c18000$a8448000$@gmail.com> Uh, yes it was, thanks Jim D. on Dec 13. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, December 15, 2011 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Was it mentioned that the control count hits 1040 before erroring out in Access 2010: Microsoft Access can't create any more controls on this form or report. Database13 Control Count: 1040 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Wednesday, December 14, 2011 6:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Try this: 1. Use TestControlLifetimeLimit() to fully populate a form. 2. Save as "Form1" 3. Delete the FIRST 400 controls. 4. Run TestControlLifetimeLimit(Forms(0)). Note that it can't add any more controls. 5. Close the form. Run these commands: application.saveastext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" application.loadfromtext acForm, "Form1", currentproject.Path & "\" & "Form_Form1" 6. Design the form. Run TestControlLifetimeLimit(Forms(0)). Here I predict two things: A. This will fail for Access 97 forms, even those imported into a later version of Access. This is the classical 'lifetime limit' error. B. This will succeed for forms created in A2K or later. So, for the authors of EatBloat, I would modify their documentation to say: For Forms & Reports created in Access 2000 or later: > SaveAsText/LoadFromText will reset the control count, allowing you to add > more controls up to the version control limit. > For Forms & Reports created in Access 97 or earlier: > SaveAsText/LoadFromText will NOT reset the control count. You must edit the > ItemSuffix attribute in the text file (and possibly rename controls) to > reset the control count. This behavior will persist, even if the form is > imported into a later version of Access. > -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Thu Dec 15 08:18:06 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 15 Dec 2011 08:18:06 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From jimdettman at verizon.net Thu Dec 15 09:39:36 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 15 Dec 2011 10:39:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <21D3D45A0B814AEAACDE39A52483D58D@XPS> Really scary I know...some of the stuff is getting pretty darn good. Almost got bit last year. E-mail came in telling me I had a problem with something, which by coincidence I had just done the previous day and it looked legit. Clicked without thinking and Trend saved my butt. After the blocked page message came up, it was only then that I realized I should not be getting an e-mail like that. That was too close for comfort And here I am the one telling everybody "Don't click on anything in an e-mail" and absolutely know better then not to. Part of the problem is though, there are still people sending e-mails (valid ones) with links in them (NY's Easy pass comes to mind). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 07:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 10:02:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 11:02:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com> <22B9B17F85FA41CF9E3DA333A1EADC84@SusanHarkins> Message-ID: <4EEA1A0D.2020109@colbyconsulting.com> >> I turned my facebook messaging off LOL, I discovered that Facebook had "opted me in" to a TON of crap that they were sending. Of course I went in and disabled it but it is truly annoying that they would do that, and it raises the question - am I opted in to whatever they may decide I really should be receiving in the future? Where do these companies get off deciding that they can send me crap I didn't ask for? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 8:59 AM, Susan Harkins wrote: > I turned my facebook messaging off -- if anything comes to my inbox like that, I totally ignore it. > No question, I know it's not legit. > > Susan H. > > >> I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I >> often go look to see if maybe I do know them out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a page to do something bad to my >> computer. > From BradM at blackforestltd.com Thu Dec 15 10:05:08 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 15 Dec 2011 10:05:08 -0600 Subject: [AccessD] It just goes to show ya References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: I would guess that almost everyone has been burned by a virus in the past. Here are some things that I have done to reduce the risk on the "main" PC that I use for work purposes. Use an iPad for "web surfing" Have multiple PCs so that the teenagers don't use the "main" one Use Microsoft Security Essentials (free) Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Gary Kjos Sent: Thu 12/15/2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Whew! Glad your safeguards protected you. I had a virus creep in a year or so back. I know I messed up and did something I knew I shouldn't have. Took me about 10 hours of messing around to get it back the way it was. It became a quest to defeat the b at st@rds that did it to me though. GK On Thu, Dec 15, 2011 at 6:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. ?I > don't know xyz, but I often go look to see if maybe I do know them out in a > circle somehow. > > I clicked on the link... ?It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page to > do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent running > scripts in firefox which just saved my bacon. > > It just goes to show though. ?I *know* about this stuff, I am very careful > and I still got suckered. ?Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kathryn at bassett.net Thu Dec 15 13:35:47 2011 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 15 Dec 2011 11:35:47 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <011501ccbb60$bec27010$3c475030$@net> I'm fortunate! I've never ended up with a virus and I've been online since the beginning. Now my husband, on the other hand... I'm glad he's got his own computer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Thursday, December 15, 2011 8:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > I would guess that almost everyone has been burned by a virus in the > past. > > Here are some things that I have done to reduce the risk on the "main" > PC that I use for work purposes. > > Use an iPad for "web surfing" > Have multiple PCs so that the teenagers don't use the "main" one Use > Microsoft Security Essentials (free) > > Brad From hans.andersen at phulse.com Thu Dec 15 14:32:54 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Thu, 15 Dec 2011 12:32:54 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I think the last time I had a virus, it was a boot sector virus from an infected floppy via the sneakernet. Saying that, viruses are so advanced these days that, just because you think you are clean, you could still very well be infected by something on a root kit level. The truth is, as soon as you spot an infection, you cannot trust your pc anymore even if your antivirus claims to have cleaned your machine. The only thing to do is format your machine completely and reinstall. - Hans Sent from my iPhone On 2011-12-15, at 11:35 AM, "Kathryn Bassett" wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Brad Marks >> Sent: Thursday, December 15, 2011 8:05 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] It just goes to show ya >> >> I would guess that almost everyone has been burned by a virus in the >> past. >> >> Here are some things that I have done to reduce the risk on the "main" >> PC that I use for work purposes. >> >> Use an iPad for "web surfing" >> Have multiple PCs so that the teenagers don't use the "main" one Use >> Microsoft Security Essentials (free) >> >> Brad > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Dec 15 15:05:30 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 15 Dec 2011 13:05:30 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <011501ccbb60$bec27010$3c475030$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I had one for the first time earlier this year. I still haven't figured out where it came from, but it was the joke virus, so it didn't do any actual damage just slowed my machine down. I switched to Vipre Internet Security after that, since it was the only thing I found that actually removed it. Charlotte Foust On Thu, Dec 15, 2011 at 11:35 AM, Kathryn Bassett wrote: > I'm fortunate! I've never ended up with a virus and I've been online since > the beginning. Now my husband, on the other hand... I'm glad he's got his > own computer. > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 15, 2011 8:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] It just goes to show ya > > > > I would guess that almost everyone has been burned by a virus in the > > past. > > > > Here are some things that I have done to reduce the risk on the "main" > > PC that I use for work purposes. > > > > Use an iPad for "web surfing" > > Have multiple PCs so that the teenagers don't use the "main" one Use > > Microsoft Security Essentials (free) > > > > Brad > > > -- > 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 Dec 15 15:33:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:33:22 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. From Lambert.Heenan at chartisinsurance.com Thu Dec 15 15:37:20 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 16:37:20 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Dec 15 15:37:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:37:27 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: <4EEA6897.3030800@colbyconsulting.com> I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Thu Dec 15 15:49:44 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:49:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > From jwcolby at colbyconsulting.com Thu Dec 15 15:48:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 16:48:44 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: <4EEA6B3C.8070309@colbyconsulting.com> Yep, an image immediately after doing all of the install / patch stuff, then another periodically. I have to tell you though, things like DropMyRights and noScript goes a long ways towards thwarting the bad guys. Sand boxes really do work well. running all Web facing apps in a sandbox prevents the nasties from doing bad stuff. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 4:37 PM, Heenan, Lambert wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive to a different drive every now and then. I find I can restore the whole thing in just over an hour. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Thursday, December 15, 2011 4:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > Further to Hans's message (this learned the hard way)... Next time you buy or rebuild a machine, install all essential software (just the really core stuff, your choices may vary), and nothing else. As soon as you've done that, create a rescue disc (CD might be enough, more likely single-layer DVD, possibly dual-layer DVD), so that everything essential can be recovered in one swoop. In my case, this includes such utils as NoteTab, winRAR and others, Office 2010 and SQL Server, which I deem essential; that's a pretty big footprint, granted, but that's the essential house. It all fits on a single DVD, and that makes it drop-dead simple to fix it all in the ugly event of a disk-crash, etc. > > I've been to Hell and back too many times to list. Finally I have a procedure that works. It doesn't do everything, but it puts me back on solid-footing with a couple of clicks. I can't afford TB-sized backups so I make do with my humble means, but it works. > > A. > -- > 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 Dec 15 15:55:36 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 16:55:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EEA6B3C.8070309@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> <4EEA6B3C.8070309@colbyconsulting.com> Message-ID: Hearty agreement on that! I run a few VMs (not all at once, given my meager 4GB of RAM), and have come to the conclusion that it's always the safest path to create a new VM prior to installing anything new; run it there and see what explodes; end result is the VM explodes and the rest of my baby is intact. A. On Thu, Dec 15, 2011 at 4:48 PM, jwcolby wrote: > Yep, an image immediately after doing all of the install / patch stuff, > then another periodically. > > I have to tell you though, things like DropMyRights and noScript goes a > long ways towards thwarting the bad guys. Sand boxes really do work well. > running all Web facing apps in a sandbox prevents the nasties from doing > bad stuff. > > From Lambert.Heenan at chartisinsurance.com Thu Dec 15 16:11:30 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 15 Dec 2011 17:11:30 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: DriveImageXML is free for personal use, Arthur. Only $69 for commercial use too. http://www.runtime.org/driveimage-xml.htm ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? *(...'?'.. ) *????????.??? ????????*? .? ... Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 4:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot > drive to a different drive every now and then. I find I can restore > the whole thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 16:21:01 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 16:21:01 -0600 Subject: [AccessD] Form Lifetime Control Limit (Was: Advice on A2010....) Message-ID: > > William Benson: > And how do you recommend deleting *precisely* the first 400 controls?;-) > I tweaked Jim's code so the controls display in four rows of 200 each. So it is easy to highlight the first two rows of controls, and delete them. From darryl at whittleconsulting.com.au Thu Dec 15 16:21:26 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 15 Dec 2011 22:21:26 +0000 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B560181C@SINPRD0402MB099.apcprd04.prod.outlook.com> I am one of the 9 people on the planet who doesn't use FB at all - even so I get scammer emails saying "X has commented on your photo" or "Y wants to be your friend" click on the link blah blah - not having a FB profile saves me a lot of time and bother. Mind you, only yesterday I did have someone pop up on yahoo msgnr on a profile of someone I hadn't spoken to in years wanting me to click on a link so I could apply for a free Apple computer or product - apparently Apple are giving away product in honour of Steve Jobs. Yeah... right.... "Delete!". I was lucky as that one was clearly a scam. That said, I think John has a great point - you really can't be too careful and even the experienced and knowledgeable can get caught out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 16 December 2011 12:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Yep, I don't accept friends I don't know on FB. There are scams out there that are VERY sophisticated! Charlotte Foust On Thu, Dec 15, 2011 at 4:47 AM, jwcolby wrote: > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > 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 Dec 15 16:22:00 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 15 Dec 2011 17:22:00 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for commercial > use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* > .?( . ? . ) ??./? '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > From hkotsch at arcor.de Thu Dec 15 16:27:49 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:27:49 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: Testimonials & Reviews See what our customers and the press have to say View Products View all our products Buy Now! Order our products online now! How-to-Guides Step-by-step solutions for common problems. Documentation View the software help files and other resources. Contact Us For Technical Support and all other inquiries. Languages BBB Last updated: October 23, 2011 For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Thu Dec 15 16:35:45 2011 From: hkotsch at arcor.de (Helmut Kotsch) Date: Thu, 15 Dec 2011 23:35:45 +0100 Subject: [AccessD] It just goes to show ya In-Reply-To: Message-ID: For private use DriveImage XML is free. http://www.runtime.org/driveimage-xml.htm Two Versions of DriveImage XML are available: Private Edition: Private home users are allowed to use the Private Edition of DriveImage XML without charge. You are allowed to install DriveImage XML on your home PC. You must not use DriveImage XML commercially. No support is provided for the Private Edition. Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Arthur Fuller Gesendet: Donnerstag, 15. Dezember 2011 22:50 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] It just goes to show ya NIce. Fancier than my solution. Unfortunately, on my meager pension DriveImage is out of the question. But a nice thought. On Thu, Dec 15, 2011 at 4:37 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Which is exactly why I use DriveImageXML. I backup my complete boot drive > to a different drive every now and then. I find I can restore the whole > thing in just over an hour. > > Lambert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 15 16:40:25 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 15 Dec 2011 16:40:25 -0600 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEA6897.3030800@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> Message-ID: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Yes - Library referencing can be a pain. At my customers each client has a shortcut which points to an AutoUpdater file. The AutoUpdater file will check to see if the Main and Library files on the client are older than the files on the server. If so, it will copy those files up to the client in the same folder. But here's the problem - the main file on the client will still reference the library file on the server. The way I get around that is to leave the library file on the server with an XX in the name - that way the main file on the client can't find it so it re-references to the library file on the client (they're in the same folder). When the autoupdater file does its thing, it compares modified dates between Library.mdb on the client and LibraryXX.mdb on the server. If the server has the newer file, then autoupdater will copy and rename the LibraryXX.mdb file on the server to Library.mdb on the client. Another problem is that the Library.mdb file is renamed on the server (your dev/test system), so you can't open it until you manually retype the name, and then you have to remember to retype it back when you're done. To solve that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the following code: '------------------------ Public Function StartupChangeXX() On Error GoTo EH Dim stg As String Dim rst As DAO.Recordset Dim fso As FileSystemObject Dim blnAddXX As Boolean Dim stgXXFile As String Dim stgExtension As String Dim stgPrompt As String Dim blnNeedManualPrompt As Boolean Dim blnFoundAllClear As Boolean Dim blnFoundAllXX As Boolean Dim blnFirstLoopComplete As Boolean Dim stgSystemMode As String stgSystemMode = Command() ' stgSystemMode = "Review" '-- TEST Set fso = CreateObject("Scripting.FileSystemObject") '-- Do the files exist? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If fso.FileExists(rst("FileFullPath")) = False And fso.FileExists(stgXXFile) = False Then MsgBox "The file " & rst("FileFullPath") & " does not exist!", vbExclamation + vbOKOnly, "Missing File" rst.Close Set rst = Nothing Application.Quit End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Are all files clear or all XX? stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False If blnFirstLoopComplete = False Then If fso.FileExists(rst("FileFullPath")) = True Then blnFoundAllClear = True blnAddXX = True Else blnFoundAllClear = False blnAddXX = False End If blnFirstLoopComplete = True Else If fso.FileExists(rst("FileFullPath")) = True Then If blnFoundAllClear = False Then blnNeedManualPrompt = True Exit Do End If Else If blnFoundAllClear = True Then blnNeedManualPrompt = True Exit Do End If End If End If rst.MoveNext Loop rst.Close Set rst = Nothing '-- Select to add XX or Remove XX If blnNeedManualPrompt = True Then stgPrompt = "Push Yes to add XX." _ & vbNewLine & vbNewLine _ & "Push No to remove XX." If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, "Change XX") = vbYes Then blnAddXX = True Else blnAddXX = False End If End If '-- Add or remove XX stg = "SELECT FileFullPath FROM tblParameters" _ & " WHERE SystemMode = '" & stgSystemMode & "'" Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) Do While rst.EOF = False stgExtension = fso.GetExtensionName(rst("FileFullPath")) stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) & " XX ." & stgExtension If blnAddXX = True Then If fso.FileExists(rst("FileFullPath")) = True Then fso.CopyFile rst("FileFullPath"), stgXXFile, True fso.DeleteFile rst("FileFullPath") End If Else If fso.FileExists(stgXXFile) = True Then fso.CopyFile stgXXFile, rst("FileFullPath"), True fso.DeleteFile stgXXFile End If End If rst.MoveNext Loop rst.Close Set rst = Nothing If blnAddXX = True Then CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" Else CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" End If Application.Quit Exit Function EH: MsgBox "Error!" _ & vbNewLine & vbNewLine _ & "Code: " & Err.Number & vbNewLine _ & "Desc: " & Err.Description & vbNewLine _ & "Line: " & Erl End Function '----------------------- There is also a tblParameters which contains information about which actual system I'm working on - I have three at each customer. Prod, Test, and Review. The shortcut on the desktop which opens ChangeXX.mdb has a command argument (like '/cmd Test') so the code will know which system it's supposed to be working on. Also, there is a popup message that stays open for 1 second to tell me whether it added the XX or removed the XX, then ChangeXX.mdb quits. Just click the ChangeXX shortcut on the server's desktop until it says 'Added XX' or 'Removed XX', and you're done! Hope this helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 3:37 PM To: Access Developers discussion and problem solving Subject: [AccessD] libraries, References and some subtleties to be considered I use libraries - MDAs - to hold common code, variables and constants. Libraries are essentially places to put common code so that many different applications can do things the same way. If a bug is found it can be fixed in the library, in just one place. It is possible for a lib to reference another lib. For example my C2DbFW3G understands and uses my Presentation Level Security System and so it references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can be used without my FW3G. Should I have just merged the two into one big lib? That is a conversation for another day. While on this subject, two more things. There can be no circular references between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference FW3G. Any lib can reference another lib but the reference can never "circle back around". Additionally the order of reference comes into play if there are two functions, classes, variables etc with the same name. We all understand the scope thing (local function, module, global) but the same issue exists in libraries in that if a name is not found in the local container the compiler starts looking at other referenced objects, starting from the top reference in the references dialog and working down. This can cause oddities if we have a function (for example) with the same name found in the application and the library. Code in the application will use the function inside of the application container, whereas code in the library will use the function in the library container. If you use libraries and you write a function and move it to the library, do not forget to delete the function from the application or you will have problems. I have two main libraries, C2DbFW3G which is the 3rd generation of my framework, and C2DbPLSS which is my Presentation Level Security System. Having an application reference a library causes some issues shall we say which do not exist if you do not use them, and I just thought I would walk through my findings and how I handle things in order to start a conversation on the subject. Some tidbits in no particular order. When the developer references a library they do so via a browse button and so the reference ends up specific to a location available from the developer's machine. This implies that the location may or may not be available to another user opening the application. When the application opens, it tries to find the file at the location specified in the existing reference. If found it uses that copy of the library, no questions asked. If the library cannot be found at that referenced location then the application silently begins to search a set of paths to find the library. http://support.microsoft.com/kb/824255 If the library is found the search immediately ceases and the reference is "fixed up" to point to that location. When the application closes it saves that new reference location. So the application has been silently "re-referenced" to the new location. When I say silently, I mean that there is no immediate in-your-face indication that any of this happened. This silent re-reference can cause odd problems. Let's take some real life scenarios that I encounter at my client. I have a directory on my C: drive at the client called C:\Dev\DisNew\ This path, in particular the Dev\ part, is unique to my machine (standing for development). I build a framework and an application in this location. I reference the lib from the application, browsing to that location and voila, the reference points to a library in a location that does not physically exist anywhere else in the company. I copy the two files up to X:\DisNew\Test which is the production (X:\DisNew) test directory. the user has a batch file which builds a directory on their local C: drive, copies the library and application to that local directory and opens the application. The application tries to find the lib at my dev directory and fails, so it tries to find it in the local directory and succeeds. Life is good. Now... I go into the X:\Disnew\Tester directory and open the application file. Guess what happens? The application opens and tests the reference and... finds it because it can see my dev path. The file works. Life is good, nothing changes. A user goes into the X:\DisNew\Tester directory and opens the application file and ... the application cannot find my dev directory so it starts "the search". It finds the library in the X:\DisNew\Test directory and re-references and the application works. Now when the user closes the file... the file is referenced to the lib on the network. Life is no longer good! Now we decide that the application file tests good and copy it to production where it is copied, along with the lib down to the user's hard disk. The user opens the copy on their hard disk and... the application is referenced to the lib on the network (test directory) and so it opens the lib on the network. Now I am trying to copy a new version of the lib to tester and the file is locked. Or something. Life is not good. Let's discuss decompile for a minute. Decompile flushes the pcode buffers in the Access container, which, simply put, means that all of the "compiled" code is flushed out. Yes I understand that Access is an interpreter but it actually compiles the English (VBA) language stuff we write into P-Code and interprets the P-Code. The compile of the Decompile / Compile matched pair simply recompiles every single line of VBA code into P-Code and stuffs it back into the buffers. When you perform a decompile / compile, you *REALLY* need to decompile / compile the library first, then the application using the application. I don't understand all of the stuff but apparently there is a table of pointers built by the compile, things like the entry point to functions and the locations of constant and variables. Apparently when you compile the application, it goes out and searches the library for these tables in order to correctly call functions and variables in the library. But why do we do a decompile / compile in the first place? Because it is possible and in fact not uncommon, for the P-Code to get corrupted over time. If the lib is corrupted and you recompile the app, then the app calls into corrupted lib stuff. So, decompile / compile the lib *before* you decompile the application that references the lib. And if you decompile / compile the lib, then you must must *must* recompile the app because the lib entry points and variables might change. Guess what? If you happen to get confused and decompile / compile anything on a network share... it may (or may not) cause weird things like the app refusing to close. So never never *never* decompile / compile anything that is not local to your hard disk. Unfortunately the simple fact that FW3G references the PLSS does not expose the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and the application references C2DbPLSS *and* C2DbFW3G because it directly uses code in both. Oh my goodness. Now I have to decompile / compile the PLSS first, then the FW3G (because it references PLSS), and then the application (which directly references both libs). All of this must be done on my local machine so as to avoid the "can't close" issue discussed above, and then copied to the final destination for public consumption. Furthermore I need to make sure that I reference the PLSS in the FW3G to the DEV path on my local machine, and likewise reference PLSS and FW3G inside of the application to the dev path of my local machine. Why? Because that path is not public to the company and will trigger the re-reference when the user downloads all this stuff to their local machine. But wait, there's more. I have three different applications that use the PLSS and the framework. So if I decompile / compile the PLSS / FW3G, all of the applications that use these libs need to be recompiled. Again, if I make changes to the libs, any app that I do not decompile will not reacquire the pointer tables in the libs and may start to fail. And around and around we go. I use batch files to copy these pieces to the user's system so that the user ends up with local copies and doesn't end up permanently re-referencing things back to the production location. This works reasonably well as long as everyone plays by the rules. If anyone (other than myself) actually opens any of these files up in tester or production, then the references silently change and things go south in a hurry. It took me awhile to figure out that this was happening (a long time ago) and it took me awhile to remember that this occurs when I started having strange things happening recently. That is the reason for starting this thread, to remind the list how this stuff works and to get input from other list members on their experiences with this stuff. I am a believer in libraries to hold common code. They exist for the simple reason that changes to that code, bug fixes etc can be done in one place and propagated to every place the change is needed. It is important to understand what goes on behind the scenes however or you can have some strange things happening that will be very difficult to figure out. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Thu Dec 15 17:08:13 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Thu, 15 Dec 2011 17:08:13 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: Here is my proposal for how to best fix Form Control Limit problems: Control Limits =========== Access imposes limits on how may controls you can put on a form or report: A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 Thanks to Jim Dettman for working out these limits. If you try to add more controls than your version of Access allows, you will see: Error: 29053 can't create any more controls on this form or report. At this point, check the number of controls on the form: ? forms("Form1").Controls.Count If that number is less than the stated limit, you can still add more controls, but you have to reset the control counter. Here's how: Access 2000 or Later ================= If you CREATED the form in Access 2000 or later, follow these steps: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" This should reset your control list, allowing you to keep adding up to the stated limit. Notes: * This is a lot easier than copying the controls to a new form, and manually changing all form properties to match the old * EatBloat will also reset the counter for such forms, as it uses this basic technique Access 97 ======== If the form was created in Access 97, and you imported it into a later version, there is more work to do. Follow these steps: 1. Rename all form controls with a default numeric suffix, like 'label123' and 'text234'. This eliminates all possibility of name collisions. 2. In the Immediate window, count the number of controls: ? Forms("Form1").Controls.Count 2. Save the form as text: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and edit it to the number of controls +1: ItemSuffix =128 4. Import the form using: Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1.txt" -Ken From vbacreations at gmail.com Thu Dec 15 18:09:39 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 15 Dec 2011 19:09:39 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Control name property is read only in runtime right? So for ac97 this a manual find and rename operation? On Dec 15, 2011 6:09 PM, "Kenneth Ismert" wrote: > Here is my proposal for how to best fix Form Control Limit problems: > > Control Limits > =========== > Access imposes limits on how may controls you can put on a form or report: > A97 - 753 > A2000 - 800 > A2002 - 894 > A2007 - 1040 > A2010 - 1040 > Thanks to Jim Dettman for working out these limits. > > If you try to add more controls than your version of Access allows, you > will see: > Error: 29053 > can't create any more controls on this form or report. > > At this point, check the number of controls on the form: > ? forms("Form1").Controls.Count > > If that number is less than the stated limit, you can still add more > controls, but you have to reset the control counter. Here's how: > > Access 2000 or Later > ================= > If you CREATED the form in Access 2000 or later, follow these steps: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1" > > This should reset your control list, allowing you to keep adding up to the > stated limit. Notes: > * This is a lot easier than copying the controls to a new form, and > manually changing all form properties to match the old > * EatBloat will also reset the counter for such forms, as it uses this > basic technique > > Access 97 > ======== > If the form was created in Access 97, and you imported it into a later > version, there is more work to do. Follow these steps: > > 1. Rename all form controls with a default numeric suffix, like 'label123' > and 'text234'. This eliminates all possibility of name collisions. > > 2. In the Immediate window, count the number of controls: > ? Forms("Form1").Controls.Count > > 2. Save the form as text: > Application.SaveAsText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > 3. Edit "Form_frmFoo.txt" using a text editor. Find this attribute, and > edit it to the number of controls +1: > ItemSuffix =128 > > 4. Import the form using: > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1.txt" > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 15 20:50:39 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Dec 2011 21:50:39 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> Message-ID: <4EEAB1FF.9040103@colbyconsulting.com> Thanks for those suggestions. My methods are crude and I have always wanted to get a little more sophisticated. I will have to spend a little time thinking about the suggestions you discuss. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/15/2011 5:40 PM, Dan Waters wrote: > Yes - Library referencing can be a pain. > > At my customers each client has a shortcut which points to an AutoUpdater > file. The AutoUpdater file will check to see if the Main and Library files > on the client are older than the files on the server. If so, it will copy > those files up to the client in the same folder. > > But here's the problem - the main file on the client will still reference > the library file on the server. The way I get around that is to leave the > library file on the server with an XX in the name - that way the main file > on the client can't find it so it re-references to the library file on the > client (they're in the same folder). > > When the autoupdater file does its thing, it compares modified dates between > Library.mdb on the client and LibraryXX.mdb on the server. If the server > has the newer file, then autoupdater will copy and rename the LibraryXX.mdb > file on the server to Library.mdb on the client. > > Another problem is that the Library.mdb file is renamed on the server (your > dev/test system), so you can't open it until you manually retype the name, > and then you have to remember to retype it back when you're done. To solve > that I made a ChangeXX.mdb file. It has an AutoExec macro which runs the > following code: > > '------------------------ > Public Function StartupChangeXX() > On Error GoTo EH > > Dim stg As String > Dim rst As DAO.Recordset > Dim fso As FileSystemObject > Dim blnAddXX As Boolean > Dim stgXXFile As String > Dim stgExtension As String > Dim stgPrompt As String > Dim blnNeedManualPrompt As Boolean > Dim blnFoundAllClear As Boolean > Dim blnFoundAllXX As Boolean > Dim blnFirstLoopComplete As Boolean > Dim stgSystemMode As String > > stgSystemMode = Command() > ' stgSystemMode = "Review" '-- TEST > > Set fso = CreateObject("Scripting.FileSystemObject") > > '-- Do the files exist? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If fso.FileExists(rst("FileFullPath")) = False And > fso.FileExists(stgXXFile) = False Then > MsgBox "The file "& rst("FileFullPath")& " does not exist!", > vbExclamation + vbOKOnly, "Missing File" > rst.Close > Set rst = Nothing > Application.Quit > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Are all files clear or all XX? > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > If blnFirstLoopComplete = False Then > If fso.FileExists(rst("FileFullPath")) = True Then > blnFoundAllClear = True > blnAddXX = True > Else > blnFoundAllClear = False > blnAddXX = False > End If > blnFirstLoopComplete = True > Else > If fso.FileExists(rst("FileFullPath")) = True Then > If blnFoundAllClear = False Then > blnNeedManualPrompt = True > Exit Do > End If > Else > If blnFoundAllClear = True Then > blnNeedManualPrompt = True > Exit Do > End If > End If > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > '-- Select to add XX or Remove XX > If blnNeedManualPrompt = True Then > stgPrompt = "Push Yes to add XX." _ > & vbNewLine& vbNewLine _ > & "Push No to remove XX." > If MsgBox(stgPrompt, vbQuestion + vbYesNo + vbDefaultButton2, > "Change XX") = vbYes Then > blnAddXX = True > Else > blnAddXX = False > End If > End If > > > '-- Add or remove XX > stg = "SELECT FileFullPath FROM tblParameters" _ > & " WHERE SystemMode = '"& stgSystemMode& "'" > Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) > Do While rst.EOF = False > > stgExtension = fso.GetExtensionName(rst("FileFullPath")) > stgXXFile = Left(rst("FileFullPath"), Len(rst("FileFullPath")) - 4) > & " XX ."& stgExtension > > If blnAddXX = True Then > > If fso.FileExists(rst("FileFullPath")) = True Then > fso.CopyFile rst("FileFullPath"), stgXXFile, True > fso.DeleteFile rst("FileFullPath") > End If > > Else > > If fso.FileExists(stgXXFile) = True Then > fso.CopyFile stgXXFile, rst("FileFullPath"), True > fso.DeleteFile stgXXFile > End If > > End If > > rst.MoveNext > > Loop > rst.Close > Set rst = Nothing > > > If blnAddXX = True Then > CreateObject("WScript.Shell").PopUp "Added XX.", 1, "XX Change" > Else > CreateObject("WScript.Shell").PopUp "Removed XX.", 1, "XX Change" > End If > > Application.Quit > > Exit Function > > EH: > MsgBox "Error!" _ > & vbNewLine& vbNewLine _ > & "Code: "& Err.Number& vbNewLine _ > & "Desc: "& Err.Description& vbNewLine _ > & "Line: "& Erl > > End Function > '----------------------- > > There is also a tblParameters which contains information about which actual > system I'm working on - I have three at each customer. Prod, Test, and > Review. The shortcut on the desktop which opens ChangeXX.mdb has a command > argument (like '/cmd Test') so the code will know which system it's supposed > to be working on. > > Also, there is a popup message that stays open for 1 second to tell me > whether it added the XX or removed the XX, then ChangeXX.mdb quits. > > Just click the ChangeXX shortcut on the server's desktop until it says > 'Added XX' or 'Removed XX', and you're done! > > Hope this helps! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 3:37 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] libraries, References and some subtleties to be > considered > > I use libraries - MDAs - to hold common code, variables and constants. > Libraries are essentially places to put common code so that many different > applications can do things the same way. If a bug is found it can be fixed > in the library, in just one place. > > It is possible for a lib to reference another lib. For example my C2DbFW3G > understands and uses my Presentation Level Security System and so it > references C2DbPLSS. However C2DbPLSS is a standalone library, i.e. it can > be used without my FW3G. Should I have just merged the two into one big > lib? > That is a conversation for another day. > > While on this subject, two more things. There can be no circular references > between libs, i.e. FW3G cannot reference PLSS *and* PLSS also reference > FW3G. Any lib can reference another lib but the reference can never "circle > back around". Additionally the order of reference comes into play if there > are two functions, classes, variables etc with the same name. We all > understand the scope thing (local function, module, global) but the same > issue exists in libraries in that if a name is not found in the local > container the compiler starts looking at other referenced objects, starting > from the top reference in the references dialog and working down. > > This can cause oddities if we have a function (for example) with the same > name found in the application and the library. Code in the application will > use the function inside of the application container, whereas code in the > library will use the function in the library container. > If you use libraries and you write a function and move it to the library, do > not forget to delete the function from the application or you will have > problems. > > I have two main libraries, C2DbFW3G which is the 3rd generation of my > framework, and C2DbPLSS which is my Presentation Level Security System. > > Having an application reference a library causes some issues shall we say > which do not exist if you do not use them, and I just thought I would walk > through my findings and how I handle things in order to start a conversation > on the subject. > > Some tidbits in no particular order. > > When the developer references a library they do so via a browse button and > so the reference ends up specific to a location available from the > developer's machine. This implies that the location may or may not be > available to another user opening the application. > > When the application opens, it tries to find the file at the location > specified in the existing reference. If found it uses that copy of the > library, no questions asked. > > If the library cannot be found at that referenced location then the > application silently begins to search a set of paths to find the library. > > http://support.microsoft.com/kb/824255 > > If the library is found the search immediately ceases and the reference is > "fixed up" to point to that location. When the application closes it saves > that new reference location. So the application has been silently > "re-referenced" to the new location. When I say silently, I mean that there > is no immediate in-your-face indication that any of this happened. > > This silent re-reference can cause odd problems. Let's take some real life > scenarios that I encounter at my client. > > I have a directory on my C: drive at the client called C:\Dev\DisNew\ This > path, in particular the Dev\ part, is unique to my machine (standing for > development). I build a framework and an application in this location. I > reference the lib from the application, browsing to that location and voila, > the reference points to a library in a location that does not physically > exist anywhere else in the company. > > I copy the two files up to X:\DisNew\Test which is the production > (X:\DisNew) test directory. the user has a batch file which builds a > directory on their local C: drive, copies the library and application to > that local directory and opens the application. The application tries to > find the lib at my dev directory and fails, so it tries to find it in the > local directory and succeeds. Life is good. > > Now... I go into the X:\Disnew\Tester directory and open the application > file. Guess what happens? > The application opens and tests the reference and... finds it because it > can see my dev path. The file works. Life is good, nothing changes. > > A user goes into the X:\DisNew\Tester directory and opens the application > file and ... the application cannot find my dev directory so it starts "the > search". It finds the library in the X:\DisNew\Test directory and > re-references and the application works. Now when the user closes the > file... the file is referenced to the lib on the network. Life is no longer > good! > > Now we decide that the application file tests good and copy it to production > where it is copied, along with the lib down to the user's hard disk. The > user opens the copy on their hard disk and... > the application is referenced to the lib on the network (test directory) and > so it opens the lib on the network. Now I am trying to copy a new version > of the lib to tester and the file is locked. Or something. Life is not > good. > > Let's discuss decompile for a minute. Decompile flushes the pcode buffers > in the Access container, which, simply put, means that all of the "compiled" > code is flushed out. Yes I understand that Access is an interpreter but it > actually compiles the English (VBA) language stuff we write into P-Code and > interprets the P-Code. The compile of the Decompile / Compile matched pair > simply recompiles every single line of VBA code into P-Code and stuffs it > back into the buffers. > > When you perform a decompile / compile, you *REALLY* need to decompile / > compile the library first, then the application using the application. I > don't understand all of the stuff but apparently there is a table of > pointers built by the compile, things like the entry point to functions and > the locations of constant and variables. Apparently when you compile the > application, it goes out and searches the library for these tables in order > to correctly call functions and variables in the library. > > But why do we do a decompile / compile in the first place? Because it is > possible and in fact not uncommon, for the P-Code to get corrupted over > time. If the lib is corrupted and you recompile the app, then the app calls > into corrupted lib stuff. So, decompile / compile the lib *before* you > decompile the application that references the lib. And if you decompile / > compile the lib, then you must must *must* recompile the app because the lib > entry points and variables might change. > > Guess what? If you happen to get confused and decompile / compile anything > on a network share... it may (or may not) cause weird things like the app > refusing to close. So never never *never* decompile / compile anything that > is not local to your hard disk. > > Unfortunately the simple fact that FW3G references the PLSS does not expose > the PLSS on through to the application. So C2DbFW3G references C2DbPLSS and > the application references C2DbPLSS *and* C2DbFW3G because it directly uses > code in both. Oh my goodness. Now I have to decompile / compile the PLSS > first, then the FW3G (because it references PLSS), and then the application > (which directly references both libs). All of this must be done on my local > machine so as to avoid the "can't close" issue discussed above, and then > copied to the final destination for public consumption. > > Furthermore I need to make sure that I reference the PLSS in the FW3G to the > DEV path on my local machine, and likewise reference PLSS and FW3G inside of > the application to the dev path of my local machine. Why? Because that > path is not public to the company and will trigger the re-reference when the > user downloads all this stuff to their local machine. > > But wait, there's more. I have three different applications that use the > PLSS and the framework. > So if I decompile / compile the PLSS / FW3G, all of the applications that > use these libs need to be recompiled. Again, if I make changes to the libs, > any app that I do not decompile will not reacquire the pointer tables in the > libs and may start to fail. > > > And around and around we go. > > I use batch files to copy these pieces to the user's system so that the user > ends up with local copies and doesn't end up permanently re-referencing > things back to the production location. This works reasonably well as long > as everyone plays by the rules. If anyone (other than myself) actually > opens any of these files up in tester or production, then the references > silently change and things go south in a hurry. It took me awhile to figure > out that this was happening (a long time ago) and it took me awhile to > remember that this occurs when I started having strange things happening > recently. That is the reason for starting this thread, to remind the list > how this stuff works and to get input from other list members on their > experiences with this stuff. > > I am a believer in libraries to hold common code. They exist for the simple > reason that changes to that code, bug fixes etc can be done in one place and > propagated to every place the change is needed. It is important to > understand what goes on behind the scenes however or you can have some > strange things happening that will be very difficult to figure out. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 16 06:30:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:30:35 +0100 Subject: [AccessD] libraries, References and some subtleties to be considered Message-ID: Hi John I think you just won the prize of the year for the longest code-less post! /gustav >>> jwcolby at colbyconsulting.com 15-12-2011 22:37 >>> I use libraries - From Gustav at cactus.dk Fri Dec 16 06:51:55 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 16 Dec 2011 13:51:55 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Darryl Even if you don't, some sites you visit may link back to FB (Check for "like this" or similar). If so and if you use WinXP and IE8, you may experience that whenever you open such site, Windows resource usage at once raises from the few percent in idle mode to about 30% because of services.exe doing something unknown - probably some phone-home-to-FB thingy. It may be so aggressive that it eats every second or third keystroke you do while IE8 has focus. A method to kill this misbehaviour is to go to Options .. Security and add to the "dirty" (non-secure) list of sites: *.facebook.com Bingo! Usage drops to a few percent. /gustav PS: I think we are 10 people. >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> I am one of the 9 people on the planet who doesn't use FB at all - From jwcolby at colbyconsulting.com Fri Dec 16 06:50:32 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 07:50:32 -0500 Subject: [AccessD] Browser Sandbox - Run any browser instantly from the web Message-ID: <4EEB3E98.1040206@colbyconsulting.com> I stumbled across this today. I have Googled Spoon.net and it appears to be up and up, and netcraft gives them a "zero risk" rating. http://codingstrategist.posterous.com/what-is-spoonnet http://spoon.net/browsers -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From marksimms at verizon.net Fri Dec 16 07:53:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 16 Dec 2011 08:53:51 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEAB1FF.9040103@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> Message-ID: <005001ccbbfa$251b5c70$6f521550$@net> John - great post on your use of the libraries....very few developers do this. My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? Any advantage one way or the other ? > > Thanks for those suggestions. My methods are crude and I have always > wanted to get a little more > sophisticated. I will have to spend a little time thinking about the > suggestions you discuss. > > John W. Colby > Colby Consulting From Lambert.Heenan at chartisinsurance.com Fri Dec 16 08:05:02 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 16 Dec 2011 09:05:02 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <011501ccbb60$bec27010$3c475030$@net> Message-ID: I cannot claim any credit. I found it on one of the many ASCII Art sites out there, and of course I cannot locate the exact source now, but here's a good one... http://www.ascii-art.de/ Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, December 15, 2011 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya Wow that is some bitchin' Ascii composition. Bravo! Arthur On Thu, Dec 15, 2011 at 5:11 PM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > DriveImageXML is free for personal use, Arthur. Only $69 for > commercial use too. http://www.runtime.org/driveimage-xml.htm > > ????*??.?*.???.*???*??.?*.???.*?Merry*?* ?*?. > ??_??_*.?*./ ? \ .?* .??.?.*.?* Christmas*? ?* > ?. (?? ??)*.?*/?.?\*?.* ?_?_____.?Everyone ? ?* ?* .?( . ? . ) ??./? > '? ' ?\.?*./______/~?*. ?*.??* ?.*? > *(...'?'.. ) *????????.??? ????????*? .? ... > > Lambert > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 16 09:07:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:07:01 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: References: Message-ID: <4EEB5E95.1070606@colbyconsulting.com> ROTFL. It's a convoluted subject. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 7:30 AM, Gustav Brock wrote: > Hi John > > I think you just won the prize of the year for the longest code-less post! > > /gustav > > >>>> jwcolby at colbyconsulting.com 15-12-2011 22:37>>> > I use libraries - > > From jwcolby at colbyconsulting.com Fri Dec 16 09:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Dec 2011 10:15:35 -0500 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <005001ccbbfa$251b5c70$6f521550$@net> References: <4EEA6897.3030800@colbyconsulting.com> <006d01ccbb7a$89f8a600$9de9f200$@comcast.net> <4EEAB1FF.9040103@colbyconsulting.com> <005001ccbbfa$251b5c70$6f521550$@net> Message-ID: <4EEB6097.1080306@colbyconsulting.com> The extension .MDA is just a convention and really doesn't enforce anything. The library can have an MDB, MDE or even XYZ and still be referenced and used. I know because I just renamed one of my libraries to have an extension .XYZ and referenced it. While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. Access can in fact still open the file but you can no longer just double click it. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/16/2011 8:53 AM, Mark Simms wrote: > John - great post on your use of the libraries....very few developers do > this. > My question: what is the equivalent of an MDA in AC2007, AC2010 ? An ACCDA ? > Any advantage one way or the other ? >> >> Thanks for those suggestions. My methods are crude and I have always >> wanted to get a little more >> sophisticated. I will have to spend a little time thinking about the >> suggestions you discuss. >> >> John W. Colby >> Colby Consulting > > From kismert at gmail.com Fri Dec 16 10:14:07 2011 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 16 Dec 2011 10:14:07 -0600 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation Message-ID: > > William Benson: > Control name property is read only in runtime right? So for ac97 this a > manual find and rename operation? > You're correct, name is a design-time property. You can fairly easily write code to rename controls with the form in design view. For the purposes of Lifetime Control Limits, the names don't even have to be meaningful, just different from the defaults. But this code would have to: * Rename control references and event handlers in the form's module * Find and fix all control references in form and control property expressions, as well as in underlying queries. * Find and fix control references in queries, forms, reports, macros and modules outside of the form in question. So, if you have to maintain a monster form that was created in A97, and are running into control limit issues, the task of fixing it could be huge. If that is the case, maybe its time to start from scratch with a simpler solution that spreads functionality among a number of smaller forms. -Ken From charlotte.foust at gmail.com Fri Dec 16 12:19:22 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:19:22 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From john at winhaven.net Fri Dec 16 12:34:21 2011 From: john at winhaven.net (John Bartow) Date: Fri, 16 Dec 2011 12:34:21 -0600 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: References: Message-ID: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Facebook makes its money from advertising. That's why it's free. They will collect as much information from you as they can and they will use it. If you want to prevent that as much as possible you need to go in and thoroughly go through the settings and change them. From charlotte.foust at gmail.com Fri Dec 16 12:39:57 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 16 Dec 2011 10:39:57 -0800 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) In-Reply-To: <022d01ccbc21$54100360$fc300a20$@winhaven.net> References: <022d01ccbc21$54100360$fc300a20$@winhaven.net> Message-ID: Amen, John! Charlotte Foust On Fri, Dec 16, 2011 at 10:34 AM, John Bartow wrote: > Facebook makes its money from advertising. That's why it's free. They will > collect as much information from you as they can and they will use it. If > you want to prevent that as much as possible you need to go in and > thoroughly go through the settings and change them. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From rusty.hammond at cpiqpc.com Fri Dec 16 15:33:54 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 16 Dec 2011 15:33:54 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EE9EC54.1070108@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Another thing I've done is setup an opendns account for my home. It's free and does a nice job of content filtering. No need to install filtering software on the computers, but I do run the opendns ip address update client on my desktop that's on all the time. www.opendns.com Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, December 15, 2011 6:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] It just goes to show ya I got an email this morning - XYZ wants to be your friend on facebook. I don't know xyz, but I often go look to see if maybe I do know them out in a circle somehow. I clicked on the link... It *looked* just like those things from Facebook... You guessed it, it was a social engineering attempt to get me to a page to do something bad to my computer. I run firefox in DropMyRights sandbox AND I have a widget to prevent running scripts in firefox which just saved my bacon. It just goes to show though. I *know* about this stuff, I am very careful and I still got suckered. Only my safeguards saved me. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 stuart at lexacorp.com.pg Fri Dec 16 16:35:31 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 17 Dec 2011 08:35:31 +1000 Subject: [AccessD] libraries, References and some subtleties to be considered In-Reply-To: <4EEB6097.1080306@colbyconsulting.com> References: <4EEA6897.3030800@colbyconsulting.com>, <005001ccbbfa$251b5c70$6f521550$@net>, <4EEB6097.1080306@colbyconsulting.com> Message-ID: <4EEBC7B3.9577.A21BA4E@stuart.lexacorp.com.pg> I rename whenever I use an mdb as data storage for a PB application. -- Stuart On 16 Dec 2011 at 10:15, jwcolby wrote: > While I haven't done so I know that developers sometimes change the .MDB to .MyExt in order to > obfuscate the fact that it an mdb file and try and keep people from opening it directly in Access. > Access can in fact still open the file but you can no longer just double click it. > From vbacreations at gmail.com Fri Dec 16 22:06:42 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:06:42 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Is anyone aware of some Addin or developer tool which takes care of all those referencing issues when renaming controls? It would sure be a plus to have something like that. Maybe no way to fool proof it. I agree about starting from scratch. On Dec 16, 2011 11:16 AM, "Kenneth Ismert" wrote: > > > > William Benson: > > Control name property is read only in runtime right? So for ac97 this a > > manual find and rename operation? > > > > You're correct, name is a design-time property. > > You can fairly easily write code to rename controls with the form in design > view. For the purposes of Lifetime Control Limits, the names don't even > have to be meaningful, just different from the defaults. > > But this code would have to: > * Rename control references and event handlers in the form's module > * Find and fix all control references in form and control property > expressions, as well as in underlying queries. > * Find and fix control references in queries, forms, reports, macros and > modules outside of the form in question. > > So, if you have to maintain a monster form that was created in A97, and are > running into control limit issues, the task of fixing it could be huge. > > If that is the case, maybe its time to start from scratch with a simpler > solution that spreads functionality among a number of smaller forms. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Dec 16 22:09:45 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 16 Dec 2011 23:09:45 -0500 Subject: [AccessD] Form Lifetime Control Limit -- Final Recommendation In-Reply-To: References: Message-ID: Would I be mistaken in guessing that EatBloat is a recommended preventive maintenance? From hans.andersen at phulse.com Sat Dec 17 04:08:40 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 02:08:40 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip address > update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them out > in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a page > to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 17 05:34:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 17 Dec 2011 12:34:24 +0100 Subject: [AccessD] Facebook IE8 bug (was: It just goes to show ya) Message-ID: Hi Charlotte and John You missed that I wrote "whenever you open such site". That's all. No login is needed (or done). This is a WinXP/IE8 combo issue. I don't see it with Vista/IE9. /gustav >>> charlotte.foust at gmail.com 16-12-2011 19:19 >>> Facebook defaults to that kind of behavior but it can be turned off in FB. I do NOT post my location, and that's part of what it's doing. Charlotte Foust On Fri, Dec 16, 2011 at 4:51 AM, Gustav Brock wrote: > Hi Darryl > > Even if you don't, some sites you visit may link back to FB (Check for > "like this" or similar). > > If so and if you use WinXP and IE8, you may experience that whenever you > open such site, Windows resource usage at once raises from the few percent > in idle mode to about 30% because of services.exe doing something unknown - > probably some phone-home-to-FB thingy. It may be so aggressive that it eats > every second or third keystroke you do while IE8 has focus. > > A method to kill this misbehaviour is to go to Options .. Security and add > to the "dirty" (non-secure) list of sites: > > *.facebook.com > > > > Bingo! Usage drops to a few percent. > > /gustav > > PS: I think we are 10 people. > > > >>> darryl at whittleconsulting.com.au 15-12-2011 23:21 >>> > I am one of the 9 people on the planet who doesn't use FB at all - From df.waters at comcast.net Sat Dec 17 08:12:50 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 08:12:50 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> Message-ID: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> I use different email addresses, and also log into 4 different customers with 4 different VPN methods. Would OpenDNS cause an issue with any of this? I'm also using Comcast as an ISP - is that OK? I looked at the OpenDNS site, but I didn't see a good explanation of what it was actually doing, or even a general description of how it worked. I don't have my own 'network' - is it helpful without that? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian Andersen Sent: Saturday, December 17, 2011 4:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya One of the nicest features of opendns is that it will tell you if there are any dns queries coming from malware on your network. Best regards, Hans-Christian Andersen On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > Another thing I've done is setup an opendns account for my home. It's > free and does a nice job of content filtering. No need to install > filtering software on the computers, but I do run the opendns ip > address update client on my desktop that's on all the time. > > www.opendns.com > > > Rusty > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, December 15, 2011 6:47 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] It just goes to show ya > > I got an email this morning - XYZ wants to be your friend on facebook. > I don't know xyz, but I often go look to see if maybe I do know them > out in a circle somehow. > > I clicked on the link... It *looked* just like those things from > Facebook... > > You guessed it, it was a social engineering attempt to get me to a > page to do something bad to my computer. > > I run firefox in DropMyRights sandbox AND I have a widget to prevent > running scripts in firefox which just saved my bacon. > > It just goes to show though. I *know* about this stuff, I am very > careful and I still got suckered. > Only my safeguards saved me. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ********************************************************************** > 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. > ********************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 09:06:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 10:06:21 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <4EECAFED.7070902@colbyconsulting.com> OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 17 09:13:42 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 17 Dec 2011 09:13:42 -0600 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <002101ccbcce$76eead20$64cc0760$@comcast.net> I have no doubt that the son of John Colby is very sophisticated, computer literate, and determined! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 9:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different > customers with 4 different VPN methods. Would OpenDNS cause an issue > with any of this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of > what it was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hans-Christian Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if > there are any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. >> It's free and does a nice job of content filtering. No need to >> install filtering software on the computers, but I do run the opendns >> ip address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************* >> * >> 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. >> ********************************************************************* >> * >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 17 10:15:36 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Dec 2011 11:15:36 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <002101ccbcce$76eead20$64cc0760$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> <002101ccbcce$76eead20$64cc0760$@comcast.net> Message-ID: <4EECC028.70600@colbyconsulting.com> LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, computer > literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name Server > takes names such as Microsoft.Com and turns that into a numeric IP address > www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses > and filters them against known attributes and makes a decision whether to > perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter out > specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not allowed to > surf to that site. My son then embarks on a concerted attempt to circumvent > this issue and within minutes has discovered what is going on and has > locally set his system to use a different Domain name server. 15 minutes > later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name server > such as OpenDNS, which is a much more secure implementation method. The > problem is that IIRC if you set the NIC itself to use a specific DNS then it > goes around the router. > > But in general, other than for very sophisticated, computer literate and > determined teenagers, a service like OpenDNS works rather well, for what it > is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan From hans.andersen at phulse.com Sat Dec 17 15:31:12 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 13:31:12 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> Message-ID: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> OpenDNS basically just does the same thing your ISP does, in terms of telling your computer what public IP address (in other words, which public server(s)) are responsible for a given domain name. Your ISP normally provides this service and when you configure your router, it generally gives you those settings automatically, but there is no reason you can't use another provider (if you are a web developer/sys ops person such as myself, it is very useful to query different DNS servers around the world to see if there are problems with your configuration and how it is propagating around). It's just a matter of changing the IP address for DNS in your router or even just specific individual computers/networked devices. What makes OpenDNS stand out is that they add additional features beyond just DNS resolution that you don't get from your ISP at all. Domain filtering, statistics, malware monitoring and phishing/malware filtering (on a DNS level) and so forth. The only thing they ask for in exchange is that you allow them to display their search page with their advertising instead of an error page when you type in a bad domain in your browser address bar. Its a cheap way of providing basic filtering and protection for home, school or business, so, as long as you don't mind a third party company knowing what domains you visit, it's well worth it. They also spend a lot of effort speeding up DNS lookups, so it will be a slight boost to your Internet usage. Also, for those who are security minded and know the technical merits of it, OpenDNS uses DNSCurve (an alternative to DNSSEC), to avoid DNS cache poisoning and so forth, something many ISPs have yet to adopt. Like John said, however, it's trivial for anyone who knows basic networking, so it's not foolproof. But there you go. You get what you pay for (or not). Best regards, Hans-Christian Andersen On 17 Dec 2011, at 06:12, "Dan Waters" wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 17 15:53:15 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 17 Dec 2011 13:53:15 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECC028.70600@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com><002101ccbcce$76eead20$64cc0760$@comcast.net> <4EECC028.70600@colbyconsulting.com> Message-ID: <9CF110EE28CA43C38D0F30CE013A296B@HAL9007> I used to have some illusions about control but they got the crap kicked out of them. 21 is beyond my control. 15 is not interested in porn - more interested in torrenting SkyRim and SolidWorks. And making the robots dance and sing. So far so good. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya LOL, he is getting that way. ATM he is 10 years old, and that was just allegorical. I am sure that you can have a lively discussion with Rocky about determined teenage boys though. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 10:13 AM, Dan Waters wrote: > I have no doubt that the son of John Colby is very sophisticated, > computer literate, and determined! > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 17, 2011 9:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > OpenDNS is just a domain name server with filters. A Domain Name > Server takes names such as Microsoft.Com and turns that into a numeric > IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural > language" IP addresses and filters them against known attributes and > makes a decision whether to perform the translation into a numeric IP address. > > So... my teenage son types in penthouse.com. The request is sent to > OpenDNS, where I have set up my filters based on what I want to allow > through. There are checkboxes on that page which allows me to filter > out specific things. I have checked a box to filter out adult content. > > http://www.opendns.com/web-filtering/ > > My son's browser responds with a generic message that he is not > allowed to surf to that site. My son then embarks on a concerted > attempt to circumvent this issue and within minutes has discovered > what is going on and has locally set his system to use a different > Domain name server. 15 minutes later he is reading penthouse. > > Of course the last paragraph was tongue in cheek but still.... > > You can actually set up your router to use a specific domain name > server such as OpenDNS, which is a much more secure implementation > method. The problem is that IIRC if you set the NIC itself to use a > specific DNS then it goes around the router. > > But in general, other than for very sophisticated, computer literate > and determined teenagers, a service like OpenDNS works rather well, > for what it is and what it does. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/17/2011 9:12 AM, Dan Waters wrote: >> I use different email addresses, and also log into 4 different >> customers with 4 different VPN methods. Would OpenDNS cause an issue >> with any of this? I'm also using Comcast as an ISP - is that OK? >> >> I looked at the OpenDNS site, but I didn't see a good explanation of >> what it was actually doing, or even a general description of how it > worked. >> >> I don't have my own 'network' - is it helpful without that? >> >> Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 16:00:58 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 08:00:58 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> Message-ID: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if a client's IP addess is on any blacklists, to check whether their SMTP server is working and not an open relay , check that they have a valid PTR record etc). To query different DNS servers, I use DIG - you can get a Windows CLI version here: http://members.shaw.ca/nicholas.fong/dig/ -- Stuart On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > if you are a web developer/sys ops person such as myself, it is very > useful to query different DNS servers around the world to see if there > are problems with your configuration and how it is propagating around From hans.andersen at phulse.com Sat Dec 17 18:06:48 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 17 Dec 2011 16:06:48 -0800 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> They made a Windows version? That's neat. Is that without using Cygwin? - Hans Sent from my iPhone On 2011-12-17, at 2:00 PM, "Stuart McLachlan" wrote: > I frequently use MXToolbox.com to check how the world sees our DNS records (also to see if > a client's IP addess is on any blacklists, to check whether their SMTP server is working and > not an open relay , check that they have a valid PTR record etc). > > To query different DNS servers, I use DIG - you can get a Windows CLI version here: > http://members.shaw.ca/nicholas.fong/dig/ > > -- > Stuart > > On 17 Dec 2011 at 13:31, Hans-Christian Andersen wrote: > >> if you are a web developer/sys ops person such as myself, it is very >> useful to query different DNS servers around the world to see if there >> are problems with your configuration and how it is propagating around > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 17 18:35:50 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Dec 2011 10:35:50 +1000 Subject: [AccessD] It just goes to show ya In-Reply-To: <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> References: <4EE9EC54.1070108@colbyconsulting.com>, <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg>, <79A9C576-1649-453C-8908-AB5330DA27B8@phulse.com> Message-ID: <4EED3566.6653.FB61FB2@stuart.lexacorp.com.pg> It uses Cygwin. The zip contains: 12/06/2008 09:35 AM 1,872,884 cygwin1.dll 14/12/2005 01:29 PM 73,728 dig.exe 14/12/2005 01:28 PM 61,440 host.exe 14/12/2005 01:26 PM 21,504 libbind9.dll 14/12/2005 01:23 PM 1,007,616 libdns.dll 16/10/2003 12:09 PM 737,280 libeay32.dll 14/12/2005 01:21 PM 217,088 libisc.dll 14/12/2005 01:25 PM 53,248 libisccfg.dll 14/12/2005 01:26 PM 35,328 liblwres.dll 24/01/2006 08:44 PM 344,064 msvcr70.dll 30/05/2009 07:39 AM 0 resolv.conf 12/05/2008 03:12 PM 19,968 sha1sum.exe 18/11/2009 11:48 PM 80,092 whois.exe On 17 Dec 2011 at 16:06, Hans-Christian Andersen wrote: > They made a Windows version? That's neat. Is that without using Cygwin? > > - Hans > From jimdettman at verizon.net Sun Dec 18 11:30:09 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 18 Dec 2011 12:30:09 -0500 Subject: [AccessD] It just goes to show ya In-Reply-To: <4EECAFED.7070902@colbyconsulting.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: <5DB682B02ABE4F40AA490E1CA5ED2AAA@XPS> << My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse.>> Tongue in cheek or not, wait till he finds out about proxy servers. Even DNS filtering doesn't help you then. Having raised three boys, I can tell you it was a real challenge at times to stay ahead of them. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 17, 2011 10:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] It just goes to show ya OpenDNS is just a domain name server with filters. A Domain Name Server takes names such as Microsoft.Com and turns that into a numeric IP address www.xxx.yyy.zzz. OpenDNS simply takes those "natural language" IP addresses and filters them against known attributes and makes a decision whether to perform the translation into a numeric IP address. So... my teenage son types in penthouse.com. The request is sent to OpenDNS, where I have set up my filters based on what I want to allow through. There are checkboxes on that page which allows me to filter out specific things. I have checked a box to filter out adult content. http://www.opendns.com/web-filtering/ My son's browser responds with a generic message that he is not allowed to surf to that site. My son then embarks on a concerted attempt to circumvent this issue and within minutes has discovered what is going on and has locally set his system to use a different Domain name server. 15 minutes later he is reading penthouse. Of course the last paragraph was tongue in cheek but still.... You can actually set up your router to use a specific domain name server such as OpenDNS, which is a much more secure implementation method. The problem is that IIRC if you set the NIC itself to use a specific DNS then it goes around the router. But in general, other than for very sophisticated, computer literate and determined teenagers, a service like OpenDNS works rather well, for what it is and what it does. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/17/2011 9:12 AM, Dan Waters wrote: > I use different email addresses, and also log into 4 different customers > with 4 different VPN methods. Would OpenDNS cause an issue with any of > this? I'm also using Comcast as an ISP - is that OK? > > I looked at the OpenDNS site, but I didn't see a good explanation of what it > was actually doing, or even a general description of how it worked. > > I don't have my own 'network' - is it helpful without that? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hans-Christian > Andersen > Sent: Saturday, December 17, 2011 4:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] It just goes to show ya > > One of the nicest features of opendns is that it will tell you if there are > any dns queries coming from malware on your network. > > Best regards, > Hans-Christian Andersen > > > On 16 Dec 2011, at 13:33, "Rusty Hammond" wrote: > >> Another thing I've done is setup an opendns account for my home. It's >> free and does a nice job of content filtering. No need to install >> filtering software on the computers, but I do run the opendns ip >> address update client on my desktop that's on all the time. >> >> www.opendns.com >> >> >> Rusty >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Thursday, December 15, 2011 6:47 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] It just goes to show ya >> >> I got an email this morning - XYZ wants to be your friend on facebook. >> I don't know xyz, but I often go look to see if maybe I do know them >> out in a circle somehow. >> >> I clicked on the link... It *looked* just like those things from >> Facebook... >> >> You guessed it, it was a social engineering attempt to get me to a >> page to do something bad to my computer. >> >> I run firefox in DropMyRights sandbox AND I have a widget to prevent >> running scripts in firefox which just saved my bacon. >> >> It just goes to show though. I *know* about this stuff, I am very >> careful and I still got suckered. >> Only my safeguards saved me. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> ********************************************************************** >> 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. >> ********************************************************************** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Dec 20 12:57:57 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 12:57:57 -0600 Subject: [AccessD] Calculation in query problem Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> I have the following query SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (((GA_Details.UNIT)="PCT")) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) ORDER BY scada_V_All_Meter_Volumes.ReadingDate; The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 I have a feeling I am missing something in the order of calculations as done by Access. Any thoughts appreciated. 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 dw-murphy at cox.net Tue Dec 20 13:28:53 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 20 Dec 2011 11:28:53 -0800 Subject: [AccessD] Access 2010 help functionality problem Message-ID: <001401ccbf4d$9bb725c0$d3257140$@cox.net> Folks, Here is another interesting behavior in Access 2010. It is probably specific to my installation. Today when I was working on a project I hit the F1 key in the VBA IDE to get the parameters for a command. Instead of the help window opening I get a Download authorization dialog that asks if I want to save Transition.htm from MS.MSACESS.DEV.14.1033. So I say yes and it saves the file then I open it and it tries to open itself again. Is there some file association setting that has gotten changed, registry setting that got hosed, or ???? Help has worked. I shut down Access and restarted the computer to make sure it wasn't just something that failed to load. Problem still there. Any suggestions would be appreciated. I don't use Access help that often but I do like to use the help from the object browser and that is broken also. Thanks in advance. Doug From stuart at lexacorp.com.pg Tue Dec 20 15:59:21 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 21 Dec 2011 07:59:21 +1000 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 Dec 20 16:44:15 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 20 Dec 2011 16:44:15 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <4EF10539.1591.1E9A0E24@stuart.lexacorp.com.pg> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D35BE@houex1.kindermorgan.com> Good observation. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 20, 2011 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calculation in query problem You must have eleven records that match your SELECT... JOIN.... WHERE...HAVING criteria. Sum() is adding the values in each of those eleven distinct records together. -- Stuart On 20 Dec 2011 at 12:57, Kaup, Chester wrote: > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:13:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:13:43 -0500 Subject: [AccessD] Calculation in query problem In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> Message-ID: <00a101ccbf6d$04a75f40$0df61dc0$@net> Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 marksimms at verizon.net Tue Dec 20 17:22:11 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 18:22:11 -0500 Subject: [AccessD] I told you of this one before.....and now another Message-ID: <00a201ccbf6e$33b96e80$9b2c4b80$@net> The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. From marksimms at verizon.net Tue Dec 20 18:12:45 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:12:45 -0500 Subject: [AccessD] And now the other... In-Reply-To: <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> Message-ID: <00a701ccbf75$440949c0$cc1bdd40$@net> Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 18:20:59 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 18:20:59 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00a201ccbf6e$33b96e80$9b2c4b80$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> Message-ID: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Yes! Did I say Yes! Customers tend to buy on who 'sounds' like experts, even though the customer has no way to know who is really qualified. I have a specific process I go through to avoid this. It has two major steps - Requirements and Development. In the Requirements stage, the deliverable is a set of requirements that could be used by anyone. I will estimate the amount of time (money) this will take, but I won't get pinned down. I end up with a set of screenshots that were developed by me and a user group over time. During this phase, I simply bill by the hour. During this time, I am working as a consultant just to create requirements. >From the requirements, I quote a fixed amount to do the Development phase. The customer is free to take the requirements and have them quoted by someone else. If they want to find a cheaper company, so be it - but it hasn't happened yet. At some point during Requirements, I'll start giving a range of what the Development might cost, and I've learned to err on the high side. Another good practice is to do bite-sized pieces. Whatever get chewed off in the beginning will determine what they want to eat later on! Maybe you could now 'ride in on the white horse?' Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] I told you of this one before.....and now another The first one was that client who balked at my $80k estimate for the shipping CRM system rewrite.originally done in VB, Access97. Well, I checked back with the guy at the client company with whom I collaborated with to create the add-on needed to support a new service. It appears the Dot-net development has stopped, the system never got released, and this is likely going to litigation. The client has paid about $180,000 to date and has refused to pay any more invoices from the consulting firm. It has been 2 years in development. Interestingly, part of the problem appears to be the fact that "this guy" was not at all involved in the rewrite specifications. Some other managers took over that task and it appears they were flip-flopping on the specs and functionality. So this is now a case of BOTH SIDE BEING RESPONSIBLE for the overrun. However, NEITHER ONE sees it that way. Does this sound familiar to anyone ? See next post for the next "doozy" I've run into.. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 18:46:42 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 19:46:42 -0500 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> Message-ID: <00d701ccbf7a$02897560$079c6020$@net> Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. From ab-mi at post3.tele.dk Tue Dec 20 18:55:19 2011 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 21 Dec 2011 01:55:19 +0100 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <06470800591B41B3B7468FEFA76D4E04@abpc> I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Tue Dec 20 19:05:19 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 01:05:19 +0000 Subject: [AccessD] And now the other... In-Reply-To: <06470800591B41B3B7468FEFA76D4E04@abpc> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <06470800591B41B3B7468FEFA76D4E04@abpc> Message-ID: <56653D383CB80341995245C537A9E7B560616A@SINPRD0402MB099.apcprd04.prod.outlook.com> This sort of thing is exactly what is hurting a local accounting software company very badly. Their 'upgrade' to a new system has been botched pretty badly. Many complaints and screams from the 1% of customers who are using the new software to date. It is awful that even MYOB's own business partners are recommending that users stay on their legacy software or more to other competing platforms. MYOB haven't handled this very well to date. <> Is a good summary. The forums are interesting reading if you have the time and interest in these sort of things. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Wednesday, 21 December 2011 11:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] And now the other... I've met this frustrating and stupid contracting world too. I now renounce, but keep asking myself what's the benefits for companies receiving stupid contracting code? Sooner or later they have to advance to "15 years ago"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Mark Simms Sendt: 21. december 2011 01:13 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] And now the other... Got a short term (aka "stinker") contract for some Excel development work. 2 "layers" (i.e. commissions) of consulting firms involved....the first one pretty "smarmy"...they initially lied about the legal engagement aspects to rope me in. This is so typical of these agency firms. I haven't met one over the past 5 years with any kind of respect for business ethics...not one. The second is a huge global IT Consulting firm with ties to military contracts. However, this contract is a follow-up to an original contract from 3 years ago with a non-military client of theirs. They had one of their contract employees build some VBA to create a sophisticated Linear Programming model in Excel. They were unable to get the original developers to commit to the enhancement work, so they came to me. Those guys effectively "ducked out". I always wondered why ? I spent a few weeks getting to understand the system and it's flows....as well as the nature of the processing. There was no technical documentation. I started into the 4500 lines of VBA code last week. Pure crap. No comments or few comments or misleading comments in the code. Poor writing style, no variables were named properly. There was no error trapping. Option Explicit missing from many modules and forms. Even worse: the original developer would take some crappy code from one place, clone it in another, and make slight changes. Finally, the GUI design of the forms and in-sheet controls was horrendous. For instance, instead of coding a Title to a OpenFile (GetOpenFilename) Dialog, they would first pop-up a Message Box with the title trying to indicate the nature of the file that needed to be selected, and then call the function without a title. This is just one example of the shoddy work done on this. Now they want the system revamped, and "enhanced" with new features. Keep in mind, this is a CRITICAL operations system for their client. After a few days of working with it, because I didn't have intimate knowledge of it, it kept blowing up on me. In some cases it was mistakenly opening up the wrong workbook. Instead of detecting that condition, it would go on it's merry way....till it blew-up processing the wrong data. So I write-up all of my findings in excruciating detail. What do I get in response ? Here it goes: "Well then Mark, we'll ALL have to put in some 'extra' time on this if you've got to spend so much time cleaning up this code. We have a fixed budget for this work." By 'extra time', they of course meant "free" time. What a load of B.S. So I asked the project manager about the "code reviews" on the initial project and he didn't say a word. Also, I told him a few weeks ago to get a second opinion. Once again, no response. So I haven't said much lately since that missive of mine went out. But I definitely am not going to work for free...no matter what. Because of their poor oversight and use of a programmer who didn't know VBA, didn't know the Excel Object Model, and couldn't design a GUI to save his soul, they've got to take the "fall" on this. It's only right. If I have to, I'll get a lawyer and make them look really stupid. Well this one should end this final chapter in my career which has become repetitive with these situations, stressful, and unjust. I'm almost without words about how I feel about this awful dev business today thru agencies. I do the work, they make the money. I thought slavery was abolished !. But NO.....because when all of the Indian insourcing and outsourcing was instituted, the net effect has been reduced opportunities and reduced wages. So slavery has come back to America...at least in the IT contracting world. What a change from the high status occupation it once was 15 years ago. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Dec 20 19:09:43 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 20 Dec 2011 20:09:43 -0500 Subject: [AccessD] And now the other... References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> I recently was asked to consult, albeit just a quick opinion, on a similar project. In truth, things didn't look particularly bad, but I didn't spend much time reviewing the code, etc. A developer, via a small consulting firm, WAAAAAAAAAAAAYYYYYYYYY underbid and then stopped working when he tired of the project. The developer claimed the client was guilty of scope creep -- the guy didn't know whether he was or not. There was no formal spec sheet, if the guy was honest with me about it. The budget for the project's been spent and it isn't done. The poor guy is stuck -- boss is mad. At some point in the conversation, sitting in his office, it became apparent to me that he thought I was going to finish it for free. Um... no, and why would I? I just said, "I don't care whether you pay me or whether the consulting firm you originally hired pays me." FWIW, I don't work for that firm, I was just doing someone a quick favor. I'm sitting across from the client and he says, "Developers aren't looking too good to me right now." So not my problem. I finally told him he needed to take it up with the consulting firm and ask for a refund or for someone to complete the project. I doubt he got either. Susan H. > > Well this one should end this final chapter in my career which has become > repetitive with these situations, stressful, and unjust. I'm almost > without > words about how I feel about this awful dev business today thru agencies. > I > do the work, they make the money. I thought slavery was abolished !. > But NO.....because when all of the Indian insourcing and outsourcing was > instituted, the net effect has been reduced opportunities and reduced > wages. > So slavery has come back to America...at least in the IT contracting > world. > What a change from the high status occupation it once was 15 years ago. From df.waters at comcast.net Tue Dec 20 20:06:55 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 20 Dec 2011 20:06:55 -0600 Subject: [AccessD] I told you of this one before.....and now another In-Reply-To: <00d701ccbf7a$02897560$079c6020$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> Message-ID: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Sounds like this marine shipping company jumped into a leaky boat and headed of in the wrong direction! ;-) They should have known better than that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 6:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before.....and now another Well Dan, for something as complex and integrated as a CRM, it's tough. That's why there are so many CRM "Frameworks" out there. In this particular case however, their requirements were unique....to the shipping business. NO OTS solutions were out there. Doing this in house meant the risk of a complex requirements development and data analysis... a monumental task especially if you were not in the shipping business. First you have to learn the shipping business, then marine law and marine regulations and reporting requirements. Holy, Moly...that was a HUGE MOUNTAIN to climb. That's years of specific knowledge acquisition....and they hired a consulting firm with ostensibly... NO SPECIFIC KNOWLEDGE OF THEIR BUSINESS. Risky business indeed....and thus the upcoming litigation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Dec 20 21:08:01 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:08:01 -0500 Subject: [AccessD] And now the other...WOW SUSAN In-Reply-To: <0707F689F69B490FA7954485A33D30B1@SusanHarkins> References: <4EE9EC54.1070108@colbyconsulting.com>, <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net>, <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com><4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> <0707F689F69B490FA7954485A33D30B1@SusanHarkins> Message-ID: <000101ccbf8d$c0382260$40a86720$@net> Wow Susan, WHAT A STORY ! The "attitudes" were just so....TELLING. From marksimms at verizon.net Tue Dec 20 21:25:40 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 20 Dec 2011 22:25:40 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> Message-ID: <000201ccbf90$37605e00$a6211a00$@net> Re: "wrong direction" Your are right, but IT GETS EVEN BETTER : After I installed the really complex and fully integrated with their CRM database Access add-on that provided them with another $300k in services fee income, they later wanted to offer me "Fulltime employment". This was AFTER I made the $80k Access proposal which they rejected. (Remember, they are currently sitting at $180k in dev expenses and NO SYSTEM has been delivered) Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete agreement. The agency decided that they were a "big part" of this (they did NOTHING) and should get a whopping $30k one-time fee for that employment contract. That put me way under $100k as a salary for which I felt entitled...especially given the 60 mile roundtrip commute I was facing daily if I were to commit to them. So I rejected the offer; and then they immediately contracted with that consulting company.... And ..."The Rest Is History" as they say. Incredible story, no ? Susan, something to publish perhaps ? From fuller.artful at gmail.com Wed Dec 21 03:40:25 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 04:40:25 -0500 Subject: [AccessD] And now the other... In-Reply-To: <00a701ccbf75$440949c0$cc1bdd40$@net> References: <4EE9EC54.1070108@colbyconsulting.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <0E7A4EF2-7941-42D9-9397-142D601056FE@phulse.com> <4EED111A.17875.F2854F2@stuart.lexacorp.com.pg> <00a701ccbf75$440949c0$cc1bdd40$@net> Message-ID: I feel your pain, but at the same time I predicted this outcome over 10 years ago. We developers have become the MayTag repair-persons of this century. We wait for something to fix, and in the meantime do next to nothing Arthur From darryl at whittleconsulting.com.au Wed Dec 21 04:43:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 21 Dec 2011 10:43:01 +0000 Subject: [AccessD] OT: Book Message-ID: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Arthur, Got my copy of the book today that you recommended. Just want to say thanks. It is great and will be a wonderful resource for both myself and my boys as they grow up. Most excellent indeed. Alos a good time to say a big thank you and merrry xmas to everyone on this list. Once again, you have been an invaluable source of help and support over the past year. I have learnt more from you guys and girls than any course could offer. You are an amazing and always educational resource. So Cheers! :) Darryl. From fuller.artful at gmail.com Wed Dec 21 05:49:46 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 06:49:46 -0500 Subject: [AccessD] OT: Book In-Reply-To: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B560637C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I'm glad to hear that you like the book. On Wed, Dec 21, 2011 at 5:43 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Arthur, > > Got my copy of the book today that you recommended. Just want to say > thanks. It is great and will be a wonderful resource for both myself and my > boys as they grow up. Most excellent indeed. > > -- Arthur Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 07:54:04 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 08:54:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> Message-ID: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> > > Well, the BIG PROBLEM was I was still bound to an AGENCY non-compete > agreement. > The agency decided that they were a "big part" of this (they did NOTHING) > and should get a whopping $30k one-time fee for that employment contract. > That put me way under $100k as a salary for which I felt > entitled...especially given the 60 mile roundtrip commute I was facing > daily > if I were to commit to them. ========The non-compete was 100% binding? Most will have a clause that restricts you for a certain number of weeks or even months, so how long were you there? > So I rejected the offer; and then they immediately contracted with that > consulting company.... > > And ..."The Rest Is History" as they say. > > Incredible story, no ? > > Susan, something to publish perhaps ? ========10 developers tell their favorite Scrooge stories :) Susan H. From guss at beechnutconsulting.com Wed Dec 21 11:29:10 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Wed, 21 Dec 2011 11:29:10 -0600 Subject: [AccessD] Using MS Access to read the Windows Index Message-ID: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> I have created a folder where I scan documents into searchable pdf files. I have windows (7 Ultimate) indexing setup to index on the contents, and now I want to write a query that uses the Windows Index file as the recordsource. I am hoping to set up this as perhaps a linked table, and build a query that looks something like: Select filename, path FROM WindowsIndexFile where IndexedContent = mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally guessing what the fields are. My computer tells me that the index is stored on C:\Program Data\Windows, but there are a lot of folders under that, and I have no clue about where to look or what the file is or how to access it. Any suggestions appreciated. Thanks. Sincerely yours, Guss Ginsburg Beechnut Consulting Services From davidmcafee at gmail.com Wed Dec 21 12:12:00 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 10:12:00 -0800 Subject: [AccessD] Varying results in an A2007/A2010 ADP stored procedure Message-ID: A coworker wrote a new stored procedure that works just fine when ran from SSMS. If either of these are ran from SSMS: EXEC stpR6Payouts '1/1/2011','11/30/2011','' EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL The data is returned as expected. If, the sproc is ran from VBA, or directly through the immediate window, we get different results. The sproc run from Access will return a few rows short, and data is being calculated incorrectly on the rows that are returned. Hit F5 in Access, and a different row count (and data on the returned rows) will be different. I've always assumed SQL was doing all the work and returning a resultset to Access, but it doesn't appear this is actually what happens. Does anyone have any ideas? TIA, David From marksimms at verizon.net Wed Dec 21 12:35:43 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:35:43 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> Message-ID: <010901ccc00f$593c53b0$0bb4fb10$@net> You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how long > were you there? > > > Susan H. From df.waters at comcast.net Wed Dec 21 12:43:48 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 12:43:48 -0600 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <010901ccc00f$593c53b0$0bb4fb10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> Message-ID: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> What I'm familiar with is an agreement where the client can't hire a temp until at least x days have passed (typically 90). If they hire a temp after that and before the contract expires, the agency then gets a prorated 'kickback' to cover their lost income. But I've never heard of a restriction After the original working time expires. This sounds onerous enough to wonder if it's legal. Or perhaps legal in one state but not in another. Sounds like a 'job-killer'. Seriously, call your congressman to get this fixed. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before....."wrong direction" You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how > long were you there? > > > Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 12:46:23 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 13:46:23 -0500 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> Message-ID: <011a01ccc010$d6afb1b0$840f1510$@net> I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I > have windows (7 Ultimate) indexing setup to index on the contents, and > now I > want to write a query that uses the Windows Index file as the > recordsource. > I am hoping to set up this as perhaps a linked table, and build a query > that > looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From df.waters at comcast.net Wed Dec 21 13:01:52 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 21 Dec 2011 13:01:52 -0600 Subject: [AccessD] Using MS Access to read the Windows Index In-Reply-To: <011a01ccc010$d6afb1b0$840f1510$@net> References: <004701ccc006$0dbf4f40$293dedc0$@beechnutconsulting.com> <011a01ccc010$d6afb1b0$840f1510$@net> Message-ID: <01b301ccc013$0035cfe0$00a16fa0$@comcast.net> Hi Guss, You can do a lot with FileSystemObject (Microsoft Scripting Runtime). This is an example of changing the read only property of files in a folder: '------------------- Dim fso As FileSystemObject Dim fol As Folder Dim fil As File Dim filList As Object Dim fProperty As Object Set fso = CreateObject("Scripting.FileSystemObject") Set fol = fso.GetFolder(stgFolderPath) Set filList = f.Files For Each fil In fc '-- Set file as read-only stgFilePath = stgFolderPath & "\" & f1.Name Set fProperties = fso.GetFile(stgFilePath) If blnReadOnly = True Then fProperties.Attributes = 1 Else fProperties.Attributes = 0 End If Next '------------------ There is much more you can do with the methods and properties from FileSystemObject. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Using MS Access to read the Windows Index I don't think it's possible Gus. I don't even think MSFT added an API to read the index. Indeed, they made changes to this in Windows 7. I only saw this in Technet: The index files have the following protection by default: Access Control Lists (ACLs) that only allow the BUILTIN\Administrators and NT Authority\System users access to the index. Index files are lightly obfuscated. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Guss Ginsburg > Sent: Wednesday, December 21, 2011 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Using MS Access to read the Windows Index > > I have created a folder where I scan documents into searchable pdf > files. I have windows (7 Ultimate) indexing setup to index on the > contents, and now I want to write a query that uses the Windows Index > file as the recordsource. > I am hoping to set up this as perhaps a linked table, and build a > query that looks something like: > > > > Select filename, path FROM WindowsIndexFile where IndexedContent = > mysearchstring1 OR IndexedContent = mysearchstring2; where I am totally > guessing what the fields are. > > > > My computer tells me that the index is stored on C:\Program > Data\Windows, > but there are a lot of folders under that, and I have no clue about > where to > look or what the file is or how to access it. > > > > Any suggestions appreciated. > > > > Thanks. > > > > Sincerely yours, > > > > Guss Ginsburg > > Beechnut Consulting Services > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Dec 21 13:23:57 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:23:57 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Did you know about this clause when you signed up? Susan H. > It was a onerous 1 year agreement. The count-down BEGINS the day after no > longer do any work for that client. > Since the client used this agency for other personnel fill-ins as well, > they > did not want to chance a lawsuit over breaking this agreement. > The agencies get away with this because the downside EFFECTS of such an > agreement are never made known. It's the agency's "big secret". That's why > this is such a great story of CAUSE and EFFECT. Here is a clear cut case > of > the clause causing harm to the client. You never hear or read about the > stories related to this, do you ? I can see it now.... > "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > > > >> ========The non-compete was 100% binding? Most will have a clause that >> restricts you for a certain number of weeks or even months, so how >> long were you there? >> >> >> Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed Dec 21 13:37:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:37:58 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <16EA26479A244A2AA692EEC353B4D3D6@SusanHarkins> Message-ID: <013c01ccc018$0b995cd0$22cc1670$@net> You bet. No leverage to negotiate...natch. I later discovered thru an online forum that Robert Half is one of the most hated and complained about agencies in the country. > > Did you know about this clause when you signed up? > > Susan H. From marksimms at verizon.net Wed Dec 21 13:43:41 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 14:43:41 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> Message-ID: <013d01ccc018$d7d6abe0$878403a0$@net> Exactly Dan. Had it gone to a lawsuit, it would have been your typical "pissing match" by lawyers. No one would win....but they would be enriched in the process. I have heard of these non-compete cases going on for literally decades...I'm not kidding. I had a friend who did exactly that when she set-up her own Orthodontal office near her old boss. Finally settled after 20 years. Today everyone is blaming America's woes on capitalism. That's entirely BOGUS. Capitalism is about FREE MARKETS. However, today's laws and lawyers prevent capitalism to work as it was originally intended to work. We are in a quasi-socialistic environment where the "big boys" and businessmen with political influence rule our world. > But I've never heard of a restriction After the original working time > expires. This sounds onerous enough to wonder if it's legal. Or > perhaps legal in one state but not in another. Sounds like a 'job-killer'. > Seriously, call your congressman to get this fixed. > > Dan From ssharkins at gmail.com Wed Dec 21 13:55:44 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 14:55:44 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: My dad sold a small business in the early 80's. The buyer tried to force a non-compete clause that was absolutely ridiculous. My dad would've had to move to work! His lawyer told the buyer no way... they haggled for a long time, but eventually left it out. I guess you can't blame people for trying, we just have to know when to say no. Susan H. > Exactly Dan. Had it gone to a lawsuit, it would have been your typical > "pissing match" by lawyers. > No one would win....but they would be enriched in the process. > I have heard of these non-compete cases going on for literally > decades...I'm > not kidding. > I had a friend who did exactly that when she set-up her own Orthodontal > office near her old boss. > Finally settled after 20 years. From davidmcafee at gmail.com Wed Dec 21 14:37:45 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:37:45 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: I created a new mdb and it returns correctly, as expected via a pass through query. I'm going to try a box with an Access version <2007 to test the ADP. On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > How does it look if you try this in a Pass-Through query? > > Duane Hookom > MS Access MVP > > > > From: davidmcafee at GMAIL.COM > > > > A coworker wrote a new stored procedure that works just fine when ran > from > > SSMS. > > > > > > If either of these are ran from SSMS: > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011','' > > > > > > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL > > > > The data is returned as expected. > > > > > > If, the sproc is ran from VBA, or directly through the immediate window, > we > > get different results. > > > > The sproc run from Access will return a few rows short, and data is being > > calculated incorrectly on the rows that are returned. > > > > Hit F5 in Access, and a different row count (and data on the returned > rows) > > will be different. > > > > I've always assumed SQL was doing all the work and returning a resultset > to > > Access, but it doesn't appear this is actually what happens. > > > > Does anyone have any ideas? > > -------------------------------------------------------------------------- > The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft > international's LISTSERV(R) software. For subscription/signoff info > and archives, see http://peach.ease.lsoft.com/archives/access-l.html . > COPYRIGHT INFO: > http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L > From davidmcafee at gmail.com Wed Dec 21 14:58:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 12:58:27 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, I tested the ADP on a box with Access 2002. It returned the same, incorrect row count and values. I tried running the stored procedure from a different ADP and it also returns incorrect records. So far the only way to get the correct results besides running it directly in SSMS is to run it from an mdb using a pass through query. What occurs differently between running a pass through vs running the sproc directly from the Access database window? David On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > I created a new mdb and it returns correctly, as expected via a pass > through query. > > I'm going to try a box with an Access version <2007 to test the ADP. > > > > > On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: > >> How does it look if you try this in a Pass-Through query? >> >> Duane Hookom >> MS Access MVP >> >> >> > From: davidmcafee at GMAIL.COM >> > >> > A coworker wrote a new stored procedure that works just fine when ran >> from >> > SSMS. >> > >> > >> > If either of these are ran from SSMS: >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >> > >> > >> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >> > >> > The data is returned as expected. >> > >> > >> > If, the sproc is ran from VBA, or directly through the immediate >> window, we >> > get different results. >> > >> > The sproc run from Access will return a few rows short, and data is >> being >> > calculated incorrectly on the rows that are returned. >> > >> > Hit F5 in Access, and a different row count (and data on the returned >> rows) >> > will be different. >> > >> > I've always assumed SQL was doing all the work and returning a >> resultset to >> > Access, but it doesn't appear this is actually what happens. >> > >> > Does anyone have any ideas? >> >> -------------------------------------------------------------------------- >> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >> international's LISTSERV(R) software. For subscription/signoff info >> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >> COPYRIGHT INFO: >> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >> > > From marksimms at verizon.net Wed Dec 21 15:06:15 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 16:06:15 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> Message-ID: <002d01ccc024$60a4a3e0$21edeba0$@net> True, but in this economic climate, I am unable to say "no". 15 years ago ? No problem. > we just have to know when to say no. > > Susan H. From davidmcafee at gmail.com Wed Dec 21 15:44:35 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 21 Dec 2011 13:44:35 -0800 Subject: [AccessD] [ACCESS-L] Varying results in an A2007/A2010 ADP stored procedure In-Reply-To: References: Message-ID: OK, we ran a Trace on the different ways we are running the sproc. When it is called from the ADP, the sproc is called via an RPC, not directly as a passthrough query (as I've assumed it was called). >From the ADP, if I run this: Private Sub Command8_Click() Dim rs As Recordset Set rs = CurrentProject.Connection.Execute("EXEC RRMS.dbo.stpR6Payouts '1/1/2011','11/30/2011',null") Debug.Print rs.RecordCount I get the correct count! If I put an break point on the last line above and run this from the immediate window: rs.MoveFirst ? rs![CustName] STAR FORD ? rs![IndividualPayCalc] 5368 I get the correct amount (that 5368 is never correct when running the sproc from the immediate window in the ADP). So this tells me the rendering in the ADP is having issues, correct? This is scary. How many other things have I trusted to be correct and weren't? :/ Any ideas? David On Wed, Dec 21, 2011 at 12:58 PM, David McAfee wrote: > OK, I tested the ADP on a box with Access 2002. > It returned the same, incorrect row count and values. > > I tried running the stored procedure from a different ADP and it also > returns incorrect records. > > So far the only way to get the correct results besides running it directly > in SSMS is to run it from an mdb using a pass through query. > > What occurs differently between running a pass through vs running the > sproc directly from the Access database window? > > David > > > On Wed, Dec 21, 2011 at 12:37 PM, David McAfee wrote: > >> I created a new mdb and it returns correctly, as expected via a pass >> through query. >> >> I'm going to try a box with an Access version <2007 to test the ADP. >> >> >> >> >> On Wed, Dec 21, 2011 at 11:44 AM, Duane Hookom wrote: >> >>> How does it look if you try this in a Pass-Through query? >>> >>> Duane Hookom >>> MS Access MVP >>> >>> >>> > From: davidmcafee at GMAIL.COM >>> > >>> > A coworker wrote a new stored procedure that works just fine when ran >>> from >>> > SSMS. >>> > >>> > >>> > If either of these are ran from SSMS: >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011','' >>> > >>> > >>> > EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL >>> > >>> > The data is returned as expected. >>> > >>> > >>> > If, the sproc is ran from VBA, or directly through the immediate >>> window, we >>> > get different results. >>> > >>> > The sproc run from Access will return a few rows short, and data is >>> being >>> > calculated incorrectly on the rows that are returned. >>> > >>> > Hit F5 in Access, and a different row count (and data on the returned >>> rows) >>> > will be different. >>> > >>> > I've always assumed SQL was doing all the work and returning a >>> resultset to >>> > Access, but it doesn't appear this is actually what happens. >>> > >>> > Does anyone have any ideas? >>> >>> >>> -------------------------------------------------------------------------- >>> The ACCESS-L list is hosted on a Windows(R) 2003 Server running L-Soft >>> international's LISTSERV(R) software. For subscription/signoff info >>> and archives, see http://peach.ease.lsoft.com/archives/access-l.html . >>> COPYRIGHT INFO: >>> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L >>> >> >> > From ssharkins at gmail.com Wed Dec 21 18:09:51 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:09:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Yeah, I understand. I've never turned down work. Susan H. > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > >> we just have to know when to say no. >> >> Susan H. From fuller.artful at gmail.com Wed Dec 21 18:26:12 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 21 Dec 2011 19:26:12 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I don't mean to start a war here, Susan, but I venture to suggest that you ought to learn how to fire clients. Clues include: a) they don't pay within 30 days; b) they don't respond to emails within 24 hours. If either or both of these occur, move on, my lovely lady; call it a lesson learned and move on! But before doing so, document this somewhere findable (FaceBook etc.) to warn us all of dealing with this scumfork client. We have your six, Susan! Love and kisses and Merry Christmas, and know that I meant what I said in the second-previous sentence. You need reinforcements, you got 'em. My arms and reach are long, and extend way past this group. Snap your fingers, and something might happen. A. On Wed, Dec 21, 2011 at 7:09 PM, Susan Harkins wrote: > Yeah, I understand. I've never turned down work. > Susan H. > > True, but in this economic climate, I am unable to say "no". >> 15 years ago ? No problem. >> >> we just have to know when to say no. >>> >>> Susan H. >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From ssharkins at gmail.com Wed Dec 21 18:47:24 2011 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 21 Dec 2011 19:47:24 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" References: <00a201ccbf6e$33b96e80$9b2c4b80$@net><002401ccbf76$6a9ecd20$3fdc6760$@comcast.net><00d701ccbf7a$02897560$079c6020$@net><002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net><000201ccbf90$37605e00$a6211a00$@net><6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins><010901ccc00f$593c53b0$0bb4fb10$@net><01b201ccc010$7a2b75a0$6e8260e0$@comcast.net><013d01ccc018$d7d6abe0$878403a0$@net><002d01ccc024$60a4a3e0$21edeba0$@net><68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: I would if I needed to -- don't need to. I haven't had a bad client in a long, long time, thank you Jesus. :) What I meant was, if the clients I have need something, I find a way to get it to them. That's because they pay within 30 days and always respond quickly. ;) Susan H. >I don't mean to start a war here, Susan, but I venture to suggest that you > ought to learn how to fire clients. Clues include: > > a) they don't pay within 30 days; > b) they don't respond to emails within 24 hours. > > If either or both of these occur, move on, my lovely lady; call it a > lesson > learned and move on! But before doing so, document this somewhere findable > (FaceBook etc.) to warn us all of dealing with this scumfork client. We > have your six, Susan! > > Love and kisses and Merry Christmas, and know that I meant what I said in > the second-previous sentence. You need reinforcements, you got 'em. My > arms > and reach are long, and extend way past this group. Snap your fingers, and > something might happen. > From marksimms at verizon.net Wed Dec 21 22:13:04 2011 From: marksimms at verizon.net (Mark Simms) Date: Wed, 21 Dec 2011 23:13:04 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> Message-ID: <002401ccc060$00acf4b0$0206de10$@net> Wow Art, that is prophetic as a measure of a client. And I totally agree. Their payment practices speak volumes for their commitment and integrity. Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law firm, they spend an enormous amount of time doing what ? SIZING UP THEIR POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. Trust me, I have a good friend in that business. I had a client from hell. Indian guy...IT director. Fired his employee....then a lawsuit ensued (OF COURSE !!). I got hired to pick up that work. It was crap (heard this before ?). I worked like a madman to learn their business, their operations, etc....there was no documentation (heard this before ?) The Access database was in need of a total rewrite. No time for that (heard this before ?) So I kept on working....without getting paid. Then they fired me, just when I had finished it all. Asked for their really expensive laptop back. I REFUSED to give it back without being paid. Agency stepped in....called for a demo. I demoed, they were happy, I got paid...on-the-spot, in full. I was contacted to do some enhancements, they didn't like my price or time estimates... so I never heard from them again. From vbacreations at gmail.com Wed Dec 21 22:26:35 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:26:35 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002d01ccc024$60a4a3e0$21edeba0$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> Message-ID: @Art... spot on. The longer one stays associated with a bad gig the less self respect one retains. If you stay on past the point where you can feel yourself beginning to resent this client or employer you might start to show a side of yourself which you wouldn't in a more healthy environment. It usually pays to be diplomatic in how you "fire" a client.Try not to give them a reason to blackball you and offer to do knowledge tranfer ... even if you despise them. When it comes to improving your situation SEEK AND YOU SHALL FIND!!! On Dec 21, 2011 4:07 PM, "Mark Simms" wrote: > True, but in this economic climate, I am unable to say "no". > 15 years ago ? No problem. > > > we just have to know when to say no. > > > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Wed Dec 21 22:34:31 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 21 Dec 2011 23:34:31 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <002401ccc060$00acf4b0$0206de10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: When it comes to love you never forget your first. But in the working world you never forget your worst, eh Mark? On Dec 21, 2011 11:14 PM, "Mark Simms" wrote: > Wow Art, that is prophetic as a measure of a client. > And I totally agree. Their payment practices speak volumes for their > commitment and integrity. > Fire a client ? ABSOLUTELY. In fact, if you go to any Personal Injury Law > firm, they spend an enormous amount of time doing what ? SIZING UP THEIR > POTENTIAL CLIENTS. If they don't like em, they say good bye IMMEDIATELY. > Trust me, I have a good friend in that business. > > I had a client from hell. Indian guy...IT director. > Fired his employee....then a lawsuit ensued (OF COURSE !!). > I got hired to pick up that work. It was crap (heard this before ?). > I worked like a madman to learn their business, their operations, > etc....there was no documentation (heard this before ?) > The Access database was in need of a total rewrite. No time for that (heard > this before ?) > > So I kept on working....without getting paid. > Then they fired me, just when I had finished it all. > Asked for their really expensive laptop back. > I REFUSED to give it back without being paid. > > Agency stepped in....called for a demo. > I demoed, they were happy, I got paid...on-the-spot, in full. > > I was contacted to do some enhancements, they didn't like my price or time > estimates... > so I never heard from them again. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Dec 22 12:35:38 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 22 Dec 2011 12:35:38 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112221135.pBMBZcol009844@mailhostC.plex.net> Hello Group, i want the last dat from tbl1 Pat Date Result A1 01-01-11 15 A1 10-10-11 7 A1 11-11-11 6 When i use the query: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 GROUP BY tbl1.Pat, tbl1.Result; Then is stil have these three records because of the Result What i need is only record that is really the last date, regardless what value there is for result Pat LastDate Result A1 11-11-11 6 I have done this before, but i can't remember how. Is has to been done with a subquery. Who can help me? Thanks Pedro From fuller.artful at gmail.com Thu Dec 22 06:05:26 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 22 Dec 2011 07:05:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From garykjos at gmail.com Thu Dec 22 08:03:57 2011 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 22 Dec 2011 08:03:57 -0600 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Remove the tbl1.Result from the Group By so you only group by Pat. GK On Thu, Dec 22, 2011 at 6:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat ? ? Date ? ? ? Result > A1 ? ? 01-01-11 ? ?15 > A1 ? ? 10-10-11 ? ? 7 > A1 ? ? 11-11-11 ? ? 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what value there is for result > > Pat ? ? LastDate ? ? ? ? Result > A1 ? ? 11-11-11 ? ? ? ? ? 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > 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 marksimms at verizon.net Thu Dec 22 08:46:51 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 09:46:51 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <01b201ccc010$7a2b75a0$6e8260e0$@comcast.net> <013d01ccc018$d7d6abe0$878403a0$@net> <002d01ccc024$60a4a3e0$21edeba0$@net> <68DF983B3EAA4100B1D9DC34604D1AFC@SusanHarkins> <002401ccc060$00acf4b0$0206de10$@net> Message-ID: <007801ccc0b8$8b0e2fe0$a12a8fa0$@net> > When it comes to love you never forget your first. But in the working > world you never forget your worst, eh Mark? I just love that quip Bill. From vbacreations at gmail.com Thu Dec 22 11:02:06 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:02:06 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: Ill go out on a limb and suppose that you really meant the Max date since the sample data was in ascending date order. Select tbl1.Pat, tbl1.Result from Tbl1 where tbl1.date =(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat) That is "air code" I have not tested it. On Dec 22, 2011 6:39 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Thu Dec 22 11:02:31 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 12:02:31 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <201112221135.pBMBZcol009844@mailhostC.plex.net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Instead of using the number format to properly display the numbers, the original developer would use the Format function to round a large series of individual values, and then total-up the rounded results instead of the original values. As you are aware, precision is likely lost in doing it this way. Ex: .55+.55=1.1 His method would be to first "round-up" the .55 to .6: Ex: .6+.6=1.2 In this case, the total is now "off" by almost 10% ! And...this is a vital model that helps to run the company's main processing unit. Wowzer indeed. From vbacreations at gmail.com Thu Dec 22 11:13:33 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 12:13:33 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Dec 22 11:17:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 09:17:27 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date = B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; The only thing to warn you about Pedro is if you have more than one record with the same last date. For instance. A1 01/01/11 6 B1 01/01/11 5 Also "Date" is a bad name for a field name as it is a reserved word. HTH David McAfee From jwcolby at colbyconsulting.com Thu Dec 22 11:31:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 12:31:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF36984.3020502@colbyconsulting.com> BACKUP the original!!! You need to be able to prove that the old sucked and the new... sucks less... (you can only fix what you find). Then you need to start a document of each thing like this that you find. It will provide a huge evidence base for when you present the case for "your application sucks and this is why it takes so long to get it working". John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 12:02 PM, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > From tinanfields at torchlake.com Thu Dec 22 12:26:48 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 22 Dec 2011 13:26:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net><000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <4EF37668.3010809@torchlake.com> ABSOLUTELY!!! John is right on! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/22/2011 12:31 PM, jwcolby wrote: > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge evidence base for when you present the > case for "your application sucks and this is why it takes so long to > get it working". > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/22/2011 12:02 PM, Mark Simms wrote: >> Instead of using the number format to properly display the numbers, >> the original developer would use the Format function to round a large >> series >> of individual values, >> and then total-up the rounded results instead of the original values. >> As you are aware, precision is likely lost in doing it this way. >> Ex: .55+.55=1.1 >> His method would be to first "round-up" the .55 to .6: >> Ex: .6+.6=1.2 >> In this case, the total is now "off" by almost 10% ! >> >> And...this is a vital model that helps to run the company's main >> processing >> unit. >> >> Wowzer indeed. >> >> >> > From steve at datamanagementsolutions.biz Thu Dec 22 14:20:45 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 23 Dec 2011 09:20:45 +1300 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> Message-ID: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Agreed. Assuming you mean the most recent date, i.e. Max rather than Last, then Arthur's suggestion is how I would do it. Regards Steve -----Original Message----- From: Arthur Fuller Sent: Friday, December 23, 2011 1:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Date Query I think what you want is this: SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result FROM tbl1 ORDER BY tbl1.Date DESC; HTH, Arthur On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > Hello Group, i want the last dat from tbl1 > > Pat Date Result > A1 01-01-11 15 > A1 10-10-11 7 > A1 11-11-11 6 > > When i use the query: > > SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > FROM tbl1 > GROUP BY tbl1.Pat, tbl1.Result; > > Then is stil have these three records because of the Result > > What i need is only record that is really the last date, regardless what > value there is for result > > Pat LastDate Result > A1 11-11-11 6 > > > I have done this before, but i can't remember how. > Is has to been done with a subquery. > > Who can help me? > > Thanks > > Pedro > -- From stuart at lexacorp.com.pg Thu Dec 22 14:42:41 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 06:42:41 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> It depends on the situation. If you are rounding prices to the nearest 10c, accountants don't like accounts that show : Item 1 0.60 Item 2 0.60 ============ Total 1.10 If you want the total to equal the sum of all of the line items, you need to round each item (using either ROUND() or FORMAT(). and sum the rounded result. That is standard practice in accounting. -- Stuart On 22 Dec 2011 at 12:02, Mark Simms wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large series > of individual values, > and then total-up the rounded results instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main processing > unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 22 14:54:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 22 Dec 2011 15:54:08 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg> Message-ID: <4EF398F0.4030401@colbyconsulting.com> It is also standard practice to use a datatype appropriate for currency. That is why currency data types exist. It is also standard practice in banking to round 1/2 of the numbers up and the other down. But that is a discussion for another day. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 3:42 PM, Stuart McLachlan wrote: > It depends on the situation. > > If you are rounding prices to the nearest 10c, accountants don't like accounts that show : > > Item 1 0.60 > Item 2 0.60 > ============ > Total 1.10 > > If you want the total to equal the sum of all of the line items, you need to round each item > (using either ROUND() or FORMAT(). and sum the rounded result. That is standard > practice in accounting. > From stuart at lexacorp.com.pg Thu Dec 22 15:39:28 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 23 Dec 2011 07:39:28 +1000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF398F0.4030401@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net>, <4EF39641.28819.28A0B9E1@stuart.lexacorp.com.pg>, <4EF398F0.4030401@colbyconsulting.com> Message-ID: <4EF3A390.30457.28D4B5BD@stuart.lexacorp.com.pg> How do you do that in Excel? ALL numbers in Excel are stored as Doubles, you can only change the display - not the storage format. -- Stuart On 22 Dec 2011 at 15:54, jwcolby wrote: > It is also standard practice to use a datatype appropriate for currency. That is why currency data > types exist. From vbacreations at gmail.com Thu Dec 22 15:49:26 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 16:49:26 -0500 Subject: [AccessD] Last Date Query In-Reply-To: <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Since now two posts have been made since I offered my idea that what was really wanted was Max.... and neither commented one way or another on my query .... what was incorrect about how I did it? On Dec 22, 2011 3:22 PM, "Steve Schapel" wrote: > Agreed. Assuming you mean the most recent date, i.e. Max rather than > Last, then Arthur's suggestion is how I would do it. > > Regards > Steve > > -----Original Message----- From: Arthur Fuller > Sent: Friday, December 23, 2011 1:05 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Last Date Query > > I think what you want is this: > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > FROM tbl1 > ORDER BY tbl1.Date DESC; > > HTH, > Arthur > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > >> Hello Group, i want the last dat from tbl1 >> >> Pat Date Result >> A1 01-01-11 15 >> A1 10-10-11 7 >> A1 11-11-11 6 >> >> When i use the query: >> >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result >> FROM tbl1 >> GROUP BY tbl1.Pat, tbl1.Result; >> >> Then is stil have these three records because of the Result >> >> What i need is only record that is really the last date, regardless what >> value there is for result >> >> Pat LastDate Result >> A1 11-11-11 6 >> >> >> I have done this before, but i can't remember how. >> Is has to been done with a subquery. >> >> Who can help me? >> >> Thanks >> >> Pedro >> -- >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From davidmcafee at gmail.com Thu Dec 22 16:02:59 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 22 Dec 2011 14:02:59 -0800 Subject: [AccessD] Last Date Query In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <9D2E51B0BCC74E53ACAC61349B56E280@stevelaptop> Message-ID: Nothing, I think that would work, and would also return more than one record as my suggestion would, if there were indeed more than one record on that max date. D On Thu, Dec 22, 2011 at 1:49 PM, William Benson wrote: > Since now two posts have been made since I offered my idea that what was > really wanted was Max.... and neither commented one way or another on my > query .... what was incorrect about how I did it? > On Dec 22, 2011 3:22 PM, "Steve Schapel" < > steve at datamanagementsolutions.biz> > wrote: > > > Agreed. Assuming you mean the most recent date, i.e. Max rather than > > Last, then Arthur's suggestion is how I would do it. > > > > Regards > > Steve > > > > -----Original Message----- From: Arthur Fuller > > Sent: Friday, December 23, 2011 1:05 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Last Date Query > > > > I think what you want is this: > > > > SELECT TOP 1 tbl1.Pat, tbl1.Date AS LastDate, tbl1.Result > > FROM tbl1 > > ORDER BY tbl1.Date DESC; > > > > HTH, > > Arthur > > > > On Thu, Dec 22, 2011 at 7:35 AM, wrote: > > > > > >> Hello Group, i want the last dat from tbl1 > >> > >> Pat Date Result > >> A1 01-01-11 15 > >> A1 10-10-11 7 > >> A1 11-11-11 6 > >> > >> When i use the query: > >> > >> SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result > >> FROM tbl1 > >> GROUP BY tbl1.Pat, tbl1.Result; > >> > >> Then is stil have these three records because of the Result > >> > >> What i need is only record that is really the last date, regardless what > >> value there is for result > >> > >> Pat LastDate Result > >> A1 11-11-11 6 > >> > >> > >> I have done this before, but i can't remember how. > >> Is has to been done with a subquery. > >> > >> Who can help me? > >> > >> Thanks > >> > >> Pedro > >> -- > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > http://www.databaseadvisors.com> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 16:28:21 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 22:28:21 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Dec 22 16:59:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 17:59:47 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <4EF36984.3020502@colbyconsulting.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <4EF36984.3020502@colbyconsulting.com> Message-ID: <005c01ccc0fd$6757d4d0$36077e70$@net> Thanks John - exactly. I hit them with it and they were shocked. Keep in mind, I had to really push them to do this remediation.... they were dragging and kicking their feet. > > BACKUP the original!!! You need to be able to prove that the old > sucked and the new... sucks > less... (you can only fix what you find). > > Then you need to start a document of each thing like this that you > find. It will provide a huge > evidence base for when you present the case for "your application sucks > and this is why it takes so > long to get it working". > > John W. Colby > Colby Consulting From marksimms at verizon.net Thu Dec 22 17:06:24 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 18:06:24 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <005d01ccc0fe$54079130$fc16b390$@net> Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error From darryl at whittleconsulting.com.au Thu Dec 22 17:36:46 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 22 Dec 2011 23:36:46 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <005d01ccc0fe$54079130$fc16b390$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Mark, They had four risk bands (1-4) with each band having a heavier weighting to compensate for the higher risk. There were also four questions (the matching 4's with the questions and banding is a coincidence and not related at all - althought the 4 questions within each combobox is related to the risk banding scale). In this instance it related to property insurance (mainly for fire risk) so the questions were about type of construction, roof, interior and how old the wiring and plumbing was. You get the idea. - it was fairly high level stuff. The maths worked like this. Each of the 4 questions had 4 possible responses. The 4 responses were scaled from 1 to 4 depending on how risky they were. The sum of the four responses were divided by 4 to give a risk band rating. As the division can result in non-integers the value needed to be rounded up or down to the nearest whole to give the correct rating. For example. If the responses were 1 1 2 3 (Total of 7) 7/4 = 1.75 So this customer should be paying the rate from risk band 2. However the code was doing this INT(7/4) to make the integer which would always return a 1 regardless. The only time you would ever get a 2 rating was if the result was > than 2 already. So they were underquoting on their risk for many of their clients. This was really bad for when high level rating 3 types were not being rated as 4 (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). Had a fun one at an oil company with rounding and zeros too. Story for another day. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 10:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one Omigosh, this one is a great story for the EUSprig group...they track all business-related spreadsheet disasters that have a financial consequence. So let me get this straight, their scaling went like 1.0, 1.5, 2.0, etc ? So that required a special rounding function....rounding to the nearest 0.5. So 1.26 would go to 1.5, 1.75 would go to 2.0....correct ? The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Dec 22 19:26:58 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 22 Dec 2011 20:26:58 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <001301ccc111$f7649270$e62db750$@net> (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. From darryl at whittleconsulting.com.au Thu Dec 22 19:35:01 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 01:35:01 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <001301ccc111$f7649270$e62db750$@net> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> Message-ID: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes... Fully agree. They (the portfolio risk manager) were really unhappy as the business had already been written, the risk paid for by the client. Nothing they could do except wait out the term of the agreement. of course then it puts them in the situation next year when the client want to renew and the business manager now has to decline it. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Friday, 23 December 2011 12:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My Excel project...you won't believe this one (some 4's would be a decline, but they would have taken on the risk as a 3 would be returned). A disasterous conclusion IMHO. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 22 20:56:51 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 22 Dec 2011 21:56:51 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really unhappy > as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as a 3 > would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Dec 22 21:10:07 2011 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 23 Dec 2011 03:10:07 +0000 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <201112221135.pBMBZcol009844@mailhostC.plex.net> <000101ccc0cb$7e9a7e90$7bcf7bb0$@net> <56653D383CB80341995245C537A9E7B5606D72@SINPRD0402MB099.apcprd04.prod.outlook.com> <005d01ccc0fe$54079130$fc16b390$@net> <56653D383CB80341995245C537A9E7B5606E2A@SINPRD0402MB099.apcprd04.prod.outlook.com> <001301ccc111$f7649270$e62db750$@net> <56653D383CB80341995245C537A9E7B5606F0D@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B5606FBF@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes, rounding was the oil company problem as well. In short the Aussie HO used to look after all the deliveries to all the piddly little Pacific Islands (right out to Guam etc). A lot of these places would only want less than 500,000 BOE delivered each time the ship showed up. Say Island X wanted 250,000 K of BOE this month. In the Spreadsheet used to track all this stuff the girl would key in 250,000 BOE but the workbook was rounded to display millions of BOE as the minimum display (fair enough I guess as most places do use millions and millions of BOE). Anyway, as expected the 250K would show as Zero in the workbook. Of course whilst the data was in XL the reports would still calculate correctly as the underlying value was indeed 250K, even though it was displayed as zero. But of course they used SAP for their accounting and control. So what happened was the girl would print out her Spreadsheet, send it to another dept who would then (re)key the data into SAP. Suddenly all those little oil deliveries were being entered as Zeros, not their real amounts. BAM! Big problem as millions of BOE started to vanish from the system. Easy enough to fix once I tracked down where the problem was (I ended up showing them how push the data from XL directly into SAP without all the printing, internal mail and rekeying business and also modded the format to show a different format if the zero value was not a true zero. Rounding and formats. Approach with some caution I say. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I think when i used to prepare financial statements it was always an art to get all the numbers to round correctly. I had a finance manager who was awesome at it. Naturally formulas went both across and down and all the numbers had the same precision as well as formatting. But the guy could make little adjustments here and there and always get it to come out perfectly. I'd spend hours and still never get things to balance. Personally I would prefer if all numbers went on the sheet with all the precision they merit, without concern whether formatted numbers add up to the foematted total. But I guess perception is reality and if the financial statements look like they don't add up people question the processes that underlie them. Thing is, while you're doing year-end stuff you make changes all the time to final numbers ... so you start the adjustment dance all over. I dont mimd formatting but i feel rounding raw numbers and even intermediate results evil and I hate it. Figures never lie but liars must always figure. On Dec 22, 2011 8:36 PM, "Darryl Collins" wrote: > Yes... Fully agree. They (the portfolio risk manager) were really > unhappy as the business had already been written, the risk paid for by the client. > Nothing they could do except wait out the term of the agreement. > > of course then it puts them in the situation next year when the client > want to renew and the business manager now has to decline it. > > Cheers > Darryl > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Friday, 23 December 2011 12:27 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] My Excel project...you won't believe this one > > (some 4's would be a decline, but they would have taken on the risk as > a 3 would be returned). > > A disasterous conclusion IMHO. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 02:18:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 03:18:35 -0500 Subject: [AccessD] Copy and execute from Access Message-ID: <4EF4395B.3010207@colbyconsulting.com> I have written a small app that allows me to define an access application and the file(s) that make it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb and passes in a command line argument which is looked up in a table. The recordset opened then defines what files to copy, the source and destination, the FE to execute, and then opens that app. It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a normal Access application which can be seen until the target FE is up and running and CopyAndExecute closes. Is there a way to cause Access to open invisible? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Fri Dec 23 04:01:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 23 Dec 2011 11:01:31 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Darryl et al Sorry to destroy the party, but all it takes is well defined criteria (business rules) - which seems to have been present here and trivial too - as well as a skilled programmer in this area - no guru or genius is required. If you deal with calculations and feel you can't handle rounding properly, you should put this item on the agenda to fill one of the empty(!) spaces in the upcoming Christmas holiday season. It isn't difficult at all. Hint: The only native function of VB(A) that handles 4/5 rounding correctly is Format. It is, however, not very fast so if speed is a concern you have to run a custom function. And no, the VB(A) function Round is not the answer to any serious task: http://www.xbeat.net/vbspeed/c_Round.htm#Round16 And don't forget: Math is fun! /gustav >>> darryl at whittleconsulting.com.au 22-12-2011 23:28 >>> In my last role I saw a similar issue when one of the developers was trying to group data which contained decimals into the nearest whole number (up or down) to determine the band. He was using the INT function which he didn't understand at all (from what I can tell). The issue was a series of 4 questions would return a value based on a risk matrix. So you would have a value like 1.99 or 1.67 and it would all be regrouped as a 1. They were wondering why their rating engine were returning screwy results (it was basically a risk scale so anything with a risk rating >= 1.5 should have been priced using risk band 2 for example). Given that this data was used to price customer quotes based on their risk profiles they were underquoting consistently until I spotted the error. That said, I am not perfect with these things either and have made plenty of similar errors over the years. Guess it shows the importance of getting everything tested by a whole group of different (and skilled) folks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, 23 December 2011 4:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My Excel project...you won't believe this one I am sure that they are losing so much money that most of their thinking investors and auditors have abandoned and the fools who remain don't know the difference between a balance sheet that adds up and one that doesn't. On Dec 22, 2011 12:03 PM, "Mark Simms" wrote: > Instead of using the number format to properly display the numbers, > the original developer would use the Format function to round a large > series of individual values, and then total-up the rounded results > instead of the original values. > As you are aware, precision is likely lost in doing it this way. > Ex: .55+.55=1.1 > His method would be to first "round-up" the .55 to .6: > Ex: .6+.6=1.2 > In this case, the total is now "off" by almost 10% ! > > And...this is a vital model that helps to run the company's main > processing unit. > > Wowzer indeed. From pedro at plex.nl Fri Dec 23 13:01:41 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 23 Dec 2011 13:01:41 (CET) Subject: [AccessD] Last Date Query Message-ID: <201112231201.pBNC1fGY024467@mailhostC.plex.net> Dear group, thanks for all the help. I have tried all the suggestions. Also i have added some records to the test-table, to exclude double dates etc. Here is the test table: Pat Date Result A1 1-1-20111 5 A1 10-10-2011 7 A1 11-11-2011 8 A1 11-11-2011 6 B2 4-4-2011 6 B2 5-5-2011 3 B2 1-1-2011 15 B2 1-1-2011 4 B2 5-5-2011 5 B2 5-5-2011 1 The result shout be: Pat LastDate Result A1 11-11-2011 8 B2 5-5-2011 5 Here are the result given by the groupmembers, with the result en at last the correct solution. 1-------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, Last(tbl1.Result) AS LastResult FROM tbl1 GROUP BY tbl1.Pat; Pat LastDate LastResult A1 11-11-2011 6 B2 5-5-2011 1 2--------------- SELECT tbl1.Pat, Max(tbl1.Date) AS MaxDate, Max(tbl1.Result) AS MaxResult FROM tbl1 GROUP BY tbl1.Pat; Pat MaxDate MaxResult A1 11-11-2011 8 B2 5-5-2011 6 3--------------- SELECT tbl1.Pat, Last(tbl1.Date) AS LastDate, tbl1.Result FROM tbl1 INNER JOIN (SELECT Max(tbl1.Date) AS MaxDate FROM tbl1) B ON tbl1.Date=B.MaxDate GROUP BY tbl1.Pat, tbl1.Result; Pat LastDate Result A1 11-11-2011 6 A1 11-11-2011 8 4------------- SELECT Tbl1.Pat, Tbl1.Date, Tbl1.Result FROM Tbl1 WHERE (((Tbl1.Date)=(Select Max(t2.Date) From Tbl1 as t2 Where t2.Pat = Tbl1.Pat))); Pat Date Result A1 11-11-2011 8 A1 11-11-2011 6 B2 5-5-2011 3 B2 5-5-2011 5 B2 5-5-2011 1 This solution from Wiliam gives me the all the results with the last date. These i can easily query by: SELECT Query5.Pat, Query5.Date, Max(Query5.Result) AS MaxVanResult FROM Query5 GROUP BY Query5.Pat, Query5.Date; Pat Date MaxVanResult A1 11-11-2011 8 B2 5-5-2011 5 Thanks en best wishes Pedro p.s. David, normally i never use "date" as a fieldname. I was just for this example. From marksimms at verizon.net Fri Dec 23 07:27:39 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 23 Dec 2011 08:27:39 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From jwcolby at colbyconsulting.com Fri Dec 23 09:34:48 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 10:34:48 -0500 Subject: [AccessD] Migrate to SQL Server Message-ID: <4EF49F98.5030909@colbyconsulting.com> I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Fri Dec 23 10:05:04 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 23 Dec 2011 20:05:04 +0400 Subject: [AccessD] =?utf-8?q?My_Excel_project=2E=2E=2Eyou_won=27t_believe_?= =?utf-8?q?this_one?= In-Reply-To: <004a01ccc176$a4ce31a0$ee6a94e0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Fri Dec 23 10:05:07 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:05:07 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> John, I've done like you describe with just importing the tables, doing all the fixing up of the tables, relationships, etc... afterwards. Not fun, especially with lots of tables, but that was back on Access 97 and SQL 2000. Have you looked that the SQL Server Migration Assistant (SSMA) at Microsoft? http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp x#Access Here's an old article (July 2003) from Susan Harkins about using the Upsizing Wizard in Access 2003, probably outdated for newer versions of SQL Server http://www.techrepublic.com/article/upsizing-an-existing-microsoft-acces s-database/5035130 HTH Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 9:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** 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 Dec 23 10:26:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:26:51 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <4EF4ABCB.2070008@colbyconsulting.com> The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access From rusty.hammond at cpiqpc.com Fri Dec 23 10:42:17 2011 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Fri, 23 Dec 2011 10:42:17 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- 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 df.waters at comcast.net Fri Dec 23 10:47:40 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:47:40 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: <015601ccc192$959333e0$c0b99ba0$@comcast.net> Hi John, Honestly, I've used SSMA for Access and it was a little funky. I recently just used the upsizing wizard in Access and that went fine with one strong caveat. I purchased an app named Must for upsizing, and it's better than using the upsizing wizard in Access - for me it pinpointed a bad date in a date field which prevented upsizing in Access. Must does have a little learning curve so go through that for an hour or so and you'll like it. You should upsize Indexes, Validation Rules, Defaults, but do not upsize relationships between tables. This will give you Triggers and Constraints which will be intended to duplicate the functionality of a relationship. That works, but in Diagrams on SQL Server you can create any number of different table relationship diagrams. But when you create the diagrams, you've now duplicated the table relationship functionality with the upsized Triggers and Constraints. SQL Server has good screens for creating both indexes and table relationships, and you should use those. Also, do add timestamp fields - these will allow 'edited record' functionality to work in SQL Server. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how to and links to companies (Microsoft partners?) that do this. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:05 AM, Rusty Hammond wrote: > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > x#Access -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Dec 23 10:52:01 2011 From: df.waters at comcast.net (Dan Waters) Date: Fri, 23 Dec 2011 10:52:01 -0600 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> References: <4EF49F98.5030909@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A442@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <015a01ccc193$318c66e0$94a534a0$@comcast.net> And - after you click on the Migration Tool tab you have to select 'Access' from the dropdown list under the 'migrating from' square. Otherwise it just looks like SSMA is only for Oracle to SQL Server. Maybe today's version is better than the one I used. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Friday, December 23, 2011 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Migrate to SQL Server Looks like the end of the link got wrapped to the next line. The x#Access should be at the end of the url. I was just there so I know it still exists :-) I just googled Microsoft SSMA and the top listing was Free Microsoft SQL Server Database Migration Assistant. Once you go there you can click on the Migration Tool tab. Rusty From jwcolby at colbyconsulting.com Fri Dec 23 10:54:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 11:54:44 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <015601ccc192$959333e0$c0b99ba0$@comcast.net> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> <015601ccc192$959333e0$c0b99ba0$@comcast.net> Message-ID: <4EF4B254.2030901@colbyconsulting.com> Must looks pretty cheap. I might give that a try. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 11:47 AM, Dan Waters wrote: > Hi John, > > Honestly, I've used SSMA for Access and it was a little funky. I recently > just used the upsizing wizard in Access and that went fine with one strong > caveat. I purchased an app named Must for upsizing, and it's better than > using the upsizing wizard in Access - for me it pinpointed a bad date in a > date field which prevented upsizing in Access. Must does have a little > learning curve so go through that for an hour or so and you'll like it. > > You should upsize Indexes, Validation Rules, Defaults, but do not upsize > relationships between tables. This will give you Triggers and Constraints > which will be intended to duplicate the functionality of a relationship. > That works, but in Diagrams on SQL Server you can create any number of > different table relationship diagrams. But when you create the diagrams, > you've now duplicated the table relationship functionality with the upsized > Triggers and Constraints. SQL Server has good screens for creating both > indexes and table relationships, and you should use those. > > Also, do add timestamp fields - these will allow 'edited record' > functionality to work in SQL Server. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 10:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Migrate to SQL Server > > The SQL Server migration tool seems to have disappeared. All that's left is > ... a document on how to and links to companies (Microsoft partners?) that > do this. > > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: >> http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp >> x#Access > From jimdettman at verizon.net Fri Dec 23 12:51:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 13:51:49 -0500 Subject: [AccessD] Migrate to SQL Server In-Reply-To: <4EF49F98.5030909@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> Message-ID: <4B6F63DA6C5C4180A0185048B6E2593A@XPS> John, For some great tips on using Access with SQL Server, download "Best of both worlds" from here: http://www.jstreettech.com/cartgenie/pg_developerDownloads.asp Also not sure if it was you or someone else that posted a MSKB/MSDN link that had tons on the deep internals of how Access uses a unique key with table linking and how you could control it in Access. I'll have to dig for that one. I know it was posted to the list at one point (pretty sure I posted the above link as well in the past, but it's worth a re-post). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 10:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Migrate to SQL Server I am beginning the long hard task of migrating a client from Access data stores (many many) to SQL Server. This is my client, the data is mostly mine etc. The client is on board that we do this and in fact is investing in the server, OS and SQL Server software to do this. My problem is that while I have used SQL Server a ton over the last few years it has not been in the normal parent / child / grandchild, enforce referential integrity, enforce uniqueness and all that jazz. So I need to learn some stuff like how to enforce unique values in a column. I also need to discover how to migrate data from Access to SQL Server. The data migration wizard in SQL Server is actually quite good however AFAICT it does not pull relationships in, in fact it does not even capture the fact that the PK is an autonumber and PK. It also seems to default to nvarchar whereas I prefer varchar. Thus importing data using that wizard does work but it is pretty labor intensive fixing up the identity and setting the PK to a PK, editing mappings and so forth. I would like to start a thread on this aspect of moving to SQL Server. What has been your experience in this data migration, what tools have you used, what gotchas have you run into etc. Thanks, -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 23 14:31:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 15:31:21 -0500 Subject: [AccessD] textbox value is null Message-ID: <4EF4E519.5030106@colbyconsulting.com> I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From guss at beechnutconsulting.com Fri Dec 23 14:46:15 2011 From: guss at beechnutconsulting.com (Guss Ginsburg) Date: Fri, 23 Dec 2011 14:46:15 -0600 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <00a101ccc1b3$ea35e890$bea1b9b0$@beechnutconsulting.com> John, I usually accomplish this by using the AfterUpdate event. If the entry is bound to a field then you may want to do validation testing on the entry (such as "is it null?", etc) in the before update event. Once validated, the after update event can populate the derived value into txtB. Sincerely yours, Guss Ginsburg Beechnut Consulting Services -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Dec 23 14:58:49 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 23 Dec 2011 15:58:49 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <63C61366D5D745588E069510909C22B9@XPS> Until the control is updated, you need to grab the value in the buffer with the .Text property. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, December 23, 2011 03:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] textbox value is null I am trying to use the value of a text box I am typing into to create a string in another text box. IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. However txtA.Value is NULL! until I move out of the text box (after update) so the string I am building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this behavior and don't quite know how to work around it. Any thoughts? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Dec 23 15:00:09 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 07:00:09 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Try this: Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) txtB = "C:\Access\" & txtA.Text & IIf(txtA.Text = "", "", "\") End Sub -- Stuart On 23 Dec 2011 at 15:31, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access is a constant directory > location and I am inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Fri Dec 23 15:04:31 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 24 Dec 2011 01:04:31 +0400 Subject: [AccessD] =?utf-8?q?Migrate_to_SQL_Server?= In-Reply-To: <4EF4ABCB.2070008@colbyconsulting.com> References: <4EF49F98.5030909@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A43E@CPIEMAIL-EVS1.CPIQPC.NET> <4EF4ABCB.2070008@colbyconsulting.com> Message-ID: Hi John at all -- > The SQL Server migration tool seems to have disappeared. It didn't. I have just used MS Access 2010 and its Database Tools -> SQL Server feature to get upsized my customer model MS Access database into MS SQL Server 2008 R2 database. All worked flawlessly: - autonumbers went upsized into identity fields, - relationships - into DRI (option to be selected in upsizing setup dialog), .... Here is screenshot of relationships diagrams, the one for MS SQL was built and arranged automatically after I have added all the tables to a new empty MS SQL Database Diagram: http://smsconsulting.spb.ru/stest/fm.png Thank you. -- Shamil 23 ??????? 2011, 20:29 ?? jwcolby : > The SQL Server migration tool seems to have disappeared. All that's left is ... a document on how > to and links to companies (Microsoft partners?) that do this. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 11:05 AM, Rusty Hammond wrote: > > http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.asp > > x#Access > > --> AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Fri Dec 23 15:45:38 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 23 Dec 2011 13:45:38 -0800 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4E519.5030106@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com> Message-ID: I'm not sure value will work the way you want it to, but you might try using the beforeupdate of the first textbox to write the text in the box (not the value) to the second textbox. I may be confusing VB.Net and VBA, so don't take my advice as gospel. Charlotte Foust On Fri, Dec 23, 2011 at 12:31 PM, jwcolby wrote: > I am trying to use the value of a text box I am typing into to create a > string in another text box. IOW I type 'a' in txt1 and txt2 is set to > 'C:\Access\a\'. The C:\Access is a constant directory location and I am > inserting 'C:\Access\' & txtA.Value & '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after > update) so the string I am building looks like 'C:\Access\\' since a null > is being inserted between the 'C:\Access\' and the '\'. I thought I was > going to use txtA.OnKeyDown etc. No dice. I never really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From jwcolby at colbyconsulting.com Fri Dec 23 15:52:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 23 Dec 2011 16:52:46 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <63C61366D5D745588E069510909C22B9@XPS> References: <4EF4E519.5030106@colbyconsulting.com> <63C61366D5D745588E069510909C22B9@XPS> Message-ID: <4EF4F82E.8010903@colbyconsulting.com> OK, thanks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 3:58 PM, Jim Dettman wrote: > > Until the control is updated, you need to grab the value in the buffer with > the .Text property. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, December 23, 2011 03:31 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] textbox value is null > > I am trying to use the value of a text box I am typing into to create a > string in another text box. > IOW I type 'a' in txt1 and txt2 is set to 'C:\Access\a\'. The C:\Access > is a constant directory > location and I am inserting 'C:\Access\'& txtA.Value& '\' into txtB. > > However txtA.Value is NULL! until I move out of the text box (after update) > so the string I am > building looks like 'C:\Access\\' since a null is being inserted between the > 'C:\Access\' and the > '\'. I thought I was going to use txtA.OnKeyDown etc. No dice. I never > really knew about this > behavior and don't quite know how to work around it. > > Any thoughts? > From vbacreations at gmail.com Fri Dec 23 21:42:48 2011 From: vbacreations at gmail.com (William Benson) Date: Fri, 23 Dec 2011 22:42:48 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: Ok good article ... seems to have been written before ac2010 but I am certainly willing to believe that VBA does no better job of these things than it ever did. THAT SAID... my hope (and trust) is that the Excel interface and its functions would do a better job with calculations. Wherever possible I try to use the worksheet to do as much work as possible. Is that a mistake? I would hate to think I really need to be adding such tedious Udfs to formulas just to get accurate results ?? On Dec 23, 2011 11:06 AM, "Salakhetdinov Shamil" wrote: > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Dec 23 23:45:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 00:45:51 -0500 Subject: [AccessD] Further to libraries Message-ID: <4EF5670F.2050505@colbyconsulting.com> Libraries solve a problem of making fixes and enhancements in one location. They create another problem which is having to test all the applications that use the library to ensure that they all work with the libs before releasing the libs for general use. The reality is that software is so complex that a problem may be found even after "the tests" which may mean backing out the lib (or the app). One way of dealing with that is to have a directory with all of the files required to run the app including the libs. When any of the required files is updated, zip up all of the files and replace whatever files. If a problem is found down the road, unzip all of the files to be back at the previous state. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From vbacreations at gmail.com Sat Dec 24 01:29:03 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 02:29:03 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: I guess even the brief time the application is visible between SET MYACCESS = NEW ACCESS.APPLICATION MYACCESS.VISIBLE = FALSE is not acceptable? On Dec 23, 2011 3:21 AM, "jwcolby" wrote: > I have written a small app that allows me to define an access application > and the file(s) that make it up, and a destination directory to copy it to. > A shortcut opens the access CopyAndExecute.mdb and passes in a command > line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a normal Access application which can be seen > until the target FE is up and running and CopyAndExecute closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From stuart at lexacorp.com.pg Sat Dec 24 03:46:04 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 24 Dec 2011 19:46:04 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF4395B.3010207@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> Message-ID: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 06:39:55 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sat, 24 Dec 2011 07:39:55 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> Message-ID: <001d01ccc239$244b2290$6ce167b0$@gmail.com> But that shortcut... how do you execute it from code, which I think was the original plan?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 24, 2011 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy and execute from Access You need two steps: 1. Hide on Startup. You can call the following function from an Autoexec macro: Option Compare Database Option Explicit Const SW_HIDE = 0 Const SW_NORMAL = 1 Const SW_MINIMIZED = 2 Const SW_MAXIMIZED = 3 Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Function Startup() As Long Call ShowWindow(hWndAccessApp, SW_HIDE) End Function By itself, that shows a flash of Access as it opens. Tou get rid of that flash, create a shortcut to the Access application, set it's "Run:" property to Minimized. Open your application via the shortcut and you shouldn't see a thing. -- Stuart On 23 Dec 2011 at 3:18, jwcolby wrote: > I have written a small app that allows me to define an access application and the file(s) that make > it up, and a destination directory to copy it to. A shortcut opens the access CopyAndExecute.mdb > and passes in a command line argument which is looked up in a table. The recordset opened then > defines what files to copy, the source and destination, the FE to execute, and then opens that app. > > It all is working now however I would like CopyAndExecute to open invisible. ATM it opens as a > normal Access application which can be seen until the target FE is up and running and CopyAndExecute > closes. > > Is there a way to cause Access to open invisible? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Dec 24 09:31:24 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:31:24 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Mark Round is and has always been buggy. It is not the same as it will never fit a purpose but for serious use it is not reliable. >From that site (from the link) you can run the test for any custom rounding function. As noted - and (still) to the surprise for many - the only function of VB(A) and Access Basic (version 2.0) too - that performs correct 4/5 rounding is Format. All the Cxxx converter functions perform Banker's Rounding which is not "wrong", just not "clean" 4/5 rounding as you learned in school. /gustav >>> marksimms at verizon.net 23-12-2011 14:27 >>> Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. Are you sure MSFT did not "fix" Round in later versions ? So bottomline: VBA side....Format and Round produce difference results ? > Hint: The only native function of VB(A) that handles 4/5 rounding > correctly is Format. It is, however, not very fast so if speed is a > concern you have to run a custom function. And no, the VB(A) function > Round is not the answer to any serious task: > > > /gustav From gustav at cactus.dk Sat Dec 24 09:35:46 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:35:46 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi Shamil Well, that article is more about the normal precautions to take when dealing with floating point numbers more than rounding issues. It is with rounding as with many other tasks that many methods exist and no one is wrong. It all depends. /gustav >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> Hi Mark, Gustav at all -- > Are you sure MSFT did not "fix" Round in later versions ? They didn't. > So bottomline: VBA side....Format and Round produce difference results Yes, the do. Access 2010: ?round(2.5) 2 ?format(2.5, "0") 3 Proper rounding in VBA is a long story originated here: http://www.fmsinc.com/tpapers/math/index.html or even earlier... Thank you. -- Shamil 23 ??????? 2011, 17:29 ?? "Mark Simms" : > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > So bottomline: VBA side....Format and Round produce difference results ? > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > correctly is Format. It is, however, not very fast so if speed is a > > concern you have to run a custom function. And no, the VB(A) function > > Round is not the answer to any serious task: > > > > > > /gustav From gustav at cactus.dk Sat Dec 24 09:40:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 24 Dec 2011 16:40:42 +0100 Subject: [AccessD] OT: Merry Christmas Message-ID: Hi all On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. Thanks to all! /gustav From vbacreations at gmail.com Sat Dec 24 09:39:13 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 10:39:13 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: Message-ID: I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil > > 23 ??????? 2011, 17:29 ?? "Mark Simms" : > > Thanks Gustav. Once again, we've got versions 2003, 2007, 2010. > > So bottomline: VBA side....Format and Round produce difference results ? > > > > > Hint: The only native function of VB(A) that handles 4/5 rounding > > > correctly is Format. It is, however, not very fast so if speed is a > > > concern you have to run a custom function. And no, the VB(A) function > > > Round is not the answer to any serious task: > > > > > > > > > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 24 11:43:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 12:43:59 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little more > review. I opened the EIasT.mdb with a breakpoint to allow stepping thru the > code. In the problem data base, the queries and forms - up to the problem > form - are all exported as text as expected. After the error, the code > stops > on a STOP statement, as it should. If I step through, it continues with the > next procedure in code and does Import the text that was previously > exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to perform > this operation. Close unneeded programs and try the operation again". Seems > the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database and > all was well. It did build a directory and saved all queries, forms, > reports > and nodules (I don't have any macros), It did import all the text. It does > Compact and Repair. And the database , original and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I especially > like the line numbers in the vba. I take it that is based on your use of > FMC > utilities. The progress bars are a nice feature - seems there are lots of > people trying to build these based on forums I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Sat Dec 24 11:58:38 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 24 Dec 2011 11:58:38 -0600 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: References: Message-ID: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Hi William, I have a version of this that I made for myself. It works on all objects except tables. I can email a copy to you offline if you'd like. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, December 24, 2011 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - further review I am missing the original message where this EIasT.mdb was described / offered. Reading this message leaves me curious. May I ask someone to send me this link offlist? On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > Dan, > > > > Further to my (off list) note from late last night, I did a little > more review. I opened the EIasT.mdb with a breakpoint to allow > stepping thru the code. In the problem data base, the queries and > forms - up to the problem form - are all exported as text as expected. > After the error, the code stops on a STOP statement, as it should. If > I step through, it continues with the next procedure in code and does > Import the text that was previously exported. > > > > It seems I have a corrupted Form and that its source can not be retrieved. > I > did not find any resolution to the "there isn't enough memory to > perform this operation. Close unneeded programs and try the operation > again". Seems the consensus is to rebuild the form involved. > > > > So from an EIasT view, I did use the utility against another database > and all was well. It did build a directory and saved all queries, > forms, reports and nodules (I don't have any macros), It did import > all the text. It does Compact and Repair. And the database , original > and rebuilt are available. > Good stuuf. > > > > I'm impressed with your code. No wasted code; very concise. I > especially like the line numbers in the vba. I take it that is based > on your use of FMC utilities. The progress bars are a nice feature - > seems there are lots of people trying to build these based on forums > I've seen. > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > Perhaps it should be made available at databaseadvisors as a utility. > > > > Jack > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sat Dec 24 12:01:18 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 13:01:18 -0500 Subject: [AccessD] EatBloat latest version?? availability --- EIasT - further review In-Reply-To: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> References: <001501ccc265$a9f78c40$fde6a4c0$@comcast.net> Message-ID: For sure! THANKS IN ADVANCE. On Dec 24, 2011 1:00 PM, "Dan Waters" wrote: > Hi William, > > I have a version of this that I made for myself. It works on all objects > except tables. > > I can email a copy to you offline if you'd like. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Saturday, December 24, 2011 11:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] EatBloat latest version?? availability --- EIasT - > further review > > I am missing the original message where this EIasT.mdb was described / > offered. Reading this message leaves me curious. May I ask someone to send > me this link offlist? > On Nov 19, 2011 9:13 AM, "Jack and Pat" wrote: > > > Dan, > > > > > > > > Further to my (off list) note from late last night, I did a little > > more review. I opened the EIasT.mdb with a breakpoint to allow > > stepping thru the code. In the problem data base, the queries and > > forms - up to the problem form - are all exported as text as expected. > > After the error, the code stops on a STOP statement, as it should. If > > I step through, it continues with the next procedure in code and does > > Import the text that was previously exported. > > > > > > > > It seems I have a corrupted Form and that its source can not be > retrieved. > > I > > did not find any resolution to the "there isn't enough memory to > > perform this operation. Close unneeded programs and try the operation > > again". Seems the consensus is to rebuild the form involved. > > > > > > > > So from an EIasT view, I did use the utility against another database > > and all was well. It did build a directory and saved all queries, > > forms, reports and nodules (I don't have any macros), It did import > > all the text. It does Compact and Repair. And the database , original > > and rebuilt are available. > > Good stuuf. > > > > > > > > I'm impressed with your code. No wasted code; very concise. I > > especially like the line numbers in the vba. I take it that is based > > on your use of FMC utilities. The progress bars are a nice feature - > > seems there are lots of people trying to build these based on forums > > I've seen. > > > > > > > > Again, thanks for responding quickly, and thanks for the EIasT code. > > Perhaps it should be made available at databaseadvisors as a utility. > > > > > > > > Jack > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Dec 24 13:53:02 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 14:53:02 -0500 Subject: [AccessD] My Excel project...you won't believe this one In-Reply-To: References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> Message-ID: <004801ccc275$a5cbc9a0$f1635ce0$@net> Thanks to all who responded...fascinating story of a software behemoth that just doesn't care. I don't want to hear the BS that they couldn't fix it because it would something. Total BS. Just an excuse not to fix. > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html From hans.andersen at phulse.com Sat Dec 24 14:10:45 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 24 Dec 2011 12:10:45 -0800 Subject: [AccessD] OT: Merry Christmas In-Reply-To: References: Message-ID: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Glaedelig jul og godt tub'aar. ;) - Hans On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > Hi all > > On this evening - Merry Christmas to all after another year with a lot of learning experiences and input at this list (and its sister lists) which still stands out from all the other fora you and I join. > Thanks to all! > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Dec 24 14:45:22 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 25 Dec 2011 06:45:22 +1000 Subject: [AccessD] Copy and execute from Access In-Reply-To: <001d01ccc239$244b2290$6ce167b0$@gmail.com> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> Message-ID: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the CopyExecute flash up on screen. My solution does that. On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > But that shortcut... how do you execute it from code, which I think was the > original plan?? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, December 24, 2011 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy and execute from Access > > You need two steps: > > 1. Hide on Startup. You can call the following function from an Autoexec > macro: > Option Compare Database > Option Explicit > Const SW_HIDE = 0 > Const SW_NORMAL = 1 > Const SW_MINIMIZED = 2 > Const SW_MAXIMIZED = 3 > > Private Declare Function ShowWindow Lib "user32" _ > (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long > > Function Startup() As Long > Call ShowWindow(hWndAccessApp, SW_HIDE) > End Function > > By itself, that shows a flash of Access as it opens. Tou get rid of that > flash, create a shortcut > to the Access application, set it's "Run:" property to Minimized. Open > your application via > the shortcut and you shouldn't see a thing. > > -- > Stuart > > > On 23 Dec 2011 at 3:18, jwcolby wrote: > > > I have written a small app that allows me to define an access application > and the file(s) that make > > it up, and a destination directory to copy it to. A shortcut opens the > access CopyAndExecute.mdb > > and passes in a command line argument which is looked up in a table. The > recordset opened then > > defines what files to copy, the source and destination, the FE to execute, > and then opens that app. > > > > It all is working now however I would like CopyAndExecute to open > invisible. ATM it opens as a > > normal Access application which can be seen until the target FE is up and > running and CopyAndExecute > > closes. > > > > Is there a way to cause Access to open invisible? > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 24 15:30:27 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:30:27 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64473.3000305@colbyconsulting.com> Right you are Stuart. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From jwcolby at colbyconsulting.com Sat Dec 24 15:41:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Dec 2011 16:41:53 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> References: <4EF4395B.3010207@colbyconsulting.com>, <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg>, <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> Message-ID: <4EF64721.9080009@colbyconsulting.com> That worked perfectly Stuart. I set the shortcut visible attribute to false and then set the Run Minimized attribute and I never even see the CopyAndRun open. I now have a splash form that opens to say "be patient" and off we go. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > As I understood it, JC wanted to open his CopyExecute via a Shortcut and not have the > CopyExecute flash up on screen. My solution does that. > > > On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: > >> But that shortcut... how do you execute it from code, which I think was the >> original plan?? >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan >> Sent: Saturday, December 24, 2011 4:46 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Copy and execute from Access >> >> You need two steps: >> >> 1. Hide on Startup. You can call the following function from an Autoexec >> macro: >> Option Compare Database >> Option Explicit >> Const SW_HIDE = 0 >> Const SW_NORMAL = 1 >> Const SW_MINIMIZED = 2 >> Const SW_MAXIMIZED = 3 >> >> Private Declare Function ShowWindow Lib "user32" _ >> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >> >> Function Startup() As Long >> Call ShowWindow(hWndAccessApp, SW_HIDE) >> End Function >> >> By itself, that shows a flash of Access as it opens. Tou get rid of that >> flash, create a shortcut >> to the Access application, set it's "Run:" property to Minimized. Open >> your application via >> the shortcut and you shouldn't see a thing. >> >> -- >> Stuart >> >> >> On 23 Dec 2011 at 3:18, jwcolby wrote: >> >>> I have written a small app that allows me to define an access application >> and the file(s) that make >>> it up, and a destination directory to copy it to. A shortcut opens the >> access CopyAndExecute.mdb >>> and passes in a command line argument which is looked up in a table. The >> recordset opened then >>> defines what files to copy, the source and destination, the FE to execute, >> and then opens that app. >>> >>> It all is working now however I would like CopyAndExecute to open >> invisible. ATM it opens as a >>> normal Access application which can be seen until the target FE is up and >> running and CopyAndExecute >>> closes. >>> >>> Is there a way to cause Access to open invisible? >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From vbacreations at gmail.com Sat Dec 24 15:49:37 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:49:37 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF64721.9080009@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I am asking how do you run a shortcut in code. Isn't john doing this with vba? TIA for answering my question so I can follow along. On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > That worked perfectly Stuart. I set the shortcut visible attribute to > false and then set the Run Minimized attribute and I never even see the > CopyAndRun open. I now have a splash form that opens to say "be patient" > and off we go. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 3:45 PM, Stuart McLachlan wrote: > >> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >> not have the >> CopyExecute flash up on screen. My solution does that. >> >> >> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >> >> But that shortcut... how do you execute it from code, which I think was >>> the >>> original plan?? >>> -----Original Message----- >>> From: accessd-bounces@**databaseadvisors.com >>> [mailto:accessd-bounces@**databaseadvisors.com] >>> On Behalf Of Stuart McLachlan >>> Sent: Saturday, December 24, 2011 4:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Copy and execute from Access >>> >>> You need two steps: >>> >>> 1. Hide on Startup. You can call the following function from an Autoexec >>> macro: >>> Option Compare Database >>> Option Explicit >>> Const SW_HIDE = 0 >>> Const SW_NORMAL = 1 >>> Const SW_MINIMIZED = 2 >>> Const SW_MAXIMIZED = 3 >>> >>> Private Declare Function ShowWindow Lib "user32" _ >>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>> >>> Function Startup() As Long >>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>> End Function >>> >>> By itself, that shows a flash of Access as it opens. Tou get rid of that >>> flash, create a shortcut >>> to the Access application, set it's "Run:" property to Minimized. Open >>> your application via >>> the shortcut and you shouldn't see a thing. >>> >>> -- >>> Stuart >>> >>> >>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>> >>> I have written a small app that allows me to define an access >>>> application >>>> >>> and the file(s) that make >>> >>>> it up, and a destination directory to copy it to. A shortcut opens the >>>> >>> access CopyAndExecute.mdb >>> >>>> and passes in a command line argument which is looked up in a table. >>>> The >>>> >>> recordset opened then >>> >>>> defines what files to copy, the source and destination, the FE to >>>> execute, >>>> >>> and then opens that app. >>> >>>> >>>> It all is working now however I would like CopyAndExecute to open >>>> >>> invisible. ATM it opens as a >>> >>>> normal Access application which can be seen until the target FE is up >>>> and >>>> >>> running and CopyAndExecute >>> >>>> closes. >>>> >>>> Is there a way to cause Access to open invisible? >>>> >>>> -- >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.**com >>> >>> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From vbacreations at gmail.com Sat Dec 24 15:58:44 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 24 Dec 2011 16:58:44 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: I guess I am connecting the wrong dots... when john said "I have written a small app that allows.... I thought his app calls something else via a shortcut. He wrote "A shortcut opens the copyandexecute.mdb..." so i thought this was the first thing his app did. I didnt realize he meant "I use a shortcut to launch my app which is named CopyandExecute.mdb" MY FAULT.pay me no mind. On Dec 24, 2011 4:49 PM, "William Benson" wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/24/2011 3:45 PM, Stuart McLachlan wrote: >> >>> As I understood it, JC wanted to open his CopyExecute via a Shortcut and >>> not have the >>> CopyExecute flash up on screen. My solution does that. >>> >>> >>> On 24 Dec 2011 at 7:39, William Benson (VBACreations. wrote: >>> >>> But that shortcut... how do you execute it from code, which I think was >>>> the >>>> original plan?? >>>> -----Original Message----- >>>> From: accessd-bounces@**databaseadvisors.com >>>> [mailto:accessd-bounces@**databaseadvisors.com] >>>> On Behalf Of Stuart McLachlan >>>> Sent: Saturday, December 24, 2011 4:46 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Copy and execute from Access >>>> >>>> You need two steps: >>>> >>>> 1. Hide on Startup. You can call the following function from an Autoexec >>>> macro: >>>> Option Compare Database >>>> Option Explicit >>>> Const SW_HIDE = 0 >>>> Const SW_NORMAL = 1 >>>> Const SW_MINIMIZED = 2 >>>> Const SW_MAXIMIZED = 3 >>>> >>>> Private Declare Function ShowWindow Lib "user32" _ >>>> (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long >>>> >>>> Function Startup() As Long >>>> Call ShowWindow(hWndAccessApp, SW_HIDE) >>>> End Function >>>> >>>> By itself, that shows a flash of Access as it opens. Tou get rid of >>>> that >>>> flash, create a shortcut >>>> to the Access application, set it's "Run:" property to Minimized. >>>> Open >>>> your application via >>>> the shortcut and you shouldn't see a thing. >>>> >>>> -- >>>> Stuart >>>> >>>> >>>> On 23 Dec 2011 at 3:18, jwcolby wrote: >>>> >>>> I have written a small app that allows me to define an access >>>>> application >>>>> >>>> and the file(s) that make >>>> >>>>> it up, and a destination directory to copy it to. A shortcut opens the >>>>> >>>> access CopyAndExecute.mdb >>>> >>>>> and passes in a command line argument which is looked up in a table. >>>>> The >>>>> >>>> recordset opened then >>>> >>>>> defines what files to copy, the source and destination, the FE to >>>>> execute, >>>>> >>>> and then opens that app. >>>> >>>>> >>>>> It all is working now however I would like CopyAndExecute to open >>>>> >>>> invisible. ATM it opens as a >>>> >>>>> normal Access application which can be seen until the target FE is up >>>>> and >>>>> >>>> running and CopyAndExecute >>>> >>>>> closes. >>>>> >>>>> Is there a way to cause Access to open invisible? >>>>> >>>>> -- >>>>> John W. Colby >>>>> Colby Consulting >>>>> >>>>> Reality is what refuses to go away >>>>> when you do not believe in it >>>>> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.**com >>>>> >>>>> >>>> >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.**com >>>> >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> 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 Sat Dec 24 17:26:50 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 24 Dec 2011 18:26:50 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <004801ccc275$a5cbc9a0$f1635ce0$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> Message-ID: <000c01ccc293$83bd8b00$8b38a100$@net> Correction in CAPS: I don't want to hear the BS that they couldn't fix it because it would BREAK something. Merry Christmas AccessD members ! From gustav at cactus.dk Sun Dec 25 05:24:40 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 25 Dec 2011 12:24:40 +0100 Subject: [AccessD] My Excel project...you won't believe this one Message-ID: Hi William We can't disagree on that. I work mostly with accounting systems and routines related to that where correct and predictable rounding is a high priority area. The issue is that all the Cxx converter functions and Round too perform Banker's Rounding. This is not wrong, only different from what most people expect because very little is told about it. The Int and Fix functions work correctly too and also much more as people expect them to do. What is missing is a function that clearly and correctly performs a true 4/5 rounding as we learned in school, and very few expect the "secret" Format to be that only function which does that. What messes up the picture further, is that Round is buggy as the test function from the link I posted shows. /gustav >>> vbacreations at gmail.com 24-12-2011 16:39 >>> I disagree Gustav (and I don't like to disagree with you! Especially at Christmas time :) Any time you cannot guarantee a reliable result by your methods.... and are not knowledgable or willing to inform your users under what conditions they can expect results to be proper or improper... that is wrong. On Dec 24, 2011 10:31 AM, "Gustav Brock" wrote: > Hi Shamil > > Well, that article is more about the normal precautions to take when > dealing with floating point numbers more than rounding issues. > > It is with rounding as with many other tasks that many methods exist and > no one is wrong. It all depends. > > /gustav > > > >>> mcp2004 at mail.ru 23-12-2011 17:05 >>> > Hi Mark, Gustav at all -- > > > Are you sure MSFT did not "fix" Round in later versions ? > They didn't. > > > So bottomline: VBA side....Format and Round produce difference results > Yes, the do. > > Access 2010: > > ?round(2.5) > 2 > ?format(2.5, "0") > 3 > > Proper rounding in VBA is a long story originated here: > > http://www.fmsinc.com/tpapers/math/index.html > > or even earlier... > > Thank you. > > -- Shamil From jwcolby at colbyconsulting.com Sun Dec 25 08:44:10 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Dec 2011 09:44:10 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> Message-ID: <4EF736BA.1070505@colbyconsulting.com> William, What I am trying to do is have a shortcut open a program and keep it invisible. That program copies a bunch of files, then opens a second program, whereupon the first program shuts down. The shortcut properties invisible / minimized cause the first program to never appear. The first program puts up a "working, be patient" splash screen while it is opening the second program. Stuart's suggestion was to use the invisible / minimized properties of the shortcut to cause the first program to not ever even be visible, which is what I was after. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/24/2011 4:49 PM, William Benson wrote: > I am asking how do you run a shortcut in code. Isn't john doing this with > vba? > > TIA for answering my question so I can follow along. > On Dec 24, 2011 4:44 PM, "jwcolby" wrote: > >> That worked perfectly Stuart. I set the shortcut visible attribute to >> false and then set the Run Minimized attribute and I never even see the >> CopyAndRun open. I now have a splash form that opens to say "be patient" >> and off we go. >> >> John W. Colby >> Colby Consulting From rockysmolin at bchacc.com Sun Dec 25 12:10:44 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 10:10:44 -0800 Subject: [AccessD] Odd Form Behavior Message-ID: <42452AC49FFE4219B2805935A87BE633@HAL9007> Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From vbacreations at gmail.com Sun Dec 25 16:10:43 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 17:10:43 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <004901ccc352$0c5a2270$250e6750$@gmail.com> Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 16:45:20 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 14:45:20 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <65B284E7EE1C4E56B7897C75635B070C@HAL9007> William: *** In line. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? *** Yes Is the table, that the form is bound to, located in the same database? *** No - back end Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? *** Tried that but no - same behavior Would it navigate fine if you removed all form module code? *** YES!!! SO now the old binary search to find out which it the offending module, I guess. Merry Christmas. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 16:50:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 08:50:06 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <42452AC49FFE4219B2805935A87BE633@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> Message-ID: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 17:24:21 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:24:21 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 17:42:04 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 18:42:04 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <4EF7A89E.14809.388875D3@stuart.lexacorp.com.pg> Message-ID: <004d01ccc35e$cf3d6070$6db82150$@gmail.com> I think of all the questions I asked, only the one about VBA code was worth worrying about. I had misread another post online which had to do with back-end freezing (this seems more like a front end issue). Anyway, here was what I read: http://bytes.com/topic/access/answers/828312-access-back-end-sometimes-freez es -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior No luck there. Actually it was behaving badly before I put the save and on dirty events in. Gotta start deleting code and see what fixes it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 25, 2011 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Form Behavior It sounds like it is going into a loop because you are trying to do another save during a save. What happens if you get rid of the OnDirty event and change the Save button event to: If Me.Dirty Then Me.Dirty = False -- Stuart On 25 Dec 2011 at 10:10, Rocky Smolin wrote: > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Dec 25 17:56:42 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 15:56:42 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004901ccc352$0c5a2270$250e6750$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> Message-ID: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 18:52:27 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 25 Dec 2011 19:52:27 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> Message-ID: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 25 19:02:03 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 26 Dec 2011 11:02:03 +1000 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007>, <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007>, <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: <4EF7C78B.19649.39014499@stuart.lexacorp.com.pg> Define "best". It depends on the needs of the application and what your users are used to. Generally, my users understand and like the fact that changes to a record are "autosaved". If I don't want that behaviour, I give them a read-only form - what's the point of changing data if you don't want the changes saved? -- Stuart On 25 Dec 2011 at 19:52, William Benson (VBACreations. wrote: > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) > If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the > record but the navigation buttons are still not functional and I can't go to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the same > results. > > I would prefer not to use the save on the dirty event because I have an undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Dec 25 19:06:12 2011 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 25 Dec 2011 17:06:12 -0800 Subject: [AccessD] Odd Form Behavior In-Reply-To: <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com><86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I've done it both ways. I've put Save buttons on the bound form and trapped it when they try to move to a new record with a message "The record has changed since you last saved it. Save it now?". Then, if no, Me.Undo. Kind of depends on the user. And the nature of the data. In this case the data is fairly static, they have an Undo button, and they learn pretty quickly that changes are permanent unless they click the Undo. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 4:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Out of curiosity Rocky (or anyone really)... is it best to allow Access to save changes the user has made without requiring them to click a Save button... just because they navigate off a record? I don't often use bound forms, so I pretty much always have a Save button, but I notice that with bound forms the changes are made just by moving off the record, unless you rest in the Before_Update event, as I illustrate in a simplified snippet below. Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> vbYes Then Cancel = True Else TimeStamp= Now() LastModifiedBy = environ("UserName") End If End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 6:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Well that didn't take long. Found the offending module pretty quickly. Actually it was an offending programmer - I was updating the last modified date in the AfterUpdate event instead of the BeforeUpdate event. Changed to BeforeUpdate and everybody's happy (especially the programmer). Thanks for the lead. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Sunday, December 25, 2011 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Odd Form Behavior Rocky Is it a multiuser database? Is the table, that the form is bound to, located in the same database? Would it change if you bound the form to a query which pulls the fields from that table instead of the table itself? Would it navigate fine if you removed all form module code? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, December 25, 2011 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Odd Form Behavior Dear List: I have a form in an Access 2003 app exhibiting some odd behavior. The form is bound to one table. When anything on the form is changed, the form seems to lock - that is, you cannot move to another record using the navigation buttons. Before making a change, the navigation buttons work. I put a 'Save' button on the form with the one line in the click event DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run Time Error 2501 - The RunCommand action was canceled.' If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves the record but the navigation buttons are still not functional and I can't go to design view. Further, clicking 'View' and 'Design View' does not work at this point. I have to click the 'Exit' command button on the form or File-->Close. If I use the close button of the form I get a message "You can't save this record at this time." although the record was saved because I added 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. To eliminate the possibility that my installation of Access on this machine got hosed, I moves the app and back end to a second machine and got the same results. I would prefer not to use the save on the dirty event because I have an undo button that the user likes. But I think if someone can lead me a solution of the navigation button thing, this will solve the save problem. Any ideas? I'm stumped. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Dec 25 21:15:42 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 25 Dec 2011 22:15:42 -0500 Subject: [AccessD] Odd Form Behavior In-Reply-To: References: <42452AC49FFE4219B2805935A87BE633@HAL9007> <004901ccc352$0c5a2270$250e6750$@gmail.com> <86124B5B4FFF4CE29FC9CF4FD04C47CB@HAL9007> <004e01ccc368$a4508fe0$ecf1afa0$@gmail.com> Message-ID: I would take the approach to prompt that if they continue they will lose unsaved changes. If they say cancel then they cancel the move, if they say ok then do the me.undo. I would never erase the users work just because they didn't want to save unless they agreed they wanted to DISCARD. Same way GMAIL will work with this email. If I press my BACK key I will be asked if I want to discard these changes. If I say cancel I am back to my edits. GOOGLE is more concerned with the bigger risk... losing unsaved changes... than performing my BACK command. On Dec 25, 2011 8:07 PM, "Rocky Smolin" wrote: > I've done it both ways. I've put Save buttons on the bound form and > trapped > it when they try to move to a new record with a message "The record has > changed since you last saved it. Save it now?". Then, if no, Me.Undo. > > Kind of depends on the user. And the nature of the data. > > In this case the data is fairly static, they have an Undo button, and they > learn pretty quickly that changes are permanent unless they click the Undo. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 4:52 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Out of curiosity Rocky (or anyone really)... is it best to allow Access to > save changes the user has made without requiring them to click a Save > button... just because they navigate off a record? I don't often use bound > forms, so I pretty much always have a Save button, but I notice that with > bound forms the changes are made just by moving off the record, unless you > rest in the Before_Update event, as I illustrate in a simplified snippet > below. > > Private Sub Form_BeforeUpdate(Cancel As Integer) If Dirty Then > If MsgBox("Save changes?", vbYesNo, "Upda the table with your change?") <> > vbYes Then > Cancel = True > Else > TimeStamp= Now() > LastModifiedBy = environ("UserName") > End If > End If > End Sub > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 6:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Well that didn't take long. Found the offending module pretty quickly. > Actually it was an offending programmer - I was updating the last modified > date in the AfterUpdate event instead of the BeforeUpdate event. Changed > to > BeforeUpdate and everybody's happy (especially the programmer). > > Thanks for the lead. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Sunday, December 25, 2011 2:11 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Odd Form Behavior > > Rocky > Is it a multiuser database? > Is the table, that the form is bound to, located in the same database? > Would it change if you bound the form to a query which pulls the fields > from > that table instead of the table itself? > Would it navigate fine if you removed all form module code? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Sunday, December 25, 2011 1:11 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Odd Form Behavior > > Dear List: > > I have a form in an Access 2003 app exhibiting some odd behavior. The form > is bound to one table. When anything on the form is changed, the form > seems > to lock - that is, you cannot move to another record using the navigation > buttons. Before making a change, the navigation buttons work. > > I put a 'Save' button on the form with the one line in the click event > DoCmd.RunCommand acCmdSaveRecord which generates the unhelpful error 'Run > Time Error 2501 - The RunCommand action was canceled.' > > If I put 'DoCmd.RunCommand acCmdSaveRecord' in the dirty event, it saves > the > record but the navigation buttons are still not functional and I can't go > to > design view. > > Further, clicking 'View' and 'Design View' does not work at this point. I > have to click the 'Exit' command button on the form or File-->Close. If I > use the close button of the form I get a message "You can't save this > record > at this time." although the record was saved because I added > 'DoCmd.RunCommand acCmdSaveRecord' to the dirty event. > > To eliminate the possibility that my installation of Access on this machine > got hosed, I moves the app and back end to a second machine and got the > same > results. > > I would prefer not to use the save on the dirty event because I have an > undo > button that the user likes. But I think if someone can lead me a solution > of the navigation button thing, this will solve the save problem. > > Any ideas? I'm stumped. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue Dec 27 08:54:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 09:54:16 -0500 Subject: [AccessD] OT: Merry Christmas In-Reply-To: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> References: <24A6411E-585B-4848-86BB-415F617B3AD6@phulse.com> Message-ID: Merry Christmas, a tad late (I've been sick) and Happy New Year to all. Arthur On Sat, Dec 24, 2011 at 3:10 PM, Hans-Christian Andersen < hans.andersen at phulse.com> wrote: > > Glaedelig jul og godt tub'aar. ;) > > - Hans > > > > On 2011-12-24, at 7:40 AM, Gustav Brock wrote: > > > Hi all > > > > On this evening - Merry Christmas to all after another year with a lot > of learning experiences and input at this list (and its sister lists) which > still stands out from all the other fora you and I join. > > Thanks to all! > > > > /gustav > > > > > From fuller.artful at gmail.com Tue Dec 27 11:01:16 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 27 Dec 2011 12:01:16 -0500 Subject: [AccessD] Copy and execute from Access In-Reply-To: <4EF736BA.1070505@colbyconsulting.com> References: <4EF4395B.3010207@colbyconsulting.com> <4EF59F5C.23521.30942FB6@stuart.lexacorp.com.pg> <001d01ccc239$244b2290$6ce167b0$@gmail.com> <4EF639E2.29536.32EFD42B@stuart.lexacorp.com.pg> <4EF64721.9080009@colbyconsulting.com> <4EF736BA.1070505@colbyconsulting.com> Message-ID: This thread would appear to me to be about a subject addressed by my good friend Dejan Sunderic, in his books about SQL Server, which contained a chapter about inheriting databases. At the time it was a very novel idea, even though at that time I was well-acquainted with O-O software. Building on Dejan's lead, I investigated remodeling the modeldb database, and including a number of oft-used databases, and this has worked even better than I expected. In SQL Server, the core model is called modeldb. What I ended up doing was creating several different versions of this db, with names such as modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each based on modeldb but adding the tables of interest, so that simply by renaming a couple of dbs and then issuing a Create New I had a whole bunch of the core tables (transactions and lookups) instantly installed and populated and ready to go. Perhaps not an ideal solution, but it has worked for me. When doing an Access db, I do it manually, importing tables and forms and queries from databases whose content is isolated (e.g. Geography.mdb, CustomersAndOrders.mdb, COA.mdb), but the key to making this work coherently is precisely named, consistent columns in all the dbs -- it is always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, SupplierID, etc., and that never changes; may not need all of them, but it's all predefined in the inheritable databases and it's always consistent; that's the big trick). I haven't automated this, as JC wants his solution to work. If I'm "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent upon me to remember to "inherit" all the tables and relevant queries and forms, and occasionally, modules. But force of habit causes few mistakes, and upon discovery of one, it's pretty easy to return and grab the missing object. Anyway, Happy New Year to everyone on this list! Arthur On Sun, Dec 25, 2011 at 9:44 AM, jwcolby wrote: > William, > > What I am trying to do is have a shortcut open a program and keep it > invisible. That program copies a bunch of files, then opens a second > program, whereupon the first program shuts down. > > The shortcut properties invisible / minimized cause the first program to > never appear. The first program puts up a "working, be patient" splash > screen while it is opening the second program. > > Stuart's suggestion was to use the invisible / minimized properties of the > shortcut to cause the first program to not ever even be visible, which is > what I was after. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/24/2011 4:49 PM, William Benson wrote: > >> I am asking how do you run a shortcut in code. Isn't john doing this with >> vba? >> >> TIA for answering my question so I can follow along. >> On Dec 24, 2011 4:44 PM, "jwcolby"> >> wrote: >> >> That worked perfectly Stuart. I set the shortcut visible attribute to >>> false and then set the Run Minimized attribute and I never even see the >>> CopyAndRun open. I now have a splash form that opens to say "be patient" >>> and off we go. >>> >>> John W. Colby >>> Colby Consulting >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From marksimms at verizon.net Tue Dec 27 11:22:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Tue, 27 Dec 2011 12:22:47 -0500 Subject: [AccessD] Merry Christmas AccessD Members ! In-Reply-To: <000c01ccc293$83bd8b00$8b38a100$@net> References: <004a01ccc176$a4ce31a0$ee6a94e0$@net> <004801ccc275$a5cbc9a0$f1635ce0$@net> <000c01ccc293$83bd8b00$8b38a100$@net> Message-ID: <007501ccc4bc$27c242c0$7746c840$@net> Art - lack of season greatings... I think it's been a "Bah Humbug" Christmas for Access and Excel developers. From mcp2004 at mail.ru Tue Dec 27 12:26:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 27 Dec 2011 22:26:05 +0400 Subject: [AccessD] =?utf-8?q?Copy_and_execute_from_Access?= In-Reply-To: References: <4EF736BA.1070505@colbyconsulting.com> <4EF4395B.3010207@colbyconsulting.com> Message-ID: > Anyway, Happy New Year to everyone on this list! Happy New Year Arthur and All! -- Shamil 27 ??????? 2011, 21:02 ?? Arthur Fuller : > This thread would appear to me to be about a subject addressed by my good > friend Dejan Sunderic, in his books about SQL Server, which contained a > chapter about inheriting databases. At the time it was a very novel idea, > even though at that time I was well-acquainted with O-O software. Building > on Dejan's lead, I investigated remodeling the modeldb database, and > including a number of oft-used databases, and this has worked even better > than I expected. > > In SQL Server, the core model is called modeldb. What I ended up doing was > creating several different versions of this db, with names such as > modeldb_OE (order entry), modeldb_COA (chart of accounts), etc. -- each > based on modeldb but adding the tables of interest, so that simply by > renaming a couple of dbs and then issuing a Create New I had a whole bunch > of the core tables (transactions and lookups) instantly installed and > populated and ready to go. > > Perhaps not an ideal solution, but it has worked for me. When doing an > Access db, I do it manually, importing tables and forms and queries from > databases whose content is isolated (e.g. Geography.mdb, > CustomersAndOrders.mdb, COA.mdb), but the key to making this work > coherently is precisely named, consistent columns in all the dbs -- it is > always called CustomerID, OrderID, OrderDetailsID, ProductID, CategoryID, > SupplierID, etc., and that never changes; may not need all of them, but > it's all predefined in the inheritable databases and it's always > consistent; that's the big trick). > > I haven't automated this, as JC wants his solution to work. If I'm > "inheriting" from one Access db, say "CustomersAndOrders", it's incumbent > upon me to remember to "inherit" all the tables and relevant queries and > forms, and occasionally, modules. But force of habit causes few mistakes, > and upon discovery of one, it's pretty easy to return and grab the missing > object. > > Anyway, Happy New Year to everyone on this list! > Arthur > <<< skipped >>> From jwcolby at colbyconsulting.com Tue Dec 27 20:54:41 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 27 Dec 2011 21:54:41 -0500 Subject: [AccessD] textbox value is null In-Reply-To: <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> References: <4EF4E519.5030106@colbyconsulting.com> <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg> Message-ID: <4EFA84F1.3090506@colbyconsulting.com> Yep, that works. I have gotten used to always using .Value which apparently is not valid till AfterUpdate. Thanks, John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > Try this: > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > End Sub > From stuart at lexacorp.com.pg Tue Dec 27 21:21:02 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 13:21:02 +1000 Subject: [AccessD] textbox value is null In-Reply-To: <4EFA84F1.3090506@colbyconsulting.com> References: <4EF4E519.5030106@colbyconsulting.com>, <4EF4EBD9.22828.2DD721A4@stuart.lexacorp.com.pg>, <4EFA84F1.3090506@colbyconsulting.com> Message-ID: <4EFA8B1E.27502.43CD6174@stuart.lexacorp.com.pg> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Dec 28 03:26:46 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 28 Dec 2011 10:26:46 +0100 Subject: [AccessD] textbox value is null Message-ID: Hi Stuart You may add that property Text is available only when the TextBox (or other type of control) has focus. /gustav >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> .Value is the underlying "value" of the textbox. It does not change during editing of the textbox. Only when the control loses focus. It can be a string, a number or a Null. .Text is the text string currently *displayed* contents of the textbox, it changes as the content of the textbox is edited. It is always a string. Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an empty string (that's why the sample code tests for an empty string, not a null.) -- Stuart On 27 Dec 2011 at 21:54, jwcolby wrote: > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > AfterUpdate. > > Thanks, > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > Try this: > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > End Sub From stuart at lexacorp.com.pg Wed Dec 28 03:49:40 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Dec 2011 19:49:40 +1000 Subject: [AccessD] textbox value is null In-Reply-To: References: Message-ID: <4EFAE634.18576.4531333B@stuart.lexacorp.com.pg> Good point. On 28 Dec 2011 at 10:26, Gustav Brock wrote: > Hi Stuart > > You may add that property Text is available only when the TextBox (or other type of control) has focus. > > /gustav > > > >>> stuart at lexacorp.com.pg 28-12-2011 04:21 >>> > .Value is the underlying "value" of the textbox. It does not change during editing of the > textbox. Only when the control loses focus. It can be a string, a number or a Null. > > .Text is the text string currently *displayed* contents of the textbox, it changes as the content > of the textbox is edited. It is always a string. > > Note that because .Text is a string, even if the underlying data is a Null, .Text is not - it is an > empty string (that's why the sample code tests for an empty string, not a null.) > > -- > Stuart > > > On 27 Dec 2011 at 21:54, jwcolby wrote: > > > Yep, that works. I have gotten used to always using .Value which apparently is not valid till > > AfterUpdate. > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 12/23/2011 4:00 PM, Stuart McLachlan wrote: > > > Try this: > > > > > > Private Sub txtA_KeyUp(KeyCode As Integer, Shift As Integer) > > > txtB = "C:\Access\"& txtA.Text& IIf(txtA.Text = "", "", "\") > > > End Sub > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Dec 28 08:50:15 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 09:50:15 -0500 Subject: [AccessD] Ya just gotta love it Message-ID: <4EFB2CA7.9080704@colbyconsulting.com> On my workstation at the client I have Access2K and AccessXP (2002) installed. Access 2002 is the one that opens if I just double click a database. I have written this CopyAndRun application for copying the FE and libs to the user's workstation and opening it. C&R uses office automation to open the file just copied. This is the code which actually opens the application just copied. Sub OpenApp(strFEToOpen As String) Dim appAccess As Access.Application ' Create new instance of Microsoft Access. Set appAccess = CreateObject("Access.Application") ' Open database in Microsoft Access window. appAccess.OpenCurrentDatabase strFEToOpen End Sub One of the users has Access2K SP1 installed, and when he uses C&R it does in fact open the target app but it is hidden, i.e. there is an Access process in Task Manager Processes but Access is not listed in Applications. So I try testing it with my system. I use a shortcut to Access 2K (which has SP3) to directly open C&R. I then click a test button which opens the target app. When it opens it is running under Access 2002. IOW even though the code above is running in Access 2K once the dust settles the target is running in Access XP. Not ideal for testing eh? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Wed Dec 28 09:07:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 10:07:08 -0500 Subject: [AccessD] Setting the program default application Message-ID: <4EFB309C.7070908@colbyconsulting.com> I thought that you could right click on an access database file, then Open with / Choose Program / Always use the selected program / browse / then find the program to use and select that and it would permanently modify the double click program used to open that file type. That is not happening, in fact even as I select Access2K and do the open it immediately uses AccessXP to perform the open. WTHO? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Chester_Kaup at kindermorgan.com Wed Dec 28 10:13:39 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:13:39 -0600 Subject: [AccessD] Calculation in query problem In-Reply-To: <00a101ccbf6d$04a75f40$0df61dc0$@net> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3519@houex1.kindermorgan.com> <00a101ccbf6d$04a75f40$0df61dc0$@net> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C39@houex1.kindermorgan.com> Thanks for the suggestion on how to write a better query. The extra records were caused by there being 11 records for each gas meter in the table GA_Details. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, December 20, 2011 5:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calculation in query problem Dunno...the Where clause was not being utilized properly for one thing. This will run much more efficiently.... I couldn't really pin-point the problem though. SELECT [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 AS Mcf, Sum([Volume]) * 1000 AS McfTest FROM (([tbl Produced Gas Meters] INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID = scada_Gas_Meter_Master.Meter_ID) INNER JOIN ([qry Last Gas Analysis Date] INNER JOIN (GA_Header INNER JOIN GA_Details ON GA_Header.ID = GA_Details.HEADER) ON ( [qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date ) AND ( [qry Last Gas Analysis Date].METER = GA_Header.METER )) ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname = scada_V_All_Meter_Volumes.Tagname WHERE (GA_Details.UNIT = "PCT" ) AND ([tbl Produced Gas Meters].Meter_ID ) = 362915) AND ( scada_V_All_Meter_Volumes.ReadingDate = #12 / 1 / 2011 # ) GROUP BY [tbl Produced Gas Meters].Meter_ID, scada_V_All_Meter_Volumes.ReadingDate, [Volume] * 1000 ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, December 20, 2011 1:58 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Calculation in query problem > > I have the following query > SELECT [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 AS Mcf, > Sum([Volume])*1000 AS McfTest > FROM (([tbl Produced Gas Meters] > INNER JOIN scada_Gas_Meter_Master ON [tbl Produced Gas Meters].Meter_ID > = scada_Gas_Meter_Master.Meter_ID) > INNER JOIN ([qry Last Gas Analysis Date] > INNER JOIN (GA_Header INNER JOIN GA_Details ON > GA_Header.ID = GA_Details.HEADER) ON > ([qry Last Gas Analysis Date].MaxOfSample_Date = GA_Header.Sample_Date) > AND ([qry Last Gas Analysis Date].METER = GA_Header.METER)) > ON [tbl Produced Gas Meters].[Meter_ID Text] = GA_Header.METER) > INNER JOIN scada_V_All_Meter_Volumes ON scada_Gas_Meter_Master.Tagname > = scada_V_All_Meter_Volumes.Tagname > WHERE (((GA_Details.UNIT)="PCT")) > GROUP BY [tbl Produced Gas Meters].Meter_ID, > scada_V_All_Meter_Volumes.ReadingDate, [Volume]*1000 > HAVING ((([tbl Produced Gas Meters].Meter_ID)=362915) > AND ((scada_V_All_Meter_Volumes.ReadingDate)=#12/1/2011#)) > ORDER BY scada_V_All_Meter_Volumes.ReadingDate; > > The expression [Volume]*1000 AS Mcf returns the value 18259.5043182373 > > The expression Sum([Volume])*1000 as McfTest returns 200854.54750061 > > I have a feeling I am missing something in the order of calculations as > done by Access. > > Any thoughts appreciated. > > 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 Chester_Kaup at kindermorgan.com Wed Dec 28 10:24:49 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 10:24:49 -0600 Subject: [AccessD] Iif satement problem in query Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 jedi at charm.net Wed Dec 28 11:50:31 2011 From: jedi at charm.net (Michael Bahr) Date: Wed, 28 Dec 2011 12:50:31 -0500 (EST) Subject: [AccessD] Setting the program default application In-Reply-To: <4EFB309C.7070908@colbyconsulting.com> References: <4EFB309C.7070908@colbyconsulting.com> Message-ID: <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> John, try Right-Click Properties | Change You should see the actual application that is being used. Here you can implicitly change to whatever app you want. Mike > I thought that you could right click on an access database file, then Open > with / Choose Program / > Always use the selected program / browse / then find the program to use > and select that and it would > permanently modify the double click program used to open that file type. > > That is not happening, in fact even as I select Access2K and do the open > it immediately uses > AccessXP to perform the open. > > WTHO? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Wed Dec 28 12:02:41 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 10:02:41 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: What is it that you want to return when the EndDate is not greater than RecordDate? this is what is in the else portion: Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] Think of an IIF as an IF Then Else: IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly Third Party Water]![RecordDate]) THEN Max([qry Monthly Third Party Water]![RecordDate]) Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 Dec 28 12:31:34 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 12:31:34 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C6F@houex1.kindermorgan.com> What I want return when the end date is less than the max date from the query is the max date that is less than the end date entered on the form. For example if the end date entered on the form is 6/13/2011 the if statement should return 5/31/2011. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, December 28, 2011 12:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Iif satement problem in query What is it that you want to return when the EndDate is not greater than RecordDate? this is what is in the else portion: Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] Think of an IIF as an IF Then Else: IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly Third Party Water]![RecordDate]) THEN Max([qry Monthly Third Party Water]![RecordDate]) Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate]), > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 Lambert.Heenan at chartisinsurance.com Wed Dec 28 12:42:46 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 28 Dec 2011 13:42:46 -0500 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. In short you convoluted you way into a bug. What you need is simply... IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) ... I think. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 28, 2011 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Iif satement problem in query I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 davidmcafee at gmail.com Wed Dec 28 13:17:13 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 11:17:13 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C6F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C6F@houex1.kindermorgan.com> Message-ID: The way I would do it (which isn't necessarily the correct way ;) ) would be to modify the query with left join pulling the previous date: Use that date in the False section: If(YourLogic, TrueStuff, [qry Monthly Third Party Water]![PrevMaxDate]) Another thing you could do (If in Access) is use a DMAX in the False section but this might be slower. On Wed, Dec 28, 2011 at 10:31 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > What I want return when the end date is less than the max date from the > query is the max date that is less than the end date entered on the form. > For example if the end date entered on the form is 6/13/2011 the if > statement should return 5/31/2011. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: Wednesday, December 28, 2011 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > What is it that you want to return when the EndDate is not greater than > RecordDate? > > this is what is in the else portion: > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report > Date Selector]![EndDate] > > > Think of an IIF as an IF Then Else: > > > IF [Forms]![frm Daily Report Date Selector]![EndDate]>Max([qry Monthly > Third Party Water]![RecordDate]) > THEN Max([qry Monthly Third Party Water]![RecordDate]) > Else Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate] > > > On Wed, Dec 28, 2011 at 8:24 AM, Kaup, Chester < > Chester_Kaup at kindermorgan.com> wrote: > > > I have the following if statement in a query. The first part of the query > > returns the correct date. The second part of the if statement returns > 12:00 > > for any date on the form less than the max date returned by the query. > What > > might I be doing wrong? > > > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> > > Max([qry Monthly Third Party Water]![RecordDate]), > > Max([qry Monthly Third Party Water]![RecordDate]), > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > > Report Date Selector]![EndDate]) > > > > Date returned by qry Monthly Third Party Water > > RecordDate Gas Plant Wagner Cogdell > > 1/31/2011 35400 2834 > > 2/28/2011 25900 2400 > > 3/31/2011 33452 2500 > > 4/30/2011 46503 2891 > > 5/31/2011 24402 3746 > > 6/30/2011 15324 3557 > > 7/31/2011 14154 3765 > > 8/31/2011 25074 3715 > > 9/30/2011 24041 3456 > > 10/31/2011 24725 3593 > > 11/30/2011 25000 3468 > > > > 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 Wed Dec 28 13:21:19 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 13:21:19 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> If there is a way to convoluted your way into a bug I can find it. Unfortunately your if statement does not quite get it either. If the ending date input on the form is greater than the last date returned by the query it works correctly but in the case where it is less than the last date returned by the query the result is not correct. What I need in that case is the largest date returned by the query that is less than the ending date entered on the form For example if 4/15/2011 is entered as the ending date the value returned by the query should be 3/31/2011. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, December 28, 2011 12:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Iif satement problem in query I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. In short you convoluted you way into a bug. What you need is simply... IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) ... I think. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 28, 2011 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Iif satement problem in query I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) Date returned by qry Monthly Third Party Water RecordDate Gas Plant Wagner Cogdell 1/31/2011 35400 2834 2/28/2011 25900 2400 3/31/2011 33452 2500 4/30/2011 46503 2891 5/31/2011 24402 3746 6/30/2011 15324 3557 7/31/2011 14154 3765 8/31/2011 25074 3715 9/30/2011 24041 3456 10/31/2011 24725 3593 11/30/2011 25000 3468 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 davidmcafee at gmail.com Wed Dec 28 13:52:31 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 28 Dec 2011 11:52:31 -0800 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: What happens if you put parenthesis around the false part? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), (Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![ frm Daily Report Date Selector]![EndDate])) I still believe you need a separate select for the false part. I just did something on a test table over here: SELECT * FROM tblRentalAction WHERE RentalID = 37913 Results: RentalActionID RentalID LocKeyID TranDate 110235 37913 1 2011-02-15 00:02:00.000 110276 37913 3 2011-02-28 00:00:00.000 114347 37913 8 2011-07-11 00:00:00.000 SELECT MaxDate, RentalID, Max(PrevDate) AS NextDate FROM ( SELECT A.*, B.PrevDate FROM ( SELECT Max(TranDate) AS MaxDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 GROUP BY RentalID ) A LEFT JOIN ( SELECT TOP 3(TranDate) AS PrevDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 ) B ON A.RentalID = B.RentalID AND A.MaxDate <> B.PrevDate ) C GROUP BY MaxDate, RentalID Results: MaxDate RentalID NextDate 2011-07-11 00:00:00.000 37913 2011-02-28 00:00:00.000 You could then use your IIF(Logic, TruePart, FalsePart) on that query. Not sure if it helps or further confuses you. :) David On Wed, Dec 28, 2011 at 11:21 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > If there is a way to convoluted your way into a bug I can find it. > Unfortunately your if statement does not quite get it either. If the ending > date input on the form is greater than the last date returned by the query > it works correctly but in the case where it is less than the last date > returned by the query the result is not correct. What I need in that case > is the largest date returned by the query that is less than the ending date > entered on the form For example if 4/15/2011 is entered as the ending date > the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns > 12:00 for any date on the form less than the max date returned by the > query" because what the second part of the iif statement is returning is > the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first > part of Iif is not true), the above Boolean expression always evaluates to > False, which equals zero, which is the date value 12:00. This is because > the query date cannot be less than the form date if the form date is > already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly > Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry > Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 jwcolby at colbyconsulting.com Wed Dec 28 14:20:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 15:20:35 -0500 Subject: [AccessD] but does it run... Message-ID: <4EFB7A13.8040003@colbyconsulting.com> http://www.raspberrypi.org/ They are apparently close to production. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From vbacreations at gmail.com Wed Dec 28 14:29:14 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 28 Dec 2011 15:29:14 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFB7A13.8040003@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> Message-ID: Gee..... "its power supply balls weren't connected to the system 1.8v supply. Sounds like something that violates the Geneva convention to me. On Dec 28, 2011 3:23 PM, "jwcolby" wrote: > > http://www.raspberrypi.org/ > > They are apparently close to production. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From jwcolby at colbyconsulting.com Wed Dec 28 14:31:29 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 15:31:29 -0500 Subject: [AccessD] Setting the program default application In-Reply-To: <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> References: <4EFB309C.7070908@colbyconsulting.com> <1165.24.35.110.201.1325094631.squirrel@mail.expedient.net> Message-ID: <4EFB7CA1.4040405@colbyconsulting.com> Yep, I tried that. It refused to "keep" the change. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/28/2011 12:50 PM, Michael Bahr wrote: > John, try Right-Click Properties | Change > > You should see the actual application that is being used. Here you can > implicitly change to whatever app you want. > > Mike > >> I thought that you could right click on an access database file, then Open >> with / Choose Program / >> Always use the selected program / browse / then find the program to use >> and select that and it would >> permanently modify the double click program used to open that file type. >> >> That is not happening, in fact even as I select Access2K and do the open >> it immediately uses >> AccessXP to perform the open. >> >> WTHO? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From markamatte at hotmail.com Wed Dec 28 14:44:18 2011 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 28 Dec 2011 20:44:18 +0000 Subject: [AccessD] Iif satement problem in query In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com>, , <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: Ok...I see now...you are trying to change the scope of the query in the iif. can you change the criteria on the query itself... to always be limited to the max(date) < Forms]![frm Daily Report Date Selector]![EndDate]... Or...maybe use a dlookup to get the date instead of an IIF? Mark A. Matte > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Date: Wed, 28 Dec 2011 13:21:19 -0600 > Subject: Re: [AccessD] Iif satement problem in query > > If there is a way to convoluted your way into a bug I can find it. Unfortunately your if statement does not quite get it either. If the ending date input on the form is greater than the last date returned by the query it works correctly but in the case where it is less than the last date returned by the query the result is not correct. What I need in that case is the largest date returned by the query that is less than the ending date entered on the form For example if 4/15/2011 is entered as the ending date the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 jwcolby at colbyconsulting.com Wed Dec 28 15:28:03 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Dec 2011 16:28:03 -0500 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com> Message-ID: <4EFB89E3.2000603@colbyconsulting.com> ROTFL. That is a method of torture used only in small labs in England. Very hush hush. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/28/2011 3:29 PM, William Benson wrote: > Gee..... "its power supply balls weren't connected to the system 1.8v > supply. > > Sounds like something that violates the Geneva convention to me. > On Dec 28, 2011 3:23 PM, "jwcolby" wrote: > >> >> http://www.raspberrypi.org/ >> >> They are apparently close to production. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> From stuart at lexacorp.com.pg Wed Dec 28 15:31:20 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 29 Dec 2011 07:31:20 +1000 Subject: [AccessD] Ya just gotta love it In-Reply-To: <4EFB2CA7.9080704@colbyconsulting.com> References: <4EFB2CA7.9080704@colbyconsulting.com> Message-ID: <4EFB8AA8.0.47B3A404@stuart.lexacorp.com.pg> Not ideal, but logical. If 2002 is the registry "default" for Access, that's what COM ( or whatever MS are calling it these days) will use when creating the appAccess object. -- Stuart On 28 Dec 2011 at 9:50, jwcolby wrote: > On my workstation at the client I have Access2K and AccessXP (2002) installed. Access 2002 is the > one that opens if I just double click a database. > ... > Dim appAccess As Access.Application ... > So I try testing it with my system. I use a shortcut to Access 2K (which has SP3) to directly open > C&R. I then click a test button which opens the target app. When it opens it is running under > Access 2002. IOW even though the code above is running in Access 2K once the dust settles the > target is running in Access XP. > > Not ideal for testing eh? > From Chester_Kaup at kindermorgan.com Wed Dec 28 16:54:30 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 16:54:30 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com>, , <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3CD2@houex1.kindermorgan.com> I ended up doing it in VBA. Much easier. Thanks for the assistance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 28, 2011 2:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iif satement problem in query Ok...I see now...you are trying to change the scope of the query in the iif. can you change the criteria on the query itself... to always be limited to the max(date) < Forms]![frm Daily Report Date Selector]![EndDate]... Or...maybe use a dlookup to get the date instead of an IIF? Mark A. Matte > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Date: Wed, 28 Dec 2011 13:21:19 -0600 > Subject: Re: [AccessD] Iif satement problem in query > > If there is a way to convoluted your way into a bug I can find it. Unfortunately your if statement does not quite get it either. If the ending date input on the form is greater than the last date returned by the query it works correctly but in the case where it is less than the last date returned by the query the result is not correct. What I need in that case is the largest date returned by the query that is less than the ending date entered on the form For example if 4/15/2011 is entered as the ending date the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query" because what the second part of the iif statement is returning is the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first part of Iif is not true), the above Boolean expression always evaluates to False, which equals zero, which is the date value 12:00. This is because the query date cannot be less than the form date if the form date is already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query returns the correct date. The second part of the if statement returns 12:00 for any date on the form less than the max date returned by the query. What might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 Chester_Kaup at kindermorgan.com Wed Dec 28 16:55:09 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 28 Dec 2011 16:55:09 -0600 Subject: [AccessD] Iif satement problem in query In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C3F@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3C88@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3CD4@houex1.kindermorgan.com> I ended up doing it in VBA. Much easier. Thanks for the assistance. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, December 28, 2011 1:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Iif satement problem in query What happens if you put parenthesis around the false part? Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party Water]![RecordDate]), (Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![ frm Daily Report Date Selector]![EndDate])) I still believe you need a separate select for the false part. I just did something on a test table over here: SELECT * FROM tblRentalAction WHERE RentalID = 37913 Results: RentalActionID RentalID LocKeyID TranDate 110235 37913 1 2011-02-15 00:02:00.000 110276 37913 3 2011-02-28 00:00:00.000 114347 37913 8 2011-07-11 00:00:00.000 SELECT MaxDate, RentalID, Max(PrevDate) AS NextDate FROM ( SELECT A.*, B.PrevDate FROM ( SELECT Max(TranDate) AS MaxDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 GROUP BY RentalID ) A LEFT JOIN ( SELECT TOP 3(TranDate) AS PrevDate, RentalID FROM tblRentalAction WHERE RentalID = 37913 ) B ON A.RentalID = B.RentalID AND A.MaxDate <> B.PrevDate ) C GROUP BY MaxDate, RentalID Results: MaxDate RentalID NextDate 2011-07-11 00:00:00.000 37913 2011-02-28 00:00:00.000 You could then use your IIF(Logic, TruePart, FalsePart) on that query. Not sure if it helps or further confuses you. :) David On Wed, Dec 28, 2011 at 11:21 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > If there is a way to convoluted your way into a bug I can find it. > Unfortunately your if statement does not quite get it either. If the ending > date input on the form is greater than the last date returned by the query > it works correctly but in the case where it is less than the last date > returned by the query the result is not correct. What I need in that case > is the largest date returned by the query that is less than the ending date > entered on the form For example if 4/15/2011 is entered as the ending date > the value returned by the query should be 3/31/2011. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, December 28, 2011 12:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Iif satement problem in query > > I think you will find that "The second part of the if statement returns > 12:00 for any date on the form less than the max date returned by the > query" because what the second part of the iif statement is returning is > the Boolean expression... > > Max([qry Monthly Third Party Water]![RecordDate])<[Forms]![frm Daily > Report Date Selector]![EndDate] > > As the form date is know to be less than or equal to the query date (first > part of Iif is not true), the above Boolean expression always evaluates to > False, which equals zero, which is the date value 12:00. This is because > the query date cannot be less than the form date if the form date is > already less than the query date. > > In short you convoluted you way into a bug. What you need is simply... > > IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry Monthly > Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]),[Forms]![frm Daily Report Date Selector]![EndDate]) > > ... I think. :-) > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, December 28, 2011 11:25 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Iif satement problem in query > > I have the following if statement in a query. The first part of the query > returns the correct date. The second part of the if statement returns 12:00 > for any date on the form less than the max date returned by the query. What > might I be doing wrong? > > Test: IIf([Forms]![frm Daily Report Date Selector]![EndDate]> Max([qry > Monthly Third Party Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate]), Max([qry Monthly Third Party > Water]![RecordDate])<[Forms]![frm Daily Report Date Selector]![EndDate]) > > Date returned by qry Monthly Third Party Water > RecordDate Gas Plant Wagner Cogdell > 1/31/2011 35400 2834 > 2/28/2011 25900 2400 > 3/31/2011 33452 2500 > 4/30/2011 46503 2891 > 5/31/2011 24402 3746 > 6/30/2011 15324 3557 > 7/31/2011 14154 3765 > 8/31/2011 25074 3715 > 9/30/2011 24041 3456 > 10/31/2011 24725 3593 > 11/30/2011 25000 3468 > > 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 joeo at appoli.com Wed Dec 28 17:43:17 2011 From: joeo at appoli.com (Joe O'Connell) Date: Wed, 28 Dec 2011 18:43:17 -0500 Subject: [AccessD] Learning new technologies Message-ID: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Does anyone have any experience with the training videos from LearnDevNow? They are running a special of only $99 for a full year of access to their entire library of over 3,000 videos. The deadline to subscribe is December 31. If these are good training videos, it seems like an inexpensive way to learn new technologies. The web site is http://www.learndevnow.com Joe O'Connell From vbacreations at gmail.com Wed Dec 28 20:48:59 2011 From: vbacreations at gmail.com (William Benson) Date: Wed, 28 Dec 2011 21:48:59 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: is Dec 31 2011 the deadline for the 2011 annual membership? If so, not really much of a bargain ;-) couldn't resist, hopefully you get more serious (experienced) answers. On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > Does anyone have any experience with the training videos from LearnDevNow? > They are running a special of only $99 for a full year of access to their > entire library of over 3,000 videos. The deadline to subscribe is December > 31. If these are good training videos, it seems like an inexpensive way to > learn new technologies. > > The web site is http://www.learndevnow.com > > Joe O'Connell > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From charlotte.foust at gmail.com Wed Dec 28 21:53:34 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 28 Dec 2011 19:53:34 -0800 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: No experience with them but experience with AppDev's CBT training, which was good. Hard to beat an instructor like Ken Getz, so that price for a year's subscription looks like a bargain to me. Charlotte Foust On Wed, Dec 28, 2011 at 6:48 PM, William Benson wrote: > is Dec 31 2011 the deadline for the 2011 annual membership? If so, not > really much of a bargain > > ;-) couldn't resist, hopefully you get more serious (experienced) answers. > > > > > On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > > > Does anyone have any experience with the training videos from > LearnDevNow? > > They are running a special of only $99 for a full year of access to > their > > entire library of over 3,000 videos. The deadline to subscribe is > December > > 31. If these are good training videos, it seems like an inexpensive way > to > > learn new technologies. > > > > The web site is http://www.learndevnow.com > > > > > > Joe O'Connell > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > *Regards,* > ** > ** > *Bill Benson* > *VBACreations* > ** > PS: You've gotten this e-mail *because you matter to me!* > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From vbacreations at gmail.com Wed Dec 28 22:55:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 28 Dec 2011 23:55:12 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: <008901ccc5e6$0cbe9bb0$263bd310$@gmail.com> I just watched 2 of the videos and I actually learned what both Silverlight and WPF are from the free vids. In addition, since I have never seen C# (only VB and VBA) I was always kind of afraid of it, but now I feel I could get going in that if I needed to. A few 30-40 minute intro videos don't make me a programmer ... but I feel a lot more knowledgeable about what I might be getting into if I chose to work in those languages / platforms or whatever the right word is. I would say the quality of the videos was very good. There's lots more than I will need or might have the time to learn, but I think I will bite for only $100. Thanks for the tip Joe. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Wednesday, December 28, 2011 6:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Learning new technologies Does anyone have any experience with the training videos from LearnDevNow? They are running a special of only $99 for a full year of access to their entire library of over 3,000 videos. The deadline to subscribe is December 31. If these are good training videos, it seems like an inexpensive way to learn new technologies. The web site is http://www.learndevnow.com Joe O'Connell -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Dec 29 12:55:41 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 12:55:41 (CET) Subject: [AccessD] query select in column Message-ID: <201112291155.pBTBtfMl007789@mailhostC.plex.net> Dear list. i have a table with patients. tblDialysis Pat OpenDate Code 1 01-01-2011 325 2 02-02-2011 325 2 03-03-2011 326 2 04-04-2011 327 3 05-05-2011 325 3 06-06-2011 326 4 07-07-2011 325 4 08-08-2011 327 5 09-09-2011 326 i need all records of patients who have a code 325 and 326 0r 325 and 327 result Pat OpenDate Code 2 02-02-2011 325 2 03-03-2011 326 2 04-04-2011 327 3 05-05-2011 325 3 06-06-2011 326 4 07-07-2011 325 4 08-08-2011 327 any idea's Pedro From vbacreations at gmail.com Thu Dec 29 06:53:46 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 29 Dec 2011 07:53:46 -0500 Subject: [AccessD] query select in column In-Reply-To: <201112291155.pBTBtfMl007789@mailhostC.plex.net> References: <201112291155.pBTBtfMl007789@mailhostC.plex.net> Message-ID: Join the table to a select query whose only criterion is code =25. Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner join (select distict pat from tbldialysis where code= 325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327) On Dec 29, 2011 6:59 AM, wrote: > Dear list. > > i have a table with patients. > > tblDialysis > > Pat OpenDate Code > 1 01-01-2011 325 > 2 02-02-2011 325 > 2 03-03-2011 326 > 2 04-04-2011 327 > 3 05-05-2011 325 > 3 06-06-2011 326 > 4 07-07-2011 325 > 4 08-08-2011 327 > 5 09-09-2011 326 > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > result > > Pat OpenDate Code > 2 02-02-2011 325 > 2 03-03-2011 326 > 2 04-04-2011 327 > 3 05-05-2011 325 > 3 06-06-2011 326 > 4 07-07-2011 325 > 4 08-08-2011 327 > > any idea's > > Pedro > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Dec 29 14:54:26 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 14:54:26 (CET) Subject: [AccessD] query select in column Message-ID: <201112291354.pBTDsQ36014718@mailhostC.plex.net> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro In antwoord op: > From: William Benson > To: Access Developers discussion and problem solving > Date: Thu, 29 Dec 2011 07:53:46 -0500 > Subject: Re: [AccessD] query select in column > > > Join the table to a select query whose only criterion is code =25. > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > join (select distict pat from tbldialysis where code= 325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > On Dec 29, 2011 6:59 AM, wrote: > > > Dear list. > > > > i have a table with patients. > > > > tblDialysis > > > > Pat OpenDate Code > > 1 01-01-2011 325 > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > 5 09-09-2011 326 > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > result > > > > Pat OpenDate Code > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > > > any idea's > > > > Pedro > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Dec 29 08:17:53 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Dec 2011 15:17:53 +0100 Subject: [AccessD] query select in column Message-ID: Hi Pedro Shouldn't last line read: tbl1.pat = tbl2.pat where tbl2.code in (326,327); /gustav >>> pedro at plex.nl 29-12-2011 14:54 >>> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro In antwoord op: > From: William Benson > To: Access Developers discussion and problem solving > Date: Thu, 29 Dec 2011 07:53:46 -0500 > Subject: Re: [AccessD] query select in column > > > Join the table to a select query whose only criterion is code =25. > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > join (select distict pat from tbldialysis where code= 325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > On Dec 29, 2011 6:59 AM, wrote: > > > Dear list. > > > > i have a table with patients. > > > > tblDialysis > > > > Pat OpenDate Code > > 1 01-01-2011 325 > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > 5 09-09-2011 326 > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > result > > > > Pat OpenDate Code > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > > > any idea's > > > > Pedro From tinanfields at torchlake.com Thu Dec 29 08:24:06 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 29 Dec 2011 09:24:06 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFB7A13.8040003@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> Message-ID: <4EFC7806.1060709@torchlake.com> I've been waiting. Production was supposed to be in mid-December 2011, if I recall correctly. Still waiting, patiently....umm, no, impatiently. I want one of those little things! T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/28/2011 3:20 PM, jwcolby wrote: > > http://www.raspberrypi.org/ > > They are apparently close to production. > From jwcolby at colbyconsulting.com Thu Dec 29 08:32:22 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 29 Dec 2011 09:32:22 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFC7806.1060709@torchlake.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> Message-ID: <4EFC79F6.5000902@colbyconsulting.com> >I want one of those little things! Me too! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/29/2011 9:24 AM, Tina Norris Fields wrote: > I've been waiting. Production was supposed to be in mid-December 2011, if I recall correctly. Still > waiting, patiently....umm, no, impatiently. I want one of those little things! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/28/2011 3:20 PM, jwcolby wrote: >> >> http://www.raspberrypi.org/ >> >> They are apparently close to production. >> From pedro at plex.nl Thu Dec 29 16:13:14 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 16:13:14 (CET) Subject: [AccessD] query select in column Message-ID: <201112291513.pBTFDEcv019497@mailhostC.plex.net> Hello Gustav, that's correct (to much on my mind at the end of the year) But no i only get as result the records with code 326 and 327). William mentioned: "Join the table to a select query whose only criterion is code =25" -- i tried this, but i still only have the records with code 326 and 327. What is wrong? (more and more on my mind!!) Pedro In antwoord op: > From: "Gustav Brock" > To: > Date: Thu, 29 Dec 2011 15:17:53 +0100 > Subject: Re: [AccessD] query select in column > > > Hi Pedro > > Shouldn't last line read: > > tbl1.pat = tbl2.pat where tbl2.code in (326,327); > > /gustav > > > >>> pedro at plex.nl 29-12-2011 14:54 >>> > Hello William, > > I made a second table with only the code=325 records in it. > But i get an syntax-error when using the query; > > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner > join (select distinct pat from tbldialysis where code=325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327); > > i can't figure out why (after correction of misspelled words? > > What am i doing wrong? > > Pedro > > > > > In antwoord op: > > > From: William Benson > > To: Access Developers discussion and problem solving > > Date: Thu, 29 Dec 2011 07:53:46 -0500 > > Subject: Re: [AccessD] query select in column > > > > > > Join the table to a select query whose only criterion is code =25. > > > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > > join (select distict pat from tbldialysis where code= 325) as tbl1 on > > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > > On Dec 29, 2011 6:59 AM, wrote: > > > > > Dear list. > > > > > > i have a table with patients. > > > > > > tblDialysis > > > > > > Pat OpenDate Code > > > 1 01-01-2011 325 > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > 5 09-09-2011 326 > > > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > > > > result > > > > > > Pat OpenDate Code > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > > > > any idea's > > > > > > Pedro > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From vbacreations at gmail.com Thu Dec 29 09:22:56 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 29 Dec 2011 10:22:56 -0500 Subject: [AccessD] query select in column In-Reply-To: References: Message-ID: <001501ccc63d$c1a60750$44f215f0$@gmail.com> Yep.. air code at 5AM while not having slept at night can do that to ya! Thanks Gustav. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 29, 2011 9:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] query select in column Hi Pedro Shouldn't last line read: tbl1.pat = tbl2.pat where tbl2.code in (326,327); /gustav >>> pedro at plex.nl 29-12-2011 14:54 >>> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro In antwoord op: > From: William Benson > To: Access Developers discussion and problem solving > Date: Thu, 29 Dec 2011 07:53:46 -0500 > Subject: Re: [AccessD] query select in column > > > Join the table to a select query whose only criterion is code =25. > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > join (select distict pat from tbldialysis where code= 325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > On Dec 29, 2011 6:59 AM, wrote: > > > Dear list. > > > > i have a table with patients. > > > > tblDialysis > > > > Pat OpenDate Code > > 1 01-01-2011 325 > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > 5 09-09-2011 326 > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > result > > > > Pat OpenDate Code > > 2 02-02-2011 325 > > 2 03-03-2011 326 > > 2 04-04-2011 327 > > 3 05-05-2011 325 > > 3 06-06-2011 326 > > 4 07-07-2011 325 > > 4 08-08-2011 327 > > > > any idea's > > > > Pedro -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Thu Dec 29 09:43:37 2011 From: df.waters at comcast.net (Dan Waters) Date: Thu, 29 Dec 2011 09:43:37 -0600 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> Message-ID: <002701ccc640$a1b65730$e5230590$@comcast.net> AppDev and LearnDevNow are the same company. Same physical address, and the same Ken Getz! I guess they're not hiding anything. $99/year is for only the online video streaming course. LearnDevNow's offer is for $99 for one year, AppDev is for $395 for one year. AppDev includes the on-line video, sample code, online courseware, and lab excercises. LearnDevNow costs $200 for one year for all of that. Funny situation, but that's what I'm reading! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, December 28, 2011 9:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Learning new technologies No experience with them but experience with AppDev's CBT training, which was good. Hard to beat an instructor like Ken Getz, so that price for a year's subscription looks like a bargain to me. Charlotte Foust On Wed, Dec 28, 2011 at 6:48 PM, William Benson wrote: > is Dec 31 2011 the deadline for the 2011 annual membership? If so, not > really much of a bargain > > ;-) couldn't resist, hopefully you get more serious (experienced) answers. > > > > > On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > > > Does anyone have any experience with the training videos from > LearnDevNow? > > They are running a special of only $99 for a full year of access to > their > > entire library of over 3,000 videos. The deadline to subscribe is > December > > 31. If these are good training videos, it seems like an inexpensive > > way > to > > learn new technologies. > > > > The web site is http://www.learndevnow.com > > > > > > Joe O'Connell > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > *Regards,* > ** > ** > *Bill Benson* > *VBACreations* > ** > PS: You've gotten this e-mail *because you matter to me!* > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Dec 29 09:49:42 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Dec 2011 16:49:42 +0100 Subject: [AccessD] query select in column Message-ID: Hi Pedro Perhaps a union query will do: Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code in (326,327) union all Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code in (326,327) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code=325; /gustav >>> pedro at plex.nl 29-12-2011 14:54 >>> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro From vbacreations at gmail.com Thu Dec 29 10:10:12 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 29 Dec 2011 11:10:12 -0500 Subject: [AccessD] query select in column In-Reply-To: <201112291513.pBTFDEcv019497@mailhostC.plex.net> References: <201112291513.pBTFDEcv019497@mailhostC.plex.net> Message-ID: <002401ccc644$596be220$0c43a660$@gmail.com> Well, I said 325 not 25. I could say that I thought you would figure out as an intellectual exercise that of course you will only get one record per date criteria (ie, 326 and 327)... But that would be arrogant, pedantic (and false!), I was in fact, just half-witted. Here gets them all. Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code in (326,327); union Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code in (326,327) ) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code =325 order by Pat, OpenDate -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Thursday, December 29, 2011 4:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] query select in column Hello Gustav, that's correct (to much on my mind at the end of the year) But no i only get as result the records with code 326 and 327). William mentioned: "Join the table to a select query whose only criterion is code =25" -- i tried this, but i still only have the records with code 326 and 327. What is wrong? (more and more on my mind!!) Pedro In antwoord op: > From: "Gustav Brock" > To: > Date: Thu, 29 Dec 2011 15:17:53 +0100 > Subject: Re: [AccessD] query select in column > > > Hi Pedro > > Shouldn't last line read: > > tbl1.pat = tbl2.pat where tbl2.code in (326,327); > > /gustav > > > >>> pedro at plex.nl 29-12-2011 14:54 >>> > Hello William, > > I made a second table with only the code=325 records in it. > But i get an syntax-error when using the query; > > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner > join (select distinct pat from tbldialysis where code=325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327); > > i can't figure out why (after correction of misspelled words? > > What am i doing wrong? > > Pedro > > > > > In antwoord op: > > > From: William Benson > > To: Access Developers discussion and problem solving > > Date: Thu, 29 Dec 2011 07:53:46 -0500 > > Subject: Re: [AccessD] query select in column > > > > > > Join the table to a select query whose only criterion is code =25. > > > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > > join (select distict pat from tbldialysis where code= 325) as tbl1 on > > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > > On Dec 29, 2011 6:59 AM, wrote: > > > > > Dear list. > > > > > > i have a table with patients. > > > > > > tblDialysis > > > > > > Pat OpenDate Code > > > 1 01-01-2011 325 > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > 5 09-09-2011 326 > > > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > > > > result > > > > > > Pat OpenDate Code > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > > > > any idea's > > > > > > Pedro > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 29 10:14:43 2011 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 29 Dec 2011 11:14:43 -0500 Subject: [AccessD] query select in column References: <201112291513.pBTFDEcv019497@mailhostC.plex.net> Message-ID: <002501ccc644$fa1815e0$ee4841a0$@gmail.com> Not "one record" per "date criteria" I meant one CODE per CODE criteria. Anyway, the wording was garbled but the point was the same, you wouldn't get any codes that you did not specify, and in the first criteria I was only asking for codes = 326 and 327, even though I was using an intermediate query where code = 325 to limit the records to search in. Thus I needed to add another query (pulling the code=325 records) which had the relationship you established... in order to build the complete story. I feel certain there must be a more efficient way to ask this in one query and not union two partials together but I am not smart / practiced enough. -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Thursday, December 29, 2011 11:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] query select in column Well, I said 325 not 25. I could say that I thought you would figure out as an intellectual exercise that of course you will only get one record per date criteria (ie, 326 and 327)... But that would be arrogant, pedantic (and false!), I was in fact, just half-witted. Here gets them all. Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code in (326,327); union Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code in (326,327) ) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code =325 order by Pat, OpenDate -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Thursday, December 29, 2011 4:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] query select in column Hello Gustav, that's correct (to much on my mind at the end of the year) But no i only get as result the records with code 326 and 327). William mentioned: "Join the table to a select query whose only criterion is code =25" -- i tried this, but i still only have the records with code 326 and 327. What is wrong? (more and more on my mind!!) Pedro In antwoord op: > From: "Gustav Brock" > To: > Date: Thu, 29 Dec 2011 15:17:53 +0100 > Subject: Re: [AccessD] query select in column > > > Hi Pedro > > Shouldn't last line read: > > tbl1.pat = tbl2.pat where tbl2.code in (326,327); > > /gustav > > > >>> pedro at plex.nl 29-12-2011 14:54 >>> > Hello William, > > I made a second table with only the code=325 records in it. > But i get an syntax-error when using the query; > > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner > join (select distinct pat from tbldialysis where code=325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327); > > i can't figure out why (after correction of misspelled words? > > What am i doing wrong? > > Pedro > > > > > In antwoord op: > > > From: William Benson > > To: Access Developers discussion and problem solving > > Date: Thu, 29 Dec 2011 07:53:46 -0500 > > Subject: Re: [AccessD] query select in column > > > > > > Join the table to a select query whose only criterion is code =25. > > > > Select tb2.pat , tbl2.opendate , tbl2.code from tbldialysis as tb2 inner > > join (select distict pat from tbldialysis where code= 325) as tbl1 on > > tbl1.pat = tbl2.pat and tbl2.code in (326,327) > > On Dec 29, 2011 6:59 AM, wrote: > > > > > Dear list. > > > > > > i have a table with patients. > > > > > > tblDialysis > > > > > > Pat OpenDate Code > > > 1 01-01-2011 325 > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > 5 09-09-2011 326 > > > > > > i need all records of patients who have a code 325 and 326 0r 325 and 327 > > > > > > > > > result > > > > > > Pat OpenDate Code > > > 2 02-02-2011 325 > > > 2 03-03-2011 326 > > > 2 04-04-2011 327 > > > 3 05-05-2011 325 > > > 3 06-06-2011 326 > > > 4 07-07-2011 325 > > > 4 08-08-2011 327 > > > > > > any idea's > > > > > > Pedro > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Dec 29 17:21:15 2011 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 29 Dec 2011 17:21:15 (CET) Subject: [AccessD] query select in column Message-ID: <201112291621.pBTGLFf7023563@mailhostC.plex.net> Hello Gustav, this gives me the result. Thanks. You saved my sql day again. Always good to know that i can fall back on accessd when i can't get the result that in want. Pedro In antwoord op: > From: "Gustav Brock" > To: > Date: Thu, 29 Dec 2011 16:49:42 +0100 > Subject: Re: [AccessD] query select in column > > > Hi Pedro > > Perhaps a union query will do: > > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 > inner join > (select distinct pat from tbldialysis where code=325) as tbl1 > on tbl1.pat = tbl2.pat > where tbl2.code in (326,327) > union all > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 > inner join > (select distinct pat from tbldialysis where code in (326,327) as tbl1 > on tbl1.pat = tbl2.pat > where tbl2.code=325; > > /gustav > > > >>> pedro at plex.nl 29-12-2011 14:54 >>> > Hello William, > > I made a second table with only the code=325 records in it. > But i get an syntax-error when using the query; > > Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner > join (select distinct pat from tbldialysis where code=325) as tbl1 on > tbl1.pat = tbl2.pat and tbl2.code in (326,327); > > i can't figure out why (after correction of misspelled words? > > What am i doing wrong? > > Pedro > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Thu Dec 29 10:25:26 2011 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Thu, 29 Dec 2011 09:25:26 -0700 Subject: [AccessD] query select in column Message-ID: <20111229092526.86c3debdd1c3983866efe200e2feb95f.47e39a8280.wbe@email18.secureserver.net> At this point I would do a temp table with a bit of code - start by creating a table of all PATs with at least oe 325 record, with extra yes/no fields for 326 and 327. Loop through the records noting 326 and 327 records for PATs already in the table. Rocky -------- Original Message -------- Subject: Re: [AccessD] query select in column From: "Gustav Brock" Date: Thu, December 29, 2011 8:49 am To: Hi Pedro Perhaps a union query will do: Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code in (326,327) union all Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code in (326,327) as tbl1 on tbl1.pat = tbl2.pat where tbl2.code=325; /gustav >>> pedro at plex.nl 29-12-2011 14:54 >>> Hello William, I made a second table with only the code=325 records in it. But i get an syntax-error when using the query; Select tbl2.pat, tbl2.opendate, tbl2.code from tbldialysis as tbl2 inner join (select distinct pat from tbldialysis where code=325) as tbl1 on tbl1.pat = tbl2.pat and tbl2.code in (326,327); i can't figure out why (after correction of misspelled words? What am i doing wrong? Pedro -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From listmaster at databaseadvisors.com Thu Dec 29 10:32:09 2011 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Thu, 29 Dec 2011 11:32:09 -0500 Subject: [AccessD] Administrivia - List Archives Message-ID: Hi Everyone, I just wanted to let you all know that the archives are back online after a lengthy delay. If you notice ANYTHING unusual about the archives, PLEASE let me know, listmaster at databaseadvisors.com or carbonnb at gmail.com. The search functionality should be up and running again very shortly too. I want to apologize for having the archives off-line for such a long time, but, unfortunately, life got in the way. :( I hope you all have a wonderful and prosperous New Year! -- Bryan Carbonnell - listmaster at databaseadvisors.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From andy at minstersystems.co.uk Thu Dec 29 10:39:06 2011 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 29 Dec 2011 16:39:06 -0000 Subject: [AccessD] Administrivia - List Archives In-Reply-To: Message-ID: Great, thanks as ever Bryan. Happy New Year to you too. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: 29 December 2011 16:32 To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - List Archives Hi Everyone, I just wanted to let you all know that the archives are back online after a lengthy delay. If you notice ANYTHING unusual about the archives, PLEASE let me know, listmaster at databaseadvisors.com or carbonnb at gmail.com. The search functionality should be up and running again very shortly too. I want to apologize for having the archives off-line for such a long time, but, unfortunately, life got in the way. :( I hope you all have a wonderful and prosperous New Year! -- Bryan Carbonnell - listmaster at databaseadvisors.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 29 10:59:58 2011 From: john at winhaven.net (John Bartow) Date: Thu, 29 Dec 2011 10:59:58 -0600 Subject: [AccessD] Administrivia - List Archives In-Reply-To: References: Message-ID: <016801ccc64b$4c3377b0$e49a6710$@winhaven.net> Thank you Bryan for all the work you put into this! John Bartow, President Database Advisors, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, December 29, 2011 10:32 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - List Archives Hi Everyone, I just wanted to let you all know that the archives are back online after a lengthy delay. If you notice ANYTHING unusual about the archives, PLEASE let me know, listmaster at databaseadvisors.com or carbonnb at gmail.com. The search functionality should be up and running again very shortly too. I want to apologize for having the archives off-line for such a long time, but, unfortunately, life got in the way. :( I hope you all have a wonderful and prosperous New Year! -- Bryan Carbonnell - listmaster at databaseadvisors.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu Dec 29 11:14:56 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 29 Dec 2011 12:14:56 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFC7806.1060709@torchlake.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> Message-ID: Help me understand .... what is it or at least why do you want it? On Dec 29, 2011 9:22 AM, "Tina Norris Fields" wrote: > I've been waiting. Production was supposed to be in mid-December 2011, if > I recall correctly. Still waiting, patiently....umm, no, impatiently. I > want one of those little things! > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/28/2011 3:20 PM, jwcolby wrote: > >> >> http://www.raspberrypi.org/ >> >> They are apparently close to production. >> >> -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From Chester_Kaup at kindermorgan.com Thu Dec 29 11:27:11 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Dec 2011 11:27:11 -0600 Subject: [AccessD] FindFirst Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From davidmcafee at gmail.com Thu Dec 29 11:30:13 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 29 Dec 2011 09:30:13 -0800 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> Message-ID: Thank you, I was just about to ask the same. A quick scan of the link shows a lot of "coming soon" but doesn't say what it is or what it does. On Thu, Dec 29, 2011 at 9:14 AM, William Benson wrote: > Help me understand .... what is it or at least why do you want it? > On Dec 29, 2011 9:22 AM, "Tina Norris Fields" > wrote: > > > I've been waiting. Production was supposed to be in mid-December 2011, > if > > I recall correctly. Still waiting, patiently....umm, no, impatiently. I > > want one of those little things! > > T > > > > Tina Norris Fields > > tinanfields at torchlake.com > > 231-322-2787 > > > > > > On 12/28/2011 3:20 PM, jwcolby wrote: > > > >> > >> http://www.raspberrypi.org/ > >> > >> They are apparently close to production. > >> > >> -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd< > http://databaseadvisors.com/mailman/listinfo/accessd> > > Website: http://www.databaseadvisors.**com< > 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 chartisinsurance.com Thu Dec 29 11:56:23 2011 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 29 Dec 2011 12:56:23 -0500 Subject: [AccessD] FindFirst In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> Message-ID: Chester, Your criteria string used by FindFirst is the problem. But first some comments about referencing fields in a recordset. There are several ways (i.e. several valid syntaxes) to reference a specific field in a recordset (which can point to a table or a query) 1/ By the ordinal value of the field, i.e. its position in the list of fields in the recordset. Your use of the expression "RS8.Fields(1)" is an example. It resolves to the value of the first field in the recordset. The big disadvantage of this syntax is that it is not "reader friendly". When reading the code you (or anyone else) would probably have to go back to the table/query to find out what Fields(1) actually is. 2/ By using the field name as an index to the fields collection of the recordset. e.g. RS8("SomeFieldName") This is more readable as the field name in the quotes tells you what data is being referenced. 3/ BY directly using the Recordset and field names. e.g. [RS8]![SomeFieldName] The square brackets are optional if the object names do not have spaces, but I always use them. I personally prefer to use method 3 as it is then possible in code blocks to use the With / End With construct, which allows you to skip the recordset name in multiple statements... With RS8 ![SomeFieldName] = AValue ![AnotherField] = AnotherValue .FindFirst "SomeOtherField=" & Avalue If Not .NoMatch Then ' We found it ' Do something End If ... Etc. End With So, returning to your question, how to use FindFirst. "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because it is literally saying: "find the first record where the field(1) value is equal to the literal string "RS9.Fields(1)", but you actually want to find the record where the *value* of RS8.Fields(1) is equal to the *value* of RS8.Fields(1). If you change the criteria string to this... RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Then it will work, providing Fields(1) is not a text or a date value. The above syntax works for other data types, but for TEXT you have to enclose the value you are searching for in quotes. Either a combination of single and double quotes like this... "RS8.Fields(1)='" & RS9.Fields(1) & "'" Or all double quotes like this.... "RS8.Fields(1)="""" & RS9.Fields(1) & """" Those are a little difficult to read, especially seeing "'" for what it is with a proportional font. So I use a little function to wrap the text in quotes... Function Quote(aString) As String Quote = """" & aString & """" End Function And using that I can then write... "RS8.Fields(1)=" & Quote(RS9.Fields(1)) Or my preferred syntax "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] Searching for date values is similar, but a different delimiter is used, the # sign. So if RS9.Field(1) was a date value, the search criteria would have to be "RS8.Fields(1)=#" & RS9.Fields(1) & "#" HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, December 29, 2011 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] FindFirst This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Dec 29 12:06:36 2011 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 29 Dec 2011 13:06:36 -0500 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com><4EFC7806.1060709@torchlake.com> Message-ID: <4EFCAC2C.9020504@torchlake.com> I want one because a pocket-sized computer like this for $25 is just too wonderful to pass up. I would use it for many things, but mostly for teaching people about using computers. http://www.wired.com/gadgetlab/2011/12/raspberry-pi-a-pocket-sized-1080p-capable-computer-for-25/ Best, T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 12/29/2011 12:30 PM, David McAfee wrote: > Thank you, I was just about to ask the same. > > A quick scan of the link shows a lot of "coming soon" but doesn't say what > it is or what it does. > > > > On Thu, Dec 29, 2011 at 9:14 AM, William Bensonwrote: > >> Help me understand .... what is it or at least why do you want it? >> On Dec 29, 2011 9:22 AM, "Tina Norris Fields" >> wrote: >> >>> I've been waiting. Production was supposed to be in mid-December 2011, >> if >>> I recall correctly. Still waiting, patiently....umm, no, impatiently. I >>> want one of those little things! >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 12/28/2011 3:20 PM, jwcolby wrote: >>> >>>> http://www.raspberrypi.org/ >>>> >>>> They are apparently close to production. >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd< >> http://databaseadvisors.com/mailman/listinfo/accessd> >>> Website: http://www.databaseadvisors.**com< >> 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 Dec 29 12:02:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 29 Dec 2011 13:02:51 -0500 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> Message-ID: <4EFCAB4B.2060901@colbyconsulting.com> It is an entire pc the size of a credit card and runs off of a few AA batteries. It runs an ARM processor and has enough graphics power to play a 1020p video, it has usb, a headphone jack, a network connector and video connectors. It runs Linux. I learned all of this from that web page. http://www.raspberrypi.org/sample-page http://www.raspberrypi.org http://www.raspberrypi.org/faqs John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/29/2011 12:30 PM, David McAfee wrote: > Thank you, I was just about to ask the same. > > A quick scan of the link shows a lot of "coming soon" but doesn't say what > it is or what it does. > > > > On Thu, Dec 29, 2011 at 9:14 AM, William Bensonwrote: > >> Help me understand .... what is it or at least why do you want it? >> On Dec 29, 2011 9:22 AM, "Tina Norris Fields" >> wrote: >> >>> I've been waiting. Production was supposed to be in mid-December 2011, >> if >>> I recall correctly. Still waiting, patiently....umm, no, impatiently. I >>> want one of those little things! >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 12/28/2011 3:20 PM, jwcolby wrote: >>> >>>> >>>> http://www.raspberrypi.org/ >>>> >>>> They are apparently close to production. >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/accessd< >> http://databaseadvisors.com/mailman/listinfo/accessd> >>> Website: http://www.databaseadvisors.**com< >> http://www.databaseadvisors.com> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From charlotte.foust at gmail.com Thu Dec 29 12:25:16 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 29 Dec 2011 10:25:16 -0800 Subject: [AccessD] Learning new technologies In-Reply-To: <002701ccc640$a1b65730$e5230590$@comcast.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> Message-ID: You read it the same way I did. I popped for the @ $200 to refresh my skills and learn the new stuff. Charlotte Foust On Thu, Dec 29, 2011 at 7:43 AM, Dan Waters wrote: > AppDev and LearnDevNow are the same company. Same physical address, and > the > same Ken Getz! I guess they're not hiding anything. > > $99/year is for only the online video streaming course. > > LearnDevNow's offer is for $99 for one year, AppDev is for $395 for one > year. AppDev includes the on-line video, sample code, online courseware, > and lab excercises. LearnDevNow costs $200 for one year for all of that. > > Funny situation, but that's what I'm reading! > > Dan > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, December 28, 2011 9:54 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Learning new technologies > > No experience with them but experience with AppDev's CBT training, which > was > good. Hard to beat an instructor like Ken Getz, so that price for a year's > subscription looks like a bargain to me. > > Charlotte Foust > > On Wed, Dec 28, 2011 at 6:48 PM, William Benson > wrote: > > > is Dec 31 2011 the deadline for the 2011 annual membership? If so, not > > really much of a bargain > > > > ;-) couldn't resist, hopefully you get more serious (experienced) > answers. > > > > > > > > > > On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > > > > > Does anyone have any experience with the training videos from > > LearnDevNow? > > > They are running a special of only $99 for a full year of access to > > their > > > entire library of over 3,000 videos. The deadline to subscribe is > > December > > > 31. If these are good training videos, it seems like an inexpensive > > > way > > to > > > learn new technologies. > > > > > > The web site is http://www.learndevnow.com > > > > > > > > > > > > Joe O'Connell > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > *Regards,* > > ** > > ** > > *Bill Benson* > > *VBACreations* > > ** > > PS: You've gotten this e-mail *because you matter to me!* > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marksimms at verizon.net Thu Dec 29 12:29:55 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 29 Dec 2011 13:29:55 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <002701ccc640$a1b65730$e5230590$@comcast.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> Message-ID: <00ca01ccc657$dd88db90$989a92b0$@net> Good stuff guys....and I love tech.....but is it worth the time and effort ? Whew, at recent MSFT technical sessions, I don't see anyone under the age of 40. No young people are getting into tech today. Quite a tell....and I've seen some IT salary offerings recently that border on the "appalling". > AppDev and LearnDevNow are the same company. Same physical address, > and the same Ken Getz! I guess they're not hiding anything. > > $99/year is for only the online video streaming course. > > LearnDevNow's offer is for $99 for one year, AppDev is for $395 for one > year. AppDev includes the on-line video, sample code, online > courseware, and lab excercises. LearnDevNow costs $200 for one year for all of > that. > > Funny situation, but that's what I'm reading! > Dan From joeo at appoli.com Thu Dec 29 12:40:54 2011 From: joeo at appoli.com (Joe O'Connell) Date: Thu, 29 Dec 2011 13:40:54 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net><002701ccc640$a1b65730$e5230590$@comcast.net> Message-ID: <1CF20DB644BE124083B31638E5D5C023C985EA@exch2.Onappsad.net> Charlotte, I did the same as you. It seems like a bargain for all the training resources that are available. Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 29, 2011 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Learning new technologies You read it the same way I did. I popped for the @ $200 to refresh my skills and learn the new stuff. Charlotte Foust On Thu, Dec 29, 2011 at 7:43 AM, Dan Waters wrote: > AppDev and LearnDevNow are the same company. Same physical address, > and the same Ken Getz! I guess they're not hiding anything. > > $99/year is for only the online video streaming course. > > LearnDevNow's offer is for $99 for one year, AppDev is for $395 for > one year. AppDev includes the on-line video, sample code, online > courseware, and lab excercises. LearnDevNow costs $200 for one year for all of that. > > Funny situation, but that's what I'm reading! > > Dan > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, December 28, 2011 9:54 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Learning new technologies > > No experience with them but experience with AppDev's CBT training, > which was good. Hard to beat an instructor like Ken Getz, so that > price for a year's subscription looks like a bargain to me. > > Charlotte Foust > > On Wed, Dec 28, 2011 at 6:48 PM, William Benson > wrote: > > > is Dec 31 2011 the deadline for the 2011 annual membership? If so, > > not really much of a bargain > > > > ;-) couldn't resist, hopefully you get more serious (experienced) > answers. > > > > > > > > > > On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell wrote: > > > > > Does anyone have any experience with the training videos from > > LearnDevNow? > > > They are running a special of only $99 for a full year of access > > > to > > their > > > entire library of over 3,000 videos. The deadline to subscribe is > > December > > > 31. If these are good training videos, it seems like an > > > inexpensive way > > to > > > learn new technologies. > > > > > > The web site is http://www.learndevnow.com > > > > > > > > > > > > Joe O'Connell > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > *Regards,* > > ** > > ** > > *Bill Benson* > > *VBACreations* > > ** > > PS: You've gotten this e-mail *because you matter to me!* > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 29 12:47:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 29 Dec 2011 10:47:25 -0800 Subject: [AccessD] FYI: Excel Web App hosted on SkyDrive... In-Reply-To: References: Message-ID: <5A08B281C2C04CA29EE530D3C73853F4@creativesystemdesigns.com> Thank you for that Shamil...it looks like I may have just the client for this. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Tuesday, December 13, 2011 9:11 AM To: Access Developers discussion and problem solving Subject: [AccessD] FYI: Excel Web App hosted on SkyDrive... Hi All, FYI: http://www.excelmashup.com/ Thank you. -- Shamil? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Dec 29 13:18:12 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Dec 2011 13:18:12 -0600 Subject: [AccessD] FindFirst In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> Thanks for taking the time to give me some really good info. I am still having trouble though. I get an Unknown Function Error on the line RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Both RS8.Fields(1) and RS9.Fields(1) are number fields I then tried the following. Meter1 and Meter2 are both dimmed as single Meter1 = RS8.Fields(1) Meter2 = RS9.Fields(1) RS8.FindFirst "Meter1=" & Meter2 This gives the error The Microsoft Access database engine does not recognize "Meter1" as a valid field name or expression. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 29, 2011 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Chester, Your criteria string used by FindFirst is the problem. But first some comments about referencing fields in a recordset. There are several ways (i.e. several valid syntaxes) to reference a specific field in a recordset (which can point to a table or a query) 1/ By the ordinal value of the field, i.e. its position in the list of fields in the recordset. Your use of the expression "RS8.Fields(1)" is an example. It resolves to the value of the first field in the recordset. The big disadvantage of this syntax is that it is not "reader friendly". When reading the code you (or anyone else) would probably have to go back to the table/query to find out what Fields(1) actually is. 2/ By using the field name as an index to the fields collection of the recordset. e.g. RS8("SomeFieldName") This is more readable as the field name in the quotes tells you what data is being referenced. 3/ BY directly using the Recordset and field names. e.g. [RS8]![SomeFieldName] The square brackets are optional if the object names do not have spaces, but I always use them. I personally prefer to use method 3 as it is then possible in code blocks to use the With / End With construct, which allows you to skip the recordset name in multiple statements... With RS8 ![SomeFieldName] = AValue ![AnotherField] = AnotherValue .FindFirst "SomeOtherField=" & Avalue If Not .NoMatch Then ' We found it ' Do something End If ... Etc. End With So, returning to your question, how to use FindFirst. "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because it is literally saying: "find the first record where the field(1) value is equal to the literal string "RS9.Fields(1)", but you actually want to find the record where the *value* of RS8.Fields(1) is equal to the *value* of RS8.Fields(1). If you change the criteria string to this... RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Then it will work, providing Fields(1) is not a text or a date value. The above syntax works for other data types, but for TEXT you have to enclose the value you are searching for in quotes. Either a combination of single and double quotes like this... "RS8.Fields(1)='" & RS9.Fields(1) & "'" Or all double quotes like this.... "RS8.Fields(1)="""" & RS9.Fields(1) & """" Those are a little difficult to read, especially seeing "'" for what it is with a proportional font. So I use a little function to wrap the text in quotes... Function Quote(aString) As String Quote = """" & aString & """" End Function And using that I can then write... "RS8.Fields(1)=" & Quote(RS9.Fields(1)) Or my preferred syntax "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] Searching for date values is similar, but a different delimiter is used, the # sign. So if RS9.Field(1) was a date value, the search criteria would have to be "RS8.Fields(1)=#" & RS9.Fields(1) & "#" HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, December 29, 2011 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] FindFirst This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Dec 29 13:28:26 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 29 Dec 2011 11:28:26 -0800 Subject: [AccessD] FindFirst In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> Message-ID: What is the field name of RS8.Fields(1)? If it's Meter1, then use RS8("Meter1") instead of the index. And what are you actually trying to match? Use an actual value for RS9.Fields(1), i.e., RS9("Meter2"). Just using a variable doesn't get rid of the indexed reference. And as was pointed out, you are trying to match All RS8 fields(1) to the value in the first record of RS9. Fields(1). Is that what you're trying to do? Charlotte Foust On Thu, Dec 29, 2011 at 11:18 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Thanks for taking the time to give me some really good info. I am still > having trouble though. I get an Unknown Function Error on the line > > RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) > > Both RS8.Fields(1) and RS9.Fields(1) are number fields > > I then tried the following. Meter1 and Meter2 are both dimmed as single > > Meter1 = RS8.Fields(1) > Meter2 = RS9.Fields(1) > RS8.FindFirst "Meter1=" & Meter2 > > This gives the error > The Microsoft Access database engine does not recognize "Meter1" as a > valid field name or expression. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Thursday, December 29, 2011 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FindFirst > > Chester, > > Your criteria string used by FindFirst is the problem. > > But first some comments about referencing fields in a recordset. > > There are several ways (i.e. several valid syntaxes) to reference a > specific field in a recordset (which can point to a table or a query) > > 1/ By the ordinal value of the field, i.e. its position in the list of > fields in the recordset. Your use of the expression "RS8.Fields(1)" is an > example. It resolves to the value of the first field in the recordset. The > big disadvantage of this syntax is that it is not "reader friendly". When > reading the code you (or anyone else) would probably have to go back to the > table/query to find out what Fields(1) actually is. > > 2/ By using the field name as an index to the fields collection of the > recordset. > e.g. RS8("SomeFieldName") > This is more readable as the field name in the quotes tells you what > data is being referenced. > > 3/ BY directly using the Recordset and field names. > e.g. [RS8]![SomeFieldName] > The square brackets are optional if the object names do not have spaces, > but I always use them. > > I personally prefer to use method 3 as it is then possible in code blocks > to use the With / End With construct, which allows you to skip the > recordset name in multiple statements... > > With RS8 > ![SomeFieldName] = AValue > ![AnotherField] = AnotherValue > .FindFirst "SomeOtherField=" & Avalue > If Not .NoMatch Then ' We found it > ' Do something > End If > ... Etc. > End With > > So, returning to your question, how to use FindFirst. > > "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because > it is literally saying: "find the first record where the field(1) value is > equal to the literal string "RS9.Fields(1)", but you actually want to find > the record where the *value* of RS8.Fields(1) is equal to the *value* of > RS8.Fields(1). > > If you change the criteria string to this... > > RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) > > Then it will work, providing Fields(1) is not a text or a date value. > > The above syntax works for other data types, but for TEXT you have to > enclose the value you are searching for in quotes. Either a combination of > single and double quotes like this... > > "RS8.Fields(1)='" & RS9.Fields(1) & "'" > > Or all double quotes like this.... > > "RS8.Fields(1)="""" & RS9.Fields(1) & """" > > Those are a little difficult to read, especially seeing "'" for what it is > with a proportional font. So I use a little function to wrap the text in > quotes... > > Function Quote(aString) As String > Quote = """" & aString & """" > End Function > > And using that I can then write... > > "RS8.Fields(1)=" & Quote(RS9.Fields(1)) > > Or my preferred syntax > > "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] > > Searching for date values is similar, but a different delimiter is used, > the # sign. So if RS9.Field(1) was a date value, the search criteria would > have to be > > "RS8.Fields(1)=#" & RS9.Fields(1) & "#" > > HTH > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Thursday, December 29, 2011 12:27 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] FindFirst > > This is my first try using this command and I need some help. Here is what > I have. Does it work only on tables? Thanks. > > Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") > > Set RS9 = MyDb.OpenRecordset(strSQL) > > RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Thu Dec 29 13:34:46 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 29 Dec 2011 11:34:46 -0800 Subject: [AccessD] Learning new technologies In-Reply-To: <00ca01ccc657$dd88db90$989a92b0$@net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> Message-ID: Depends on how badly you need a job I guess. It's actually easier for us to pick up this stuff because we have a frame of reference already. If I were starting out now, I'd switch to web programming and design, but as a confirmed dinosaur, I guess I'll try to freshen my skills. Charlotte Foust On Thu, Dec 29, 2011 at 10:29 AM, Mark Simms wrote: > Good stuff guys....and I love tech.....but is it worth the time and effort > ? > Whew, at recent MSFT technical sessions, I don't see anyone under the age > of > 40. > No young people are getting into tech today. Quite a tell....and I've seen > some IT salary offerings recently that border on the "appalling". > > > AppDev and LearnDevNow are the same company. Same physical address, > > and the same Ken Getz! I guess they're not hiding anything. > > > > $99/year is for only the online video streaming course. > > > > LearnDevNow's offer is for $99 for one year, AppDev is for $395 for one > > year. AppDev includes the on-line video, sample code, online > > courseware, and lab excercises. LearnDevNow costs $200 for one year for > all of > > that. > > > > Funny situation, but that's what I'm reading! > > Dan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From steve at datamanagementsolutions.biz Thu Dec 29 13:37:16 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 30 Dec 2011 08:37:16 +1300 Subject: [AccessD] FindFirst In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> Message-ID: <592B0B3D1CE441CEB7874E7AE8E8CCEB@stevelaptop> Hi Chester What is the name of the fields in these two recordsets? I feel it would be simpler if you could refer to them directly. For example, if the name of the field is Meter in both recordsets, then your code will be: RS8.FindFirst "Meter = " & RS9!Meter By the way, in addition to Lambert's comments, note that this construct is going to position you at the RS8 record where the value of the nominated field matches that of the *first* record in RS9. Is that what you are seeking? Regards Steve -----Original Message----- From: Kaup, Chester Sent: Friday, December 30, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Thanks for taking the time to give me some really good info. I am still having trouble though. I get an Unknown Function Error on the line RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Both RS8.Fields(1) and RS9.Fields(1) are number fields I then tried the following. Meter1 and Meter2 are both dimmed as single Meter1 = RS8.Fields(1) Meter2 = RS9.Fields(1) RS8.FindFirst "Meter1=" & Meter2 This gives the error The Microsoft Access database engine does not recognize "Meter1" as a valid field name or expression. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 29, 2011 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Chester, Your criteria string used by FindFirst is the problem. But first some comments about referencing fields in a recordset. There are several ways (i.e. several valid syntaxes) to reference a specific field in a recordset (which can point to a table or a query) 1/ By the ordinal value of the field, i.e. its position in the list of fields in the recordset. Your use of the expression "RS8.Fields(1)" is an example. It resolves to the value of the first field in the recordset. The big disadvantage of this syntax is that it is not "reader friendly". When reading the code you (or anyone else) would probably have to go back to the table/query to find out what Fields(1) actually is. 2/ By using the field name as an index to the fields collection of the recordset. e.g. RS8("SomeFieldName") This is more readable as the field name in the quotes tells you what data is being referenced. 3/ BY directly using the Recordset and field names. e.g. [RS8]![SomeFieldName] The square brackets are optional if the object names do not have spaces, but I always use them. I personally prefer to use method 3 as it is then possible in code blocks to use the With / End With construct, which allows you to skip the recordset name in multiple statements... With RS8 ![SomeFieldName] = AValue ![AnotherField] = AnotherValue .FindFirst "SomeOtherField=" & Avalue If Not .NoMatch Then ' We found it ' Do something End If ... Etc. End With So, returning to your question, how to use FindFirst. "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because it is literally saying: "find the first record where the field(1) value is equal to the literal string "RS9.Fields(1)", but you actually want to find the record where the *value* of RS8.Fields(1) is equal to the *value* of RS8.Fields(1). If you change the criteria string to this... RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Then it will work, providing Fields(1) is not a text or a date value. The above syntax works for other data types, but for TEXT you have to enclose the value you are searching for in quotes. Either a combination of single and double quotes like this... "RS8.Fields(1)='" & RS9.Fields(1) & "'" Or all double quotes like this.... "RS8.Fields(1)="""" & RS9.Fields(1) & """" Those are a little difficult to read, especially seeing "'" for what it is with a proportional font. So I use a little function to wrap the text in quotes... Function Quote(aString) As String Quote = """" & aString & """" End Function And using that I can then write... "RS8.Fields(1)=" & Quote(RS9.Fields(1)) Or my preferred syntax "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] Searching for date values is similar, but a different delimiter is used, the # sign. So if RS9.Field(1) was a date value, the search criteria would have to be "RS8.Fields(1)=#" & RS9.Fields(1) & "#" HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, December 29, 2011 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] FindFirst This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Dec 29 13:38:47 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Dec 2011 13:38:47 -0600 Subject: [AccessD] FindFirst In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DCA@houex1.kindermorgan.com> I am try to match the first record in RS8.Fields(1) the equals the current record in RS9.Fields(1) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 29, 2011 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst What is the field name of RS8.Fields(1)? If it's Meter1, then use RS8("Meter1") instead of the index. And what are you actually trying to match? Use an actual value for RS9.Fields(1), i.e., RS9("Meter2"). Just using a variable doesn't get rid of the indexed reference. And as was pointed out, you are trying to match All RS8 fields(1) to the value in the first record of RS9. Fields(1). Is that what you're trying to do? Charlotte Foust On Thu, Dec 29, 2011 at 11:18 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > Thanks for taking the time to give me some really good info. I am still > having trouble though. I get an Unknown Function Error on the line > > RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) > > Both RS8.Fields(1) and RS9.Fields(1) are number fields > > I then tried the following. Meter1 and Meter2 are both dimmed as single > > Meter1 = RS8.Fields(1) > Meter2 = RS9.Fields(1) > RS8.FindFirst "Meter1=" & Meter2 > > This gives the error > The Microsoft Access database engine does not recognize "Meter1" as a > valid field name or expression. > > Thanks for the help. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Thursday, December 29, 2011 11:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FindFirst > > Chester, > > Your criteria string used by FindFirst is the problem. > > But first some comments about referencing fields in a recordset. > > There are several ways (i.e. several valid syntaxes) to reference a > specific field in a recordset (which can point to a table or a query) > > 1/ By the ordinal value of the field, i.e. its position in the list of > fields in the recordset. Your use of the expression "RS8.Fields(1)" is an > example. It resolves to the value of the first field in the recordset. The > big disadvantage of this syntax is that it is not "reader friendly". When > reading the code you (or anyone else) would probably have to go back to the > table/query to find out what Fields(1) actually is. > > 2/ By using the field name as an index to the fields collection of the > recordset. > e.g. RS8("SomeFieldName") > This is more readable as the field name in the quotes tells you what > data is being referenced. > > 3/ BY directly using the Recordset and field names. > e.g. [RS8]![SomeFieldName] > The square brackets are optional if the object names do not have spaces, > but I always use them. > > I personally prefer to use method 3 as it is then possible in code blocks > to use the With / End With construct, which allows you to skip the > recordset name in multiple statements... > > With RS8 > ![SomeFieldName] = AValue > ![AnotherField] = AnotherValue > .FindFirst "SomeOtherField=" & Avalue > If Not .NoMatch Then ' We found it > ' Do something > End If > ... Etc. > End With > > So, returning to your question, how to use FindFirst. > > "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because > it is literally saying: "find the first record where the field(1) value is > equal to the literal string "RS9.Fields(1)", but you actually want to find > the record where the *value* of RS8.Fields(1) is equal to the *value* of > RS8.Fields(1). > > If you change the criteria string to this... > > RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) > > Then it will work, providing Fields(1) is not a text or a date value. > > The above syntax works for other data types, but for TEXT you have to > enclose the value you are searching for in quotes. Either a combination of > single and double quotes like this... > > "RS8.Fields(1)='" & RS9.Fields(1) & "'" > > Or all double quotes like this.... > > "RS8.Fields(1)="""" & RS9.Fields(1) & """" > > Those are a little difficult to read, especially seeing "'" for what it is > with a proportional font. So I use a little function to wrap the text in > quotes... > > Function Quote(aString) As String > Quote = """" & aString & """" > End Function > > And using that I can then write... > > "RS8.Fields(1)=" & Quote(RS9.Fields(1)) > > Or my preferred syntax > > "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] > > Searching for date values is similar, but a different delimiter is used, > the # sign. So if RS9.Field(1) was a date value, the search criteria would > have to be > > "RS8.Fields(1)=#" & RS9.Fields(1) & "#" > > HTH > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Thursday, December 29, 2011 12:27 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] FindFirst > > This is my first try using this command and I need some help. Here is what > I have. Does it work only on tables? Thanks. > > Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") > > Set RS9 = MyDb.OpenRecordset(strSQL) > > RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Dec 29 13:51:53 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Dec 2011 13:51:53 -0600 Subject: [AccessD] FindFirst In-Reply-To: <592B0B3D1CE441CEB7874E7AE8E8CCEB@stevelaptop> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com> <592B0B3D1CE441CEB7874E7AE8E8CCEB@stevelaptop> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DD5@houex1.kindermorgan.com> Using actual field names here is what it looks like RS8.FindFirst "[RS8]![Meter_Id]=" & [RS9]![Meter_Id] The goal is to find the first record in RS8 that matches the current record in RS9. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, December 29, 2011 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Hi Chester What is the name of the fields in these two recordsets? I feel it would be simpler if you could refer to them directly. For example, if the name of the field is Meter in both recordsets, then your code will be: RS8.FindFirst "Meter = " & RS9!Meter By the way, in addition to Lambert's comments, note that this construct is going to position you at the RS8 record where the value of the nominated field matches that of the *first* record in RS9. Is that what you are seeking? Regards Steve -----Original Message----- From: Kaup, Chester Sent: Friday, December 30, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Thanks for taking the time to give me some really good info. I am still having trouble though. I get an Unknown Function Error on the line RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Both RS8.Fields(1) and RS9.Fields(1) are number fields I then tried the following. Meter1 and Meter2 are both dimmed as single Meter1 = RS8.Fields(1) Meter2 = RS9.Fields(1) RS8.FindFirst "Meter1=" & Meter2 This gives the error The Microsoft Access database engine does not recognize "Meter1" as a valid field name or expression. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 29, 2011 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Chester, Your criteria string used by FindFirst is the problem. But first some comments about referencing fields in a recordset. There are several ways (i.e. several valid syntaxes) to reference a specific field in a recordset (which can point to a table or a query) 1/ By the ordinal value of the field, i.e. its position in the list of fields in the recordset. Your use of the expression "RS8.Fields(1)" is an example. It resolves to the value of the first field in the recordset. The big disadvantage of this syntax is that it is not "reader friendly". When reading the code you (or anyone else) would probably have to go back to the table/query to find out what Fields(1) actually is. 2/ By using the field name as an index to the fields collection of the recordset. e.g. RS8("SomeFieldName") This is more readable as the field name in the quotes tells you what data is being referenced. 3/ BY directly using the Recordset and field names. e.g. [RS8]![SomeFieldName] The square brackets are optional if the object names do not have spaces, but I always use them. I personally prefer to use method 3 as it is then possible in code blocks to use the With / End With construct, which allows you to skip the recordset name in multiple statements... With RS8 ![SomeFieldName] = AValue ![AnotherField] = AnotherValue .FindFirst "SomeOtherField=" & Avalue If Not .NoMatch Then ' We found it ' Do something End If ... Etc. End With So, returning to your question, how to use FindFirst. "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because it is literally saying: "find the first record where the field(1) value is equal to the literal string "RS9.Fields(1)", but you actually want to find the record where the *value* of RS8.Fields(1) is equal to the *value* of RS8.Fields(1). If you change the criteria string to this... RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Then it will work, providing Fields(1) is not a text or a date value. The above syntax works for other data types, but for TEXT you have to enclose the value you are searching for in quotes. Either a combination of single and double quotes like this... "RS8.Fields(1)='" & RS9.Fields(1) & "'" Or all double quotes like this.... "RS8.Fields(1)="""" & RS9.Fields(1) & """" Those are a little difficult to read, especially seeing "'" for what it is with a proportional font. So I use a little function to wrap the text in quotes... Function Quote(aString) As String Quote = """" & aString & """" End Function And using that I can then write... "RS8.Fields(1)=" & Quote(RS9.Fields(1)) Or my preferred syntax "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] Searching for date values is similar, but a different delimiter is used, the # sign. So if RS9.Field(1) was a date value, the search criteria would have to be "RS8.Fields(1)=#" & RS9.Fields(1) & "#" HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, December 29, 2011 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] FindFirst This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Dec 29 14:19:09 2011 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 30 Dec 2011 09:19:09 +1300 Subject: [AccessD] FindFirst In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DD5@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com><592B0B3D1CE441CEB7874E7AE8E8CCEB@stevelaptop> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DD5@houex1.kindermorgan.com> Message-ID: Hi Chester Ok. Drop the "[RS8]", and the brackets around RS9... RS8.FindFirst "[Meter_Id]=" & RS9![Meter_Id] Regards Steve -----Original Message----- From: Kaup, Chester Sent: Friday, December 30, 2011 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Using actual field names here is what it looks like RS8.FindFirst "[RS8]![Meter_Id]=" & [RS9]![Meter_Id] The goal is to find the first record in RS8 that matches the current record in RS9. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, December 29, 2011 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Hi Chester What is the name of the fields in these two recordsets? I feel it would be simpler if you could refer to them directly. For example, if the name of the field is Meter in both recordsets, then your code will be: RS8.FindFirst "Meter = " & RS9!Meter By the way, in addition to Lambert's comments, note that this construct is going to position you at the RS8 record where the value of the nominated field matches that of the *first* record in RS9. Is that what you are seeking? Regards Steve -----Original Message----- From: Kaup, Chester Sent: Friday, December 30, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Thanks for taking the time to give me some really good info. I am still having trouble though. I get an Unknown Function Error on the line RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Both RS8.Fields(1) and RS9.Fields(1) are number fields I then tried the following. Meter1 and Meter2 are both dimmed as single Meter1 = RS8.Fields(1) Meter2 = RS9.Fields(1) RS8.FindFirst "Meter1=" & Meter2 This gives the error The Microsoft Access database engine does not recognize "Meter1" as a valid field name or expression. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 29, 2011 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Chester, Your criteria string used by FindFirst is the problem. But first some comments about referencing fields in a recordset. There are several ways (i.e. several valid syntaxes) to reference a specific field in a recordset (which can point to a table or a query) 1/ By the ordinal value of the field, i.e. its position in the list of fields in the recordset. Your use of the expression "RS8.Fields(1)" is an example. It resolves to the value of the first field in the recordset. The big disadvantage of this syntax is that it is not "reader friendly". When reading the code you (or anyone else) would probably have to go back to the table/query to find out what Fields(1) actually is. 2/ By using the field name as an index to the fields collection of the recordset. e.g. RS8("SomeFieldName") This is more readable as the field name in the quotes tells you what data is being referenced. 3/ BY directly using the Recordset and field names. e.g. [RS8]![SomeFieldName] The square brackets are optional if the object names do not have spaces, but I always use them. I personally prefer to use method 3 as it is then possible in code blocks to use the With / End With construct, which allows you to skip the recordset name in multiple statements... With RS8 ![SomeFieldName] = AValue ![AnotherField] = AnotherValue .FindFirst "SomeOtherField=" & Avalue If Not .NoMatch Then ' We found it ' Do something End If ... Etc. End With So, returning to your question, how to use FindFirst. "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because it is literally saying: "find the first record where the field(1) value is equal to the literal string "RS9.Fields(1)", but you actually want to find the record where the *value* of RS8.Fields(1) is equal to the *value* of RS8.Fields(1). If you change the criteria string to this... RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Then it will work, providing Fields(1) is not a text or a date value. The above syntax works for other data types, but for TEXT you have to enclose the value you are searching for in quotes. Either a combination of single and double quotes like this... "RS8.Fields(1)='" & RS9.Fields(1) & "'" Or all double quotes like this.... "RS8.Fields(1)="""" & RS9.Fields(1) & """" Those are a little difficult to read, especially seeing "'" for what it is with a proportional font. So I use a little function to wrap the text in quotes... Function Quote(aString) As String Quote = """" & aString & """" End Function And using that I can then write... "RS8.Fields(1)=" & Quote(RS9.Fields(1)) Or my preferred syntax "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] Searching for date values is similar, but a different delimiter is used, the # sign. So if RS9.Field(1) was a date value, the search criteria would have to be "RS8.Fields(1)=#" & RS9.Fields(1) & "#" HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, December 29, 2011 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] FindFirst This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Thu Dec 29 15:04:47 2011 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 29 Dec 2011 15:04:47 -0600 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007 Reports with VBA? References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET><90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com><001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> Message-ID: We have an Access 2007 report that currently has subtotals by month. Recently there was a request to create a variation of this report with subtotals by Customer. It would be quite easy to create a second report. But then I remembered a slogan which said something like "Why make things simple when you can make them complex and wonderful". So I started to wonder if it is possible to use VBA to change a report's sub-totals on the fly (controlled by buttons at the top of the report). Is this possible? Thanks, Brad From Chester_Kaup at kindermorgan.com Thu Dec 29 15:37:25 2011 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 29 Dec 2011 15:37:25 -0600 Subject: [AccessD] FindFirst In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3D92@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DBB@houex1.kindermorgan.com><592B0B3D1CE441CEB7874E7AE8E8CCEB@stevelaptop> <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3DD5@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A0D3E03@houex1.kindermorgan.com> They worked perfect. Thanks to everyone. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, December 29, 2011 2:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Hi Chester Ok. Drop the "[RS8]", and the brackets around RS9... RS8.FindFirst "[Meter_Id]=" & RS9![Meter_Id] Regards Steve -----Original Message----- From: Kaup, Chester Sent: Friday, December 30, 2011 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Using actual field names here is what it looks like RS8.FindFirst "[RS8]![Meter_Id]=" & [RS9]![Meter_Id] The goal is to find the first record in RS8 that matches the current record in RS9. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, December 29, 2011 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Hi Chester What is the name of the fields in these two recordsets? I feel it would be simpler if you could refer to them directly. For example, if the name of the field is Meter in both recordsets, then your code will be: RS8.FindFirst "Meter = " & RS9!Meter By the way, in addition to Lambert's comments, note that this construct is going to position you at the RS8 record where the value of the nominated field matches that of the *first* record in RS9. Is that what you are seeking? Regards Steve -----Original Message----- From: Kaup, Chester Sent: Friday, December 30, 2011 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Thanks for taking the time to give me some really good info. I am still having trouble though. I get an Unknown Function Error on the line RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Both RS8.Fields(1) and RS9.Fields(1) are number fields I then tried the following. Meter1 and Meter2 are both dimmed as single Meter1 = RS8.Fields(1) Meter2 = RS9.Fields(1) RS8.FindFirst "Meter1=" & Meter2 This gives the error The Microsoft Access database engine does not recognize "Meter1" as a valid field name or expression. Thanks for the help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 29, 2011 11:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FindFirst Chester, Your criteria string used by FindFirst is the problem. But first some comments about referencing fields in a recordset. There are several ways (i.e. several valid syntaxes) to reference a specific field in a recordset (which can point to a table or a query) 1/ By the ordinal value of the field, i.e. its position in the list of fields in the recordset. Your use of the expression "RS8.Fields(1)" is an example. It resolves to the value of the first field in the recordset. The big disadvantage of this syntax is that it is not "reader friendly". When reading the code you (or anyone else) would probably have to go back to the table/query to find out what Fields(1) actually is. 2/ By using the field name as an index to the fields collection of the recordset. e.g. RS8("SomeFieldName") This is more readable as the field name in the quotes tells you what data is being referenced. 3/ BY directly using the Recordset and field names. e.g. [RS8]![SomeFieldName] The square brackets are optional if the object names do not have spaces, but I always use them. I personally prefer to use method 3 as it is then possible in code blocks to use the With / End With construct, which allows you to skip the recordset name in multiple statements... With RS8 ![SomeFieldName] = AValue ![AnotherField] = AnotherValue .FindFirst "SomeOtherField=" & Avalue If Not .NoMatch Then ' We found it ' Do something End If ... Etc. End With So, returning to your question, how to use FindFirst. "RS8.Fields(1)=RS9.Fields(1)" does not work as a criteria string because it is literally saying: "find the first record where the field(1) value is equal to the literal string "RS9.Fields(1)", but you actually want to find the record where the *value* of RS8.Fields(1) is equal to the *value* of RS8.Fields(1). If you change the criteria string to this... RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Then it will work, providing Fields(1) is not a text or a date value. The above syntax works for other data types, but for TEXT you have to enclose the value you are searching for in quotes. Either a combination of single and double quotes like this... "RS8.Fields(1)='" & RS9.Fields(1) & "'" Or all double quotes like this.... "RS8.Fields(1)="""" & RS9.Fields(1) & """" Those are a little difficult to read, especially seeing "'" for what it is with a proportional font. So I use a little function to wrap the text in quotes... Function Quote(aString) As String Quote = """" & aString & """" End Function And using that I can then write... "RS8.Fields(1)=" & Quote(RS9.Fields(1)) Or my preferred syntax "[RS8]![SomeFieldName]=" & Quote([RS9]![SomeOtherField] Searching for date values is similar, but a different delimiter is used, the # sign. So if RS9.Field(1) was a date value, the search criteria would have to be "RS8.Fields(1)=#" & RS9.Fields(1) & "#" HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, December 29, 2011 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] FindFirst This is my first try using this command and I need some help. Here is what I have. Does it work only on tables? Thanks. Set RS8 = MyDb.OpenRecordset("qry Produced Gas CO2 Analysis") Set RS9 = MyDb.OpenRecordset(strSQL) RS8.FindFirst "RS8.Fields(1)=RS9.Fields(1)" Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 29 17:46:24 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 29 Dec 2011 15:46:24 -0800 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <010901ccc00f$593c53b0$0bb4fb10$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> Message-ID: <7106FAAEF03B449792F933989CC73445@creativesystemdesigns.com> I worked for such an agency for years. Many clients would quit the agency and then call me up a year after their last assignment as that was the date limit for legal repercussions. I found out that in many cases agency would farm me out at some ridiculous fee and would pay me a small portion. When I was working for some of these old clients, the agency found out and tried to sue me for some breach of contract. One of my clients, a large one, went to bat on my behalf and the pending court case disappeared. The agency of course had no ground on which to pursue redress but they knew they had a lot deeper pockets against any defense I could afford to mount. I was lucky but many other systems techs, especially foreign, would find themselves locked in these contracts, for years, at substandard rates where they would be cheated out of hours, additional expenses and would know of no one to turn to. I went so far as to start some preliminary steps to form an association but many of these other techs were scared of their own shadow. I can not describe in polite terms what I think of these agencies, especially the ones I have been associated with. They are little more than abusive pimps. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, December 21, 2011 10:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I told you of this one before....."wrong direction" You're very sharp Susan....as you picked-out a very powerful weapon used by the agencies. It was a onerous 1 year agreement. The count-down BEGINS the day after no longer do any work for that client. Since the client used this agency for other personnel fill-ins as well, they did not want to chance a lawsuit over breaking this agreement. The agencies get away with this because the downside EFFECTS of such an agreement are never made known. It's the agency's "big secret". That's why this is such a great story of CAUSE and EFFECT. Here is a clear cut case of the clause causing harm to the client. You never hear or read about the stories related to this, do you ? I can see it now.... "Greedy Agency Harms Own Client Over Onerous Non-compete Agreement" > ========The non-compete was 100% binding? Most will have a clause that > restricts you for a certain number of weeks or even months, so how long > were you there? > > > Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Dec 29 18:42:13 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 29 Dec 2011 19:42:13 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> Message-ID: <00fb01ccc68b$df8bb2d0$9ea31870$@net> Charlotte - Another "angle" for us is Sharepoint 2010. With the advent of Office 365, it's gaining traction. The backend is SQL Server...and of course Access 2010 exploits it ....with limitations (natch). Albert Kallal built a helluva Access 2010 app on Sharepoint....it's on You Tube. http://www.youtube.com/watch?v=AU4mH0jPntI Very impressive...very little code. But of course: no VBA allowed..it's all this new "macro" language....which is NOT as powerful as VBA....YET. From marksimms at verizon.net Thu Dec 29 19:03:38 2011 From: marksimms at verizon.net (Mark Simms) Date: Thu, 29 Dec 2011 20:03:38 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <7106FAAEF03B449792F933989CC73445@creativesystemdesigns.com> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <7106FAAEF03B449792F933989CC73445@creativesystemdesigns.com> Message-ID: <011d01ccc68e$ddb9d1a0$992d74e0$@net> Fantastic summary Jim. Sad, but true. > > I worked for such an agency for years. > Many clients would quit the agency and then call me up a year after > their last assignment as that was the date limit for legal repercussions. I > found out that in many cases agency would farm me out at some ridiculous fee > and would pay me a small portion. > > When I was working for some of these old clients, the agency found out > and tried to sue me for some breach of contract. One of my clients, a large > one, went to bat on my behalf and the pending court case disappeared. The > agency of course had no ground on which to pursue redress but they knew they > had a lot deeper pockets against any defense I could afford to mount. > > I was lucky but many other systems techs, especially foreign, would > find themselves locked in these contracts, for years, at substandard rates > where they would be cheated out of hours, additional expenses and would know > of no one to turn to. I went so far as to start some preliminary steps to > form an association but many of these other techs were scared of their own > shadow. > I can not describe in polite terms what I think of these agencies, > especially the ones I have been associated with. They are little more > than abusive pimps. From vbacreations at gmail.com Thu Dec 29 20:54:39 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 29 Dec 2011 21:54:39 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: <011d01ccc68e$ddb9d1a0$992d74e0$@net> References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <7106FAAEF03B449792F933989CC73445@creativesystemdesigns.com> <011d01ccc68e$ddb9d1a0$992d74e0$@net> Message-ID: Mark - I wish you much better success in the New Year. FYI, I have a Fortune 100 as a client THEY PAY ME. I would not have it any other way. Or maybe I am just blessed. And I am a bargain to them, I charge much less than they would pay an agency. when I used to work for a programming company in 2000 I was making $40K/year with benefits and they were billing (this same fortune 100 Company, it turns out) $75/hour for my time. I think there are many more Companies out there than Agencies, you might want to send Companies your resume telling them that you are OPEN to permanent employment but really like short term assignments handled one-on-one, to save them the exorbitant fees they would have to pay an Agency. Someone should bite. My experience with Agencies has generally been bad EXCEPT FOR (ironically) Robert Half. One agency got me *fired*. They asked me how the assignment was going, I told them that I was being asked to do some things that were not in the original agreement, but it was ok, I was able to handle it -- then they went to the client asking for more money the client sent me home. Not that I was going to get a penny more mind you. Holy Cow! Another promised to find me another gig. Said they had one, I could leave the one was on. But the current people begged me to stay 2 weeks (at least). With the other "client's" agreement (so I was told, this turned out to be 'vapor client') I agreed to stay 2 weeks. Then Company #1 found a person the very next day and booted me cuz they "needed the workstation for the new guy." As it happened, the ink was not really dry between Agency and Company #2, and I never did get the second gig. Lesson learned, Agencies are inept and scum and let you pay for their mistakes. From vbacreations at gmail.com Thu Dec 29 21:02:35 2011 From: vbacreations at gmail.com (William Benson) Date: Thu, 29 Dec 2011 22:02:35 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <00fb01ccc68b$df8bb2d0$9ea31870$@net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> <00fb01ccc68b$df8bb2d0$9ea31870$@net> Message-ID: Mark, I enjoyed the video. Now, you say no VBA allowed, but at 3:30 or thereabouts, Alan says that the calendar form he built does things in "a few lines of code." Are you sure no VBA? Did he mis-speak? On Thu, Dec 29, 2011 at 7:42 PM, Mark Simms wrote: > Charlotte - Another "angle" for us is Sharepoint 2010. With the advent of > Office 365, it's gaining traction. > The backend is SQL Server...and of course Access 2010 exploits it ....with > limitations (natch). > Albert Kallal built a helluva Access 2010 app on Sharepoint....it's on You > Tube. > http://www.youtube.com/watch?v=AU4mH0jPntI > Very impressive...very little code. > But of course: no VBA allowed..it's all this new "macro" language....which > is NOT as powerful as VBA....YET. > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From Benson at ge.com Thu Dec 29 21:25:30 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 30 Dec 2011 03:25:30 +0000 Subject: [AccessD] Learning new technologies In-Reply-To: References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <00ca01ccc657$dd88db90$989a92b0$@net> <00fb01ccc68b$df8bb2d0$9ea31870$@net> Message-ID: <93D10F008B998B4A83BCA855A33EEF37E2C6@cinmldgcna02.e2k.ad.ge.com> Here is a blog and short video to get used to macro code (I have never tried it) in 2010. http://blogs.office.com/b/microsoft-access/archive/2009/07/28/meet-the-access-2010-macro-designer.aspx Maybe I should get used to this, it doesn't look to hard to learn for a VBA programmer, and maybe it will be worth knowing. Somehow I am not convinced, but they say not to knock it til you've tried it... From rbgajewski at roadrunner.com Thu Dec 29 21:30:10 2011 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Thu, 29 Dec 2011 22:30:10 -0500 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET><90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com><001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com> Message-ID: <02D59D9F02884B02BBA6C28EF807857A@7B440585K> Hi Brad Here's some code that might work ... It's from an Excel VBA project, and will need a little tweaking, but the sorting basics should be the same ... Watch for line wrap on the 'UserChoice' line ... Regards, Bob Gajewski ================================== END OF CODE ================================== Sub SortByColumnSelect() Rem Take Screen Control From Application varFileName = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) varFilePath = ActiveWorkbook.Path Application.ScreenUpdating = False Application.Cursor = xlWait Application.DisplayStatusBar = True Application.StatusBar = "Formatting 0% complete" Rem Go to top left cell Application.Goto Worksheets(1).Range("A1") Rem Freeze the top line With ActiveWindow .SplitColumn = 0 .SplitRow = 1 End With ActiveWindow.FreezePanes = True UserChoice = MsgBox("The data will be sorted and sub-totaled by months." & vbCrLf & vbCrLf & "Do you want to sort by client instead?", vbYesNo + vbQuestion + vbDefaultButton2, "Sort by client?") If UserChoice = vbNo Then Rem Sort the spreadsheet by column "A" (month) Cells.Sort Key1:=Range("A2"), Header:=xlYes Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, SummaryBelowData:=True Else Rem Sort the spreadsheet by column "B" (client) Cells.Sort Key1:=Range("B2"), Header:=xlYes Selection.Subtotal GroupBy:=2, Function:=xlSum, TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, SummaryBelowData:=True End If Rem Collapse the view to show only subtotals, color them grey, then expand the view to show all detail ActiveSheet.Outline.ShowLevels 2 ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisible).Interior.ColorIndex = 15 ActiveSheet.Outline.ShowLevels 3 Rem Fill in columns "A" (month), "B" (client) lastrow = ActiveSheet.UsedRange.Rows.Count For r = lastrow To 2 Step -1 varPercentageComplete = Round((((lastrow - 1) - (r - 1)) / (lastrow - 1)) * 100, 0) Application.StatusBar = "Formatting subtotal rows " & varPercentageComplete & "% complete" If Right(Cells(r, 1).Value, 5) = "Total" Then Cells(r, 1).Value = Left(Cells(r, 1).Value, Len(Cells(r, 1)) - 6) End If If Cells(r, 2).Value = "" Then Cells(r, 2).Value = Cells(r - 1, 2).Value End If Next r Rem Collapse the view to show only sutotals ActiveSheet.Outline.ShowLevels 2 Rem Resize all columns to show full width Columns.AutoFit Rem Save output file Application.DisplayAlerts = False Application.StatusBar = "Saving formatted spreadsheet in XLS format ..." ActiveWorkbook.SaveAs Filename:=varFilePath & "\YourFileName " & varFileName & " (created " & Format(Date, "yyyymmdd") & ")", FileFormat:=xlNormal Application.DisplayAlerts = True Rem Return screen control Application.Cursor = Default Application.StatusBar = "" Application.ScreenUpdating = True ' ActiveWorkbook.Close ' Application.Quit End Sub ================================== END OF CODE ================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Thursday, December 29, 2011 16:05 PM To: Access Developers discussion and problem solving Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? We have an Access 2007 report that currently has subtotals by month. Recently there was a request to create a variation of this report with subtotals by Customer. It would be quite easy to create a second report. But then I remembered a slogan which said something like "Why make things simple when you can make them complex and wonderful". So I started to wonder if it is possible to use VBA to change a report's sub-totals on the fly (controlled by buttons at the top of the report). Is this possible? Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Thu Dec 29 22:07:50 2011 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 30 Dec 2011 04:07:50 +0000 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? In-Reply-To: <02D59D9F02884B02BBA6C28EF807857A@7B440585K> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET><90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com><001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com> <02D59D9F02884B02BBA6C28EF807857A@7B440585K> Message-ID: <93D10F008B998B4A83BCA855A33EEF37E2F9@cinmldgcna02.e2k.ad.ge.com> I doubt possible. If you notice, the name of the section in the report designer is based on the actual field you grouped on. This is not a property that can change. When you are in runtime, Access is looking at this as group 1, 2, etc... Doesn't give you access to what field it is holding in that position. It makes sense to me why you can't. Now, you can use the format event of the section to create a new calculation using recordsets... will slow down the report considerably. But the subtotals (calculated items) will be flawed anyway because they won't be based on where the data really breaks, according to your field of interest in the rowsource. I'd be interested to find out I am wrong... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, December 29, 2011 10:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? Hi Brad Here's some code that might work ... It's from an Excel VBA project, and will need a little tweaking, but the sorting basics should be the same ... Watch for line wrap on the 'UserChoice' line ... Regards, Bob Gajewski ================================== END OF CODE ================================== Sub SortByColumnSelect() Rem Take Screen Control From Application varFileName = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) varFilePath = ActiveWorkbook.Path Application.ScreenUpdating = False Application.Cursor = xlWait Application.DisplayStatusBar = True Application.StatusBar = "Formatting 0% complete" Rem Go to top left cell Application.Goto Worksheets(1).Range("A1") Rem Freeze the top line With ActiveWindow .SplitColumn = 0 .SplitRow = 1 End With ActiveWindow.FreezePanes = True UserChoice = MsgBox("The data will be sorted and sub-totaled by months." & vbCrLf & vbCrLf & "Do you want to sort by client instead?", vbYesNo + vbQuestion + vbDefaultButton2, "Sort by client?") If UserChoice = vbNo Then Rem Sort the spreadsheet by column "A" (month) Cells.Sort Key1:=Range("A2"), Header:=xlYes Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, SummaryBelowData:=True Else Rem Sort the spreadsheet by column "B" (client) Cells.Sort Key1:=Range("B2"), Header:=xlYes Selection.Subtotal GroupBy:=2, Function:=xlSum, TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, SummaryBelowData:=True End If Rem Collapse the view to show only subtotals, color them grey, then expand the view to show all detail ActiveSheet.Outline.ShowLevels 2 ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisible).Interior.ColorIndex = 15 ActiveSheet.Outline.ShowLevels 3 Rem Fill in columns "A" (month), "B" (client) lastrow = ActiveSheet.UsedRange.Rows.Count For r = lastrow To 2 Step -1 varPercentageComplete = Round((((lastrow - 1) - (r - 1)) / (lastrow - 1)) * 100, 0) Application.StatusBar = "Formatting subtotal rows " & varPercentageComplete & "% complete" If Right(Cells(r, 1).Value, 5) = "Total" Then Cells(r, 1).Value = Left(Cells(r, 1).Value, Len(Cells(r, 1)) - 6) End If If Cells(r, 2).Value = "" Then Cells(r, 2).Value = Cells(r - 1, 2).Value End If Next r Rem Collapse the view to show only sutotals ActiveSheet.Outline.ShowLevels 2 Rem Resize all columns to show full width Columns.AutoFit Rem Save output file Application.DisplayAlerts = False Application.StatusBar = "Saving formatted spreadsheet in XLS format ..." ActiveWorkbook.SaveAs Filename:=varFilePath & "\YourFileName " & varFileName & " (created " & Format(Date, "yyyymmdd") & ")", FileFormat:=xlNormal Application.DisplayAlerts = True Rem Return screen control Application.Cursor = Default Application.StatusBar = "" Application.ScreenUpdating = True ' ActiveWorkbook.Close ' Application.Quit End Sub ================================== END OF CODE ================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Thursday, December 29, 2011 16:05 PM To: Access Developers discussion and problem solving Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? We have an Access 2007 report that currently has subtotals by month. Recently there was a request to create a variation of this report with subtotals by Customer. It would be quite easy to create a second report. But then I remembered a slogan which said something like "Why make things simple when you can make them complex and wonderful". So I started to wonder if it is possible to use VBA to change a report's sub-totals on the fly (controlled by buttons at the top of the report). Is this possible? Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Dec 30 02:08:41 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Dec 2011 09:08:41 +0100 Subject: [AccessD] FindFirst Message-ID: Hi Chester You may also use: RS8.FindFirst RS8.Fields(1).Name & "=" & RS9.Fields(1).Value /gustav >>> Chester_Kaup at kindermorgan.com 29-12-2011 20:18 >>> Thanks for taking the time to give me some really good info. I am still having trouble though. I get an Unknown Function Error on the line RS8.FindFirst "RS8.Fields(1)=" & RS9.Fields(1) Both RS8.Fields(1) and RS9.Fields(1) are number fields I then tried the following. Meter1 and Meter2 are both dimmed as single Meter1 = RS8.Fields(1) Meter2 = RS9.Fields(1) RS8.FindFirst "Meter1=" & Meter2 This gives the error The Microsoft Access database engine does not recognize "Meter1" as a valid field name or expression. Thanks for the help. From Gustav at cactus.dk Fri Dec 30 03:04:13 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Dec 2011 10:04:13 +0100 Subject: [AccessD] Learning new technologies Message-ID: Hi William Hmm ... to me that looks like a total waste of time. /gustav >>> Benson at ge.com 30-12-2011 04:25 >>> Here is a blog and short video to get used to macro code (I have never tried it) in 2010. http://blogs.office.com/b/microsoft-access/archive/2009/07/28/meet-the-access-2010-macro-designer.aspx Maybe I should get used to this, it doesn't look to hard to learn for a VBA programmer, and maybe it will be worth knowing. Somehow I am not convinced, but they say not to knock it til you've tried it... From jimdettman at verizon.net Fri Dec 30 06:24:37 2011 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 30 Dec 2011 07:24:37 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: References: Message-ID: Yes, the no VBA is correct, and trying to do anything with macros is a total waste of time with the current editor they have. It's so slow to use. Like everything, it appears to be based off XML. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 30, 2011 04:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Learning new technologies Hi William Hmm ... to me that looks like a total waste of time. /gustav >>> Benson at ge.com 30-12-2011 04:25 >>> Here is a blog and short video to get used to macro code (I have never tried it) in 2010. http://blogs.office.com/b/microsoft-access/archive/2009/07/28/meet-the-acces s-2010-macro-designer.aspx Maybe I should get used to this, it doesn't look to hard to learn for a VBA programmer, and maybe it will be worth knowing. Somehow I am not convinced, but they say not to knock it til you've tried it... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Fri Dec 30 08:46:36 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 30 Dec 2011 09:46:36 -0500 Subject: [AccessD] I told you of this one before....."wrong direction" In-Reply-To: References: <00a201ccbf6e$33b96e80$9b2c4b80$@net> <002401ccbf76$6a9ecd20$3fdc6760$@comcast.net> <00d701ccbf7a$02897560$079c6020$@net> <002d01ccbf85$36f73cf0$a4e5b6d0$@comcast.net> <000201ccbf90$37605e00$a6211a00$@net> <6B6D0E7826534E5FA3EC6B5ABE6DD7EF@SusanHarkins> <010901ccc00f$593c53b0$0bb4fb10$@net> <7106FAAEF03B449792F933989CC73445@creativesystemdesigns.com> <011d01ccc68e$ddb9d1a0$992d74e0$@net> Message-ID: <005e01ccc701$d53c1100$7fb43300$@net> Wow, Bill....WOW...that's all I can say. The greed is nothing short of phenomenal. > went to the client asking for more money the client sent me home. Not > that I was going to get a penny more mind you. Holy Cow! > Agencies are inept and scum and let you pay for their mistakes. From marksimms at verizon.net Fri Dec 30 08:50:47 2011 From: marksimms at verizon.net (Mark Simms) Date: Fri, 30 Dec 2011 09:50:47 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: References: Message-ID: <005f01ccc702$6a7f6e60$3f7e4b20$@net> The big question: is it going to be improved ? > Hmm ... to me that looks like a total waste of time. > > /gustav From Gustav at cactus.dk Fri Dec 30 09:10:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 30 Dec 2011 16:10:49 +0100 Subject: [AccessD] Learning new technologies Message-ID: Hi Mark I guess it will but still ... I doubt it will evolve to a full programming language and why should it? If that was the plan, then you could just as well integrate a language like F# right away and skip inventing another wheel. Today the only logical way to reapply real programming to Office would be to pack Visual Studio with specific tools for Office development into something like "Visual Studio 2010 Express for Office" just like what has been done for Windows Phone 7. /gustav >>> marksimms at verizon.net 30-12-2011 15:50 >>> The big question: is it going to be improved ? > Hmm ... to me that looks like a total waste of time. > > /gustav From davidmcafee at gmail.com Fri Dec 30 14:16:07 2011 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 30 Dec 2011 12:16:07 -0800 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37E2F9@cinmldgcna02.e2k.ad.ge.com> References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> <02D59D9F02884B02BBA6C28EF807857A@7B440585K> <93D10F008B998B4A83BCA855A33EEF37E2F9@cinmldgcna02.e2k.ad.ge.com> Message-ID: You could do things old school with hidden fields in the details section for all of the fields you want to subtotal. Then depending on some other form or input parameter, hide/show the appropriate field(s) in the report footer. HTH David On Thu, Dec 29, 2011 at 8:07 PM, Benson, William (GE Global Research, consultant) wrote: > I doubt possible. If you notice, the name of the section in the report > designer is based on the actual field you grouped on. This is not a > property that can change. When you are in runtime, Access is looking at > this as group 1, 2, etc... Doesn't give you access to what field it is > holding in that position. It makes sense to me why you can't. > > Now, you can use the format event of the section to create a new > calculation using recordsets... will slow down the report considerably. But > the subtotals (calculated items) will be flawed anyway because they won't > be based on where the data really breaks, according to your field of > interest in the rowsource. > > I'd be interested to find out I am wrong... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: Thursday, December 29, 2011 10:30 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access > 2007Reports with VBA? > > Hi Brad > > Here's some code that might work ... It's from an Excel VBA project, and > will need a little tweaking, but the sorting basics should be the same ... > > Watch for line wrap on the 'UserChoice' line ... > > Regards, > Bob Gajewski > > ================================== > END OF CODE > ================================== > > Sub SortByColumnSelect() > > Rem Take Screen Control From Application > varFileName = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) > varFilePath = ActiveWorkbook.Path > Application.ScreenUpdating = False > Application.Cursor = xlWait > Application.DisplayStatusBar = True > Application.StatusBar = "Formatting 0% complete" > > Rem Go to top left cell > Application.Goto Worksheets(1).Range("A1") > > Rem Freeze the top line > With ActiveWindow > .SplitColumn = 0 > .SplitRow = 1 > End With > ActiveWindow.FreezePanes = True > > UserChoice = MsgBox("The data will be sorted and sub-totaled by months." & > vbCrLf & vbCrLf & "Do you want to sort by client instead?", vbYesNo + > vbQuestion + vbDefaultButton2, "Sort by client?") > If UserChoice = vbNo Then > Rem Sort the spreadsheet by column "A" (month) > Cells.Sort Key1:=Range("A2"), Header:=xlYes > Selection.Subtotal GroupBy:=1, Function:=xlSum, > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > SummaryBelowData:=True > Else > Rem Sort the spreadsheet by column "B" (client) > Cells.Sort Key1:=Range("B2"), Header:=xlYes > Selection.Subtotal GroupBy:=2, Function:=xlSum, > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > SummaryBelowData:=True > End If > > Rem Collapse the view to show only subtotals, color them grey, then expand > the view to show all detail > ActiveSheet.Outline.ShowLevels 2 > > ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisible).Interior.ColorIndex = > 15 > ActiveSheet.Outline.ShowLevels 3 > > Rem Fill in columns "A" (month), "B" (client) > lastrow = ActiveSheet.UsedRange.Rows.Count > For r = lastrow To 2 Step -1 > varPercentageComplete = Round((((lastrow - 1) - (r - 1)) / (lastrow > - 1)) * 100, 0) > Application.StatusBar = "Formatting subtotal rows " & > varPercentageComplete & "% complete" > If Right(Cells(r, 1).Value, 5) = "Total" Then > Cells(r, 1).Value = Left(Cells(r, 1).Value, Len(Cells(r, 1)) - > 6) > End If > If Cells(r, 2).Value = "" Then > Cells(r, 2).Value = Cells(r - 1, 2).Value > End If > Next r > > Rem Collapse the view to show only sutotals > ActiveSheet.Outline.ShowLevels 2 > > Rem Resize all columns to show full width > Columns.AutoFit > > Rem Save output file > Application.DisplayAlerts = False > Application.StatusBar = "Saving formatted spreadsheet in XLS format ..." > ActiveWorkbook.SaveAs Filename:=varFilePath & "\YourFileName " & > varFileName & " (created " & Format(Date, "yyyymmdd") & ")", > FileFormat:=xlNormal > Application.DisplayAlerts = True > > Rem Return screen control > Application.Cursor = Default > Application.StatusBar = "" > Application.ScreenUpdating = True > ' ActiveWorkbook.Close > ' Application.Quit > > End Sub > > ================================== > END OF CODE > ================================== > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > Sent: Thursday, December 29, 2011 16:05 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Is it possible to change Sub-Totals on Access > 2007Reports with VBA? > > We have an Access 2007 report that currently has subtotals by month. > > Recently there was a request to create a variation of this report with > subtotals by Customer. > > It would be quite easy to create a second report. But then I remembered a > slogan which said something like "Why make things simple when you can make > them complex and wonderful". So I started to wonder if it is possible to > use VBA to change a report's sub-totals on the fly (controlled by buttons > at the top of the report). > > Is this possible? > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Fri Dec 30 21:16:28 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 30 Dec 2011 19:16:28 -0800 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? In-Reply-To: References: <4EE9EC54.1070108@colbyconsulting.com> <49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET> <90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com> <001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net> <4EECAFED.7070902@colbyconsulting.com> <02D59D9F02884B02BBA6C28EF807857A@7B440585K> <93D10F008B998B4A83BCA855A33EEF37E2F9@cinmldgcna02.e2k.ad.ge.com> Message-ID: Another alternative might be to create groups based on different fields or combinations. Then populate each group with the controls you want to show and total for that group. That should allow you to show or hide the groups on the fly. Essentially, you don't use detail at all, you use the groups and you could embedd subreports in each group that contained the fields you wanted to display for that condition and the totals you wanted to show. This is entirely possible in .Net, but it's been a long time since I made Access behave this way. I know it works, I'm just fuzzy on the details! Charlotte Foust On Fri, Dec 30, 2011 at 12:16 PM, David McAfee wrote: > You could do things old school with hidden fields in the details section > for all of the fields you want to subtotal. > > Then depending on some other form or input parameter, hide/show the > appropriate field(s) in the report footer. > > HTH > David > > On Thu, Dec 29, 2011 at 8:07 PM, Benson, William (GE Global Research, > consultant) wrote: > > > I doubt possible. If you notice, the name of the section in the report > > designer is based on the actual field you grouped on. This is not a > > property that can change. When you are in runtime, Access is looking at > > this as group 1, 2, etc... Doesn't give you access to what field it is > > holding in that position. It makes sense to me why you can't. > > > > Now, you can use the format event of the section to create a new > > calculation using recordsets... will slow down the report considerably. > But > > the subtotals (calculated items) will be flawed anyway because they won't > > be based on where the data really breaks, according to your field of > > interest in the rowsource. > > > > I'd be interested to find out I am wrong... > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > > Sent: Thursday, December 29, 2011 10:30 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access > > 2007Reports with VBA? > > > > Hi Brad > > > > Here's some code that might work ... It's from an Excel VBA project, and > > will need a little tweaking, but the sorting basics should be the same > ... > > > > Watch for line wrap on the 'UserChoice' line ... > > > > Regards, > > Bob Gajewski > > > > ================================== > > END OF CODE > > ================================== > > > > Sub SortByColumnSelect() > > > > Rem Take Screen Control From Application > > varFileName = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) > > varFilePath = ActiveWorkbook.Path > > Application.ScreenUpdating = False > > Application.Cursor = xlWait > > Application.DisplayStatusBar = True > > Application.StatusBar = "Formatting 0% complete" > > > > Rem Go to top left cell > > Application.Goto Worksheets(1).Range("A1") > > > > Rem Freeze the top line > > With ActiveWindow > > .SplitColumn = 0 > > .SplitRow = 1 > > End With > > ActiveWindow.FreezePanes = True > > > > UserChoice = MsgBox("The data will be sorted and sub-totaled by months." > & > > vbCrLf & vbCrLf & "Do you want to sort by client instead?", vbYesNo + > > vbQuestion + vbDefaultButton2, "Sort by client?") > > If UserChoice = vbNo Then > > Rem Sort the spreadsheet by column "A" (month) > > Cells.Sort Key1:=Range("A2"), Header:=xlYes > > Selection.Subtotal GroupBy:=1, Function:=xlSum, > > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > > SummaryBelowData:=True > > Else > > Rem Sort the spreadsheet by column "B" (client) > > Cells.Sort Key1:=Range("B2"), Header:=xlYes > > Selection.Subtotal GroupBy:=2, Function:=xlSum, > > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > > SummaryBelowData:=True > > End If > > > > Rem Collapse the view to show only subtotals, color them grey, then > expand > > the view to show all detail > > ActiveSheet.Outline.ShowLevels 2 > > > > > ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisible).Interior.ColorIndex = > > 15 > > ActiveSheet.Outline.ShowLevels 3 > > > > Rem Fill in columns "A" (month), "B" (client) > > lastrow = ActiveSheet.UsedRange.Rows.Count > > For r = lastrow To 2 Step -1 > > varPercentageComplete = Round((((lastrow - 1) - (r - 1)) / > (lastrow > > - 1)) * 100, 0) > > Application.StatusBar = "Formatting subtotal rows " & > > varPercentageComplete & "% complete" > > If Right(Cells(r, 1).Value, 5) = "Total" Then > > Cells(r, 1).Value = Left(Cells(r, 1).Value, Len(Cells(r, 1)) - > > 6) > > End If > > If Cells(r, 2).Value = "" Then > > Cells(r, 2).Value = Cells(r - 1, 2).Value > > End If > > Next r > > > > Rem Collapse the view to show only sutotals > > ActiveSheet.Outline.ShowLevels 2 > > > > Rem Resize all columns to show full width > > Columns.AutoFit > > > > Rem Save output file > > Application.DisplayAlerts = False > > Application.StatusBar = "Saving formatted spreadsheet in XLS format > ..." > > ActiveWorkbook.SaveAs Filename:=varFilePath & "\YourFileName " & > > varFileName & " (created " & Format(Date, "yyyymmdd") & ")", > > FileFormat:=xlNormal > > Application.DisplayAlerts = True > > > > Rem Return screen control > > Application.Cursor = Default > > Application.StatusBar = "" > > Application.ScreenUpdating = True > > ' ActiveWorkbook.Close > > ' Application.Quit > > > > End Sub > > > > ================================== > > END OF CODE > > ================================== > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 29, 2011 16:05 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Is it possible to change Sub-Totals on Access > > 2007Reports with VBA? > > > > We have an Access 2007 report that currently has subtotals by month. > > > > Recently there was a request to create a variation of this report with > > subtotals by Customer. > > > > It would be quite easy to create a second report. But then I remembered > a > > slogan which said something like "Why make things simple when you can > make > > them complex and wonderful". So I started to wonder if it is possible to > > use VBA to change a report's sub-totals on the fly (controlled by buttons > > at the top of the report). > > > > Is this possible? > > > > Thanks, > > > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Sat Dec 31 06:33:34 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 31 Dec 2011 07:33:34 -0500 Subject: [AccessD] Set references via automation Message-ID: <4EFF011E.6050906@colbyconsulting.com> Is it possible to set references in an access container (Lib or FE) via automation? Open the access container and then set a reference in that container, all from code running in the object that is performing the automation? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Sat Dec 31 09:32:13 2011 From: df.waters at comcast.net (Dan Waters) Date: Sat, 31 Dec 2011 09:32:13 -0600 Subject: [AccessD] Set references via automation In-Reply-To: <4EFF011E.6050906@colbyconsulting.com> References: <4EFF011E.6050906@colbyconsulting.com> Message-ID: <002001ccc7d1$5ecda710$1c68f530$@comcast.net> Yes! I think you'll find this helpful. This is the very first procedure that is run when the app opens. I use an AutoExec macro, and it runs this procedure first. The stgDeveloperLibraryPath is taken from a table, but it could be hardcoded, or in a local table. HTH! Dan '-------------------------------- Public Function ResetLibraryReference() 1 On Error GoTo EH '-- Purpose: This will reset the library reference to ensure that the FE file is referencing the correct Library file. _ On a client PC, this isn't a problem, but that reference does need to be reset on the server. Otherwise, _ the TEST FE could reference the PROD library, etc. Dim ref As Access.Reference Dim stgCurrentPath As String Dim stgPrompt As String Dim stgDeveloperLibraryPath As String Dim appFE As Access.Application Dim intCount As Integer 2 Set appFE = CurrentProject.Application 3 If Environ("ComputerName") = "DanWaters" Then '-- Developer PC 4 stgDeveloperLibraryPath = ReadPSIParameter("DeveloperLibraryPath") '-- Is the correct Library already referenced? 5 For Each ref In appFE.References 6 If ref.FullPath = stgDeveloperLibraryPath Then 7 Exit Function 8 End If 9 Next ref '-- Find and delete the incorrect library reference 10 For Each ref In appFE.References 11 If InStr(ref.FullPath, "PSILibrary") <> 0 Then 12 appFE.References.Remove ref 13 End If 14 Next ref '-- Add the correct library reference 15 Access.References.AddFromFile stgDeveloperLibraryPath 16 Else 17 stgCurrentPath = CurrentProject.Path 18 For intCount = appFE.References.Count To 1 Step -1 19 Set ref = appFE.References(intCount) 20 If InStr(ref.Name, "PSILibrary") <> 0 Then 21 appFE.References.Remove ref '22 MsgBox appFE.References.Count '-- TEST '23 MsgBox "Removed Library Reference", vbOKOnly + vbInformation, "Removed Reference" '-- TEST 22 End If 23 Next '-- Add the correct library reference 24 appFE.References.AddFromFile stgCurrentPath & "\PSILibrary.mdb" '27 MsgBox "Added Library Reference", vbOKOnly + vbInformation, "Added Reference" '-- TEST '28 MsgBox appFE.References.Count '-- TEST 25 End If '-- Call a hidden SysCmd to automatically compile/save all modules. 26 Call SysCmd(504, 16483) 27 Exit Function EH: 28 stgPrompt = "This system has experienced a startup error in the ResetLibraryReference code procedure." _ & vbNewLine & vbNewLine _ & "Line: " & Erl & vbNewLine _ & "Number: " & Err.Number & vbNewLine _ & "Description: " & Err.Description _ & vbNewLine & vbNewLine _ & "Contact the system developer. This system will now Quit." _ & vbNewLine & vbNewLine _ & "NOTE: Be sure the library file project name = 'PSILibrary'." 29 MsgBox stgPrompt, vbCritical & vbOKOnly, "Startup Error" 30 Application.Quit End Function '-------------------------------- Public Function ReadPSIParameter(stgParameter As String) As String Dim stg As String Dim rst As DAO.Recordset stg = "SELECT " & stgParameter & " FROM tblPSIParameters IN '" & CurrentProject.Path & "\PSIConfig.mdb" & "'" Set rst = CodeDb.OpenRecordset(stg, dbOpenForwardOnly) ReadPSIParameter = rst(stgParameter) rst.Close Set rst = Nothing Exit Function ErrEx.Bookmark = BOOKMARK_ONERROR End Function '-------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, December 31, 2011 6:34 AM To: Access Developers discussion and problem solving Subject: [AccessD] Set references via automation Is it possible to set references in an access container (Lib or FE) via automation? Open the access container and then set a reference in that container, all from code running in the object that is performing the automation? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Dec 31 11:25:48 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 31 Dec 2011 21:25:48 +0400 Subject: [AccessD] =?utf-8?q?Set_references_via_automation?= In-Reply-To: <4EFF011E.6050906@colbyconsulting.com> References: <4EFF011E.6050906@colbyconsulting.com> Message-ID: Hi John -- Yes, it's possible. -- Shamil 31 ??????? 2011, 16:36 ?? jwcolby : > Is it possible to set references in an access container (Lib or FE) via automation? Open the access > container and then set a reference in that container, all from code running in the object that is > performing the automation? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Sat Dec 31 12:20:58 2011 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 31 Dec 2011 10:20:58 -0800 Subject: [AccessD] Set references via automation In-Reply-To: <4EFF011E.6050906@colbyconsulting.com> References: <4EFF011E.6050906@colbyconsulting.com> Message-ID: If I recall correctly, the references code has to be in a separate module from everything else and has to be the first thing that runs in the database in which the references are being se so you call the routine from autoexect. There was a long thread on handling broken references a few years ago that you might find useful. Charlotte Foust On Sat, Dec 31, 2011 at 4:33 AM, jwcolby wrote: > Is it possible to set references in an access container (Lib or FE) via > automation? Open the access container and then set a reference in that > container, all from code running in the object that is performing the > automation? > > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From john at winhaven.net Sat Dec 31 12:48:10 2011 From: john at winhaven.net (John Bartow) Date: Sat, 31 Dec 2011 12:48:10 -0600 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> Message-ID: <011d01ccc7ec$bf1c3d50$3d54b7f0$@winhaven.net> And the archives are back now! :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Saturday, December 31, 2011 12:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Set references via automation If I recall correctly, the references code has to be in a separate module from everything else and has to be the first thing that runs in the database in which the references are being se so you call the routine from autoexect. There was a long thread on handling broken references a few years ago that you might find useful. Charlotte Foust On Sat, Dec 31, 2011 at 4:33 AM, jwcolby wrote: > Is it possible to set references in an access container (Lib or FE) > via automation? Open the access container and then set a reference in > that container, all from code running in the object that is performing > the automation? > > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/accessd> > > > Website: > http://www.databaseadvisors.**com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 31 13:45:46 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 31 Dec 2011 14:45:46 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> Message-ID: <4EFF666A.6020109@colbyconsulting.com> I am actually talking about opening the database, and setting the references using automation. NOT opening the database and running code in the database which sets the references. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/31/2011 1:20 PM, Charlotte Foust wrote: > If I recall correctly, the references code has to be in a separate module > from everything else and has to be the first thing that runs in the > database in which the references are being se so you call the routine from > autoexect. There was a long thread on handling broken references a few > years ago that you might find useful. > > Charlotte Foust > > On Sat, Dec 31, 2011 at 4:33 AM, jwcolbywrote: > >> Is it possible to set references in an access container (Lib or FE) via >> automation? Open the access container and then set a reference in that >> container, all from code running in the object that is performing the >> automation? >> >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From marksimms at verizon.net Sat Dec 31 15:52:05 2011 From: marksimms at verizon.net (Mark Simms) Date: Sat, 31 Dec 2011 16:52:05 -0500 Subject: [AccessD] Set references via automation In-Reply-To: <4EFF666A.6020109@colbyconsulting.com> References: <4EFF011E.6050906@colbyconsulting.com> <4EFF666A.6020109@colbyconsulting.com> Message-ID: <003701ccc806$700fbba0$502f32e0$@net> John - that is a sound approach.... as associated referenced objects will not interpret since the related libraries are unavailable due to a broken linkage. From vbacreations at gmail.com Sat Dec 31 22:53:21 2011 From: vbacreations at gmail.com (William Benson) Date: Sat, 31 Dec 2011 23:53:21 -0500 Subject: [AccessD] Set references via automation In-Reply-To: <002001ccc7d1$5ecda710$1c68f530$@comcast.net> References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> Message-ID: Is it not best to set an object equal to Codedb and then use the OpenRecordset property (or method, I continually mix those) of the object rather than based on CodeDb directly? That seems to be a safety rule for CurrentDB and I would expect the two classes to behave similarly? Or not. Not really even sure what I am talking about. NICE FUNCTIONS THOUGH! HYAPPEY NIEW YEAH! On Dec 31, 2011 10:34 AM, "Dan Waters" wrote: > Yes! I think you'll find this helpful. This is the very first procedure > that is run when the app opens. I use an AutoExec macro, and it runs this > procedure first. > > The stgDeveloperLibraryPath is taken from a table, but it could be > hardcoded, or in a local table. > > HTH! > Dan > > > '-------------------------------- > > Public Function ResetLibraryReference() > 1 On Error GoTo EH > > '-- Purpose: This will reset the library reference to ensure that > the FE file is referencing the correct Library file. _ > On a client PC, this isn't a problem, but that > reference does need to be reset on the server. Otherwise, _ > the TEST FE could reference the PROD library, etc. > > Dim ref As Access.Reference > Dim stgCurrentPath As String > Dim stgPrompt As String > Dim stgDeveloperLibraryPath As String > Dim appFE As Access.Application > Dim intCount As Integer > > 2 Set appFE = CurrentProject.Application > > 3 If Environ("ComputerName") = "DanWaters" Then '-- Developer PC > > 4 stgDeveloperLibraryPath = > ReadPSIParameter("DeveloperLibraryPath") > > '-- Is the correct Library already referenced? > 5 For Each ref In appFE.References > 6 If ref.FullPath = stgDeveloperLibraryPath Then > 7 Exit Function > 8 End If > 9 Next ref > > '-- Find and delete the incorrect library reference > 10 For Each ref In appFE.References > 11 If InStr(ref.FullPath, "PSILibrary") <> 0 Then > 12 appFE.References.Remove ref > 13 End If > 14 Next ref > > '-- Add the correct library reference > 15 Access.References.AddFromFile stgDeveloperLibraryPath > > 16 Else > > 17 stgCurrentPath = CurrentProject.Path > > 18 For intCount = appFE.References.Count To 1 Step -1 > 19 Set ref = appFE.References(intCount) > 20 If InStr(ref.Name, "PSILibrary") <> 0 Then > 21 appFE.References.Remove ref > '22 MsgBox appFE.References.Count '-- TEST > '23 MsgBox "Removed Library Reference", vbOKOnly + > vbInformation, "Removed Reference" '-- TEST > 22 End If > 23 Next > > '-- Add the correct library reference > 24 appFE.References.AddFromFile stgCurrentPath & > "\PSILibrary.mdb" > '27 MsgBox "Added Library Reference", vbOKOnly + > vbInformation, "Added Reference" '-- TEST > '28 MsgBox appFE.References.Count '-- TEST > > 25 End If > > '-- Call a hidden SysCmd to automatically compile/save all > modules. > 26 Call SysCmd(504, 16483) > > 27 Exit Function > > EH: > 28 stgPrompt = "This system has experienced a startup error in the > ResetLibraryReference code procedure." _ > & vbNewLine & vbNewLine _ > & "Line: " & Erl & vbNewLine _ > & "Number: " & Err.Number & vbNewLine _ > & "Description: " & Err.Description _ > & vbNewLine & vbNewLine _ > & "Contact the system developer. This system will now Quit." > _ > & vbNewLine & vbNewLine _ > & "NOTE: Be sure the library file project name = > 'PSILibrary'." > 29 MsgBox stgPrompt, vbCritical & vbOKOnly, "Startup Error" > 30 Application.Quit > > End Function > > '-------------------------------- > Public Function ReadPSIParameter(stgParameter As String) As String > > Dim stg As String > Dim rst As DAO.Recordset > > stg = "SELECT " & stgParameter & " FROM tblPSIParameters IN '" & > CurrentProject.Path & "\PSIConfig.mdb" & "'" > Set rst = CodeDb.OpenRecordset(stg, dbOpenForwardOnly) > ReadPSIParameter = rst(stgParameter) > rst.Close > Set rst = Nothing > > Exit Function > ErrEx.Bookmark = BOOKMARK_ONERROR > > End Function > '-------------------------------- > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 31, 2011 6:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Set references via automation > > Is it possible to set references in an access container (Lib or FE) via > automation? Open the access container and then set a reference in that > container, all from code running in the object that is performing the > automation? > > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sat Dec 31 23:00:59 2011 From: vbacreations at gmail.com (William Benson) Date: Sun, 1 Jan 2012 00:00:59 -0500 Subject: [AccessD] Learning new technologies In-Reply-To: <1CF20DB644BE124083B31638E5D5C023C985EA@exch2.Onappsad.net> References: <1CF20DB644BE124083B31638E5D5C023C985DA@exch2.Onappsad.net> <002701ccc640$a1b65730$e5230590$@comcast.net> <1CF20DB644BE124083B31638E5D5C023C985EA@exch2.Onappsad.net> Message-ID: Charlotte and Joe I decided to save some money for now and do the vids only because I would like to wait for others' feedback on the coursewear. Please let me know how well you like the online courses On Dec 29, 2011 1:43 PM, "Joe O'Connell" wrote: > Charlotte, > > I did the same as you. It seems like a bargain for all the training > resources that are available. > > Joe O'Connell > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, December 29, 2011 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Learning new technologies > > You read it the same way I did. I popped for the @ $200 to refresh my > skills and learn the new stuff. > > Charlotte Foust > > On Thu, Dec 29, 2011 at 7:43 AM, Dan Waters > wrote: > > > AppDev and LearnDevNow are the same company. Same physical address, > > and the same Ken Getz! I guess they're not hiding anything. > > > > $99/year is for only the online video streaming course. > > > > LearnDevNow's offer is for $99 for one year, AppDev is for $395 for > > one year. AppDev includes the on-line video, sample code, online > > courseware, and lab excercises. LearnDevNow costs $200 for one year > for all of that. > > > > Funny situation, but that's what I'm reading! > > > > Dan > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Wednesday, December 28, 2011 9:54 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Learning new technologies > > > > No experience with them but experience with AppDev's CBT training, > > which was good. Hard to beat an instructor like Ken Getz, so that > > price for a year's subscription looks like a bargain to me. > > > > Charlotte Foust > > > > On Wed, Dec 28, 2011 at 6:48 PM, William Benson > > wrote: > > > > > is Dec 31 2011 the deadline for the 2011 annual membership? If so, > > > not really much of a bargain > > > > > > ;-) couldn't resist, hopefully you get more serious (experienced) > > answers. > > > > > > > > > > > > > > > On Wed, Dec 28, 2011 at 6:43 PM, Joe O'Connell > wrote: > > > > > > > Does anyone have any experience with the training videos from > > > LearnDevNow? > > > > They are running a special of only $99 for a full year of access > > > > to > > > their > > > > entire library of over 3,000 videos. The deadline to subscribe is > > > December > > > > 31. If these are good training videos, it seems like an > > > > inexpensive way > > > to > > > > learn new technologies. > > > > > > > > The web site is http://www.learndevnow.com > > > > > > > > > > > > > > > > > > Joe O'Connell > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > *Regards,* > > > ** > > > ** > > > *Bill Benson* > > > *VBACreations* > > > ** > > > PS: You've gotten this e-mail *because you matter to me!* > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >