From fhtapia at gmail.com Sat Jul 1 03:09:32 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 1 Jul 2006 01:09:32 -0700 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C04369962@karta-exc-int.Karta.com> References: <9C382E065F54AE48BC3AA7925DCBB01C04369962@karta-exc-int.Karta.com> Message-ID: stickykeys?... how do you deactive it? On 6/30/06, Jim Hewson wrote: > > I have seen this before, even when I go from Access to other MS products. > I traced it down to the sticky keys being activated. > I haven't a clue as to why it was activated, but I turn it off and it goes > away. > > Jim > jhewson at karta.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 30, 2006 10:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Stuck Highlight in Access > > It isn't just Access. I see this in the code window from time to time > and it plagues me in .Net too. > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, June 29, 2006 3:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Stuck Highlight in Access > > I have seen this as well. I don't know of any fix other than shutting > down and re-opening. I always decompile / compile / compact and repair > of course. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From darrend at nimble.com.au Sat Jul 1 06:47:18 2006 From: darrend at nimble.com.au (Darren DICK) Date: Sat, 1 Jul 2006 21:47:18 +1000 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: Message-ID: <20060701114720.CMQN1089.omta03sl.mx.bigpond.com@DENZILLAP> Keep pressing the left SHIFT key until the sticky keys popup is visible and select settings You can also get to it from accessibility options in Control Panel Many thanks Have a great day Darren ------------------ T: 0424 696 433 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, 1 July 2006 6:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access stickykeys?... how do you deactive it? On 6/30/06, Jim Hewson wrote: > > I have seen this before, even when I go from Access to other MS products. > I traced it down to the sticky keys being activated. > I haven't a clue as to why it was activated, but I turn it off and it goes > away. > > Jim > jhewson at karta.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 30, 2006 10:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Stuck Highlight in Access > > It isn't just Access. I see this in the code window from time to time > and it plagues me in .Net too. > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, June 29, 2006 3:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Stuck Highlight in Access > > I have seen this as well. I don't know of any fix other than shutting > down and re-opening. I always decompile / compile / compact and repair > of course. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jul 3 04:12:57 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Jul 2006 11:12:57 +0200 Subject: [AccessD] Stuck Highlight in Access Message-ID: Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. From ldoering at symphonyinfo.com Mon Jul 3 11:38:49 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 3 Jul 2006 11:38:49 -0500 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <000101c69e83$532313f0$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F138@LAKATOS.Symphony.local> I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 3 11:51:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 3 Jul 2006 09:51:14 -0700 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F138@LAKATOS.Symphony.local> Message-ID: Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jul 3 12:45:04 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Jul 2006 19:45:04 +0200 Subject: [AccessD] Stuck Highlight in Access Message-ID: Hi Charlotte and Liz Sticky keys is another business. Having pressed F8 once sets "expanded selection". Now you can click to mark a part of a field. Done so, you can click F8 several times to mark: - word - field (all words) - record (all fields) - all records and press Shift+F8 to move reverse in this sequence. Press Esc to cancel "expanded selection". Most often users press F8 by accident but don't notice it as nothing happens - or so it seems. Then they forget. However, if you know about this shortcut, it can be a fast alternative to double-clicking and shift-marking with the mouse. Did you, by the way, know that Ctrl+Shift+Space will mark all records? And Shift+Space toggles between a selected record and selected first field of column? And Ctrl+Space toggles between a selected column and selected first field of row? Happy keying. /gustav >>> cfoust at infostatsystems.com 03-07-2006 18:51:14 >>> Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. From ldoering at symphonyinfo.com Mon Jul 3 22:16:40 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 3 Jul 2006 22:16:40 -0500 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <000001c69eca$9f2dd040$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F13C@LAKATOS.Symphony.local> Wow, new things to learn every day. Thanks, Gustav. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Charlotte and Liz Sticky keys is another business. Having pressed F8 once sets "expanded selection". Now you can click to mark a part of a field. Done so, you can click F8 several times to mark: - word - field (all words) - record (all fields) - all records and press Shift+F8 to move reverse in this sequence. Press Esc to cancel "expanded selection". Most often users press F8 by accident but don't notice it as nothing happens - or so it seems. Then they forget. However, if you know about this shortcut, it can be a fast alternative to double-clicking and shift-marking with the mouse. Did you, by the way, know that Ctrl+Shift+Space will mark all records? And Shift+Space toggles between a selected record and selected first field of column? And Ctrl+Space toggles between a selected column and selected first field of row? Happy keying. /gustav >>> cfoust at infostatsystems.com 03-07-2006 18:51:14 >>> Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Jul 3 22:20:06 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 4 Jul 2006 13:20:06 +1000 Subject: [AccessD] Cost SQl Server Message-ID: <005c01c69f18$c0e7dc50$6601a8c0@office> Can someone help me with some costs which I find confusing on the MS site. I need to let a client know the costs of developing an app with SQL Server as the BE as opposed to Access BE. I have all the development side clear but I need to quote them the cost of them purchasing a license for SQL Server 2005, so that the users can access it across the network. And do they need to use a specific Windows version with SQL Server 2005? TIA ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From wdhindman at dejpolsystems.com Mon Jul 3 23:44:09 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 00:44:09 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office> Message-ID: <000301c69f24$7dc13190$6466a8c0@50NM721> ...do they ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 4 00:01:12 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 01:01:12 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office> Message-ID: <000601c69f26$dfb088e0$6466a8c0@50NM721> ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Tue Jul 4 01:06:30 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 4 Jul 2006 16:06:30 +1000 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office> <000601c69f26$dfb088e0$6466a8c0@50NM721> Message-ID: <001701c69f2f$fed63bd0$6601a8c0@office> The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robin at rolledgold.net Tue Jul 4 03:57:50 2006 From: Robin at rolledgold.net (Robin ) Date: Tue, 4 Jul 2006 09:57:50 +0100 Subject: [AccessD] Cost SQl Server Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5424253@rgiserv.rg.local> Kath, Have you looked at Small Business Server Premium - includes SQL Server / Exchange / ISA Excellent package for a reasonable price - not sure of US pricing but here in the UK can get for around ?800 Rgds Robin Lawrence -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 04 July 2006 07:07 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cost SQl Server The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robin at rolledgold.net Tue Jul 4 04:06:57 2006 From: Robin at rolledgold.net (Robin ) Date: Tue, 4 Jul 2006 10:06:57 +0100 Subject: [AccessD] Cost SQl Server Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5424254@rgiserv.rg.local> Kath, Forgot to mention you get 5 CALs with the product, any more need to be purchased.. Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 04 July 2006 07:07 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cost SQl Server The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Jul 4 07:09:31 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 4 Jul 2006 22:09:31 +1000 Subject: [AccessD] Cost SQl Server References: <560E2B80EC8F624B93A87B943B7A9CD5424254@rgiserv.rg.local> Message-ID: <001001c69f62$b582d6e0$6601a8c0@office> Robin - 5 CALS means 5 users? How does the no. of CALS work? Kath ----- Original Message ----- From: Robin To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 7:06 PM Subject: Re: [AccessD] Cost SQl Server Kath, Forgot to mention you get 5 CALs with the product, any more need to be purchased.. Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 04 July 2006 07:07 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cost SQl Server The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Jul 4 08:09:12 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 09:09:12 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office><000601c69f26$dfb088e0$6466a8c0@50NM721> <001701c69f2f$fed63bd0$6601a8c0@office> Message-ID: <000b01c69f6b$0bf91c70$6466a8c0@50NM721> Kath ...I asked what their Server OS was and you replied Windows XP Pro which implies that they are networked using the workgroup features of Windows XP Pro and thus don't have a Server in the classic sense. SQL Server is very CPU and resource intensive and needs to be placed on a real network server, not a shared workstation. ...in that light I recommend Windows Small Business Server Premium as configured below: Windows Small Business Server 2003 R2 Premium ONLSA w5 CAL 1 each P/N T75-00144 $1950 (Open New License with Software Assurance) 5-pack CAL ONLSA 2 each P/N T74-00186 (User) $690 Total: 1950 + 690 + 690 = $3330 ...the part numbers are essential to getting the right version ...I included Software Assurance pricing so that your client will get the Windows Server 2007/8 release without having to pay for it all over again ...the R2 spec is essential to get the SQL Server 2005 version rather than the SQL Server 2000 included in the original and R1 releases. ...the 5 CALs are included w/SBS ...additional CALs are sold in 5 or 20 CAL packs ...they are sold as Device or User CALs ...device cals being useful in shift work where 2 or more workers use the same workstation at different times ...device cals are user name specific but can be installed on every device, the most common being a user with an office workstation, a home workstation, and a laptop ...a single user cal covers all three client installs for the same user. __________________________________________________________ ...if you require ONLY SQL Server itself, it comes in two applicable editions now as follows: SQL Server Workgroup Edition w/Server CAL $730 Workgroup User Cal 15 each $146 Total: 730 + 2190 = $2920 __________________________________________________________ SQL Server Standard Edition w/Server CAL $885 Workgroup User Cal 15 each $162 Total: 885 + 2430 = $3315 ...the major difference for your size customer lies in the additional reliability features of the Standard edition vs. the pure db features of the Workgroup edition ...you'll have to look at the comparison charts to determine which you feel comfortable with ...the SBS at the top comes with the Standard edition ...as you can see, the pricing of the SBS Premium edition is virtually identical to that of SQL Server Standard by itself ...which is one reason why all of my clients are on SBS. ...the prices cited are from the MS site and are MSRP ...you can certainly do better but be careful who and what you buy ...OEM versions are cheaper but get zero support from MS (and you WILL need it) ...Open License pricing is more expensive but more than pays for itself the first time you get a version upgrade ...e-bay has hundreds of items in this category for sale at much better prices but you can get badly burned if you're not very careful ...probably 60% of them are illegal and MS claims its as high as 80% ...they can get away with this by pirating enterprise license numbers and selling you copies ...it installs and upgrades fine until MS finds that the license number has been pirated and then shuts your client down ...if your client decides to go with a new server, I use Dell because it simplifies my life and my clients' ...you get better pricing and Dell will provide your software support ...and Dell won't try to take your client away as some MS Open License Dealers are wont to do. ...note that this is my opinion and my experience ...others may certainly differ :) ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 04, 2006 2:06 AM Subject: Re: [AccessD] Cost SQl Server > The no. of users is between 5 and 15. They are currently using Windows XP > Pro. > > I understand that Express is an option but I want to know the cost of full > MS SQL as well. > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, July 04, 2006 3:01 PM > Subject: Re: [AccessD] Cost SQl Server > > > ...what specific Server OS are they currently using and how many > concurrent > users? > > ...SQL Server Express is quite capable of serving as a be to an Access fe > in > many environments but you have to understand its limits ...but its free > if > those limitations don't limit your application. > > ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small > Business Server 2003 Premium, its included at a very steep discount to > the > stand alone price. > > ...the costs mount in either route as you add user licenses. > > ...server processor and memory specs are much more important in a > client/server app w/SQL Server be than it is with an Access file/server > be. > > ...Windows 2000 or XP will work fine but support for earlier versions is > difficult at best ...the benefits of XP are, imnsho, more than sufficient > to > drive an upgrade ...unless they want to wait for Vista which will almost > certainly require workstation hardware upgrades as well. > > ...hth > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access D Normal List" ; "Access D SQl > Server List" > Sent: Monday, July 03, 2006 11:20 PM > Subject: [AccessD] Cost SQl Server > > > > Can someone help me with some costs which I find confusing on the MS > site. > > > > I need to let a client know the costs of developing an app with SQL > Server > > as the BE as opposed to Access BE. > > > > I have all the development side clear but I need to quote them the cost > of > > them purchasing a license for SQL Server 2005, so that the users can > > access it across the network. > > > > And do they need to use a specific Windows version with SQL Server > 2005? > > > > TIA > > > > ______________________________________ > > Kath Pelletti > > Software Design and Solutions Pty Ltd. > > Ph: 9505-6714 > > Fax: 9505-6430 > > Email: KP at SDSOnline.net > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Jul 4 08:22:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 09:22:52 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office><000601c69f26$dfb088e0$6466a8c0@50NM721><001701c69f2f$fed63bd0$6601a8c0@office> <000b01c69f6b$0bf91c70$6466a8c0@50NM721> Message-ID: <001301c69f6c$f570e9e0$6466a8c0@50NM721> ...oops ...correction: ...they are sold as Device or User CALs ...DEVICE cals being useful in shift work where 2 or more workers use the same workstation at different times ...USER cals are user name specific but can be installed on every device, the most common being a user with an office workstation, a home workstation, and a laptop ...a single user cal covers all three client installs for the same user. ...sorry :( William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 04, 2006 9:09 AM Subject: Re: [AccessD] Cost SQl Server > Kath > > ...I asked what their Server OS was and you replied Windows XP Pro which > implies that they are networked using the workgroup features of Windows XP > Pro and thus don't have a Server in the classic sense. SQL Server is very > CPU and resource intensive and needs to be placed on a real network > server, > not a shared workstation. > > ...in that light I recommend Windows Small Business Server Premium as > configured below: > > Windows Small Business Server 2003 R2 Premium ONLSA w5 CAL 1 each > P/N T75-00144 $1950 (Open New License with Software Assurance) > > 5-pack CAL ONLSA 2 each P/N T74-00186 (User) $690 > > Total: 1950 + 690 + 690 = $3330 > > ...the part numbers are essential to getting the right version ...I > included > Software Assurance pricing so that your client will get the Windows Server > 2007/8 release without having to pay for it all over again ...the R2 spec > is > essential to get the SQL Server 2005 version rather than the SQL Server > 2000 > included in the original and R1 releases. > > ...the 5 CALs are included w/SBS ...additional CALs are sold in 5 or 20 > CAL > packs ...they are sold as Device or User CALs ...device cals being useful > in > shift work where 2 or more workers use the same workstation at different > times ...device cals are user name specific but can be installed on every > device, the most common being a user with an office workstation, a home > workstation, and a laptop ...a single user cal covers all three client > installs for the same user. > __________________________________________________________ > > ...if you require ONLY SQL Server itself, it comes in two applicable > editions now as follows: > > SQL Server Workgroup Edition w/Server CAL $730 > > Workgroup User Cal 15 each $146 > > Total: 730 + 2190 = $2920 > __________________________________________________________ > > SQL Server Standard Edition w/Server CAL $885 > > Workgroup User Cal 15 each $162 > > Total: 885 + 2430 = $3315 > > ...the major difference for your size customer lies in the additional > reliability features of the Standard edition vs. the pure db features of > the > Workgroup edition ...you'll have to look at the comparison charts to > determine which you feel comfortable with ...the SBS at the top comes with > the Standard edition ...as you can see, the pricing of the SBS Premium > edition is virtually identical to that of SQL Server Standard by itself > ...which is one reason why all of my clients are on SBS. > > ...the prices cited are from the MS site and are MSRP ...you can certainly > do better but be careful who and what you buy ...OEM versions are cheaper > but get zero support from MS (and you WILL need it) ...Open License > pricing > is more expensive but more than pays for itself the first time you get a > version upgrade ...e-bay has hundreds of items in this category for sale > at > much better prices but you can get badly burned if you're not very careful > ...probably 60% of them are illegal and MS claims its as high as 80% > ...they > can get away with this by pirating enterprise license numbers and selling > you copies ...it installs and upgrades fine until MS finds that the > license > number has been pirated and then shuts your client down ...if your client > decides to go with a new server, I use Dell because it simplifies my life > and my clients' ...you get better pricing and Dell will provide your > software support ...and Dell won't try to take your client away as some MS > Open License Dealers are wont to do. > > ...note that this is my opinion and my experience ...others may certainly > differ :) > > ...hth > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, July 04, 2006 2:06 AM > Subject: Re: [AccessD] Cost SQl Server > > >> The no. of users is between 5 and 15. They are currently using Windows XP >> Pro. >> >> I understand that Express is an option but I want to know the cost of >> full >> MS SQL as well. >> >> Kath >> ----- Original Message ----- >> From: William Hindman >> To: Access Developers discussion and problem solving >> Sent: Tuesday, July 04, 2006 3:01 PM >> Subject: Re: [AccessD] Cost SQl Server >> >> >> ...what specific Server OS are they currently using and how many >> concurrent >> users? >> >> ...SQL Server Express is quite capable of serving as a be to an Access >> fe >> in >> many environments but you have to understand its limits ...but its free >> if >> those limitations don't limit your application. >> >> ...SQL Server 2005 comes packaged or stand alone ...if you purchase >> Small >> Business Server 2003 Premium, its included at a very steep discount to >> the >> stand alone price. >> >> ...the costs mount in either route as you add user licenses. >> >> ...server processor and memory specs are much more important in a >> client/server app w/SQL Server be than it is with an Access file/server >> be. >> >> ...Windows 2000 or XP will work fine but support for earlier versions is >> difficult at best ...the benefits of XP are, imnsho, more than >> sufficient >> to >> drive an upgrade ...unless they want to wait for Vista which will almost >> certainly require workstation hardware upgrades as well. >> >> ...hth >> >> William >> >> ----- Original Message ----- >> From: "Kath Pelletti" >> To: "Access D Normal List" ; "Access D SQl >> Server List" >> Sent: Monday, July 03, 2006 11:20 PM >> Subject: [AccessD] Cost SQl Server >> >> >> > Can someone help me with some costs which I find confusing on the MS >> site. >> > >> > I need to let a client know the costs of developing an app with SQL >> Server >> > as the BE as opposed to Access BE. >> > >> > I have all the development side clear but I need to quote them the >> cost >> of >> > them purchasing a license for SQL Server 2005, so that the users can >> > access it across the network. >> > >> > And do they need to use a specific Windows version with SQL Server >> 2005? >> > >> > TIA >> > >> > ______________________________________ >> > Kath Pelletti >> > Software Design and Solutions Pty Ltd. >> > Ph: 9505-6714 >> > Fax: 9505-6430 >> > Email: KP at SDSOnline.net >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From robert at servicexp.com Tue Jul 4 11:14:58 2006 From: robert at servicexp.com (Robert) Date: Tue, 4 Jul 2006 12:14:58 -0400 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F13C@LAKATOS.Symphony.local> Message-ID: <000001c69f84$ffaec0e0$6401a8c0@roberts> Gustav, Do you have a list of these little key combination gems?? Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 11:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access Wow, new things to learn every day. Thanks, Gustav. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Charlotte and Liz Sticky keys is another business. Having pressed F8 once sets "expanded selection". Now you can click to mark a part of a field. Done so, you can click F8 several times to mark: - word - field (all words) - record (all fields) - all records and press Shift+F8 to move reverse in this sequence. Press Esc to cancel "expanded selection". Most often users press F8 by accident but don't notice it as nothing happens - or so it seems. Then they forget. However, if you know about this shortcut, it can be a fast alternative to double-clicking and shift-marking with the mouse. Did you, by the way, know that Ctrl+Shift+Space will mark all records? And Shift+Space toggles between a selected record and selected first field of column? And Ctrl+Space toggles between a selected column and selected first field of row? Happy keying. /gustav >>> cfoust at infostatsystems.com 03-07-2006 18:51:14 >>> Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Tue Jul 4 15:59:31 2006 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 4 Jul 2006 13:59:31 -0700 Subject: [AccessD] Brief questions Message-ID: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> At the moment, I need yes/no answers. If the answer to both questions is yes, then I will elaborate, including examples of what I need to do. But if answer to either is no, there's no sense in my taking the time to write it all all. 1) When making a report, is Access capable of printing text upside down (Word doesn't seem to be able to)? I will be wanting to print a folded tent card with name on both sides, and that means that one side needs to print upside down. 2) If yes to 1, then is it possible to print record1 upside down, then record1 rightside up, before going on to do the same for record2? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From wdhindman at dejpolsystems.com Tue Jul 4 16:24:40 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 17:24:40 -0400 Subject: [AccessD] Brief questions References: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> Message-ID: <000601c69fb0$435da970$6466a8c0@50NM721> ----- Original Message ----- From: "Kathryn Bassett" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 04, 2006 4:59 PM Subject: [AccessD] Brief questions > At the moment, I need yes/no answers. If the answer to both questions is > yes, then I will elaborate, including examples of what I need to do. But > if answer to either is no, there's no sense in my taking the time to write > it all all. > > 1) When making a report, is Access capable of printing text upside down > (Word doesn't seem to be able to)? I will be wanting to print a folded > tent card with name on both sides, and that means that one side needs to > print upside down. > > 2) If yes to 1, then is it possible to print record1 upside down, then > record1 rightside up, before going on to do the same for record2? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 4 16:26:08 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 17:26:08 -0400 Subject: [AccessD] Brief questions References: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> Message-ID: <000901c69fb0$77a79650$6466a8c0@50NM721> ...yes, yes. ...lebans.com ...form/rotatetext ...works on reports as well ...hth :) William ----- Original Message ----- From: "Kathryn Bassett" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 04, 2006 4:59 PM Subject: [AccessD] Brief questions > At the moment, I need yes/no answers. If the answer to both questions is > yes, then I will elaborate, including examples of what I need to do. But > if answer to either is no, there's no sense in my taking the time to write > it all all. > > 1) When making a report, is Access capable of printing text upside down > (Word doesn't seem to be able to)? I will be wanting to print a folded > tent card with name on both sides, and that means that one side needs to > print upside down. > > 2) If yes to 1, then is it possible to print record1 upside down, then > record1 rightside up, before going on to do the same for record2? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kathryn at bassett.net Tue Jul 4 18:08:36 2006 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 4 Jul 2006 16:08:36 -0700 Subject: [AccessD] Expanded version - was Brief questions In-Reply-To: <000901c69fb0$77a79650$6466a8c0@50NM721> Message-ID: <000101c69fbe$c7aeeb90$6401a8c0@Kathryn> Thanks William. However, after downloading the sample database, I realize that I might not have been clear on one issue. It's the field content that I want to rotate, not the label. http://www.babcockancestry.com/storage/goodanproblem/ has the files I will refer to below. Everything is Office 2003, so Access2003, Publisher2003, Word2003. goodanprojectendresult.jpg is what the final report will look like (text only, of course, not the various lines). goodanprojecttemplate.jpg is the template with the measurments. Goodan60th.mdb is the very simple database with the names. This whole thing is based on http://www.paperdirect.com/Dignity+Folded+MiniCards/item_no=FLDMCDIGNT/cid=2034/page_no=1/shop.axd/ProductDetails - PaperDirect sells templates for Publisher and Word but there is a problem with both. With Publisher, Folded Mini Cards no.. (first one) it merges with the mdb and the names DO rotate text but it ends up with four of the same name on a page and then goes to the next record. They are aware of the problem but have not been able to figure out how to fix it. So that is out because it wastes 3 of ever 4 cards. With Word, Folded Mini Cards no.. (second one) there is no way to rotate the text upside down. 90degrees left or right, but not 180. So using that template prints only one side. Folded Mini Cards no.. (third one) is moot at present, eventually we want to put pictures to the side of the names. Mini Fold Tent Form.frm is moot at present as well. It's a WordPerfect11 form that pulls in the info from the mdb, and it rotates fine, BUT, it only merges in about 2/3 of the names. No idea why it doesn't merge them all in. Doesn't merge them all in from Excel either. So, now that I've expanded on what is needed, can it all be done within Access? If so, how? -- 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 > William Hindman > Sent: 04 Jul 2006 2:26 pm > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Brief questions > > ...yes, yes. > > ...lebans.com ...form/rotatetext ...works on reports as well ...hth :) > > William From carbonnb at gmail.com Tue Jul 4 18:42:57 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 4 Jul 2006 19:42:57 -0400 Subject: [AccessD] Brief questions In-Reply-To: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> References: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> Message-ID: On 7/4/06, Kathryn Bassett wrote: > At the moment, I need yes/no answers. If the answer to both questions is yes, then I will elaborate, including examples of what I need to do. But if answer to either is no, there's no sense in my taking the time to write it all all. > > 1) When making a report, is Access capable of printing text upside down (Word doesn't seem to be able to)? I will be wanting to print a folded tent card with name on both sides, and that means that one side needs to print upside down. You can do it in Word, but you just have to change your thinking a bit. Set the page to landsacpe and create a table with 2 cells. 1 for each half of the page. Then just change the text orientation. I'd give you the exact way to do it, but I don't have Word installed on the computer I'm at. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From kp at sdsonline.net Tue Jul 4 18:52:34 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 5 Jul 2006 09:52:34 +1000 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office><000601c69f26$dfb088e0$6466a8c0@50NM721><001701c69f2f$fed63bd0$6601a8c0@office> <000b01c69f6b$0bf91c70$6466a8c0@50NM721> Message-ID: <001701c69fc4$ec6d24a0$6601a8c0@office> That's a huge help - thanks William. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 11:09 PM Subject: Re: [AccessD] Cost SQl Server Kath ...I asked what their Server OS was and you replied Windows XP Pro which implies that they are networked using the workgroup features of Windows XP Pro and thus don't have a Server in the classic sense. SQL Server is very CPU and resource intensive and needs to be placed on a real network server, not a shared workstation. ...in that light I recommend Windows Small Business Server Premium as configured below: Windows Small Business Server 2003 R2 Premium ONLSA w5 CAL 1 each P/N T75-00144 $1950 (Open New License with Software Assurance) 5-pack CAL ONLSA 2 each P/N T74-00186 (User) $690 Total: 1950 + 690 + 690 = $3330 ...the part numbers are essential to getting the right version ...I included Software Assurance pricing so that your client will get the Windows Server 2007/8 release without having to pay for it all over again ...the R2 spec is essential to get the SQL Server 2005 version rather than the SQL Server 2000 included in the original and R1 releases. ...the 5 CALs are included w/SBS ...additional CALs are sold in 5 or 20 CAL packs ...they are sold as Device or User CALs ...device cals being useful in shift work where 2 or more workers use the same workstation at different times ...device cals are user name specific but can be installed on every device, the most common being a user with an office workstation, a home workstation, and a laptop ...a single user cal covers all three client installs for the same user. __________________________________________________________ ...if you require ONLY SQL Server itself, it comes in two applicable editions now as follows: SQL Server Workgroup Edition w/Server CAL $730 Workgroup User Cal 15 each $146 Total: 730 + 2190 = $2920 __________________________________________________________ SQL Server Standard Edition w/Server CAL $885 Workgroup User Cal 15 each $162 Total: 885 + 2430 = $3315 ...the major difference for your size customer lies in the additional reliability features of the Standard edition vs. the pure db features of the Workgroup edition ...you'll have to look at the comparison charts to determine which you feel comfortable with ...the SBS at the top comes with the Standard edition ...as you can see, the pricing of the SBS Premium edition is virtually identical to that of SQL Server Standard by itself ...which is one reason why all of my clients are on SBS. ...the prices cited are from the MS site and are MSRP ...you can certainly do better but be careful who and what you buy ...OEM versions are cheaper but get zero support from MS (and you WILL need it) ...Open License pricing is more expensive but more than pays for itself the first time you get a version upgrade ...e-bay has hundreds of items in this category for sale at much better prices but you can get badly burned if you're not very careful ...probably 60% of them are illegal and MS claims its as high as 80% ...they can get away with this by pirating enterprise license numbers and selling you copies ...it installs and upgrades fine until MS finds that the license number has been pirated and then shuts your client down ...if your client decides to go with a new server, I use Dell because it simplifies my life and my clients' ...you get better pricing and Dell will provide your software support ...and Dell won't try to take your client away as some MS Open License Dealers are wont to do. ...note that this is my opinion and my experience ...others may certainly differ :) ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 04, 2006 2:06 AM Subject: Re: [AccessD] Cost SQl Server > The no. of users is between 5 and 15. They are currently using Windows XP > Pro. > > I understand that Express is an option but I want to know the cost of full > MS SQL as well. > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, July 04, 2006 3:01 PM > Subject: Re: [AccessD] Cost SQl Server > > > ...what specific Server OS are they currently using and how many > concurrent > users? > > ...SQL Server Express is quite capable of serving as a be to an Access fe > in > many environments but you have to understand its limits ...but its free > if > those limitations don't limit your application. > > ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small > Business Server 2003 Premium, its included at a very steep discount to > the > stand alone price. > > ...the costs mount in either route as you add user licenses. > > ...server processor and memory specs are much more important in a > client/server app w/SQL Server be than it is with an Access file/server > be. > > ...Windows 2000 or XP will work fine but support for earlier versions is > difficult at best ...the benefits of XP are, imnsho, more than sufficient > to > drive an upgrade ...unless they want to wait for Vista which will almost > certainly require workstation hardware upgrades as well. > > ...hth > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access D Normal List" ; "Access D SQl > Server List" > Sent: Monday, July 03, 2006 11:20 PM > Subject: [AccessD] Cost SQl Server > > > > Can someone help me with some costs which I find confusing on the MS > site. > > > > I need to let a client know the costs of developing an app with SQL > Server > > as the BE as opposed to Access BE. > > > > I have all the development side clear but I need to quote them the cost > of > > them purchasing a license for SQL Server 2005, so that the users can > > access it across the network. > > > > And do they need to use a specific Windows version with SQL Server > 2005? > > > > TIA > > > > ______________________________________ > > Kath Pelletti > > Software Design and Solutions Pty Ltd. > > Ph: 9505-6714 > > Fax: 9505-6430 > > Email: KP at SDSOnline.net > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Jul 5 04:00:28 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 05 Jul 2006 11:00:28 +0200 Subject: [AccessD] Stuck Highlight in Access Message-ID: Hi Robert They are all listed somewhere in the on-line help ... Another of my favourites inserts the data from the same field in the previous record: Ctrl+' /gustav >>> robert at servicexp.com 04-07-2006 18:14 >>> Gustav, Do you have a list of these little key combination gems?? Robert From Chris.Foote at uk.thalesgroup.com Wed Jul 5 04:30:46 2006 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 5 Jul 2006 10:30:46 +0100 Subject: [AccessD] Stuck Highlight in Access Message-ID: <7303A459C921B5499AF732CCEEAD2B7F01BFE404@craws161660.int.rdel.co.uk> My favourite is Ctrl+; which inserts the current date. Regards Chris F > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, July 05, 2006 10:00 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Stuck Highlight in Access > > > Hi Robert > > They are all listed somewhere in the on-line help ... > Another of my favourites inserts the data from the same field > in the previous record: > Ctrl+' > > /gustav > > >>> robert at servicexp.com 04-07-2006 18:14 >>> > Gustav, > Do you have a list of these little key combination gems?? > > Robert From scapistrant at symphonyinfo.com Wed Jul 5 09:12:31 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 5 Jul 2006 09:12:31 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000101c69d05$f7c72a60$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F010618FA@LAKATOS.Symphony.local> A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 From andy at minstersystems.co.uk Wed Jul 5 10:18:56 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Jul 2006 15:18:56 +0000 Subject: [AccessD] VBA project corruption Message-ID: <20060705141900.ECD76237AE0@smtp.nildram.co.uk> Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From scapistrant at symphonyinfo.com Wed Jul 5 09:50:54 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 5 Jul 2006 09:50:54 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000601c6a03f$96bed370$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F010618FB@LAKATOS.Symphony.local> Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 From dwaters at usinternet.com Wed Jul 5 10:02:37 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 10:02:37 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <25816005.1152111378547.JavaMail.root@sniper15> Message-ID: <001f01c6a044$0e7ab1a0$0200a8c0@danwaters> Steve, Try putting /decompile AFTER the path to your application. It will be the last item in the command line or in the target field of a shortcut. I set mine up that way and it does work. Not sure if how I do it is the only way though. Dan Waters ProMation Systems, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 9:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Jul 5 11:19:18 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Jul 2006 16:19:18 +0000 Subject: [AccessD] VBA project corruption Message-ID: <20060705151923.BB2532377D0@smtp.nildram.co.uk> Sounds like it tried and failed. Just to be sure make your command line just the Access bit and the /decompile switch. Then select your MDB when the selection screen pops up. That definitely invokes the decompile. But, as I said, it sounds to me like it's already tried to decomp and that's not worked. What I've done in this circumstance is to selectively import components into a fresh MDB, not trying to import all. That way I've found which component is corrupt and then I've just concentrated on that, ie going back to an earlier version and then making mods as necessary. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] VBA project corruption Date: 05/07/06 14:53 Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From wdhindman at dejpolsystems.com Wed Jul 5 10:23:46 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 5 Jul 2006 11:23:46 -0400 Subject: [AccessD] VBA project corruption References: <001f01c6a044$0e7ab1a0$0200a8c0@danwaters> Message-ID: <003a01c6a047$029243a0$6466a8c0@50NM721> Steve ...see http://www.granite.ab.ca/access/decompile.htm for detailed steps. ...and for A2K3 mdbs, Max Sherman's EatBloatV2 works much better than "decompile" William ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 05, 2006 11:02 AM Subject: Re: [AccessD] VBA project corruption > Steve, > > Try putting /decompile AFTER the path to your application. It will be the > last item in the command line or in the target field of a shortcut. I > set > mine up that way and it does work. Not sure if how I do it is the only > way > though. > > Dan Waters > ProMation Systems, Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > Capistrant > Sent: Wednesday, July 05, 2006 9:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file for my mdb]. > > Not sure if I constructed that correctly. But it appeared to chug along > and do something, but then ended up with the same VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access 2000 mdb... > Then yesterday I open the file and get "The Visual Basic for > Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable to run > anything with code, nor can I even view code. Ran Repair and Compact to > no avail. > > Normally in these situations, I start a new MDB, then import all objects > from the corrupt DB. But here, even the import function fails (same > error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that work some > magic. Any advice? I'd love not to have lost many hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jul 5 13:25:49 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Jul 2006 13:25:49 -0500 Subject: [AccessD] Cannot compact and repair database Message-ID: I have a database that when I tried to compact inside access and got a message that access has encountered and needs to close. This is with the database open exclusively. I tried it using JetComp outside of access with the same result. Tried to decompile using the following from Start Run and got an error cannot find c:\program... C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile c:\files\dss\sacroc.mdb Also tried with no success C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile When it try this access opens C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE I need some suggestions here. 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 carbonnb at gmail.com Wed Jul 5 13:36:39 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 5 Jul 2006 14:36:39 -0400 Subject: [AccessD] Cannot compact and repair database In-Reply-To: References: Message-ID: On 7/5/06, Kaup, Chester wrote: > I have a database that when I tried to compact inside access and got a > message that access has encountered and needs to close. This is with the > database open exclusively. I tried it using JetComp outside of access > with the same result. Tried to decompile using the following from Start > Run and got an error cannot find c:\program... > > C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile > c:\files\dss\sacroc.mdb Try wrapping the paths in quotes. It might be getting hung up on the space, so your command will look like: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /decompile "c:\files\dss\sacroc.mdb" -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From DElam at jenkens.com Wed Jul 5 13:36:33 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 5 Jul 2006 13:36:33 -0500 Subject: [AccessD] Cannot compact and repair database Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D85F@natexch.jenkens.com> It may not work considering decompile did not, but I have had some luck opening a blank database and importing all of the objects. After that your best bet may be to purchase software or send it to a service which rescues corrupt databases. I have needed this once and used a service that I would need to look up the name of. For less than $25 they did a fine job of rescuing a chunk of corrupt data. Debbie -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, July 05, 2006 1:26 PM To: Access Developers discussion and problem solving Subject: [AccessD] Cannot compact and repair database I have a database that when I tried to compact inside access and got a message that access has encountered and needs to close. This is with the database open exclusively. I tried it using JetComp outside of access with the same result. Tried to decompile using the following from Start Run and got an error cannot find c:\program... C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile c:\files\dss\sacroc.mdb Also tried with no success C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile When it try this access opens C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE I need some suggestions here. 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 - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From bill_Patten at earthlink.net Wed Jul 5 14:15:35 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Wed, 5 Jul 2006 12:15:35 -0700 Subject: [AccessD] VBA project corruption References: <02F5B8F3D893A845A3DF342F14D80F010618FA@LAKATOS.Symphony.local> Message-ID: <002d01c6a067$64f6f660$6401a8c0@BPCS> Steve, Try making several copies of the bad database, then in one of the copies start deleting forms one at a time and try compact and repair after each deletion. If it is a bad form it will finally allow you to compact and repair, when it does then go to another copy and just delete that form. If it compacts ok you now know which form. Then go to an other copy create a new form and import all the controls from the bad form and the deleted the bad form. If it compacts ok you now only have to rewrite the code in the one form and that should save you time. I had something similar once and it was a corrupted form and I was able to save all the other forms, etc. Hope this helps. Bill ----- Original Message ----- From: "Steve Capistrant" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 05, 2006 7:12 AM Subject: [AccessD] VBA project corruption A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- 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 Jul 5 14:22:09 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Jul 2006 14:22:09 -0500 Subject: [AccessD] Cannot compact and repair database In-Reply-To: Message-ID: Problem solved! Problem was found when copying tables to a new database. One of the tables was corrupted. Restored table from a known good copy. Database can now be compacted and repaired. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, July 05, 2006 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot compact and repair database On 7/5/06, Kaup, Chester wrote: > I have a database that when I tried to compact inside access and got a > message that access has encountered and needs to close. This is with the > database open exclusively. I tried it using JetComp outside of access > with the same result. Tried to decompile using the following from Start > Run and got an error cannot find c:\program... > > C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile > c:\files\dss\sacroc.mdb Try wrapping the paths in quotes. It might be getting hung up on the space, so your command will look like: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /decompile "c:\files\dss\sacroc.mdb" -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jul 5 15:06:30 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 15:06:30 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <32065431.1152109152940.JavaMail.root@sniper19> Message-ID: <002f01c6a06e$84b4b580$0200a8c0@danwaters> Steve - I had a form that wasn't corrupted, but didn't work correctly at all. Once I figured out which form it was, I commented ALL the code, did a compact/repair, shutdown, reopened using /decompile, then recompiled from the VBA window. Then I decommented all the code in that form, and went through the same routine. Then the form worked correctly without my having to rewrite anything. My guess was that commenting out all the code erased the p-code for that form, then when I decommented my code, the p-code was re-created correctly. Anyway, it all took about 5 minutes and I was back in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 9:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] VBA project corruption A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Wed Jul 5 16:28:17 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 5 Jul 2006 16:28:17 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a043$d444ced0$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F145@LAKATOS.Symphony.local> Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Jul 5 16:49:08 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Jul 2006 22:49:08 +0100 Subject: [AccessD] VBA project corruption In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F145@LAKATOS.Symphony.local> Message-ID: <005f01c6a07c$d88b3b30$1f1e0c54@minster33c3r25> Nice work Liz. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: 05 July 2006 22:28 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object > corruption problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included > exporting objects to text files and reimporting them. There > are nearly 900 forms, reports and modules in this .mdb! > Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat > file to decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with > version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I > don't understand why just opening the thing in 2003 didn't > have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Capistrant > Sent: Wednesday, July 05, 2006 10:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file > for my mdb]. > > Not sure if I constructed that correctly. But it appeared to > chug along and do something, but then ended up with the same > VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access > 2000 mdb... Then yesterday I open the file and get "The > Visual Basic for Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable > to run anything with code, nor can I even view code. Ran > Repair and Compact to no avail. > > Normally in these situations, I start a new MDB, then import > all objects from the corrupt DB. But here, even the import > function fails (same error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that > work some magic. Any advice? I'd love not to have lost many > hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ldoering at symphonyinfo.com Wed Jul 5 17:02:30 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 5 Jul 2006 17:02:30 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a07e$6a782520$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F147@LAKATOS.Symphony.local> >From you, Andy, that means a lot. Thank you. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 5:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Nice work Liz. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: 05 July 2006 22:28 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object > corruption problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included > exporting objects to text files and reimporting them. There > are nearly 900 forms, reports and modules in this .mdb! > Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat > file to decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with > version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I > don't understand why just opening the thing in 2003 didn't > have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Capistrant > Sent: Wednesday, July 05, 2006 10:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file > for my mdb]. > > Not sure if I constructed that correctly. But it appeared to > chug along and do something, but then ended up with the same > VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access > 2000 mdb... Then yesterday I open the file and get "The > Visual Basic for Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable > to run anything with code, nor can I even view code. Ran > Repair and Compact to no avail. > > Normally in these situations, I start a new MDB, then import > all objects from the corrupt DB. But here, even the import > function fails (same error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that > work some magic. Any advice? I'd love not to have lost many > hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jul 5 17:03:37 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 17:03:37 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <11851103.1152135229710.JavaMail.root@sniper21> Message-ID: <003901c6a07e$dee4fc30$0200a8c0@danwaters> Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Wed Jul 5 17:27:02 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 5 Jul 2006 17:27:02 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a080$8f214c60$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F148@LAKATOS.Symphony.local> Great ideas. I will try them. Thank you! Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 05, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Wed Jul 5 17:37:38 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 5 Jul 2006 17:37:38 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000e01c6a080$952a4030$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F01061902@LAKATOS.Symphony.local> Dan, I think we'll get in that habit, but with a slight twist, because this app is used by end-users in MDE format. So they'd never tolerate the load delay. But the app has a "Tune Up" feature in the administrative area, which runs a bunch of troubleshooting routines. Or maybe we force decompile/recompile(and other hygiene functions like Compact/Repair) to run on a schedule (e.g. once every 10 times it opens). We've tried standardizing compact on exit, but it seems to cause user confusion (why so slow to close?) and file chaos (relaunch right away, causing the db1.mdb temp file to abort and get stranded). Thanks again to all of you who gave advice to solve the problem! Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 05, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 From cfoust at infostatsystems.com Wed Jul 5 18:09:16 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Jul 2006 16:09:16 -0700 Subject: [AccessD] VBA project corruption In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F145@LAKATOS.Symphony.local> Message-ID: Liz, That's a long-standing problem with Access 2000 that was supposed to have been fixed in SP2. Are you saying you got it back in 2003?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 5 18:30:15 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 5 Jul 2006 19:30:15 -0400 Subject: [AccessD] VBA project corruption References: <02F5B8F3D893A845A3DF342F14D80F01061902@LAKATOS.Symphony.local> Message-ID: <001b01c6a08a$f8758460$6466a8c0@50NM721> Steve ...decompile is at best a half measure on A2K3 ...I use Sherman's EatBloatV2 in every app now and can't speak highly enough of its ability to keep my code lean and clean ...and its extremely easy to incorporate in your other maintenance routines ...plus an extra bonus is that Max lurks here sometimes :) http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2.mdb' William ----- Original Message ----- From: "Steve Capistrant" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 05, 2006 6:37 PM Subject: Re: [AccessD] VBA project corruption > Dan, > I think we'll get in that habit, but with a slight twist, because this > app is used by end-users in MDE format. So they'd never tolerate the > load delay. But the app has a "Tune Up" feature in the administrative > area, which runs a bunch of troubleshooting routines. > > Or maybe we force decompile/recompile(and other hygiene functions like > Compact/Repair) to run on a schedule (e.g. once every 10 times it > opens). We've tried standardizing compact on exit, but it seems to > cause user confusion (why so slow to close?) and file chaos (relaunch > right away, causing the db1.mdb temp file to abort and get stranded). > > Thanks again to all of you who gave advice to solve the problem! > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, July 05, 2006 5:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] VBA project corruption > > Excellent! > > A couple of things you might to do: > > 1) Always use a shortcut to open the app. In that shortcut, include the > /decompile after the path to your app. So the app gets decompiled every > time it's opened. > > 2) In the VB window, modify the Standard toolbar. Add a Compile button > next > to the Properties Window button. Now you can Compile quickly whenever > you > want. > > Doing both of these helps a lot to keep the database small and the code > healthy. > > Dan Waters > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: Wednesday, July 05, 2006 4:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object corruption > problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included exporting > objects to text files and reimporting them. There are nearly 900 forms, > reports and modules in this .mdb! Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to > decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with version > 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why > just opening the thing in 2003 didn't have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Jul 5 18:31:08 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 5 Jul 2006 19:31:08 -0400 Subject: [AccessD] VBA project corruption References: Message-ID: <001f01c6a08b$18602410$6466a8c0@50NM721> ...no, she's saying the A2K wasn't updated :( William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 05, 2006 7:09 PM Subject: Re: [AccessD] VBA project corruption > Liz, > > That's a long-standing problem with Access 2000 that was supposed to > have been fixed in SP2. Are you saying you got it back in 2003?? > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: Wednesday, July 05, 2006 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object corruption > problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included exporting > objects to text files and reimporting them. There are nearly 900 forms, > reports and modules in this .mdb! Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to > decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with version > 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why > just opening the thing in 2003 didn't have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > Capistrant > Sent: Wednesday, July 05, 2006 10:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file for my mdb]. > > Not sure if I constructed that correctly. But it appeared to chug along > and do something, but then ended up with the same VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access 2000 mdb... > Then yesterday I open the file and get "The Visual Basic for > Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable to run > anything with code, nor can I even view code. Ran Repair and Compact to > no avail. > > Normally in these situations, I start a new MDB, then import all objects > from the corrupt DB. But here, even the import function fails (same > error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that work some > magic. Any advice? I'd love not to have lost many hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Jul 5 19:52:51 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 19:52:51 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <5516359.1152139315228.JavaMail.root@sniper39> Message-ID: <003a01c6a096$83bdf240$0200a8c0@danwaters> Hello Steve! I believe that the decompile/compile issue is something that only a developer needs to worry about, because you only need to do this with code that is undergoing development. Once deployed, the code doesn't change, and won't bloat. I got caught once installing a system that had a compile error, and it opened in the code window on the VP's PC with a bright yellow line. :-( So I put in a routine that automatically compiles the FE of my app each time it shuts down normally. So, if I've screwed up the code it'll get caught on my PC instead of my client's PC. Compact/Repair is something that will be a problem for users. I have a routine that forces a compact/repair of the BE when the LAST user logs out. The BE has the Compact on Close option checked, and the code in the FE simply opens and immediately closes the BE file. A status bar progress bar runs when this occurs. The FE on each client will compact/repair every time it's closed (I use a lot of FE Temp tables). This happens in a few seconds so no one complains. I just check the Compact on Close option. All the best! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 5:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Dan, I think we'll get in that habit, but with a slight twist, because this app is used by end-users in MDE format. So they'd never tolerate the load delay. But the app has a "Tune Up" feature in the administrative area, which runs a bunch of troubleshooting routines. Or maybe we force decompile/recompile(and other hygiene functions like Compact/Repair) to run on a schedule (e.g. once every 10 times it opens). We've tried standardizing compact on exit, but it seems to cause user confusion (why so slow to close?) and file chaos (relaunch right away, causing the db1.mdb temp file to abort and get stranded). Thanks again to all of you who gave advice to solve the problem! Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 05, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Thu Jul 6 08:48:30 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Thu, 6 Jul 2006 08:48:30 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a088$f22204f0$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F14A@LAKATOS.Symphony.local> Nope, moving to 2003 fixed it. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, July 05, 2006 6:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Liz, That's a long-standing problem with Access 2000 that was supposed to have been fixed in SP2. Are you saying you got it back in 2003?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 6 15:05:11 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 6 Jul 2006 15:05:11 -0500 Subject: [AccessD] Pass thru Query - SQL Server Message-ID: I have the following pass through query to SQL server. The table it tries to access will open. I have verified the table name and field names. I have write permission to the table. If someone knows some SQL server stuff your help would be appreciated. EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; 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 stuart at lexacorp.com.pg Thu Jul 6 15:36:04 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Jul 2006 06:36:04 +1000 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: References: Message-ID: <44AE00D4.29662.6D7D50E@stuart.lexacorp.com.pg> On 6 Jul 2006 at 15:05, Kaup, Chester wrote: > I have the following pass through query to SQL server. The table it > tries to access will open. I have verified the table name and field > names. I have write permission to the table. If someone knows some SQL > server stuff your help would be appreciated. > > EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; > What sort of error are you getting? Do you have Execute permission on the sp? What is it renaming? Are you changing a table structure here? If so, you need more that just Write permission on the table, you must be logged in with a role that permits Altering objects. -- Stuart From Chester_Kaup at kindermorgan.com Thu Jul 6 15:52:37 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 6 Jul 2006 15:52:37 -0500 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: <44AE00D4.29662.6D7D50E@stuart.lexacorp.com.pg> Message-ID: Answers to your questions below. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, July 06, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server On 6 Jul 2006 at 15:05, Kaup, Chester wrote: > I have the following pass through query to SQL server. The table it > tries to access will open. I have verified the table name and field > names. I have write permission to the table. If someone knows some SQL > server stuff your help would be appreciated. > > EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; > What sort of error are you getting? ODBC-Call Failed [Microsoft][ODBC SQL Server Driver][SQL Server]Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong. (#15248) Yet if I go directly to the table in access I can open it. Do you have Execute permission on the sp? That I do not know What is it renaming? Are you changing a table structure here? If so, you need more that just Write permission on the table, you must be logged in with a role that permits Altering objects. I am attempting to change a column name. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Jul 6 16:08:14 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Jul 2006 07:08:14 +1000 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: References: <44AE00D4.29662.6D7D50E@stuart.lexacorp.com.pg>, Message-ID: <44AE085E.1684.6F54A50@stuart.lexacorp.com.pg> On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > Answers to your questions below. How about posting the sp? -- Stuart From mwp.reid at qub.ac.uk Thu Jul 6 16:14:35 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 6 Jul 2006 22:14:35 +0100 Subject: [AccessD] Pass thru Query - SQL Server References: Message-ID: Check your spelling of column names etc Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Kaup, Chester Sent: Thu 06/07/2006 21:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server Answers to your questions below. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, July 06, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server On 6 Jul 2006 at 15:05, Kaup, Chester wrote: > I have the following pass through query to SQL server. The table it > tries to access will open. I have verified the table name and field > names. I have write permission to the table. If someone knows some SQL > server stuff your help would be appreciated. > > EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; > What sort of error are you getting? ODBC-Call Failed [Microsoft][ODBC SQL Server Driver][SQL Server]Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong. (#15248) Yet if I go directly to the table in access I can open it. Do you have Execute permission on the sp? That I do not know What is it renaming? Are you changing a table structure here? If so, you need more that just Write permission on the table, you must be logged in with a role that permits Altering objects. I am attempting to change a column name. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jul 6 20:28:14 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 06 Jul 2006 18:28:14 -0700 Subject: [AccessD] VBA project corruption In-Reply-To: <003901c6a07e$dee4fc30$0200a8c0@danwaters> References: <003901c6a07e$dee4fc30$0200a8c0@danwaters> Message-ID: <44ADB8AE.8060907@shaw.ca> You can recompile directly from code see below. You can't recompile an MDE cause there is no text source code In Access 2000, if you Copy and Paste Forms or modules, then close the database without compiling and saving the module, the database file may be corrupt when it is opened next. This can occur if the version of the file VBE6.DLL on the system is at 6.3.91.8. This can occur if the VBE6 file has been updated by some application other than Office/Access 2000.an example is Mappoint. Compiling and saving the module prior to closing will resolve the issue. For more details, please see article: Q304548 - ACC2000: Err: Error Accessing File. Network Connection http://support.microsoft.com/support/kb/articles/q304/5/48.asp ------------- Turn off Compile on demand Why does Compile On Demand increase chance of corruption? Because it causes code outside the loaded modules to get compiled only partially. That is, it compiles only the part that's needed to run your code, whereas turning it off causes the whole module to compile. This means that whole modules get compiled sooner (rather than small chunks getting compiled when called), so you have fewer layers of compilation. FWIW, Michael Kaplan says certain kinds of corruption will never happen when COMPILE ON DEMAND is off: Public Function CompileAndSaveProject() As Boolean '-------------------------------------------------------------------------- ' An easy way to save and compile an application's modules using SysCmd() ' Source: http://www.arimsoft.ru/msaccess/ '-------------------------------------------------------------------------- SysCmd 504, 16483 '-------------------------------------------------------------------------- ' SysCmd 504, 16483 fails if compile error(s) are encountered '-------------------------------------------------------------------------- CompileAndSaveProject = Application.IsCompiled '-------------------------------------------------------------------------- ' Notify user about results of the attempt to compile/save '-------------------------------------------------------------------------- If IsCompiled Then MsgBox "Successfully compiled and saved all modules!" DoCmd.Restore Else MsgBox "Compilation process failed due to " & vbCr & _ "non-syntax errors in source Code! " & vbCr & _ "Please use menu command " & vbCr & vbCr & _ "Debug /Compile And Save All Modules " & vbCr & vbCr & _ "to find the error!" End If End Function Dan Waters wrote: >Excellent! > >A couple of things you might to do: > >1) Always use a shortcut to open the app. In that shortcut, include the >/decompile after the path to your app. So the app gets decompiled every >time it's opened. > >2) In the VB window, modify the Standard toolbar. Add a Compile button next >to the Properties Window button. Now you can Compile quickly whenever you >want. > >Doing both of these helps a lot to keep the database small and the code >healthy. > >Dan Waters > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering >Sent: Wednesday, July 05, 2006 4:28 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] VBA project corruption > >Andy, Bill, William and Dan, > >Steve handed this issue off to me--being the boss has some >advantages--for him! :) > >Turns out, this is a .dll problem, not an actual object corruption >problem. Microsoft explains it all here: >http://support.microsoft.com/?scid=kb;EN-US;304548. > >I didn't like the solutions they offered, which included exporting >objects to text files and reimporting them. There are nearly 900 forms, >reports and modules in this .mdb! Using the advice from >http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to >decompile with 2003, ("C:\Program Files\Microsoft >Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run >(a long time), I saved the file to 2003 format and all was well. > >I imagine that this is because 2003 is playing nicely with version >6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why >just opening the thing in 2003 didn't have the same effect. > >Thanks for all your help! > > > >Liz Doering >Symphony Information Services >ldoering at symphonyinfo.com >www.symphonyinfo.com >763-391-7400 x802 > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >Capistrant >Sent: Wednesday, July 05, 2006 10:01 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] VBA project corruption > >Andy, >I did try decompiling, using this syntax from a RUN window: >[path and file for MSAssess.exe] /decompile [path and file for my mdb]. > >Not sure if I constructed that correctly. But it appeared to chug along >and do something, but then ended up with the same VBA Corrupt message. > >Steve > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Wednesday, July 05, 2006 9:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] VBA project corruption > >Steve, have you tried decompiling? >-- >Andy Lacey >http://www.minstersystems.co.uk > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "Access Developers discussion and problem solving" > >Subject: [AccessD] VBA project corruption >Date: 05/07/06 14:15 > > >A nice, long productive holiday weekend working on my Access 2000 mdb... >Then yesterday I open the file and get "The Visual Basic for >Applications in this project is corrupt." Sigh. > >I can shift bypass in to see objects. But completely unable to run >anything with code, nor can I even view code. Ran Repair and Compact to >no avail. > >Normally in these situations, I start a new MDB, then import all objects >from the corrupt DB. But here, even the import function fails (same >error message) when I point it to the corrupt db. > >I have heard of (but never used) third party utilities that work some >magic. Any advice? I'd love not to have lost many hours of work. > >Thank you. > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Office, Twin Cities: 763-391-7400, ext. 801. >Office, Toll free: 888-357-1373, ext. 801 >Direct: 612-237-0075 > > -- Marty Connelly Victoria, B.C. Canada From michael at ddisolutions.com.au Thu Jul 6 21:48:42 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 7 Jul 2006 12:48:42 +1000 Subject: [AccessD] Pass thru Query - SQL Server Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7AF@ddi-01.DDI.local> Its system sp. (sp_) Make sure your login has ddladmin permissions... >From BOL Members of the sysadmin fixed server role, the db_owner and db_ddladmin fixed database roles, or the owner of the object can execute sp_rename. Only members of the sysadmin and dbcreator fixed server roles can execute sp_rename with 'database' as the object_type. Does the sp run from QA? cheers Michael M On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > Answers to your questions below. How about posting the sp? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Jul 6 22:03:03 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Jul 2006 13:03:03 +1000 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116A7AF@ddi-01.DDI.local> Message-ID: <44AE5B87.28074.57AF808@stuart.lexacorp.com.pg> On 7 Jul 2006 at 12:48, Michael Maddison wrote: > Its system sp. (sp_) > Doh! From colin.spence at centrelink.gov.au Fri Jul 7 01:15:15 2006 From: colin.spence at centrelink.gov.au (colin.spence at centrelink.gov.au) Date: Fri, 7 Jul 2006 16:15:15 +1000 Subject: [AccessD] Colin Spence/NSO/CSDA is out of the office. Message-ID: I will be out of the office starting 07/07/2006 and will not return until 17/07/2006. I am on leave for 1 weeks. Please contact Terry Bissell (383208) ********************************************************************** IMPORTANT: This e-mail is intended for the use of the addressee and may contain information that is confidential, commercially valuable or subject to legal or parliamentary privilege. If you are not the intended recipient you are notified that any review, re-transmission, disclosure, use or dissemination of this communication is strictly prohibited by several Commonwealth Acts of Parliament. If you have received this communication in error please notify the sender immediately and delete all copies of this transmission together with any attachments. ********************************************************************** From andy at minstersystems.co.uk Fri Jul 7 06:21:12 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 7 Jul 2006 11:21:12 +0000 Subject: [AccessD] Tab Control PageIndex/Access Not Shutting Down Message-ID: <20060707102115.CB5D0238079@smtp.nildram.co.uk> Here's a thing. I've just discovered this and haven't heard it mentioned before so thought I'd let you know. Am on A97 so don't know if applies to later versions. You all know I'm sure that there are issues with Access not closing down properly under certain circumstances, like not closing all recordsets for example. Well I've stumbled across another. Take a form with a tab control. In the OnChange you put a select statement to do stuff according to the tab selected. Hence, something like Select Case me.tabctl Case Me.tabMain.PageIndex ..................... Case Me.tabSecond.PageIndex ....................... Case etc End Select so far, so good. However I wanted the same thing to happen for two tabs so, naturally (I thought) I coded: Select Case me.tabctl Case Me.tabMain.PageIndex, Me.tabOther.PageIndex ..................... Case Me.tabSecond.PageIndex ....................... Case etc End Select After much detective work I find that as soon as I click on tabOther Access won't close down cleanly. Nothing to do with what code follows cos I've commented out all of the code. And if I change it to: Select Case me.tabctl Case Me.tabMain.PageIndex .................... Case Me.tabOther.PageIndex same ..................... as above Case Me.tabSecond.PageIndex ....................... Case etc End Select the problem goes away. Curiously too, selecting tabMain does not cause it, only selecting the second option in the Case statement. Ain't that peculiar? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From Chester_Kaup at kindermorgan.com Fri Jul 7 11:09:26 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 7 Jul 2006 11:09:26 -0500 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116A7AF@ddi-01.DDI.local> Message-ID: I will have to check with the DBA about my rights. Is there another way to change a field name in an SQL table with a pass through query? This is new territory for me. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, July 06, 2006 9:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server Its system sp. (sp_) Make sure your login has ddladmin permissions... >From BOL Members of the sysadmin fixed server role, the db_owner and db_ddladmin fixed database roles, or the owner of the object can execute sp_rename. Only members of the sysadmin and dbcreator fixed server roles can execute sp_rename with 'database' as the object_type. Does the sp run from QA? cheers Michael M On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > Answers to your questions below. How about posting the sp? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Fri Jul 7 13:39:11 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 07 Jul 2006 14:39:11 -0400 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: References: Message-ID: <1152297551.44aeaa4f1c1c4@webmail.highstream.net> Not if I was your DBA. You have no business changing column names from a pass-through query in a production database. And, something no one else said, no ; at the end of your statement. SQL Server does not use it and this is supposed to be straight SQL Server code, nothing Access when you use a pass-through. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Fri, 7 Jul 2006 11:09:26 -0500 > From: "Kaup, Chester" > Subject: Re: [AccessD] Pass thru Query - SQL Server > To: "Access Developers discussion and problem solving" > > Message-ID: > > Content-Type: text/plain; charset=us-ascii > > I will have to check with the DBA about my rights. > Is there another way to change a field name in an SQL table with a pass > through query? This is new territory for me. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael > Maddison > Sent: Thursday, July 06, 2006 9:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Pass thru Query - SQL Server > > Its system sp. (sp_) > > Make sure your login has ddladmin permissions... > > >From BOL > Members of the sysadmin fixed server role, the db_owner and db_ddladmin > fixed database roles, or the owner of the object can execute sp_rename. > Only members of the sysadmin and dbcreator fixed server roles can > execute sp_rename with 'database' as the object_type. > > Does the sp run from QA? > > cheers > > Michael M > > On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > > > Answers to your questions below. > > How about posting the sp? > -- > Stuart From barbararyan at cox.net Fri Jul 7 13:48:24 2006 From: barbararyan at cox.net (barbararyan at cox.net) Date: Fri, 7 Jul 2006 14:48:24 -0400 Subject: [AccessD] Transferspreadsheet Message-ID: <21527961.1152298104332.JavaMail.root@eastrmwml02.mgt.cox.net> In an Access 97 application, I used the Transferspreadsheet method to export a query to an Excel workbook (which appended a worksheet to the workbook). I converted the application to Access 2002 --- and now it will no longer append to an existing workbook (although it will create a new workbook if one doesn't exist). I have changed the spreadsheet type to acSpreadsheetTypeExcel8 and also have tried acSpreadsheetTypeExcel9, but it still does not work. Is there a difference in how the command works in 2002 vs 97? Thanks, Barb Ryan From bheygood at abestsystems.com Sun Jul 9 12:27:47 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 9 Jul 2006 10:27:47 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: <000001c62fe8$e8bdd170$8bf31452@server> Message-ID: Good Morning to the list, I find myself with 2 new tables I imported from Excel with over 321 fields. All fields are text 255. I don't think I can face manually changing all of them to "Allow Zero Length String". In the archives I could not find a way to do so easily. Some thing like iterate thru all the fields in the table via DAO, changing the property.... Any code out there? A2K TIA Bob Heygood From martyconnelly at shaw.ca Sun Jul 9 13:44:26 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 09 Jul 2006 11:44:26 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: References: Message-ID: <44B14E8A.4030401@shaw.ca> The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada From wdhindman at dejpolsystems.com Sun Jul 9 23:48:07 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 10 Jul 2006 00:48:07 -0400 Subject: [AccessD] A2K3 Runtime Switch References: <21527961.1152298104332.JavaMail.root@eastrmwml02.mgt.cox.net> Message-ID: <000701c6a3dc$0a33b010$6e9ba545@50NM721> Group ...in previous versions (A97/A2K) I could use the "/runtime" command line switch to create a shortcut that would allow me to test my app in the Access "runtime" environment. ...with the VSTO installed with A2K3, that switch appears to no longer function ...I still get the full version functionality when I use it. ...after reasonable search of the kb and net, I'm at a loss as how to test a new A2K3 app in the runtime environment without using a second system ...which is a royal pita when I'm doing a lot of the work in their offices with my laptop without a spare system being available. ...I can't be the only one who has run across this ...what's the solution? William ... From wdhindman at dejpolsystems.com Mon Jul 10 00:52:49 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 10 Jul 2006 01:52:49 -0400 Subject: [AccessD] A2K3 Runtime Switch References: <21527961.1152298104332.JavaMail.root@eastrmwml02.mgt.cox.net> <000701c6a3dc$0a33b010$6e9ba545@50NM721> Message-ID: <000301c6a3e5$140359c0$6e9ba545@50NM721> ...duh ...solved it ...A2K3 requires the full path to the MSACCESS.mdb in order for the runtime switch to work ...and the mskb article for A2k3 command-line switches dropped the runtime switch altogether even though it still works with the full path :((( William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, July 10, 2006 12:48 AM Subject: [AccessD] A2K3 Runtime Switch > Group > > ...in previous versions (A97/A2K) I could use the "/runtime" command line > switch to create a shortcut that would allow me to test my app in the > Access > "runtime" environment. > > ...with the VSTO installed with A2K3, that switch appears to no longer > function ...I still get the full version functionality when I use it. > > ...after reasonable search of the kb and net, I'm at a loss as how to test > a > new A2K3 app in the runtime environment without using a second system > ...which is a royal pita when I'm doing a lot of the work in their offices > with my laptop without a spare system being available. > > ...I can't be the only one who has run across this ...what's the solution? > > William > > ... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheygood at abestsystems.com Mon Jul 10 10:15:44 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 10 Jul 2006 08:15:44 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: <44B14E8A.4030401@shaw.ca> Message-ID: Thanks Marty. I will try it out this morning. Going to save me a lot of work..... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, July 09, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] change all fields to Allow Zero Length via VBA The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 10 10:33:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Jul 2006 08:33:14 -0700 Subject: [AccessD] A2K3 Runtime Switch In-Reply-To: <000301c6a3e5$140359c0$6e9ba545@50NM721> Message-ID: Any command line switch has always required the full msacess.exceutable and the full path to the mdb to operation, to the best of my recollection. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, July 09, 2006 10:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K3 Runtime Switch ...duh ...solved it ...A2K3 requires the full path to the MSACCESS.mdb in order for the runtime switch to work ...and the mskb article for A2k3 command-line switches dropped the runtime switch altogether even though it still works with the full path :((( William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, July 10, 2006 12:48 AM Subject: [AccessD] A2K3 Runtime Switch > Group > > ...in previous versions (A97/A2K) I could use the "/runtime" command line > switch to create a shortcut that would allow me to test my app in the > Access > "runtime" environment. > > ...with the VSTO installed with A2K3, that switch appears to no longer > function ...I still get the full version functionality when I use it. > > ...after reasonable search of the kb and net, I'm at a loss as how to test > a > new A2K3 app in the runtime environment without using a second system > ...which is a royal pita when I'm doing a lot of the work in their offices > with my laptop without a spare system being available. > > ...I can't be the only one who has run across this ...what's the solution? > > William > > ... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Jul 10 12:39:34 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 10 Jul 2006 12:39:34 -0500 Subject: [AccessD] Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD7C@corp-es01.fleetpride.com> "From VBA to Visto" by Verschuuren states "it looks like Microsoft is going to discontinue VBA in its new release from 2008 on." Is this hype to sell the book or is this MS intention? Inquiring minds want to know. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jdemarco at hudsonhealthplan.org Mon Jul 10 13:14:41 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 10 Jul 2006 14:14:41 -0400 Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> List, We are looking for a lightweight (easy to use) software to track time spent on a given project and that will give us the ability to track slippage (and why). We'd like to see timeline graphs as well as billable hours (even though we don't bill). Does anyone have any recommendations? A search of list archives didn't turn up much besides homegrown systems. Thanks, Jim DeMarco From scapistrant at symphonyinfo.com Mon Jul 10 13:36:06 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Mon, 10 Jul 2006 13:36:06 -0500 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <000101c6a44c$ec97f810$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0106191D@LAKATOS.Symphony.local> Jim, I'm not aware of a package that meets all of those specs. We ended up enhancing our proprietary system to include project management features that we need as a development shop. See www.symphonyinfo.com/Products/fed for details. Doesn't cover slippage, nor the task chain linkages that Microsoft Project does so deftly. But it does well with tasks, timesheet, billable hours, billing preparation, invoice detail printouts, time use analysis, project status reporting, etc. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Monday, July 10, 2006 1:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Project Management Software for the Developer List, We are looking for a lightweight (easy to use) software to track time spent on a given project and that will give us the ability to track slippage (and why). We'd like to see timeline graphs as well as billable hours (even though we don't bill). Does anyone have any recommendations? A search of list archives didn't turn up much besides homegrown systems. Thanks, Jim DeMarco -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 10 13:41:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Jul 2006 11:41:09 -0700 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> Message-ID: If you're comfortable with a dot net app, we use OnTime from Axosoft. You can export data, so it wouldn't be hard to prepare an Excel graph from the results. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Monday, July 10, 2006 11:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Project Management Software for the Developer List, We are looking for a lightweight (easy to use) software to track time spent on a given project and that will give us the ability to track slippage (and why). We'd like to see timeline graphs as well as billable hours (even though we don't bill). Does anyone have any recommendations? A search of list archives didn't turn up much besides homegrown systems. Thanks, Jim DeMarco -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Mon Jul 10 15:29:58 2006 From: sgoodhall at comcast.net (sgoodhall at comcast.net) Date: Mon, 10 Jul 2006 20:29:58 +0000 Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <071020062029.3757.44B2B8C60007799300000EAD220682469304040E080B0101099C@comcast.net> I can't say whether it would meet your definition of "lightweight", but OpenWorkbench (http://www.openworkbench.org/) will do all of the things that you described, as well as a lot more. This is the successor to the old ABT Project Workbench. After Niku bought ABT and then CA bought Niku, they made it available to Open Source community. Regards, Steve Goodhall, PMP -------------- Original message -------------- From: "Jim DeMarco" > List, > > We are looking for a lightweight (easy to use) software to track time > spent on a given project and that will give us the ability to track > slippage (and why). We'd like to see timeline graphs as well as > billable hours (even though we don't bill). Does anyone have any > recommendations? A search of list archives didn't turn up much besides > homegrown systems. > > Thanks, > > Jim DeMarco > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Jul 10 15:30:49 2006 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 10 Jul 2006 15:30:49 -0500 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> Message-ID: <53c8e05a0607101330p59310darb60941a0c2b117b1@mail.gmail.com> You might not necessarily need a full blow app. I use excel for my scheduling, and follow the principles listed from this JoelOnSoftware Article: http://www.joelonsoftware.com/articles/fog0000000245.html Take a look at the article. Shouldn't be too hard to add a billable hours column and then generate fun graphs from it. Josh On 7/10/06, Jim DeMarco wrote: > List, > > We are looking for a lightweight (easy to use) software to track time > spent on a given project and that will give us the ability to track > slippage (and why). We'd like to see timeline graphs as well as > billable hours (even though we don't bill). Does anyone have any > recommendations? A search of list archives didn't turn up much besides > homegrown systems. > > Thanks, > > Jim DeMarco > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Darsant Silverstring "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From martyconnelly at shaw.ca Mon Jul 10 18:28:50 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 10 Jul 2006 16:28:50 -0700 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <53c8e05a0607101330p59310darb60941a0c2b117b1@mail.gmail.com> References: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> <53c8e05a0607101330p59310darb60941a0c2b117b1@mail.gmail.com> Message-ID: <44B2E2B2.4010908@shaw.ca> You could also try MS Project 2007 Professional or Project Server for next six months. http://www.microsoft.com/office/preview/beta/testdrive.mspx Josh McFarlane wrote: >You might not necessarily need a full blow app. I use excel for my >scheduling, and follow the principles listed from this JoelOnSoftware >Article: > >http://www.joelonsoftware.com/articles/fog0000000245.html > >Take a look at the article. Shouldn't be too hard to add a billable >hours column and then generate fun graphs from it. > >Josh > >On 7/10/06, Jim DeMarco wrote: > > >>List, >> >>We are looking for a lightweight (easy to use) software to track time >>spent on a given project and that will give us the ability to track >>slippage (and why). We'd like to see timeline graphs as well as >>billable hours (even though we don't bill). Does anyone have any >>recommendations? A search of list archives didn't turn up much besides >>homegrown systems. >> >>Thanks, >> >>Jim DeMarco >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Tue Jul 11 04:47:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) Subject: [AccessD] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <9486947.1152611273998.JavaMail.www@wwinf3003> To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. From bheygood at abestsystems.com Tue Jul 11 09:06:16 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 11 Jul 2006 07:06:16 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: <44B14E8A.4030401@shaw.ca> Message-ID: Works great. Thanks again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, July 09, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] change all fields to Allow Zero Length via VBA The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Tue Jul 11 09:06:19 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 11 Jul 2006 07:06:19 -0700 Subject: [AccessD] Which properties - used to be - change all fields to Allow Zero Length via VBA In-Reply-To: <44B14E8A.4030401@shaw.ca> Message-ID: In looking in the archives and elsewhere I see that some properties seem to either not be able to be changed via code or are very difficult to do so. In particular some code creates a new field and then deletes the old. Does someone have a list of those that are modifiable and not?/? bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, July 09, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] change all fields to Allow Zero Length via VBA The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jul 11 10:09:10 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 17:09:10 +0200 (CEST) Subject: [AccessD] Scale Access Report To Fit Message-ID: <16780123.1152630550609.JavaMail.www@wwinf3004.me-wanadoo.net> To all, I have a problem which I am hoping I can be proved wrong on, basically I am writing an internal application (which is almost finished) and the problem lies in the reports. The manager of the department it is for wants the report to fit on A4 landscape, now the amount of columns that there is in the report makes this impossible without shrinking all the textboxes to about 6pt and moving them all about. Is there something out there (or within access that I doubt) that is similar to the options you get in excel (shrink to fit, or reduce the percentage etc). I know I can export to RTF/Excel etc and then play, but the reports need playing about with a little even after the export. Thanks in advance for any help on this. Paul Hartland From cfoust at infostatsystems.com Tue Jul 11 10:26:36 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 08:26:36 -0700 Subject: [AccessD] Scale Access Report To Fit In-Reply-To: <16780123.1152630550609.JavaMail.www@wwinf3004.me-wanadoo.net> Message-ID: If he wants a landscape report, why would you have trouble fitting in the columns, unless you were splitting it across two pages before? Access reports don't have that kind of size to fit capability, although you could do it by saving the report to pdf format and printing from the pdf. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 8:09 AM To: accessd Subject: [AccessD] Scale Access Report To Fit Importance: High To all, I have a problem which I am hoping I can be proved wrong on, basically I am writing an internal application (which is almost finished) and the problem lies in the reports. The manager of the department it is for wants the report to fit on A4 landscape, now the amount of columns that there is in the report makes this impossible without shrinking all the textboxes to about 6pt and moving them all about. Is there something out there (or within access that I doubt) that is similar to the options you get in excel (shrink to fit, or reduce the percentage etc). I know I can export to RTF/Excel etc and then play, but the reports need playing about with a little even after the export. Thanks in advance for any help on this. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Tue Jul 11 11:00:20 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Tue, 11 Jul 2006 11:00:20 -0500 Subject: [AccessD] Scale Access Report To Fit In-Reply-To: <000801c6a4fc$d577f440$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F18B@LAKATOS.Symphony.local> If there really are more columns than fit on a landscape report, would the department manager find a option to export all the columns to Excel more useful? Then they can play with it to their heart's content. This has worked for me with a bunch of cities who have nasty complicated capital improvement planning reports. They have been delighted to find their data could be made available in their favorite Excel format, and I have quietly breathed huge sighs of relief, since an export is so much easier. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 10:15 AM To: accessd Subject: [AccessD] Scale Access Report To Fit To all, I have a problem which I am hoping I can be proved wrong on, basically I am writing an internal application (which is almost finished) and the problem lies in the reports. The manager of the department it is for wants the report to fit on A4 landscape, now the amount of columns that there is in the report makes this impossible without shrinking all the textboxes to about 6pt and moving them all about. Is there something out there (or within access that I doubt) that is similar to the options you get in excel (shrink to fit, or reduce the percentage etc). I know I can export to RTF/Excel etc and then play, but the reports need playing about with a little even after the export. Thanks in advance for any help on this. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Jul 11 12:24:49 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 11 Jul 2006 13:24:49 -0400 Subject: [AccessD] AccessD Digest, Vol 41, Issue 9 In-Reply-To: References: Message-ID: <1152638689.44b3dee12f64d@webmail.highstream.net> Paul, It is called SQL Server Management Studio. It ships with it. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) > From: paul.hartland at fsmail.net > Subject: [AccessD] Cross-Posted - SQL SERVER 2005 Front-End > To: accessd , dba-sqlserver > , dba-vb > > Message-ID: <9486947.1152611273998.JavaMail.www at wwinf3003> > Content-Type: text/plain; charset=UTF-8 > > To all, > > I have cross-posted this question sorry to those of you that will receive it > more than once, our company have just purchased and installed SQL Server > 2005. Is there a front-end similar to the Enterprise Manager available for > this ?, if not anyone know any good/great books to buy to get to grips with > it very quickly ? > > Thanks in advance for any help on this. > > Paul Hartland > Database Developer. From markamatte at hotmail.com Tue Jul 11 12:42:24 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Jul 2006 17:42:24 +0000 Subject: [AccessD] Scale Access Report To Fit In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F18B@LAKATOS.Symphony.local> Message-ID: If all of the fields are the same size...could you loop through each control...and adjust the fields left and width one at a time...each dependant on the one before...I believe the unit of measure would be twips?...anyway...just an idea... Mark A. Matte >From: "Liz Doering" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Scale Access Report To Fit >Date: Tue, 11 Jul 2006 11:00:20 -0500 > >If there really are more columns than fit on a landscape report, would >the department manager find a option to export all the columns to Excel >more useful? Then they can play with it to their heart's content. > >This has worked for me with a bunch of cities who have nasty complicated >capital improvement planning reports. They have been delighted to find >their data could be made available in their favorite Excel format, and I >have quietly breathed huge sighs of relief, since an export is so much >easier. > >Liz > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, July 11, 2006 10:15 AM >To: accessd >Subject: [AccessD] Scale Access Report To Fit > >To all, > >I have a problem which I am hoping I can be proved wrong on, basically I >am writing an internal application (which is almost finished) and the >problem lies in the reports. The manager of the department it is for >wants the report to fit on A4 landscape, now the amount of columns that >there is in the report makes this impossible without shrinking all the >textboxes to about 6pt and moving them all about. Is there something >out there (or within access that I doubt) that is similar to the options >you get in excel (shrink to fit, or reduce the percentage etc). I know >I can export to RTF/Excel etc and then play, but the reports need >playing about with a little even after the export. > >Thanks in advance for any help on this. > >Paul Hartland >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 sbcglobal.net Tue Jul 11 12:43:17 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Tue, 11 Jul 2006 10:43:17 -0700 (PDT) Subject: [AccessD] Demise of VBA Message-ID: <20060711174317.27482.qmail@web81811.mail.mud.yahoo.com> VBA is a dead language -- I've been saying that for a while now. When Microsoft stops updating a product, it's only a matter of time before it sunsets it. There are two driving reasons for this shift, as I see it: * VB6 and VBA have deep security issues. Microsoft is unwilling or unable to address this. * The VBA environment was included in Office, and Microsoft wants to realize extra revenue from the sale of VSTO. What does this mean for us? * Vastly more expensive entry into development. Very likely, VSTO will require a full version of Visual Studio -- no Express edition here. * Vastly higher learning curve. You thought the current system was tough? Try wrapping your head around a new language (don't believe the bullshit that VB.NET is any easier to move to than C#), new IDE, enormous new libraries (ADO.NET, BCL), and completely new methodologies. Not to mention the radically new Access 2007 interface. My point is, if you have to re-learn everything, why limit yourself to just Visual Studio? There is a universe of languages and development evironments, all free, for you to explore. And, not crippled intro product -- full-featured and free. You really owe it to yourself to explore the alternatives. -Ken From kismert at sbcglobal.net Tue Jul 11 13:10:02 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Tue, 11 Jul 2006 11:10:02 -0700 (PDT) Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <20060711181002.3910.qmail@web81812.mail.mud.yahoo.com> We are using 3f Software Planner 2006: http://www.3fsoftwareplanner.com/ It can be web-hosted or locally hosted, and may meet your needs. -Ken From JHewson at karta.com Tue Jul 11 13:22:41 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 11 Jul 2006 13:22:41 -0500 Subject: [AccessD] Strange behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C5938@karta-exc-int.Karta.com> Access 2000 BE, with AXP mde FE. There are six people using the database via the network. After a record was entered and saved, the next user found the text was in Chinese characters. This has only occurred once. They will delete the record and reenter the data. Just curious if anyone knows why this happened and if there is anything to watch out for? Thanks, Jim jhewson at karta.com From bchacc at san.rr.com Tue Jul 11 13:43:42 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Jul 2006 11:43:42 -0700 Subject: [AccessD] SendObject Message-ID: <44B3F15E.1030909@san.rr.com> Dear List: Client has 2 question2: 1) why doesn't this format work for him: DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, "james at Charltonweeks.com ", , , "Status", "Here is the status of your eviction.", False and 2) can he point to an object to send which is in another database? In this case of the report "rptUDStatus-Service-11" is in another mdb? MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From cfoust at infostatsystems.com Tue Jul 11 14:11:33 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 12:11:33 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <20060711174317.27482.qmail@web81811.mail.mud.yahoo.com> Message-ID: Ken, At present VSTO is included with VS.Net but it is also a stand alone product that includes a standard version of VB.Net. It isn't cheap, by any means, but still cheaper than the full Visual Studio. As for the ease of the transition, that depends on what you have done in Access. Have you worked with classes, child classes, loosely coupled code, ADO, frameworks? If so, you aren't going to have a lot of trouble once you get used to the new object model. The only thing that makes VB.Net easier to move to than C# is the lack of the pesky scope indicators and braces, etc., that makes languages like C# hard for VB programmers to decipher. I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't like to have had to make the transition on my own without a team member who was already conversant with VB.Net on hand to help, but I could have done it, as could most of us. I remember similar discussions when VBA became the language of MS Office and we had to give up WordBasic, AccessBasic, Excel Macro language, etc. As for alternatives, sure they're there, but if you want to keep the familiar Access interface, they're somewhat limited because VS.Net will be the scripting language for it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, July 11, 2006 10:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Demise of VBA VBA is a dead language -- I've been saying that for a while now. When Microsoft stops updating a product, it's only a matter of time before it sunsets it. There are two driving reasons for this shift, as I see it: * VB6 and VBA have deep security issues. Microsoft is unwilling or unable to address this. * The VBA environment was included in Office, and Microsoft wants to realize extra revenue from the sale of VSTO. What does this mean for us? * Vastly more expensive entry into development. Very likely, VSTO will require a full version of Visual Studio -- no Express edition here. * Vastly higher learning curve. You thought the current system was tough? Try wrapping your head around a new language (don't believe the bullshit that VB.NET is any easier to move to than C#), new IDE, enormous new libraries (ADO.NET, BCL), and completely new methodologies. Not to mention the radically new Access 2007 interface. My point is, if you have to re-learn everything, why limit yourself to just Visual Studio? There is a universe of languages and development evironments, all free, for you to explore. And, not crippled intro product -- full-featured and free. You really owe it to yourself to explore the alternatives. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jul 11 14:10:28 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 11 Jul 2006 12:10:28 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B3F15E.1030909@san.rr.com> References: <44B3F15E.1030909@san.rr.com> Message-ID: <44B3F7A4.7060501@shaw.ca> It is probably getting confused on the recipient email address you could try sticking a comma to seperate the two email addresses or drop the second email address. You could open up the second database via something like TsiSoon and use this command or run the report to create a file and then use OLE automation with Outlook to send the file as an attachment. http://www.peterssoftware.com/c_emfa.htm limits of sendobject faq http://www.granite.ab.ca/access/email/sendobject.htm http://www.granite.ab.ca/access/email/ TSISoon http://www.trigeminal.com/lang/1033/utility.asp?ItemID=8#8 Rocky Smolin - Beach Access Software wrote: >Dear List: > >Client has 2 question2: > >1) why doesn't this format work for him: > >DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, >"james at Charltonweeks.com ", , , >"Status", "Here is the status of your eviction.", False > >and 2) can he point to an object to send which is in another database? >In this case of the report "rptUDStatus-Service-11" is in another mdb? > >MTIA > >Rocky > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Tue Jul 11 14:13:07 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 12:13:07 -0700 Subject: [AccessD] Strange behavior In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C044C5938@karta-exc-int.Karta.com> Message-ID: Which text was in Chinese characters? If you mean the record, it sounds like a classic case of a corrupted record. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Tuesday, July 11, 2006 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Strange behavior Access 2000 BE, with AXP mde FE. There are six people using the database via the network. After a record was entered and saved, the next user found the text was in Chinese characters. This has only occurred once. They will delete the record and reenter the data. Just curious if anyone knows why this happened and if there is anything to watch out for? Thanks, Jim jhewson at karta.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jul 11 14:15:31 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 12:15:31 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B3F15E.1030909@san.rr.com> Message-ID: I thought SendObject only worked in the current database. What part of the sendobject statement causes the failure, has he tried to figure it out? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, July 11, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: [AccessD] SendObject Dear List: Client has 2 question2: 1) why doesn't this format work for him: DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, "james at Charltonweeks.com ", , , "Status", "Here is the status of your eviction.", False and 2) can he point to an object to send which is in another database? In this case of the report "rptUDStatus-Service-11" is in another mdb? MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Tue Jul 11 14:22:04 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 11 Jul 2006 14:22:04 -0500 Subject: [AccessD] Strange behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C5956@karta-exc-int.Karta.com> It was a corrupted record. Once everyone got out the database was compacted and the record deleted. Thanks, Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 11, 2006 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange behavior Which text was in Chinese characters? If you mean the record, it sounds like a classic case of a corrupted record. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Tuesday, July 11, 2006 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Strange behavior Access 2000 BE, with AXP mde FE. There are six people using the database via the network. After a record was entered and saved, the next user found the text was in Chinese characters. This has only occurred once. They will delete the record and reenter the data. Just curious if anyone knows why this happened and if there is anything to watch out for? Thanks, Jim jhewson at karta.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Jul 11 15:35:39 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 11 Jul 2006 15:35:39 -0500 Subject: [AccessD] Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD87@corp-es01.fleetpride.com> In my mind VBA has always suffered from a dual personality. On the one hand when it was shiny and new it was presented as an ideal developer's environment. On the other it was presented as the ultimate power users Uber macro language. For power users it promised that "grasshopper, you too can become a real programmer, maybe even a DEVELOPER!". Since I am first and foremost a financial professional I have always viewed office and VBA as tools to an immediate end, the solution of financial/analytical problems. Immediate problems called for quick and dirty throw away solutions, repetitive problems called for full blown applications. Over the years as I have become more proficient and the tools and connections (think ODBC) have improved it has become possible to generate enormous amounts of analytical work. I can easily generate the analysis it required my staff of MBAs to do 25 years ago. The lure has always been the promise of vast increases in personal productivity. Access/VBA/Excel has been the magic carpet that allowed data to be obtained and easily manipulated from a vast a variety of sources. Learning VBA, while not trivial, obviously never had the learning curve of C+ or .net. Reading between the lines I think Microsoft once believed VBA would be embraced much more by power users than it has been. (I guess this makes me an odd duck but this isn't any startling revelation ;-)). It appears to me Microsoft is moving away from the Power user. I certainly don't have the time or desire to climb the new learning curve. The new paradigm is much more of a developer's playground than a power user's. This is a shame since the core reason I have been a big office/VBA fan is that it freed individuals from servitude to the IT group and put power in the hands of the users. Yup, the world is going to hell (grumble, grumble) and I am going to retreat to my hidey hole in Costa Rica in a year or so. Ya'll are invited to visit. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, July 11, 2006 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA Ken, At present VSTO is included with VS.Net but it is also a stand alone product that includes a standard version of VB.Net. It isn't cheap, by any means, but still cheaper than the full Visual Studio. As for the ease of the transition, that depends on what you have done in Access. Have you worked with classes, child classes, loosely coupled code, ADO, frameworks? If so, you aren't going to have a lot of trouble once you get used to the new object model. The only thing that makes VB.Net easier to move to than C# is the lack of the pesky scope indicators and braces, etc., that makes languages like C# hard for VB programmers to decipher. I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't like to have had to make the transition on my own without a team member who was already conversant with VB.Net on hand to help, but I could have done it, as could most of us. I remember similar discussions when VBA became the language of MS Office and we had to give up WordBasic, AccessBasic, Excel Macro language, etc. As for alternatives, sure they're there, but if you want to keep the familiar Access interface, they're somewhat limited because VS.Net will be the scripting language for it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, July 11, 2006 10:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Demise of VBA VBA is a dead language -- I've been saying that for a while now. When Microsoft stops updating a product, it's only a matter of time before it sunsets it. There are two driving reasons for this shift, as I see it: * VB6 and VBA have deep security issues. Microsoft is unwilling or unable to address this. * The VBA environment was included in Office, and Microsoft wants to realize extra revenue from the sale of VSTO. What does this mean for us? * Vastly more expensive entry into development. Very likely, VSTO will require a full version of Visual Studio -- no Express edition here. * Vastly higher learning curve. You thought the current system was tough? Try wrapping your head around a new language (don't believe the bullshit that VB.NET is any easier to move to than C#), new IDE, enormous new libraries (ADO.NET, BCL), and completely new methodologies. Not to mention the radically new Access 2007 interface. My point is, if you have to re-learn everything, why limit yourself to just Visual Studio? There is a universe of languages and development evironments, all free, for you to explore. And, not crippled intro product -- full-featured and free. You really owe it to yourself to explore the alternatives. -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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Tue Jul 11 15:50:52 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 11 Jul 2006 13:50:52 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: References: Message-ID: <44B40F2C.7040805@shaw.ca> One way around this is, you can call VB.Net code from VBA via a net wrapper class and a comclass template, then just set a reference to a .tlb to call it. I should write up a sample. The coming version VB 9 or Orcas has some interesting features. the CLR has added support for nullable types in other words you can have a null vale in a date or integer. This would make it interesting passing values to VBA. http://www.developer.com/net/vb/article.php/3618141 Charlotte Foust wrote: >Ken, > >At present VSTO is included with VS.Net but it is also a stand alone >product that includes a standard version of VB.Net. It isn't cheap, by >any means, but still cheaper than the full Visual Studio. As for the >ease of the transition, that depends on what you have done in Access. >Have you worked with classes, child classes, loosely coupled code, ADO, >frameworks? If so, you aren't going to have a lot of trouble once you >get used to the new object model. The only thing that makes VB.Net >easier to move to than C# is the lack of the pesky scope indicators and >braces, etc., that makes languages like C# hard for VB programmers to >decipher. > >I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't like >to have had to make the transition on my own without a team member who >was already conversant with VB.Net on hand to help, but I could have >done it, as could most of us. I remember similar discussions when VBA >became the language of MS Office and we had to give up WordBasic, >AccessBasic, Excel Macro language, etc. > >As for alternatives, sure they're there, but if you want to keep the >familiar Access interface, they're somewhat limited because VS.Net will >be the scripting language for it. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth >Ismert >Sent: Tuesday, July 11, 2006 10:43 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Demise of VBA > > >VBA is a dead language -- I've been saying that for a while now. When >Microsoft stops updating a product, it's only a matter of time before it >sunsets it. > >There are two driving reasons for this shift, as I see it: > >* VB6 and VBA have deep security issues. Microsoft is unwilling or >unable to address this. > >* The VBA environment was included in Office, and Microsoft wants to >realize extra revenue from the sale of VSTO. > >What does this mean for us? > >* Vastly more expensive entry into development. Very likely, VSTO will >require a full version of Visual Studio -- no Express edition here. > >* Vastly higher learning curve. You thought the current system was >tough? Try wrapping your head around a new language (don't believe the >bullshit that VB.NET is any easier to move to than C#), new IDE, >enormous new libraries (ADO.NET, BCL), and completely new methodologies. >Not to mention the radically new Access 2007 interface. > >My point is, if you have to re-learn everything, why limit yourself to >just Visual Studio? There is a universe of languages and development >evironments, all free, for you to explore. And, not crippled intro >product -- full-featured and free. > >You really owe it to yourself to explore the alternatives. > >-Ken >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada From DElam at jenkens.com Tue Jul 11 16:35:40 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 11 Jul 2006 16:35:40 -0500 Subject: [AccessD] Subreport Issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8AA@natexch.jenkens.com> I have a report with multiple subreports that has suddenly manifested a strange problem. In 2 records, the report will produce multiple empty subreports. There should be 24 records in this "family", but instead I get 3 records and 24 empty subreports. I am looking up the records for the report based on this "family" number, but the records have unique artificial IDs to link with the subreports. I do not understand how these records could combine, and why they have combined in the particular manner they have. Has anyone seen anything similar before? Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From DElam at jenkens.com Tue Jul 11 16:40:39 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 11 Jul 2006 16:40:39 -0500 Subject: [AccessD] Subreport Issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8AC@natexch.jenkens.com> More info. I have the report sorted by the "family" number by default. If I change the sort, the combination does not happen. Debbie -----Original Message----- From: Elam, Debbie Sent: Tuesday, July 11, 2006 4:36 PM To: 'Access Developers discussion and problem solving' Subject: Subreport Issue I have a report with multiple subreports that has suddenly manifested a strange problem. In 2 records, the report will produce multiple empty subreports. There should be 24 records in this "family", but instead I get 3 records and 24 empty subreports. I am looking up the records for the report based on this "family" number, but the records have unique artificial IDs to link with the subreports. I do not understand how these records could combine, and why they have combined in the particular manner they have. Has anyone seen anything similar before? Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From stuart at lexacorp.com.pg Tue Jul 11 17:00:06 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Jul 2006 08:00:06 +1000 Subject: [AccessD] SendObject In-Reply-To: <44B3F15E.1030909@san.rr.com> References: <44B3F15E.1030909@san.rr.com> Message-ID: <44B4AC06.24488.199F3AF6@stuart.lexacorp.com.pg> On 11 Jul 2006 at 11:43, Rocky Smolin - Beach Access S wrote: > Dear List: > > Client has 2 question2: > > 1) why doesn't this format work for him: > > DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, > "james at Charltonweeks.com ", , , > "Status", "Here is the status of your eviction.", False "mailto:james at Charltonweeks.com" is not an email address. It is a URL. DoCmd.Sendobject requires an email address. Try dropping the "mailto". -- Stuart From cfoust at infostatsystems.com Tue Jul 11 18:34:27 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 16:34:27 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <44B40F2C.7040805@shaw.ca> Message-ID: Null values or Nothing? They aren't the same and I often get surprised by values that are nothing rather than an empty string or zero. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 11, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA One way around this is, you can call VB.Net code from VBA via a net wrapper class and a comclass template, then just set a reference to a .tlb to call it. I should write up a sample. The coming version VB 9 or Orcas has some interesting features. the CLR has added support for nullable types in other words you can have a null vale in a date or integer. This would make it interesting passing values to VBA. http://www.developer.com/net/vb/article.php/3618141 Charlotte Foust wrote: >Ken, > >At present VSTO is included with VS.Net but it is also a stand alone >product that includes a standard version of VB.Net. It isn't cheap, by >any means, but still cheaper than the full Visual Studio. As for the >ease of the transition, that depends on what you have done in Access. >Have you worked with classes, child classes, loosely coupled code, ADO, >frameworks? If so, you aren't going to have a lot of trouble once you >get used to the new object model. The only thing that makes VB.Net >easier to move to than C# is the lack of the pesky scope indicators and >braces, etc., that makes languages like C# hard for VB programmers to >decipher. > >I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't >like to have had to make the transition on my own without a team member >who was already conversant with VB.Net on hand to help, but I could >have done it, as could most of us. I remember similar discussions when >VBA became the language of MS Office and we had to give up WordBasic, >AccessBasic, Excel Macro language, etc. > >As for alternatives, sure they're there, but if you want to keep the >familiar Access interface, they're somewhat limited because VS.Net will >be the scripting language for it. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth >Ismert >Sent: Tuesday, July 11, 2006 10:43 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Demise of VBA > > >VBA is a dead language -- I've been saying that for a while now. When >Microsoft stops updating a product, it's only a matter of time before >it sunsets it. > >There are two driving reasons for this shift, as I see it: > >* VB6 and VBA have deep security issues. Microsoft is unwilling or >unable to address this. > >* The VBA environment was included in Office, and Microsoft wants to >realize extra revenue from the sale of VSTO. > >What does this mean for us? > >* Vastly more expensive entry into development. Very likely, VSTO will >require a full version of Visual Studio -- no Express edition here. > >* Vastly higher learning curve. You thought the current system was >tough? Try wrapping your head around a new language (don't believe the >bullshit that VB.NET is any easier to move to than C#), new IDE, >enormous new libraries (ADO.NET, BCL), and completely new methodologies. >Not to mention the radically new Access 2007 interface. > >My point is, if you have to re-learn everything, why limit yourself to >just Visual Studio? There is a universe of languages and development >evironments, all free, for you to explore. And, not crippled intro >product -- full-featured and free. > >You really owe it to yourself to explore the alternatives. > >-Ken >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Jul 11 19:39:14 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 11 Jul 2006 20:39:14 -0400 Subject: [AccessD] Scale Access Report To Fit References: <16780123.1152630550609.JavaMail.www@wwinf3004.me-wanadoo.net> Message-ID: <004901c6a54b$9aad80b0$6e9ba545@50NM721> ...iirc, Lebans (lebans.com) has some code that will auto size the font to fit the text in a spec text box size. William ----- Original Message ----- From: To: "accessd" Sent: Tuesday, July 11, 2006 11:09 AM Subject: [AccessD] Scale Access Report To Fit > To all, > > I have a problem which I am hoping I can be proved wrong on, basically I > am writing an internal application (which is almost finished) and the > problem lies in the reports. The manager of the department it is for > wants the report to fit on A4 landscape, now the amount of columns that > there is in the report makes this impossible without shrinking all the > textboxes to about 6pt and moving them all about. Is there something out > there (or within access that I doubt) that is similar to the options you > get in excel (shrink to fit, or reduce the percentage etc). I know I can > export to RTF/Excel etc and then play, but the reports need playing about > with a little even after the export. > > Thanks in advance for any help on this. > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 11 21:11:51 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 11 Jul 2006 22:11:51 -0400 Subject: [AccessD] Subreport Issue References: <7B1961ED924D1A459E378C9B1BB22B4C0492D8AC@natexch.jenkens.com> Message-ID: <001101c6a558$8a9bcfd0$6e9ba545@50NM721> ...time to decompile? William ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 11, 2006 5:40 PM Subject: Re: [AccessD] Subreport Issue > More info. I have the report sorted by the "family" number by default. > If > I change the sort, the combination does not happen. > > Debbie > > -----Original Message----- > From: Elam, Debbie > Sent: Tuesday, July 11, 2006 4:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Subreport Issue > > > I have a report with multiple subreports that has suddenly manifested a > strange problem. > > In 2 records, the report will produce multiple empty subreports. There > should be 24 records in this "family", but instead I get 3 records and 24 > empty subreports. I am looking up the records for the report based on > this > "family" number, but the records have unique artificial IDs to link with > the > subreports. I do not understand how these records could combine, and why > they have combined in the particular manner they have. > > Has anyone seen anything similar before? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this > information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is > a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any > agreement > by electronic means. Nothing contained in this message or in any > attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 11 22:04:05 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 11 Jul 2006 23:04:05 -0400 Subject: [AccessD] Demise of VBA References: <20060711174317.27482.qmail@web81811.mail.mud.yahoo.com> Message-ID: <001701c6a55f$d6d02840$6e9ba545@50NM721> ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Wed Jul 12 01:42:57 2006 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 12 Jul 2006 08:42:57 +0200 Subject: [AccessD] SUSPECT: Re: Demise of VBA Message-ID: My common sense fully agress with this... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 5:04 AM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -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 paul.hartland at fsmail.net Wed Jul 12 04:29:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 11:29:47 +0200 (CEST) Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland From darrend at nimble.com.au Wed Jul 12 07:33:53 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 12 Jul 2006 22:33:53 +1000 Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) In-Reply-To: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> Message-ID: <20060712123356.RBTI1089.omta03sl.mx.bigpond.com@DENZILLAP> Maybe if it saved as a query then it saved it wherever queries get saved in SQL (is it views?) and not where the PROCS get saved Many thanks Have a great day Darren ------------------ T: 0424 696 433 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, 12 July 2006 7:30 PM To: accessd; dba-sqlserver; dba-vb Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Importance: High To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Wed Jul 12 07:39:15 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 12 Jul 2006 08:39:15 -0400 Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA3BA7@TTNEXCHCL2.hshhp.com> Thanks to all who replied. Plenty to consider now. Jim DeMarco From DElam at jenkens.com Wed Jul 12 08:35:41 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 12 Jul 2006 08:35:41 -0500 Subject: [AccessD] Subreport Issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8B0@natexch.jenkens.com> It is like the report is grouping by family number, instead of sorting by it. This is one of the few families where this family number is identical in all of the records, most have at least one letter difference. I have realized this is why I see only this record having problems. Debbie -----Original Message----- From: William Hindman [mailto:wdhindman at dejpolsystems.com] Sent: Tuesday, July 11, 2006 9:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subreport Issue ...time to decompile? William ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 11, 2006 5:40 PM Subject: Re: [AccessD] Subreport Issue > More info. I have the report sorted by the "family" number by default. > If > I change the sort, the combination does not happen. > > Debbie > > -----Original Message----- > From: Elam, Debbie > Sent: Tuesday, July 11, 2006 4:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Subreport Issue > > > I have a report with multiple subreports that has suddenly manifested a > strange problem. > > In 2 records, the report will produce multiple empty subreports. There > should be 24 records in this "family", but instead I get 3 records and 24 > empty subreports. I am looking up the records for the report based on > this > "family" number, but the records have unique artificial IDs to link with > the > subreports. I do not understand how these records could combine, and why > they have combined in the particular manner they have. > > Has anyone seen anything similar before? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this > information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is > a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any > agreement > by electronic means. Nothing contained in this message or in any > attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From jim.moss at jlmoss.net Wed Jul 12 08:27:45 2006 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 12 Jul 2006 08:27:45 -0500 (CDT) Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) In-Reply-To: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> References: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> Message-ID: <45369.65.196.182.34.1152710865.squirrel@65.196.182.34> Paul, SQL Server Express 2005 saved the SP as what it was named in the create statement but you will have to refresh the stored procedures icon to see the newly added SP. What you are seeing when you are asked to save the file is the text of the SP is saved to a project folder and is not the SP itself. Jim > To all, > > Sorry for cross posting this again to those of you that will receive this > email more than once, I have eventually got the SQL Server Management > Studio and fairly happily playing with it. However I thought I would > create a stored procedure so wrote a very simple one, and clicked save and > it asked me to save it as SQLQuery1 which I thought strange as I thought > the name would be genesis_select_UserLogon (as below)....But saved it none > the less, but I can't seem to find it anywhere in the database I created, > but I wrote a quick VB app to use it and it works ok....Can anyone tell me > where I find the stored procedure that I create in the database ? > > CREATE PROCEDURE [genesis_select_UserLogon] > ( > @strUser [nvarchar](100), > @strPass [nvarchar](100) > ) > AS > SELECT Username, Password > FROM tblUsers > WHERE Username = @strUser AND Password = @strPass > > GO > > Thanks in advance for any help on this... > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at fsmail.net Wed Jul 12 08:42:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 15:42:54 +0200 (CEST) Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <22764148.1152711774569.JavaMail.www@wwinf3101> Thanks, found that out...must have been having a brain-dead moment ...... Message Received: Jul 12 2006, 02:37 PM From: "Jim Moss" To: "Access Developers discussion and problem solving" Cc: Subject: Re: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Paul, SQL Server Express 2005 saved the SP as what it was named in the create statement but you will have to refresh the stored procedures icon to see the newly added SP. What you are seeing when you are asked to save the file is the text of the SP is saved to a project folder and is not the SP itself. Jim > To all, > > Sorry for cross posting this again to those of you that will receive this > email more than once, I have eventually got the SQL Server Management > Studio and fairly happily playing with it. However I thought I would > create a stored procedure so wrote a very simple one, and clicked save and > it asked me to save it as SQLQuery1 which I thought strange as I thought > the name would be genesis_select_UserLogon (as below)....But saved it none > the less, but I can't seem to find it anywhere in the database I created, > but I wrote a quick VB app to use it and it works ok....Can anyone tell me > where I find the stored procedure that I create in the database ? > > CREATE PROCEDURE [genesis_select_UserLogon] > ( > @strUser [nvarchar](100), > @strPass [nvarchar](100) > ) > AS > SELECT Username, Password > FROM tblUsers > WHERE Username = @strUser AND Password = @strPass > > GO > > Thanks in advance for any help on this... > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Jul 12 09:27:42 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 12 Jul 2006 10:27:42 -0400 Subject: [AccessD] Listbox w/conditionally formated lines Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDCA6@ex2k3.corp.tnco-inc.com> Hello, I remember this question being asked before, I can't find the post. I need a listbox control that will allow me to conditional format the lines. For example, if the value in one of the columns is below a certain value, make the font red or maybe make that line highlighted. Has anyone found a solution to this? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From DWUTKA at marlow.com Wed Jul 12 09:34:50 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 12 Jul 2006 09:34:50 -0500 Subject: [AccessD] Demise of VBA Message-ID: <17724746D360394AA3BFE5B8D40A9C1BB7F23F@main2.marlow.com> I happen to agree with ya William (did anyone else see the sun eclipse?)! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at dejpolsystems.com] Sent: Tuesday, July 11, 2006 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -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 cfoust at infostatsystems.com Wed Jul 12 10:39:27 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Jul 2006 08:39:27 -0700 Subject: [AccessD] Listbox w/conditionally formated lines In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDCA6@ex2k3.corp.tnco-inc.com> Message-ID: Check Stephan Lebans site http://www.lebans.com/ . He has some fancy control there that might serve your purpose. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, July 12, 2006 7:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Listbox w/conditionally formated lines Hello, I remember this question being asked before, I can't find the post. I need a listbox control that will allow me to conditional format the lines. For example, if the value in one of the columns is below a certain value, make the font red or maybe make that line highlighted. Has anyone found a solution to this? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 12 10:40:05 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Jul 2006 08:40:05 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BB7F23F@main2.marlow.com> Message-ID: I thought I was just losing consciousness! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, July 12, 2006 7:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Demise of VBA I happen to agree with ya William (did anyone else see the sun eclipse?)! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at dejpolsystems.com] Sent: Tuesday, July 11, 2006 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -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 kismert at sbcglobal.net Wed Jul 12 11:31:26 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Wed, 12 Jul 2006 09:31:26 -0700 (PDT) Subject: [AccessD] Demise of VBA Message-ID: <20060712163126.85123.qmail@web81801.mail.mud.yahoo.com> William, Erwin: > ...and thus I would believe the imminent demise of vba is greatly > exaggerated. As much as I would like to agree, it just ain't so. VB6 will be gone in less than two years: Product Family Life-Cycle Guidelines for Visual Basic 6.0 http://msdn.microsoft.com/vbrun/support.aspx "Non-Supported Phase ... Visual Basic 6.0 will no longer be supported starting March 2008." VBA's fate is in grave doubt, too: Classic VB Petition FAQ http://classicvb.org/petition/faq.asp "... But, no development has occurred on the VBA IDE in over eight years; the team has been abandoned. New versions of Office continue, at this point, to ship with this very old technology." Does this look like a platform they plan to keep? >...and thus replacing [VBA] with VS.Net would be like replacing > Coca Cola Classic with new Coke ...the masses that feed the golden > goose would rebel... Funny you should mention that. The VB6 masses have already rebelled. Microsoft ignored them. See: Classic VB http://classicvb.org/ Do you think the current Office user base is sufficient deterrent against abandoning VBA? Don't be so sure. Microsoft walked away from 6 million VB programmers: ...The Disaster Known As Visual Basic http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html Agreed, Microsoft is in a predicament with Office/VBA: Office and .NET: Better Together? http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/default.aspx Although it will be painful for them, I feel the most likely scenario is that Microsoft will walk away from VBA 1-2 years after the Vista rollout, assuming it is successful. Their message to us, I feel, is clear: Change, or die. -Ken From wdhindman at dejpolsystems.com Wed Jul 12 12:09:49 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 12 Jul 2006 13:09:49 -0400 Subject: [AccessD] Demise of VBA References: <20060712163126.85123.qmail@web81801.mail.mud.yahoo.com> Message-ID: <007d01c6a5d5$fca337d0$6e9ba545@50NM721> ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing >> Coca Cola Classic with new Coke ...the masses that feed the golden >> goose would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/default.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -Ken > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Wed Jul 12 13:12:57 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 12 Jul 2006 22:12:57 +0400 Subject: [AccessD] OT: Crystal Reports XI Message-ID: <002801c6a5de$ced1b350$6401a8c0@Nant> Hi All, I have two questions - please advise if you have some information related to them: 1. Did anybody here try to install CR XI Server and to view via CR Viewer Control and HTTP/IIS reports running on this server? 2. I can't find sample/description of how to change OLE DB data source for a CR XI report on runtime - I need to change at least MS SQL Server Name... Thank you. Shamil From harkinsss at bellsouth.net Wed Jul 12 14:47:11 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 12 Jul 2006 15:47:11 -0400 Subject: [AccessD] Demise of VBA In-Reply-To: <007d01c6a5d5$fca337d0$6e9ba545@50NM721> Message-ID: <001f01c6a5eb$f7d755e0$6101a8c0@SUSANONE> >From a business perspective, it doesn't sound like good judgment does it? Why spend the revenue and manpower to replace what you've already got? You only need to look to GM to see what happens when you do that. Susan H. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. From shamil at users.mns.ru Wed Jul 12 15:28:24 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 13 Jul 2006 00:28:24 +0400 Subject: [AccessD] Demise of VBA References: <001f01c6a5eb$f7d755e0$6101a8c0@SUSANONE> Message-ID: <005401c6a5f1$bcb46c40$6401a8c0@Nant> Hi All, I think this sample code below would be within the topic of this thread - try to run this VB.NET MS Word Automation code in VS2005 with a reference set to the MS Word Primary Interop Assembly - it takes 10+ second just to start on my PC (and similar VBA code starts MS Word instantly) - I wonder how quick this VB.NET simple sample works on your PCs? If it will take the same 10+ second just to start-up will you consider to use VB.NET for MS Office Automation? Note: If you use this code with WinForms application then subsequent after first MS Word activation calls to start another instance of MS Word will be instant but imagine the usual development/testing scenario when you start/debug/stop/restart/... your application many times - how about these 10+ seconds to wait every time you restart your app/debug session? (Or this bad side effect happens on my PC only?) Imports Word = Microsoft.Office.Interop.Word Module Module1 Private Function StartApp( _ ByVal strProgID As String) As Object Dim oTmp As Object On Error Resume Next oTmp = GetObject(, strProgID) If Err.Number <> 0 Then oTmp = CreateObject(strProgID) End If StartApp = oTmp End Function Private Sub TestEarlyBound() Dim app As Word.Application app = StartApp("Word.Application") app.Visible = True app.Activate() End Sub Sub Main() Dim ds As DateTime = DateTime.Now Dim de As DateTime Console.WriteLine("Program started at {0} ", ds.ToString()) TestEarlyBound() de = DateTime.Now Console.WriteLine("Program finished at {0} ", de.ToString()) Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Shamil P.S. When late binding is used then similar VB.NET MS Office Automation code works instantly here.... ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 12, 2006 11:47 PM Subject: Re: [AccessD] Demise of VBA > >From a business perspective, it doesn't sound like good judgment does it? > Why spend the revenue and manpower to replace what you've already got? You > only need to look to GM to see what happens when you do that. > > Susan H. > > ...just my opinion of course ...and experience near the top of the food > chain where evangelists almost always lose to the bottom line ...a bottom > line that greatly favors a new generation of vba. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Wed Jul 12 17:34:00 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 12 Jul 2006 18:34:00 -0400 Subject: [AccessD] Demise of VBA In-Reply-To: <005401c6a5f1$bcb46c40$6401a8c0@Nant> Message-ID: <004501c6a603$45bc2a30$6101a8c0@SUSANONE> 10+ seconds to wait every time you restart your app/debug session? (Or 10+ this bad side effect happens on my PC only?) =======I tested this for Shamil a few days ago -- took 10 seconds on mine as well. I was using a system with relatively little stuff on it. Older technology -- a Pentium 3 I think. Susan H. From cfoust at infostatsystems.com Wed Jul 12 19:28:08 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Jul 2006 17:28:08 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <005401c6a5f1$bcb46c40$6401a8c0@Nant> Message-ID: I haven't tested your code, but I'll testify to the fact that VS2005 is a huge resource hog. I'm getting a new machine because a build in our (admittedly large) winForms solution takes 5 minutes or more on my machine before I can even test. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, July 12, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA Hi All, I think this sample code below would be within the topic of this thread - try to run this VB.NET MS Word Automation code in VS2005 with a reference set to the MS Word Primary Interop Assembly - it takes 10+ second just to start on my PC (and similar VBA code starts MS Word instantly) - I wonder how quick this VB.NET simple sample works on your PCs? If it will take the same 10+ second just to start-up will you consider to use VB.NET for MS Office Automation? Note: If you use this code with WinForms application then subsequent after first MS Word activation calls to start another instance of MS Word will be instant but imagine the usual development/testing scenario when you start/debug/stop/restart/... your application many times - how about these 10+ seconds to wait every time you restart your app/debug session? (Or 10+ this bad side effect happens on my PC only?) Imports Word = Microsoft.Office.Interop.Word Module Module1 Private Function StartApp( _ ByVal strProgID As String) As Object Dim oTmp As Object On Error Resume Next oTmp = GetObject(, strProgID) If Err.Number <> 0 Then oTmp = CreateObject(strProgID) End If StartApp = oTmp End Function Private Sub TestEarlyBound() Dim app As Word.Application app = StartApp("Word.Application") app.Visible = True app.Activate() End Sub Sub Main() Dim ds As DateTime = DateTime.Now Dim de As DateTime Console.WriteLine("Program started at {0} ", ds.ToString()) TestEarlyBound() de = DateTime.Now Console.WriteLine("Program finished at {0} ", de.ToString()) Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Shamil P.S. When late binding is used then similar VB.NET MS Office Automation code works instantly here.... ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 12, 2006 11:47 PM Subject: Re: [AccessD] Demise of VBA > >From a business perspective, it doesn't sound like good judgment does it? > Why spend the revenue and manpower to replace what you've already got? You > only need to look to GM to see what happens when you do that. > > Susan H. > > ...just my opinion of course ...and experience near the top of the food > chain where evangelists almost always lose to the bottom line ...a bottom > line that greatly favors a new generation of vba. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Wed Jul 12 19:34:28 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Thu, 13 Jul 2006 10:34:28 +1000 Subject: [AccessD] Demise of VBA References: Message-ID: <002001c6a614$1a6a5210$6601a8c0@office> Agreed - I find even a small app is slow to build in it, so I can't imagine with a big one. Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, July 13, 2006 10:28 AM Subject: Re: [AccessD] Demise of VBA I haven't tested your code, but I'll testify to the fact that VS2005 is a huge resource hog. I'm getting a new machine because a build in our (admittedly large) winForms solution takes 5 minutes or more on my machine before I can even test. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, July 12, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA Hi All, I think this sample code below would be within the topic of this thread - try to run this VB.NET MS Word Automation code in VS2005 with a reference set to the MS Word Primary Interop Assembly - it takes 10+ second just to start on my PC (and similar VBA code starts MS Word instantly) - I wonder how quick this VB.NET simple sample works on your PCs? If it will take the same 10+ second just to start-up will you consider to use VB.NET for MS Office Automation? Note: If you use this code with WinForms application then subsequent after first MS Word activation calls to start another instance of MS Word will be instant but imagine the usual development/testing scenario when you start/debug/stop/restart/... your application many times - how about these 10+ seconds to wait every time you restart your app/debug session? (Or 10+ this bad side effect happens on my PC only?) Imports Word = Microsoft.Office.Interop.Word Module Module1 Private Function StartApp( _ ByVal strProgID As String) As Object Dim oTmp As Object On Error Resume Next oTmp = GetObject(, strProgID) If Err.Number <> 0 Then oTmp = CreateObject(strProgID) End If StartApp = oTmp End Function Private Sub TestEarlyBound() Dim app As Word.Application app = StartApp("Word.Application") app.Visible = True app.Activate() End Sub Sub Main() Dim ds As DateTime = DateTime.Now Dim de As DateTime Console.WriteLine("Program started at {0} ", ds.ToString()) TestEarlyBound() de = DateTime.Now Console.WriteLine("Program finished at {0} ", de.ToString()) Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Shamil P.S. When late binding is used then similar VB.NET MS Office Automation code works instantly here.... ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 12, 2006 11:47 PM Subject: Re: [AccessD] Demise of VBA > >From a business perspective, it doesn't sound like good judgment does it? > Why spend the revenue and manpower to replace what you've already got? You > only need to look to GM to see what happens when you do that. > > Susan H. > > ...just my opinion of course ...and experience near the top of the food > chain where evangelists almost always lose to the bottom line ...a bottom > line that greatly favors a new generation of vba. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Thu Jul 13 01:54:17 2006 From: max at sherman.org.uk (Max Home) Date: Thu, 13 Jul 2006 07:54:17 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aRkKicA Message-ID: <000001c6a649$2a6a97d0$e26b1152@Server> Hi, Marty Connelly, You kindly posted some code for using CDOSYS to send Emails. On the example form, you had some fields for receiving emails via Pop3. I was wondering Marty if you (or anybody) had any code for these options and also if it could handle IMapi accounts from a web mail account? Any help would be appreciated. Regards Max From Erwin.Craps at ithelps.be Thu Jul 13 03:23:35 2006 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 13 Jul 2006 10:23:35 +0200 Subject: [AccessD] SUSPECT: Re: Demise of VBA Message-ID: For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing >> Coca Cola Classic with new Coke ...the masses that feed the golden >> goose would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 markamatte at hotmail.com Thu Jul 13 08:45:32 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 13:45:32 +0000 Subject: [AccessD] A97 or A2k ODBC to Informix In-Reply-To: <004501c6a603$45bc2a30$6101a8c0@SUSANONE> Message-ID: Hello All, Is there a way in A97 or A2k using ODBC to Informix...to execute an SQL statement with a "SET PDQPRIORITY 40" in from of it??? Thanks, Mark A. Matte From marklbreen at gmail.com Thu Jul 13 09:06:18 2006 From: marklbreen at gmail.com (Mark Breen) Date: Thu, 13 Jul 2006 15:06:18 +0100 Subject: [AccessD] Finally got to meet Shamil Message-ID: Hello Guys, This may be OT but as Shamil is helping on this list since 1997, hopefully you will excuse me for posting this here. I am just back from my trip to Eastern Europe by motorcycle. One of the best parts of the three week trip was I got to meet our friend Shamil in St. Petersburg. I did not just get to meet him, he offered me accommadation which I graciously accepted. He then proceeded to be one of the best hosts a visitor could have. It had the oppertunity to live as a tourist in the day time, and then to join Shamil's family life in the evening, this was the best part for me. On the Sunday night before I left Russia, I had the really great experience of visiting Shamils Datcha (country house). His beautiful family put on a feast, literally a full sized table full of food. We stayed up until late, talking and drinking vodka. He then, kindly offered to get up at 04:30 and bring me to the train station. Shamil, thank you for your hospitality and I hope to see you in Ireland some time. In the meantime guys, get over to St Petersburg. It is a beautiful city, I mean really beautiful. The people I encountered were all kind, friendly, although English is not too common. I felt 100% safe at all times, in fact, it felt almost safer than some places I have been in London or New York. Another point I have to mention, the Russian people I saw in the entire city of St Petersburg are so glamourous, it was more like being in Paris than what we were told in school. All I can say is get over there and experience it for yourself, it will change you idea of what Mother Russia is like forever. Shamil, thank you for making it the highlight of my entire trip. Mark Breen Ireland From markamatte at hotmail.com Thu Jul 13 10:15:26 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 15:15:26 +0000 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: Hello All, In A97 or A2K is there an speed advantage in using different methods of executing SQL...runsql vs openquery vs CurrentDb.Execute vs qdfCurr.Execute ....or any other method of getting the data. I'm pulling millions of rows from informix via odbc and appending within Access...the whole point of this is I need to do some wildcard searches on a number of memo/blob fields...and need the records local or it times out. So...bottom line...whats the fastest way to get data from informix via odbc into an access table? Thanks again, Mark A. Matte From markamatte at hotmail.com Thu Jul 13 10:23:29 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 15:23:29 +0000 Subject: [AccessD] fasted way to execute sql In-Reply-To: Message-ID: forgot subject..sorry >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] (no subject) >Date: Thu, 13 Jul 2006 15:15:26 +0000 > >Hello All, > >In A97 or A2K is there an speed advantage in using different methods of >executing SQL...runsql vs openquery vs CurrentDb.Execute vs qdfCurr.Execute >....or any other method of getting the data. I'm pulling millions of rows >from informix via odbc and appending within Access...the whole point of >this >is I need to do some wildcard searches on a number of memo/blob >fields...and >need the records local or it times out. > >So...bottom line...whats the fastest way to get data from informix via odbc >into an access table? > >Thanks again, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 13 10:52:18 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 08:52:18 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: And that explains Multiplan, WordBasic, the Excel Macro language and all the other products and support they've dropped over the years? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SUSPECT: Re: Demise of VBA For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing Coca >>Cola Classic with new Coke ...the masses that feed the golden goose >>would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 martyconnelly at shaw.ca Thu Jul 13 11:28:47 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Jul 2006 09:28:47 -0700 Subject: [AccessD] A97 or A2k ODBC to Informix In-Reply-To: References: Message-ID: <44B674BF.4080000@shaw.ca> Couple of places to start http://www-128.ibm.com/developerworks/db2/zones/informix/ http://www.carlprothman.net/Default.aspx?tabid=90#ODBCDriverForInformix Mark A Matte wrote: >Hello All, > >Is there a way in A97 or A2k using ODBC to Informix...to execute an SQL >statement with a "SET PDQPRIORITY 40" in from of it??? > >Thanks, > >Mark A. Matte > > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Thu Jul 13 12:56:00 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Jul 2006 18:56:00 +0100 Subject: [AccessD] Finally got to meet Shamil In-Reply-To: Message-ID: <000001c6a6a5$9a963df0$f76b8552@minster33c3r25> Brilliant. Thanks for the post Mark. It's what makes this list special. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 13 July 2006 15:06 > To: Access Developers discussion and problem solving > Subject: [AccessD] Finally got to meet Shamil > > > Hello Guys, > > This may be OT but as Shamil is helping on this list since > 1997, hopefully you will excuse me for posting this here. > > I am just back from my trip to Eastern Europe by motorcycle. > One of the best parts of the three week trip was I got to > meet our friend Shamil in St. Petersburg. I did not just get > to meet him, he offered me accommadation which I graciously > accepted. He then proceeded to be one of the best hosts a > visitor could have. > > It had the oppertunity to live as a tourist in the day time, > and then to join Shamil's family life in the evening, this > was the best part for me. On the Sunday night before I left > Russia, I had the really great experience of visiting Shamils > Datcha (country house). His beautiful family put on a feast, > literally a full sized table full of food. We stayed up > until late, talking and drinking vodka. He then, kindly > offered to get up at 04:30 and bring me to the train station. > > Shamil, thank you for your hospitality and I hope to see you > in Ireland some time. > > In the meantime guys, get over to St Petersburg. It is a > beautiful city, I mean really beautiful. The people I > encountered were all kind, friendly, although English is not > too common. I felt 100% safe at all times, in fact, it felt > almost safer than some places I have been in London or New York. > > Another point I have to mention, the Russian people I saw in > the entire city of St Petersburg are so glamourous, it was > more like being in Paris than what we were told in school. > All I can say is get over there and experience it for > yourself, it will change you idea of what Mother Russia is > like forever. Shamil, thank you for making it the highlight > of my entire trip. > > Mark Breen > Ireland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rl_stewart at highstream.net Thu Jul 13 13:10:30 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 13 Jul 2006 14:10:30 -0400 Subject: [AccessD] fastest way to execute sql In-Reply-To: References: Message-ID: <1152814230.44b68c963ab7c@webmail.highstream.net> Mark, The fastest way is to have your server execute it using pass through SQL. You should NEVER pull millions of rows into Access for processing. That is crazy. It is not designed to do that. Once you have the pass through query defined, you can use it as a data source to append data into a table on the Access side, but don't even think about doing millions of rows. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Thu, 13 Jul 2006 15:15:26 +0000 > From: "Mark A Matte" > Subject: [AccessD] (no subject) > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > Hello All, > > In A97 or A2K is there an speed advantage in using different methods of > executing SQL...runsql vs openquery vs CurrentDb.Execute vs qdfCurr.Execute > ....or any other method of getting the data. I'm pulling millions of rows > from informix via odbc and appending within Access...the whole point of this > is I need to do some wildcard searches on a number of memo/blob fields...and > need the records local or it times out. > > So...bottom line...whats the fastest way to get data from informix via odbc > into an access table? > > Thanks again, > > Mark A. Matte > > > > From martyconnelly at shaw.ca Thu Jul 13 13:10:20 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Jul 2006 11:10:20 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <000001c6a649$2a6a97d0$e26b1152@Server> References: <000001c6a649$2a6a97d0$e26b1152@Server> Message-ID: <44B68C8C.2020301@shaw.ca> CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max > > > > -- Marty Connelly Victoria, B.C. Canada From max at sherman.org.uk Thu Jul 13 13:30:59 2006 From: max at sherman.org.uk (Max Home) Date: Thu, 13 Jul 2006 19:30:59 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aSEMycA Message-ID: <000e01c6a6aa$7e147980$e26b1152@Server> Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Jul 13 15:31:36 2006 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 13 Jul 2006 22:31:36 +0200 Subject: [AccessD] : Re: Demise of VBA Message-ID: Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 13, 2006 5:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA And that explains Multiplan, WordBasic, the Excel Macro language and all the other products and support they've dropped over the years? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SUSPECT: Re: Demise of VBA For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing Coca >>Cola Classic with new Coke ...the masses that feed the golden goose >>would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jul 13 15:29:17 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Jul 2006 13:29:17 -0700 Subject: [AccessD] Access 2007 Ribbon Bar and accdb format In-Reply-To: <000e01c6a6aa$7e147980$e26b1152@Server> References: <000e01c6a6aa$7e147980$e26b1152@Server> Message-ID: <44B6AD1D.6050502@shaw.ca> Here is a sample 2007 accdb and method to program with VBA the ribbon bar via xml inserted in a table. More convoluted than command bars but at least everything is one place. http://blogs.msdn.com/access/archive/2006/07/13/664757.aspx By the way I had trouble converting an accdb back to 2000 format You try to do a straight conversion and it squawks about multi valued fields or something and says can't do it. I couldn't find the error or what it was complaining about. Here is a way around it Not too difficult to convert back from Access 2007 just create a blank 2003 mdb and right click on the objects and export them to the new blank mdb. Selecting the database option. You also have to recreate the table relationships structure. To do multiple exports for tables or forms via vba use some variation of this Sub testexport() Dim cdb As Database 'Database to import Dim td As TableDef 'Tabledefs in db Dim strTDef As String 'Name of table or query to import Set cdb = CurrentDb 'EXPORT tables from specified Access database 'keep opening through security squawk for each table For Each td In cdb.TableDefs strTDef = td.Name Debug.Print strTDef If Left(strTDef, 4) <> "MSys" Then DoCmd.TransferDatabase acExport, "Microsoft Access", _ "C:\Access files\2007test\rebuild\crm2000.mdb", _ acTable, strTDef, strTDef, False End If Next End Sub -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Thu Jul 13 15:32:59 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 20:32:59 +0000 Subject: [AccessD] fastest way to execute sql In-Reply-To: <1152814230.44b68c963ab7c@webmail.highstream.net> Message-ID: Robert, Thanks for the feedback...I have never used pass-throughs...here is my scenario. Access db connected to Informix via ODBC. I need to do some fuzzy/wildcard searches against a number of memo/blob fields. I have tried to do these types of searches in the past on the linked tables with no success(time outs or just never finishes). I typically pull ALL(1.2 mil) records from the needed table and then do the fuzzy/wildcard searches on local tables. This has been the only way I got the info needed. In this scenario, would your suggestion still apply...and if so, do you mean create my fuzzy/wildcard searches as a pass-through...and then use the pass-through as the source in another query to append to a local table? Thanks, Mark A. Matte >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Thu, 13 Jul 2006 14:10:30 -0400 > >Mark, > >The fastest way is to have your server execute it using pass through SQL. >You should NEVER pull millions of rows into Access for processing. That is >crazy. It is not designed to do that. > >Once you have the pass through query defined, you can use it as a data >source to >append data into a table on the Access side, but don't even think about >doing >millions of rows. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 15:15:26 +0000 > > From: "Mark A Matte" > > Subject: [AccessD] (no subject) > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Hello All, > > > > In A97 or A2K is there an speed advantage in using different methods of > > executing SQL...runsql vs openquery vs CurrentDb.Execute vs >qdfCurr.Execute > > ....or any other method of getting the data. I'm pulling millions of >rows > > from informix via odbc and appending within Access...the whole point of >this > > is I need to do some wildcard searches on a number of memo/blob >fields...and > > need the records local or it times out. > > > > So...bottom line...whats the fastest way to get data from informix via >odbc > > into an access table? > > > > Thanks again, > > > > Mark A. Matte > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Thu Jul 13 15:38:55 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Thu, 13 Jul 2006 16:38:55 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> I found the switch from Excel Basic to VBA difficult. Now, Access Basic and VBA were like peas in a pod, but Excel? I never have gotten the hang of using VBA in Excel and I've pretty much stopped trying. Susan H. Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... From cfoust at infostatsystems.com Thu Jul 13 15:45:03 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 13:45:03 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> Message-ID: The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 13, 2006 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I found the switch from Excel Basic to VBA difficult. Now, Access Basic and VBA were like peas in a pod, but Excel? I never have gotten the hang of using VBA in Excel and I've pretty much stopped trying. Susan H. Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Jul 13 15:47:59 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 13 Jul 2006 15:47:59 -0500 Subject: [AccessD] fastest way to execute sql Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8D0@natexch.jenkens.com> Memo/blob searches like this are tough without full text indexing. I do not know if Informix has that available, but it would be worth a look. Of course there is no way to take advantage of this without using some sort of pass through query. I am in an almost pure SQL environment and that is how I handle it. I am not sure what may be applied to your situation. Debbie -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Thursday, July 13, 2006 3:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] fastest way to execute sql Robert, Thanks for the feedback...I have never used pass-throughs...here is my scenario. Access db connected to Informix via ODBC. I need to do some fuzzy/wildcard searches against a number of memo/blob fields. I have tried to do these types of searches in the past on the linked tables with no success(time outs or just never finishes). I typically pull ALL(1.2 mil) records from the needed table and then do the fuzzy/wildcard searches on local tables. This has been the only way I got the info needed. In this scenario, would your suggestion still apply...and if so, do you mean create my fuzzy/wildcard searches as a pass-through...and then use the pass-through as the source in another query to append to a local table? Thanks, Mark A. Matte >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Thu, 13 Jul 2006 14:10:30 -0400 > >Mark, > >The fastest way is to have your server execute it using pass through SQL. >You should NEVER pull millions of rows into Access for processing. That is >crazy. It is not designed to do that. > >Once you have the pass through query defined, you can use it as a data >source to >append data into a table on the Access side, but don't even think about >doing >millions of rows. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 15:15:26 +0000 > > From: "Mark A Matte" > > Subject: [AccessD] (no subject) > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Hello All, > > > > In A97 or A2K is there an speed advantage in using different methods of > > executing SQL...runsql vs openquery vs CurrentDb.Execute vs >qdfCurr.Execute > > ....or any other method of getting the data. I'm pulling millions of >rows > > from informix via odbc and appending within Access...the whole point of >this > > is I need to do some wildcard searches on a number of memo/blob >fields...and > > need the records local or it times out. > > > > So...bottom line...whats the fastest way to get data from informix via >odbc > > into an access table? > > > > Thanks again, > > > > Mark A. Matte > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From harkinsss at bellsouth.net Thu Jul 13 15:49:08 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Thu, 13 Jul 2006 16:49:08 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: <000d01c6a6bd$ca051bc0$6101a8c0@SUSANONE> I'm so glad I'm not alone. :) I never even tried to work with VBA in Word. Susan H. The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. From cfoust at infostatsystems.com Thu Jul 13 15:49:29 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 13:49:29 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: There was a whole base of Excel macro users. It was flexible and must easier to use than the equivalent QuattroPro language. WordBasic to VBA was NOT 0.something. There are still things that drive developers to moan about the demise of WordBasic. The trouble is that the VBA code can be reused ... In VBA. It can't be reused in .Net, which has a whole different framework, and it couldn't reuse the old code developed in the older macro languages. Nobody said progress was painless.... Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 13, 2006 5:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA And that explains Multiplan, WordBasic, the Excel Macro language and all the other products and support they've dropped over the years? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SUSPECT: Re: Demise of VBA For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing Coca >>Cola Classic with new Coke ...the masses that feed the golden goose >>would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 13 15:58:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 13:58:09 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <000d01c6a6bd$ca051bc0$6101a8c0@SUSANONE> Message-ID: I've done it, but the object model drove me crazy and I haven't needed to program Word in so long I've forgotten how. :o< Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 13, 2006 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I'm so glad I'm not alone. :) I never even tried to work with VBA in Word. Susan H. The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Jul 13 15:59:13 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 13 Jul 2006 21:59:13 +0100 Subject: [AccessD] Access 2007 Ribbon Bar and accdb format References: <000e01c6a6aa$7e147980$e26b1152@Server> <44B6AD1D.6050502@shaw.ca> Message-ID: Marty check out this guy as well. Hes been doing some great stuff with Ribbons. Been teaching me how they work. He seems to be way ahead of the field and will have a beta customisation tool ready soon. I have been helping him test it. http://pschmid.net/ I have to write a chapter on Ribbons and I havnt a clue to be honest. But will get there, Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of MartyConnelly Sent: Thu 13/07/2006 21:29 To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 Ribbon Bar and accdb format Here is a sample 2007 accdb and method to program with VBA the ribbon bar via xml inserted in a table. More convoluted than command bars but at least everything is one place. http://blogs.msdn.com/access/archive/2006/07/13/664757.aspx By the way I had trouble converting an accdb back to 2000 format You try to do a straight conversion and it squawks about multi valued fields or something and says can't do it. I couldn't find the error or what it was complaining about. Here is a way around it Not too difficult to convert back from Access 2007 just create a blank 2003 mdb and right click on the objects and export them to the new blank mdb. Selecting the database option. You also have to recreate the table relationships structure. To do multiple exports for tables or forms via vba use some variation of this Sub testexport() Dim cdb As Database 'Database to import Dim td As TableDef 'Tabledefs in db Dim strTDef As String 'Name of table or query to import Set cdb = CurrentDb 'EXPORT tables from specified Access database 'keep opening through security squawk for each table For Each td In cdb.TableDefs strTDef = td.Name Debug.Print strTDef If Left(strTDef, 4) <> "MSys" Then DoCmd.TransferDatabase acExport, "Microsoft Access", _ "C:\Access files\2007test\rebuild\crm2000.mdb", _ acTable, strTDef, strTDef, False End If Next End Sub -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jul 13 16:30:07 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 13 Jul 2006 16:30:07 -0500 Subject: [AccessD] : Re: Demise of VBA Message-ID: <17724746D360394AA3BFE5B8D40A9C1BB7F380@main2.marlow.com> I think it's a developer thing. We use the Access object model so much that it's second nature to us, yet the Excel and Word object models seem so awkward sometimes. I can do tons of stuff in Excel, but I avoid Word VBA when not absolutely necessary. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, July 13, 2006 3:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 13, 2006 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I found the switch from Excel Basic to VBA difficult. Now, Access Basic and VBA were like peas in a pod, but Excel? I never have gotten the hang of using VBA in Excel and I've pretty much stopped trying. Susan H. Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 13 16:54:20 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Jul 2006 07:54:20 +1000 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> References: , <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> Message-ID: <44B74DAC.9739.23E69955@stuart.lexacorp.com.pg> On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang of > using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. -- Stuart From kp at sdsonline.net Thu Jul 13 20:20:49 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 14 Jul 2006 11:20:49 +1000 Subject: [AccessD] Mobile Access with an mde Message-ID: <000801c6a6e3$be383720$6601a8c0@office> I know that this topic has been discussed before but not for a while, so maybe there are more choices now. I have a client (tradesman) who wants to take his customised menu driven database with him in the car and is wondering what his hardware choices are. I know that there are some software packages designed for pda's but they effectively import the data into tables, which is no good for him. I want him to be able to open the mde and use the interface I have designed for him, just as he does in the office. Maybe he will need just a small laptop but I am wondering whther there is anything smaller / or cleverer? Thanks - ______________________________________ Kath Pelletti From carbonnb at gmail.com Thu Jul 13 21:15:45 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 13 Jul 2006 22:15:45 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: References: <000d01c6a6bd$ca051bc0$6101a8c0@SUSANONE> Message-ID: On 7/13/06, Charlotte Foust wrote: > I've done it, but the object model drove me crazy and I haven't needed > to program Word in so long I've forgotten how. :o< The Word object model isn't that tough. Although switching between Word and Access was painful on the brain sometimes. :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Thu Jul 13 21:19:16 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 13 Jul 2006 22:19:16 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <44B74DAC.9739.23E69955@stuart.lexacorp.com.pg> References: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> <44B74DAC.9739.23E69955@stuart.lexacorp.com.pg> Message-ID: On 7/13/06, Stuart McLachlan wrote: > On 13 Jul 2006 at 16:38, Susan Harkins wrote: > > > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > > VBA were like peas in a pod, but Excel? I never have gotten the hang of > > using VBA in Excel and I've pretty much stopped trying. > > ISTM that Visual Basic for Applications in Word and Excel are overkill. I don't think so. If it weren't for VBA in Word and Excel, I wouldn't be here. I wouldn't ahve had the confidence to tackle a DB if I didn't have the experience writing code in Word and Excel first. > There is a fundamental difference between Access and Word/Excel. > > Word is a tool for creating documents and Excel is a tool for creating > spreadsheets. A document or a spreadsheet are useful objects in their own > right and Word and Excel are *end user* tools for creating them. > > A database has no value without an application to utilise it's contents. True, but that application doesn't have to be Access, it can be Word or Excel or VB or any app that can get data from the Jet engine. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From wdhindman at dejpolsystems.com Thu Jul 13 22:35:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 13 Jul 2006 23:35:52 -0400 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office> Message-ID: <00a601c6a6f6$9c153900$6e9ba545@50NM721> ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > 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 Jul 13 22:44:33 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Jul 2006 13:44:33 +1000 Subject: [AccessD] Mobile Access with an mde In-Reply-To: <00a601c6a6f6$9c153900$6e9ba545@50NM721> References: <000801c6a6e3$be383720$6601a8c0@office>, <00a601c6a6f6$9c153900$6e9ba545@50NM721> Message-ID: <44B79FC1.31586.108190FE@stuart.lexacorp.com.pg> On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ From wdhindman at dejpolsystems.com Thu Jul 13 23:15:43 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 14 Jul 2006 00:15:43 -0400 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office>, <00a601c6a6f6$9c153900$6e9ba545@50NM721> <44B79FC1.31586.108190FE@stuart.lexacorp.com.pg> Message-ID: <011b01c6a6fc$2cfa5310$6e9ba545@50NM721> ...it might buzz but it ain't flying quite yet, eh :))) William ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Thursday, July 13, 2006 11:44 PM Subject: Re: [AccessD] Mobile Access with an mde > On 13 Jul 2006 at 23:35, William Hindman wrote: > >> ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. >> > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Thu Jul 13 23:21:24 2006 From: john at winhaven.net (John Bartow) Date: Thu, 13 Jul 2006 23:21:24 -0500 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: <014801c6a6fc$f828ca30$6502a8c0@ScuzzPaq> Once the jump is made into using VBA in other applications in addition to Access's, it is much easier to understand why MS went this direction in the first place. I find that VBA is an incredibly useful tool in all of the apps I've used it in, albeit a brain twister when first trying to understand each model. I'll never think of a PowerPoint presentation the same now ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, July 13, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 7/13/06, Stuart McLachlan wrote: > On 13 Jul 2006 at 16:38, Susan Harkins wrote: > > > I found the switch from Excel Basic to VBA difficult. Now, Access > > Basic and VBA were like peas in a pod, but Excel? I never have > > gotten the hang of using VBA in Excel and I've pretty much stopped trying. > > ISTM that Visual Basic for Applications in Word and Excel are overkill. I don't think so. If it weren't for VBA in Word and Excel, I wouldn't be here. I wouldn't ahve had the confidence to tackle a DB if I didn't have the experience writing code in Word and Excel first. > There is a fundamental difference between Access and Word/Excel. > > Word is a tool for creating documents and Excel is a tool for > creating spreadsheets. A document or a spreadsheet are useful objects > in their own right and Word and Excel are *end user* tools for creating them. > > A database has no value without an application to utilise it's contents. True, but that application doesn't have to be Access, it can be Word or Excel or VB or any app that can get data from the Jet engine. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Jul 14 06:41:48 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 14 Jul 2006 15:41:48 +0400 Subject: [AccessD] Finally got to meet Shamil References: Message-ID: <003301c6a73a$7f4f8f20$6401a8c0@Nant> Thank you, Mark! Everybody are welcome to St.Petersburg, Russia! Shamil ----- Original Message ----- From: "Mark Breen" To: "Access Developers discussion and problem solving" Sent: Thursday, July 13, 2006 6:06 PM Subject: [AccessD] Finally got to meet Shamil > Hello Guys, > > This may be OT but as Shamil is helping on this list since 1997, hopefully > you will excuse me for posting this here. > > I am just back from my trip to Eastern Europe by motorcycle. One of the > best parts of the three week trip was I got to meet our friend Shamil in > St. > Petersburg. I did not just get to meet him, he offered me accommadation > which I graciously accepted. He then proceeded to be one of the best > hosts > a visitor could have. > > It had the oppertunity to live as a tourist in the day time, and then to > join Shamil's family life in the evening, this was the best part for me. > On > the Sunday night before I left Russia, I had the really great experience > of > visiting Shamils Datcha (country house). His beautiful family put on a > feast, literally a full sized table full of food. We stayed up until > late, > talking and drinking vodka. He then, kindly offered to get up at 04:30 > and > bring me to the train station. > > Shamil, thank you for your hospitality and I hope to see you in Ireland > some > time. > > In the meantime guys, get over to St Petersburg. It is a beautiful city, > I > mean really beautiful. The people I encountered were all kind, friendly, > although English is not too common. I felt 100% safe at all times, in > fact, > it felt almost safer than some places I have been in London or New York. > > Another point I have to mention, the Russian people I saw in the entire > city > of St Petersburg are so glamourous, it was more like being in Paris than > what we were told in school. All I can say is get over there and > experience > it for yourself, it will change you idea of what Mother Russia is like > forever. Shamil, thank you for making it the highlight of my entire trip. > > Mark Breen > Ireland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Jul 14 07:22:24 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 14 Jul 2006 08:22:24 -0400 Subject: [AccessD] Mobile Access with an mde In-Reply-To: <000801c6a6e3$be383720$6601a8c0@office> Message-ID: Kath, We have been using tablet pc's from Motion Computing for this. 12" screen though. You are probably looking for something smaller? I am interested in this as well. I would like a pda that will hold my application that was deployed using office developer to work on a pda. I would like the guys in the field to be able to respond to a work order when one is issued from the main office. Anyone done this before? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From prosoft6 at hotmail.com Fri Jul 14 07:30:52 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 14 Jul 2006 08:30:52 -0400 Subject: [AccessD] Developer Extensions Message-ID: Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From rl_stewart at highstream.net Fri Jul 14 07:37:41 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 14 Jul 2006 08:37:41 -0400 Subject: [AccessD] fastest way to execute sql In-Reply-To: References: Message-ID: <1152880661.44b79015d35d7@webmail.highstream.net> Mark, Actually, it is very simple. You will need to know the general syntack for the backend database, but it should be something like this: Set the query type as passthrough. SELECT * FROM MyTable WHERE MyMemoField LIKE '%TheWord%' OR MyMemoField LIKE '%AnotherWord%' Open the query properties. Set the ODBC string. Set the timeout to 0. This will let it run until it completes. This will let the server to run the query and it will return only the results back to Access, not all 1.2 mil rows. If you want the results in an Access table, then you can use this query as the source for a make table or append query. NOTE: The synatx I used above is generic. You might have to use " instead of '. The % is the wild card for SQL Server like the * is for Access. It might be different in Informix. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Thu, 13 Jul 2006 20:32:59 +0000 > From: "Mark A Matte" > Subject: Re: [AccessD] fastest way to execute sql > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > Robert, > > Thanks for the feedback...I have never used pass-throughs...here is my > scenario. Access db connected to Informix via ODBC. I need to do some > fuzzy/wildcard searches against a number of memo/blob fields. I have tried > to do these types of searches in the past on the linked tables with no > success(time outs or just never finishes). I typically pull ALL(1.2 mil) > records from the needed table and then do the fuzzy/wildcard searches on > local tables. This has been the only way I got the info needed. In this > scenario, would your suggestion still apply...and if so, do you mean create > my fuzzy/wildcard searches as a pass-through...and then use the pass-through > as the source in another query to append to a local table? > > Thanks, > > Mark A. Matte From kp at sdsonline.net Fri Jul 14 07:44:59 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 14 Jul 2006 22:44:59 +1000 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office> <00a601c6a6f6$9c153900$6e9ba545@50NM721> Message-ID: <001001c6a743$51a31ed0$6601a8c0@office> >From what i have seen that's the smallest I can recommend to him....I thought there may be something even smaller.... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Fri Jul 14 07:58:58 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 08:58:58 -0400 Subject: [AccessD] Mobile Access with an mde In-Reply-To: <001001c6a743$51a31ed0$6601a8c0@office> Message-ID: <200607141258.k6ECwuR06863@ultradnt.com> To go to PocketPC form factor requires either .Net with CF (compact framework) connecting to a SQL CE db, or 3rd party tools (like SprintDB). There is no support for Access UI objects in Windows Mobile. (There is some support for Pocket Access, but that is only tables, and seems to be on the deprecation path). Of course, if the device always has an interent connection, you could do a web app, but your BE would need to available on a web server, and in that case , probably want to move to SQL anyway. Not what you wanted to hear, I am sure, but HTH anyway, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Friday, July 14, 2006 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde >From what i have seen that's the smallest I can recommend to him....I thought there may be something even smaller.... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Fri Jul 14 07:59:16 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 14 Jul 2006 08:59:16 -0400 Subject: [AccessD] Finally got to meet Shamil In-Reply-To: References: Message-ID: <1152881956.44b795242012f@webmail.highstream.net> While I have never met Shamil or been to St. Peterburg, I have been to Russia 7 times. If any of you guys or gals have the opportunity to go, take it. Russia is a very interesting country. My friends there introduced me to a fantastic lady. I have bee there to see her 3 times and we are currently waiting for the BCIS to process her visa papers so her daughter and her can come to the USA. I have been to Lithuania, Ukraine and Russia. Of the three, Russia has been the most interesting. And the people I know there are like Shamil. Good friends that give much more than you would ever expect. So, the most impressive thing about Russia, at least for me, has been the people. Shamil, my fiance has only been to St. Peterburg once many years ago. So one of our trips in the future will be there. I would love to meet you when we do go. She lives in Yoshkar-Ola and her family is from Great Novgrod. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Fri, 14 Jul 2006 15:41:48 +0400 > From: "Shamil Salakhetdinov" > Subject: Re: [AccessD] Finally got to meet Shamil > To: "Access Developers discussion and problem solving" > > Message-ID: <003301c6a73a$7f4f8f20$6401a8c0 at Nant> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > Thank you, Mark! > > Everybody are welcome to St.Petersburg, Russia! > > Shamil > From developer at ultradnt.com Fri Jul 14 08:10:27 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 09:10:27 -0400 Subject: [AccessD] Developer Extensions In-Reply-To: Message-ID: <200607141310.k6EDAPR09149@ultradnt.com> It depends on which Access version. 2002 and back required starting the package wizard from the VBE (in the Add-Ins menu) so it had to be an MDB - there is no VBE in an MDE. Since 2003 uses VSTO, a completely separate product, you _can_ package MDE's. As for the older versions, although the documentation says you can't do it, you can package your MDB, then create an MDE based on the MDB. Create an empty MDB with the same name as the original, and replace your orignal MDB in the pkg with the empty (don't lose the source MDB of course). Add an AutoExec in the empty MDB that opens the MDE then quits, so the wizard generated shortcut will still work, and your MDE will be what the user runs. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Friday, July 14, 2006 8:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Developer Extensions Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Jul 14 08:10:16 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 14 Jul 2006 08:10:16 -0500 Subject: [AccessD] Developer Extensions In-Reply-To: <12847656.1152880507324.JavaMail.root@sniper21> Message-ID: <000301c6a746$da4e9450$0200a8c0@danwaters> Hi Julie, The Packaging Wizard will package what you tell it to package. So, go ahead and make your app an .mde first, then do the packaging. And - good luck selling to many customers! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Friday, July 14, 2006 7:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Developer Extensions Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Jul 14 08:39:09 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 14 Jul 2006 09:39:09 -0400 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office><00a601c6a6f6$9c153900$6e9ba545@50NM721> <001001c6a743$51a31ed0$6601a8c0@office> Message-ID: <001801c6a74a$e304f810$6e9ba545@50NM721> ...the link Stuart posted may lead you to something smaller that's no longer vapor ware ...I'd thoroughly check it out before putting a client on something that new but, hey ...someone has to go first :) William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Friday, July 14, 2006 8:44 AM Subject: Re: [AccessD] Mobile Access with an mde > >From what i have seen that's the smallest I can recommend to him....I > >thought there may be something even smaller.... > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:35 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access D Normal List" > Sent: Thursday, July 13, 2006 9:20 PM > Subject: [AccessD] Mobile Access with an mde > > > >I know that this topic has been discussed before but not for a while, so > >maybe there are more choices now. > > > > I have a client (tradesman) who wants to take his customised menu > driven > > database with him in the car and is wondering what his hardware choices > > are. > > > > I know that there are some software packages designed for pda's but > they > > effectively import the data into tables, which is no good for him. > > > > I want him to be able to open the mde and use the interface I have > > designed for him, just as he does in the office. > > > > Maybe he will need just a small laptop but I am wondering whther there > is > > anything smaller / or cleverer? > > > > Thanks - > > > > ______________________________________ > > Kath Pelletti > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Jul 14 10:01:13 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 08:01:13 -0700 Subject: [AccessD] OT: The Sleep Advisor Message-ID: <44B7B1B9.5000005@san.rr.com> Dear List: Sorry for the OT. During the beta testing phase of The Sleep Advisor many of you were good enough to volunteer as beta testers. Now we have an opportunity to pitch the product to a company which produces infomercials. It's a long shot but, who knows? Maybe they'll pick it up. We have been advised that the most valuable aspect of the infomercial is testimonials from users. So IF you have used The Sleep Advisor AND it improved your sleep AND you would be willing to give a testimonial, please reply to me off line. Thanks and regards, Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From Jim.Hale at FleetPride.com Fri Jul 14 10:34:59 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 10:34:59 -0500 Subject: [AccessD] : Re: Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9B@corp-es01.fleetpride.com> That's too bad you have had frustrating experiences with Excel. I came from the Excel side to learn Access so I guess it wasn't as bad for me. I learned Access to learn a more powerful way to handle data when I reached the point where Excel flat files simply couldn't do the job. For me the most powerful and useful aspect of Office has been the tight integration between Access and Excel afforded by VBA. VBA allows me to utilize the best features of each by transferring data from whichever application can process it best. As you can imagine, being in the financial realm I spend most of my time in the Access-Excel space and have created many apps that transfer data back and forth as required. There are two fundamental insights into Excel that have always helped me. First, an Excel spreadsheet can be viewed as a flat file. This means if you can boil Access data down into a record set with a key such as GLacct_location_Date and paste the record set into a sheet you can reference the "flat file" with lookups from other sheets in the workbook. Second, any Excel location can be described by knowing the workbook, worksheet, column and row. This insight allows tables to store these locations (the tables can be static or created on the fly from codes in the Excel workbook) and then "sprinkle" data throughout a workbook into the appropriate cells from record sets. I guess Excel templates are the third piece of the puzzle since all the formatting, formulas, etc. can be created and stored ahead of time and all Access has to do is open the empty workbook and supply the data. Anyway, I'm not sure how all of this can be (easily) recreated in the brave new world of .net. Jim Hale -----Original Message----- From: Susan Harkins [mailto:harkinsss at bellsouth.net] Sent: Thursday, July 13, 2006 3:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I'm so glad I'm not alone. :) I never even tried to work with VBA in Word. Susan H. The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Fri Jul 14 10:33:34 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 08:33:34 -0700 Subject: [AccessD] Developer Extensions In-Reply-To: <000301c6a746$da4e9450$0200a8c0@danwaters> References: <000301c6a746$da4e9450$0200a8c0@danwaters> Message-ID: <44B7B94E.1030600@shaw.ca> If you are not doing the install yourself or you have no idea what is on the machine and neither does the customer. Or the customer is not local to you, you might want to look at purchasing SageKey scripts, it gets around a lot of OS glitches that might occur like hooking to the correct version of Access, if the machine has multiple versions or you are also installing multiple 3'd party ActiveX controls. http://www.sagekey.com Since you are not giving the code to the customer, you might make em feel more secure if you escrow the code This doesn't have to be fancy just store a version with a local lawyer or notary. Some goverment departments are insisting on this. Dan Waters wrote: >Hi Julie, > >The Packaging Wizard will package what you tell it to package. So, go ahead >and make your app an .mde first, then do the packaging. > >And - good luck selling to many customers! > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >Reardon-Taylor >Sent: Friday, July 14, 2006 7:31 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Developer Extensions > >Hi Everyone, > >I thought (incorrectly) that the packaging wizard actually took the >application and made an mde type of file, then packaged the application for >installation. > >I found out that it still uses an .mdb file. If I make an mde and then >package the application, that is the way to go? > >I have several applications that I am writing once and selling multiple >times to customer, (finally), and do not want the code accessible. > >Is this the only way to go? > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business > > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Fri Jul 14 10:52:24 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 10:52:24 -0500 Subject: [AccessD] : Re: Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9C@corp-es01.fleetpride.com> My strong impression is that Microsoft in the new Access version is going to great lengths to make Access more Accessible (no pun intended) to end users. In their heart of hearts I believe they think if they only can "build it (more user friendly) they will come". Whether or not this just leads to a proliferation of bad databases only time will tell. Unlike Excel, which everyone can use out of the box, you really need to know something about relational databases before you charge off and build one. The new version will come with many example apps so maybe this will suffice, who knows? Jim Hale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 13, 2006 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang of > using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From markamatte at hotmail.com Fri Jul 14 11:02:27 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 14 Jul 2006 16:02:27 +0000 Subject: [AccessD] HELP!! fastest way to execute sql Message-ID: This problem just seems to grow. I have written the passthough query...but Informix says I cannot use a wild card on this type of field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are lost to(but trying to look)...so...2 questions: 1. Anyone know how to search TEXT fields on informix with a wildcard? 2. Can you do this on an SQL or MYSQL db? Desperately begging, Mark A. Matte P.S...The error on the passthrough surprised me because I know I have done this type of search on informix before...so I called the DBA and had them watch what SQL was actually executed. If they run the same SQL on the server that I use in the Passthrough...they get the same error I do...but if I just use a select query against a linked table...I get results(unfortunately this takes a very long time...forever)...now I know why. Using a select query to linked table: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); When I execute this in A97 or A2K...this is what hits the server: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note; Either access or informix ignores my where clause...but access returns the correct records. Any ideas, thoughts, comments, suggestions? >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Fri, 14 Jul 2006 08:37:41 -0400 > >Mark, > >Actually, it is very simple. > >You will need to know the general syntack for the backend database, but it >should be something like this: > >Set the query type as passthrough. > >SELECT * >FROM MyTable >WHERE MyMemoField LIKE '%TheWord%' OR MyMemoField LIKE '%AnotherWord%' > >Open the query properties. >Set the ODBC string. >Set the timeout to 0. This will let it run until it completes. > >This will let the server to run the query and it will return only the >results >back to Access, not all 1.2 mil rows. > >If you want the results in an Access table, then you can use this query as >the >source for a make table or append query. > >NOTE: The synatx I used above is generic. You might have to use " instead >of >'. The % is the wild card for SQL Server like the * is for Access. It >might >be different in Informix. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 20:32:59 +0000 > > From: "Mark A Matte" > > Subject: Re: [AccessD] fastest way to execute sql > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Robert, > > > > Thanks for the feedback...I have never used pass-throughs...here is my > > scenario. Access db connected to Informix via ODBC. I need to do some > > fuzzy/wildcard searches against a number of memo/blob fields. I have >tried > > to do these types of searches in the past on the linked tables with no > > success(time outs or just never finishes). I typically pull ALL(1.2 >mil) > > records from the needed table and then do the fuzzy/wildcard searches on > > local tables. This has been the only way I got the info needed. In >this > > scenario, would your suggestion still apply...and if so, do you mean >create > > my fuzzy/wildcard searches as a pass-through...and then use the >pass-through > > as the source in another query to append to a local table? > > > > Thanks, > > > > Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From JColby at dispec.com Fri Jul 14 11:17:52 2006 From: JColby at dispec.com (Colby, John) Date: Fri, 14 Jul 2006 12:17:52 -0400 Subject: [AccessD] : Re: Demise of VBA Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBFAA9@DISABILITYINS01> >The new version will come with many example apps so maybe this will suffice, who knows? LOL, kind of like North Winds which is a remarkable example of how to do specific (easy) user interface kinds of things and is a remarkable example of how NOT to design a relational database. John W. Colby The DIS Database Guy -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Friday, July 14, 2006 11:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA My strong impression is that Microsoft in the new Access version is going to great lengths to make Access more Accessible (no pun intended) to end users. In their heart of hearts I believe they think if they only can "build it (more user friendly) they will come". Whether or not this just leads to a proliferation of bad databases only time will tell. Unlike Excel, which everyone can use out of the box, you really need to know something about relational databases before you charge off and build one. The new version will come with many example apps so maybe this will suffice, who knows? Jim Hale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 13, 2006 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang of > using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at sbcglobal.net Fri Jul 14 11:39:25 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Fri, 14 Jul 2006 09:39:25 -0700 (PDT) Subject: [AccessD] Meet VBA's Replacement Message-ID: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------------------- Migrating from VBA to .NET/VSTO ? Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp From bchacc at san.rr.com Fri Jul 14 11:43:55 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 09:43:55 -0700 Subject: [AccessD] Opening password protected database Message-ID: <44B7C9CB.20500@san.rr.com> Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bill_Patten at earthlink.net Fri Jul 14 11:48:17 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Fri, 14 Jul 2006 09:48:17 -0700 Subject: [AccessD] Developer Extensions References: <200607141310.k6EDAPR09149@ultradnt.com> Message-ID: <003601c6a765$4f3cadb0$6401a8c0@BPCS> I believe that if you have the XP or 2K developer edition, there is a separate shortcut for the packaging wizard that will let you point it to an MDE. Bill ----- Original Message ----- From: "Steve Conklin" To: "'Access Developers discussion and problem solving'" Sent: Friday, July 14, 2006 6:10 AM Subject: Re: [AccessD] Developer Extensions It depends on which Access version. 2002 and back required starting the package wizard from the VBE (in the Add-Ins menu) so it had to be an MDB - there is no VBE in an MDE. Since 2003 uses VSTO, a completely separate product, you _can_ package MDE's. As for the older versions, although the documentation says you can't do it, you can package your MDB, then create an MDE based on the MDB. Create an empty MDB with the same name as the original, and replace your orignal MDB in the pkg with the empty (don't lose the source MDB of course). Add an AutoExec in the empty MDB that opens the MDE then quits, so the wizard generated shortcut will still work, and your MDE will be what the user runs. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Friday, July 14, 2006 8:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Developer Extensions Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 14 12:02:19 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Jul 2006 19:02:19 +0200 Subject: [AccessD] Finally got to meet Shamil Message-ID: Hi Mark Thanks for this "postcard" from St. Petersburg! It's perfectly in line with the impression I got when visiting Shamil and his friend Alexander a few years ago. Hope some day to have the opportunity to visit the city again and refresh the good memories. /gustav >>> marklbreen at gmail.com 13-07-2006 16:06:18 >>> Hello Guys, This may be OT but as Shamil is helping on this list since 1997, hopefully you will excuse me for posting this here. I am just back from my trip to Eastern Europe by motorcycle. One of the best parts of the three week trip was I got to meet our friend Shamil in St. Petersburg. I did not just get to meet him, he offered me accommadation which I graciously accepted. He then proceeded to be one of the best hosts a visitor could have. It had the oppertunity to live as a tourist in the day time, and then to join Shamil's family life in the evening, this was the best part for me. On the Sunday night before I left Russia, I had the really great experience of visiting Shamils Datcha (country house). His beautiful family put on a feast, literally a full sized table full of food. We stayed up until late, talking and drinking vodka. He then, kindly offered to get up at 04:30 and bring me to the train station. Shamil, thank you for your hospitality and I hope to see you in Ireland some time. In the meantime guys, get over to St Petersburg. It is a beautiful city, I mean really beautiful. The people I encountered were all kind, friendly, although English is not too common. I felt 100% safe at all times, in fact, it felt almost safer than some places I have been in London or New York. Another point I have to mention, the Russian people I saw in the entire city of St Petersburg are so glamourous, it was more like being in Paris than what we were told in school. All I can say is get over there and experience it for yourself, it will change you idea of what Mother Russia is like forever. Shamil, thank you for making it the highlight of my entire trip. Mark Breen Ireland From prosoft6 at hotmail.com Fri Jul 14 12:15:29 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 14 Jul 2006 13:15:29 -0400 Subject: [AccessD] Developer Extensions In-Reply-To: <44B7B94E.1030600@shaw.ca> Message-ID: Thank you to all of you who answered my questions. I appreciate the ideas.............all excellent! I am definitely looking into the Ultra Mobile PC and have already downloaded the development kit. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From martyconnelly at shaw.ca Fri Jul 14 12:30:40 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 10:30:40 -0700 Subject: [AccessD] Opening password protected database In-Reply-To: <44B7C9CB.20500@san.rr.com> References: <44B7C9CB.20500@san.rr.com> Message-ID: <44B7D4C0.6040203@shaw.ca> You need a colon to dummy out first database type parameter in syntax Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, ";pwd=abc") examples Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, " FoxPro 2.5;pwd=abc") or Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, "MS Access;pwd=abc") However in the DAO documentation, that in case of Microsoft Jet one shouldn't specify the database type. Look it up in C:\Program Files\Common Files\Microsoft Shared\DAO\DAO35.HLP Rocky Smolin - Beach Access Software wrote: >Dear List: > >I am trying to open a password protected database using the following: > >Set db = CurrentDb >MsgBox db.Name >Dim strPWD As String >strPWD = "shannon" >Dim strDB As String >strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" >Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > >Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > >I used Set db = CurrentDb just to be sure I was getting the exact path >and file name of the back end and strDB does indeed have the correct >path and filename of the back end. The password is also correct. > >What am I doing wrong? > >Maybe there's a simpler way? The client wants to have the back end >password protected, so instead of using the simple set db=Currentdb >everywhere in the app I guess I have to use some syntax which specifies >the password. All the tables in the back end are linked. > >MTIA > >Rocky > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Fri Jul 14 12:37:24 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 13:37:24 -0400 Subject: [AccessD] Opening password protected database In-Reply-To: <44B7C9CB.20500@san.rr.com> Message-ID: <200607141737.k6EHbNR43756@ultradnt.com> My way of doing it is: stConn = "MS Access;PWD=st at r_w@rs;DATABASE=" & stNewBE But I onlyh need that on the re-link ... You can execute items againts currentdb w/o the password, as long as the pwd is already in the tdef.connection. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 12:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Opening password protected database Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Jul 14 12:38:59 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 14 Jul 2006 21:38:59 +0400 Subject: [AccessD] Meet VBA's Replacement References: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> Message-ID: <001a01c6a76c$66c8a590$6401a8c0@Nant> Ken -- Did you read here about this 10+ seconds start-up trouble when automating MS Word, MS Access, ... from VB.NET (VS2005) with early binding i.e. with Primary Interop Assemblies referenced? I did try VSTO 2005 - the same trouble when debugging add-ins or starting host applications (MS Word,...) with VB.NET add-ins - it could take up to 10 second then to start host application - what MS thinks about that anybody has an answer here or there? How it comes they released such software? Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my trouble only? As far as I can remember VSTO2003 worked considerably quicker on start-up. Can anybody try with MS Office 2007 Beta - maybe they did something with it and it will work OK when automated from VB.NET or with add-ins written in VB.NET? And I mean start-up time only - when it passed start-up initialization (Primary Interop Assemblies Loading/Initialization?) then it works OK... <<< Microsoft will continue to support VBA indefinitely. >>> Yes, and COM (Common Object Model) will be here indefinitely until MS Windows will be alive. And therefore VB6 runtime will be here indefinitely.... Shamil ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Friday, July 14, 2006 8:39 PM Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------------------- Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jul 14 12:15:59 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Jul 2006 19:15:59 +0200 Subject: [AccessD] CDOSYS Message-ID: Hi Max In addition, I can recommend the controls from Chilkat, though not free: http://www.chilkatsoft.com/products.asp Note the IMAP component. Also, the support is excellent. /gustav >>> max at sherman.org.uk 13-07-2006 20:30:59 >>> Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max From cfoust at infostatsystems.com Fri Jul 14 12:42:22 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Jul 2006 10:42:22 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9C@corp-es01.fleetpride.com> Message-ID: >> Whether or not this just leads to a proliferation of bad databases only time will tell. Time has already told. MS has been riding this hobby horse all the way back to version 1.0 and they pay lip service to the need for relational understanding but they don't really seem to believe it in the context of Access. That noise you hear is countless qualified Access database developers beating their heads against the MS wall! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, July 14, 2006 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA My strong impression is that Microsoft in the new Access version is going to great lengths to make Access more Accessible (no pun intended) to end users. In their heart of hearts I believe they think if they only can "build it (more user friendly) they will come". Whether or not this just leads to a proliferation of bad databases only time will tell. Unlike Excel, which everyone can use out of the box, you really need to know something about relational databases before you charge off and build one. The new version will come with many example apps so maybe this will suffice, who knows? Jim Hale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 13, 2006 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access > Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang > of using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. From bchacc at san.rr.com Fri Jul 14 12:43:08 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 10:43:08 -0700 Subject: [AccessD] Opening password protected database In-Reply-To: <44B7D4C0.6040203@shaw.ca> References: <44B7C9CB.20500@san.rr.com> <44B7D4C0.6040203@shaw.ca> Message-ID: <44B7D7AC.8050508@san.rr.com> Marty: Thanks. It worked with the semi-colon in front of pwd. Regards, Rocky MartyConnelly wrote: > You need a colon to dummy out first database type parameter in syntax > > Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, ";pwd=abc") > > examples > > Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, " FoxPro > 2.5;pwd=abc") > or > > Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, "MS > Access;pwd=abc") > > However in the DAO documentation, that in case of Microsoft Jet one > shouldn't specify the > database type. Look it up in > > C:\Program Files\Common Files\Microsoft Shared\DAO\DAO35.HLP > > > Rocky Smolin - Beach Access Software wrote: > > >> Dear List: >> >> I am trying to open a password protected database using the following: >> >> Set db = CurrentDb >> MsgBox db.Name >> Dim strPWD As String >> strPWD = "shannon" >> Dim strDB As String >> strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" >> Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) >> >> >> Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) >> >> I used Set db = CurrentDb just to be sure I was getting the exact path >> and file name of the back end and strDB does indeed have the correct >> path and filename of the back end. The password is also correct. >> >> What am I doing wrong? >> >> Maybe there's a simpler way? The client wants to have the back end >> password protected, so instead of using the simple set db=Currentdb >> everywhere in the app I guess I have to use some syntax which specifies >> the password. All the tables in the back end are linked. >> >> MTIA >> >> Rocky >> >> >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From rl_stewart at highstream.net Fri Jul 14 12:44:12 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 14 Jul 2006 13:44:12 -0400 Subject: [AccessD] HELP!! fastest way to execute sql In-Reply-To: References: Message-ID: <1152899052.44b7d7ecccee8@webmail.highstream.net> Mark, Yes, you can do a wild card in SQL Server and Oracle. Those are the two that I have the experience in. Except for the specific wildcard character, the syntax that I sent you before would work on both of them. How big can your memo field be? With SQL Server, you can do a varchar of 8000. Would it be bigger than that? There is a CAST function in SQL Server that would allow me to change the type of the data to varchar(8000) so I could use it if there was not going to be more than that in it. Assuming there would be more, see below. The error you are getting seems to be a limitation of Informix. You might have to get the DBAs to create a stored proc/view for you that breaks the memo field up into smaller chunks so you can search each chunk. Then you would use something like this: SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 FROM vinformix_ps_rc_case_note WHERE (DescChunk1 Like "%night%") OR (DescChunk2 Like "%night%") OR (DescChunk3 Like "%night%") OR (DescChunk4 Like "%night%") The view would be something like this: CREATE VIEW vinformix_ps_rc_case_note AS SELECT case_id, substring(rc_descrlong,1,4000) AS DescChunk1, substring(rc_descrlong,4001,4000) AS DescChunk1, substring(rc_descrlong,8001,4000) AS DescChunk1, substring(rc_descrlong,12001,4000) AS DescChunk1, FROM informix_ps_rc_case_note The stored proc would use the view and get parameters for each chunk. CREATE PROCEDURE uspGetData @Word varchar(30) AS SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 FROM vinformix_ps_rc_case_note WHERE (DescChunk1 Like "%" + @Word + & "%") OR (DescChunk2 Like "%" + @Word + & "%") OR (DescChunk3 Like "%" + @Word + & "%") OR (DescChunk4 Like "%" + @Word + & "%") You would need to do as many "chunks" as it would take to get all of the data. You would call the stored proc from an Access pass through query like this: EXE uspGetData "night" You would just replace the word night each time. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Fri, 14 Jul 2006 16:02:27 +0000 > From: "Mark A Matte" > Subject: Re: [AccessD] HELP!! fastest way to execute sql > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > This problem just seems to grow. I have written the passthough query...but > Informix says I cannot use a wild card on this type of > field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are > lost to(but trying to look)...so...2 questions: > 1. Anyone know how to search TEXT fields on informix with a wildcard? > 2. Can you do this on an SQL or MYSQL db? > > Desperately begging, > > Mark A. Matte > > P.S...The error on the passthrough surprised me because I know I have done > this type of search on informix before...so I called the DBA and had them > watch what SQL was actually executed. If they run the same SQL on the > server that I use in the Passthrough...they get the same error I do...but if > I just use a select query against a linked table...I get > results(unfortunately this takes a very long time...forever)...now I know > why. Using a select query to linked table: > SELECT informix_ps_rc_case_note.case_id, > informix_ps_rc_case_note.rc_descrlong > FROM informix_ps_rc_case_note > WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); > > When I execute this in A97 or A2K...this is what hits the server: > SELECT informix_ps_rc_case_note.case_id, > informix_ps_rc_case_note.rc_descrlong > FROM informix_ps_rc_case_note; > Either access or informix ignores my where clause...but access returns the > correct records. > > Any ideas, thoughts, comments, suggestions? From cfoust at infostatsystems.com Fri Jul 14 12:45:28 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Jul 2006 10:45:28 -0700 Subject: [AccessD] HELP!! fastest way to execute sql In-Reply-To: Message-ID: Passthrough queries have to use the syntax for the database doing the processing. In SQL Server, you use the SQL/ADO wildcards, but as I recall, you couldn't do this on a memo field in SQL 7, although I could be mistaken. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, July 14, 2006 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP!! fastest way to execute sql This problem just seems to grow. I have written the passthough query...but Informix says I cannot use a wild card on this type of field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are lost to(but trying to look)...so...2 questions: 1. Anyone know how to search TEXT fields on informix with a wildcard? 2. Can you do this on an SQL or MYSQL db? Desperately begging, Mark A. Matte P.S...The error on the passthrough surprised me because I know I have done this type of search on informix before...so I called the DBA and had them watch what SQL was actually executed. If they run the same SQL on the server that I use in the Passthrough...they get the same error I do...but if I just use a select query against a linked table...I get results(unfortunately this takes a very long time...forever)...now I know why. Using a select query to linked table: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); When I execute this in A97 or A2K...this is what hits the server: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note; Either access or informix ignores my where clause...but access returns the correct records. Any ideas, thoughts, comments, suggestions? >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Fri, 14 Jul 2006 08:37:41 -0400 > >Mark, > >Actually, it is very simple. > >You will need to know the general syntack for the backend database, but >it should be something like this: > >Set the query type as passthrough. > >SELECT * >FROM MyTable >WHERE MyMemoField LIKE '%TheWord%' OR MyMemoField LIKE '%AnotherWord%' > >Open the query properties. >Set the ODBC string. >Set the timeout to 0. This will let it run until it completes. > >This will let the server to run the query and it will return only the >results back to Access, not all 1.2 mil rows. > >If you want the results in an Access table, then you can use this query >as the source for a make table or append query. > >NOTE: The synatx I used above is generic. You might have to use " >instead of '. The % is the wild card for SQL Server like the * is for >Access. It might be different in Informix. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 20:32:59 +0000 > > From: "Mark A Matte" > > Subject: Re: [AccessD] fastest way to execute sql > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Robert, > > > > Thanks for the feedback...I have never used pass-throughs...here is > > my scenario. Access db connected to Informix via ODBC. I need to > > do some fuzzy/wildcard searches against a number of memo/blob > > fields. I have >tried > > to do these types of searches in the past on the linked tables with > > no success(time outs or just never finishes). I typically pull > > ALL(1.2 >mil) > > records from the needed table and then do the fuzzy/wildcard > > searches on local tables. This has been the only way I got the info > > needed. In >this > > scenario, would your suggestion still apply...and if so, do you mean >create > > my fuzzy/wildcard searches as a pass-through...and then use the >pass-through > > as the source in another query to append to a local table? > > > > Thanks, > > > > Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Jul 14 12:46:50 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 14 Jul 2006 13:46:50 -0400 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEDF4C@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356C4@ADGSERVER> Rocky, Try changing "pwd=" to ";pwd=". Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 12:44 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Opening password protected database Importance: Low Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky From bheid at appdevgrp.com Fri Jul 14 12:48:45 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 14 Jul 2006 13:48:45 -0400 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEDF4C@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> Did not read all of the email. If the tables in the BE are linked, then you can use CurrentDB. You only have to use the Opendatabse method if you are opening the BE directly. Now, you will have to use the password when linking the tables. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 12:44 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Opening password protected database Importance: Low Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky From bchacc at san.rr.com Fri Jul 14 12:49:41 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 10:49:41 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356C4@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356C4@ADGSERVER> Message-ID: <44B7D935.7000907@san.rr.com> That done it. Rocky Bobby Heid wrote: > Rocky, > > Try changing "pwd=" to ";pwd=". > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 12:44 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Opening password protected database > Importance: Low > > > Dear List: > > I am trying to open a password protected database using the following: > > Set db = CurrentDb > MsgBox db.Name > Dim strPWD As String > strPWD = "shannon" > Dim strDB As String > strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" > Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > > Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > > I used Set db = CurrentDb just to be sure I was getting the exact path > and file name of the back end and strDB does indeed have the correct > path and filename of the back end. The password is also correct. > > What am I doing wrong? > > Maybe there's a simpler way? The client wants to have the back end > password protected, so instead of using the simple set db=Currentdb > everywhere in the app I guess I have to use some syntax which specifies > the password. All the tables in the back end are linked. > > MTIA > > Rocky > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From ewaldt at gdls.com Fri Jul 14 12:53:53 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Fri, 14 Jul 2006 13:53:53 -0400 Subject: [AccessD] Access unable to access information in Excel Message-ID: I export Access data into a generic Excel spreadsheet. I then open an Excel template linked to that spreadsheet, so that the data shows up where I want it (This is from Roger's web site). Then I save the file as a regular spreadsheet. This is all done from Access. I then break the links when the workbook is first opened. So far so good. When I try to re-import the data into Access, I get the message: "The wizard is unable to access information in the file 'C:\My Documents\2442.AFES Crew Compartment.xls'. Please check that the file exists and is in the correct format." I get the same message when I try to link to it. Microsoft's web site says some ISAM file is missing, causing this. However, it is ONLY the files created in this way that Access can't handle. It has no problem with other Excel files, including the generic one that is created first. Any ideas? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From bchacc at san.rr.com Fri Jul 14 13:02:26 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 11:02:26 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> Message-ID: <44B7DC32.3010106@san.rr.com> Bobby: I tried using set db = Currentdb after putting the password on the back end and got an 'invalid password' error when opening the first recordset to a linked table. Rocky Bobby Heid wrote: > Did not read all of the email. > > If the tables in the BE are linked, then you can use CurrentDB. You only > have to use the Opendatabse method if you are opening the BE directly. > > Now, you will have to use the password when linking the tables. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 12:44 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Opening password protected database > Importance: Low > > > Dear List: > > I am trying to open a password protected database using the following: > > Set db = CurrentDb > MsgBox db.Name > Dim strPWD As String > strPWD = "shannon" > Dim strDB As String > strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" > Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > > Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > > I used Set db = CurrentDb just to be sure I was getting the exact path > and file name of the back end and strDB does indeed have the correct > path and filename of the back end. The password is also correct. > > What am I doing wrong? > > Maybe there's a simpler way? The client wants to have the back end > password protected, so instead of using the simple set db=Currentdb > everywhere in the app I guess I have to use some syntax which specifies > the password. All the tables in the back end are linked. > > MTIA > > Rocky > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From markamatte at hotmail.com Fri Jul 14 13:05:36 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 14 Jul 2006 18:05:36 +0000 Subject: [AccessD] HELP!! fastest way to execute sql In-Reply-To: <1152899052.44b7d7ecccee8@webmail.highstream.net> Message-ID: Thanks for the responses. I did a len() on some of the records I have locally...and some of the fields are over 8000. How big of a field can you have in SQL Server...and can you still search with wild cards? My dba's are looking for an informix solution...so I will pass along the suggestion below. I found on IBMs site that you cannot do any comparison condition on a TEXT field other than IS NULL and IS NOT NULL.(I now hate informix) ALL ideas are graciously accepted at this point(no matter how out there)... Thanks again for everything, Mark A. Matte >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] HELP!! fastest way to execute sql >Date: Fri, 14 Jul 2006 13:44:12 -0400 > >Mark, > >Yes, you can do a wild card in SQL Server and Oracle. Those are the two >that I >have the experience in. Except for the specific wildcard character, the >syntax >that I sent you before would work on both of them. > >How big can your memo field be? With SQL Server, you can do a varchar of >8000. >Would it be bigger than that? There is a CAST function in SQL Server that >would >allow me to change the type of the data to varchar(8000) so I could use it >if >there was not going to be more than that in it. Assuming there would be >more, >see below. > >The error you are getting seems to be a limitation of Informix. You might >have >to get the DBAs to create a stored proc/view for you that breaks the memo >field >up into smaller chunks so you can search each chunk. > >Then you would use something like this: > >SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 >FROM vinformix_ps_rc_case_note >WHERE (DescChunk1 Like "%night%") > OR (DescChunk2 Like "%night%") > OR (DescChunk3 Like "%night%") > OR (DescChunk4 Like "%night%") > > >The view would be something like this: > >CREATE VIEW vinformix_ps_rc_case_note >AS >SELECT case_id, > substring(rc_descrlong,1,4000) AS DescChunk1, > substring(rc_descrlong,4001,4000) AS DescChunk1, > substring(rc_descrlong,8001,4000) AS DescChunk1, > substring(rc_descrlong,12001,4000) AS DescChunk1, >FROM informix_ps_rc_case_note > >The stored proc would use the view and get parameters for each chunk. > >CREATE PROCEDURE uspGetData > @Word varchar(30) >AS >SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 >FROM vinformix_ps_rc_case_note >WHERE (DescChunk1 Like "%" + @Word + & "%") > OR (DescChunk2 Like "%" + @Word + & "%") > OR (DescChunk3 Like "%" + @Word + & "%") > OR (DescChunk4 Like "%" + @Word + & "%") > >You would need to do as many "chunks" as it would take to get all of the >data. > >You would call the stored proc from an Access pass through query like this: > >EXE uspGetData "night" > >You would just replace the word night each time. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Fri, 14 Jul 2006 16:02:27 +0000 > > From: "Mark A Matte" > > Subject: Re: [AccessD] HELP!! fastest way to execute sql > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > This problem just seems to grow. I have written the passthough >query...but > > Informix says I cannot use a wild card on this type of > > field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are > > lost to(but trying to look)...so...2 questions: > > 1. Anyone know how to search TEXT fields on informix with a wildcard? > > 2. Can you do this on an SQL or MYSQL db? > > > > Desperately begging, > > > > Mark A. Matte > > > > P.S...The error on the passthrough surprised me because I know I have >done > > this type of search on informix before...so I called the DBA and had >them > > watch what SQL was actually executed. If they run the same SQL on the > > server that I use in the Passthrough...they get the same error I >do...but if > > I just use a select query against a linked table...I get > > results(unfortunately this takes a very long time...forever)...now I >know > > why. Using a select query to linked table: > > SELECT informix_ps_rc_case_note.case_id, > > informix_ps_rc_case_note.rc_descrlong > > FROM informix_ps_rc_case_note > > WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); > > > > When I execute this in A97 or A2K...this is what hits the server: > > SELECT informix_ps_rc_case_note.case_id, > > informix_ps_rc_case_note.rc_descrlong > > FROM informix_ps_rc_case_note; > > Either access or informix ignores my where clause...but access returns >the > > correct records. > > > > Any ideas, thoughts, comments, suggestions? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From max at sherman.org.uk Fri Jul 14 13:05:04 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 14 Jul 2006 19:05:04 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aREQycA Message-ID: <000e01c6a770$09bbdbc0$e26b1152@Server> Thanks, Gustav I will check that out. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 14 July 2006 18:16 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max In addition, I can recommend the controls from Chilkat, though not free: http://www.chilkatsoft.com/products.asp Note the IMAP component. Also, the support is excellent. /gustav >>> max at sherman.org.uk 13-07-2006 20:30:59 >>> Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Jul 14 13:13:46 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 13:13:46 -0500 Subject: [AccessD] Meet VBA's Replacement Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9D@corp-es01.fleetpride.com> http://www.computerbooksdirect.com/doc/browse/detail/product_detail.jhtml?re positoryId=082698B430 Also, here is the link to the book that started this thread "From VBA to VSTO" Jim Hale -----Original Message----- From: Kenneth Ismert [mailto:kismert at sbcglobal.net] Sent: Friday, July 14, 2006 11:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------- ------------ Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Fri Jul 14 13:32:54 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 11:32:54 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: References: Message-ID: <44B7E356.6070403@shaw.ca> I remember C code builds 3000 lines on DOS 3.1 and PC-XT taking 5 minutes Nothing is really new. Charlotte Foust wrote: >I haven't tested your code, but I'll testify to the fact that VS2005 is >a huge resource hog. I'm getting a new machine because a build in our >(admittedly large) winForms solution takes 5 minutes or more on my >machine before I can even test. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil >Salakhetdinov >Sent: Wednesday, July 12, 2006 1:28 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Demise of VBA > >Hi All, > >I think this sample code below would be within the topic of this thread >- try to run this VB.NET MS Word Automation code in VS2005 with a >reference set to the MS Word Primary Interop Assembly - it takes 10+ >second just to start on my PC (and similar VBA code starts MS Word >instantly) - I wonder how quick this VB.NET simple sample works on your >PCs? If it will take the same 10+ second just to start-up will you >consider to use VB.NET for MS Office Automation? > >Note: If you use this code with WinForms application then subsequent >after first MS Word activation calls to start another instance of MS >Word will be instant but imagine the usual development/testing scenario >when you start/debug/stop/restart/... your application many times - how >about these >10+ seconds to wait every time you restart your app/debug session? (Or >10+ this >bad side effect happens on my PC only?) > >Imports Word = Microsoft.Office.Interop.Word > >Module Module1 > Private Function StartApp( _ > ByVal strProgID As String) As Object > Dim oTmp As Object > On Error Resume Next > > oTmp = GetObject(, strProgID) > If Err.Number <> 0 Then > oTmp = CreateObject(strProgID) > End If > StartApp = oTmp > End Function > > Private Sub TestEarlyBound() > Dim app As Word.Application > app = StartApp("Word.Application") > app.Visible = True > app.Activate() > End Sub > > Sub Main() > Dim ds As DateTime = DateTime.Now > Dim de As DateTime > Console.WriteLine("Program started at {0} ", ds.ToString()) > TestEarlyBound() > de = DateTime.Now > Console.WriteLine("Program finished at {0} ", de.ToString()) > Console.WriteLine("Press any key to continue...") > Console.ReadLine() > End Sub > >End Module > >Shamil > >P.S. When late binding is used then similar VB.NET MS Office Automation >code works instantly here.... > >----- Original Message ----- >From: "Susan Harkins" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, July 12, 2006 11:47 PM >Subject: Re: [AccessD] Demise of VBA > > > > >>>From a business perspective, it doesn't sound like good judgment does >> >> >it? > > >>Why spend the revenue and manpower to replace what you've already got? >> >> >You > > >>only need to look to GM to see what happens when you do that. >> >>Susan H. >> >>...just my opinion of course ...and experience near the top of the >> >> >food > > >>chain where evangelists almost always lose to the bottom line ...a >> >> >bottom > > >>line that greatly favors a new generation of vba. >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Fri Jul 14 13:47:29 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 14:47:29 -0400 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> Message-ID: <200607141847.k6EIlSR52075@ultradnt.com> VSTO 2005, like 2003, only works with Word & Excel. The beta of VSTO v3 (2007) apparently finally supports Access (version 2007, not 2003). I have looked at the Office 2007 beta and it has VBA, so apparently, my wish for the last 4 years, a version of Office that will have both VBA and VSA.net (that was the name earlier this millenium), will be realized. As they are creating a "bridge" Office version, 2007, that has both, we really have until about 2010 to become experts in VSTO ... No complaints here. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Friday, July 14, 2006 12:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------- ------------ Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jul 14 14:00:22 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Jul 2006 12:00:22 -0700 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <001a01c6a76c$66c8a590$6401a8c0@Nant> Message-ID: >From what I see every day, VS2005 limps, even without trying to automate anything. The runtime build is OK, but the compiled build a developer works with is SLOW! VS2003 was considerably faster and didn't have all the layers of help, on-line-thus and-such, loading every weapon in the arsenal as soon as you open a designer, etc., etc. There's a lot not to like in VS2005, and it's only partially offset by the new methods and features. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, July 14, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet VBA's Replacement Ken -- Did you read here about this 10+ seconds start-up trouble when automating MS Word, MS Access, ... from VB.NET (VS2005) with early binding i.e. with Primary Interop Assemblies referenced? I did try VSTO 2005 - the same trouble when debugging add-ins or starting host applications (MS Word,...) with VB.NET add-ins - it could take up to 10 second then to start host application - what MS thinks about that anybody has an answer here or there? How it comes they released such software? Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my trouble only? As far as I can remember VSTO2003 worked considerably quicker on start-up. Can anybody try with MS Office 2007 Beta - maybe they did something with it and it will work OK when automated from VB.NET or with add-ins written in VB.NET? And I mean start-up time only - when it passed start-up initialization (Primary Interop Assemblies Loading/Initialization?) then it works OK... <<< Microsoft will continue to support VBA indefinitely. >>> Yes, and COM (Common Object Model) will be here indefinitely until MS Windows will be alive. And therefore VB6 runtime will be here indefinitely.... Shamil ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Friday, July 14, 2006 8:39 PM Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ------------------------------------------------------------------------ ---------------- Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vs to2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vs to2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Jul 14 14:36:44 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 12:36:44 -0700 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <001a01c6a76c$66c8a590$6401a8c0@Nant> References: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> <001a01c6a76c$66c8a590$6401a8c0@Nant> Message-ID: <44B7F24C.5050405@shaw.ca> I ran this code with VB 2005 Express vs Office 2007 Word just had to set a .Net reference to MS.Word.interop. Didn't need installed PIA's. It takes 45 seconds to run initially. Partly due to VB express phoning home to MS. If I was running Access 2003 to Automate word on this machine it would be 20-30 seconds to start up Word. If I rerun a debug session it takes 5 or 6 seconds If I don't close Word session, it takes less than 1 second. However I do get this warning message in debug. Don't know the cause. A first chance exception of type 'System.Exception' occurred in Microsoft.VisualBasic.dll I am running on a laptop 1.8 ghz and 512 Ram plus I had IE and internet radio station running at same time. Listening to BBC on Lebanon crisis. Shamil Salakhetdinov wrote: >Ken -- > >Did you read here about this 10+ seconds start-up trouble when automating MS >Word, MS Access, ... from VB.NET (VS2005) with early binding i.e. with >Primary Interop Assemblies referenced? > >I did try VSTO 2005 - the same trouble when debugging add-ins or starting >host applications (MS Word,...) with VB.NET add-ins - it could take up to 10 >second then to start host application - what MS thinks about that anybody >has an answer here or there? > >How it comes they released such software? >Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my trouble only? > >As far as I can remember VSTO2003 worked considerably quicker on start-up. > >Can anybody try with MS Office 2007 Beta - maybe they did something with it >and it will work OK when automated from VB.NET or with add-ins written in >VB.NET? > >And I mean start-up time only - when it passed start-up initialization >(Primary Interop Assemblies Loading/Initialization?) then it works OK... > ><<< >Microsoft will continue to support VBA indefinitely. > > >Yes, and COM (Common Object Model) will be here indefinitely until MS >Windows will be alive. >And therefore VB6 runtime will be here indefinitely.... > >Shamil > >----- Original Message ----- >From: "Kenneth Ismert" >To: >Sent: Friday, July 14, 2006 8:39 PM >Subject: [AccessD] Meet VBA's Replacement > > > >Well, here is Microsoft's explicit replacement for VBA -- it's called >VSTA. > >Here are some links and exerpts. This will give you a much clearer idea >how VSTA/VSTO will replace VBA, and the migration paths offered. > >VBA will have legacy support in Vista (as well as the VB6 runtime, and >DOS), but it looks like no new products with be shipped with it, beyond >Office 2007. > >-Ken > >Visual Studio Tools for Applications -- Announcement >http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx > > >Visual Studio Tools for Applications -- Blog >http://blogs.msdn.com/vsta/default.aspx > > >Microsoft Visual Studio 2005 Tools for Applications >http://msdn.microsoft.com/vstudio/extend/vsta/ > > >VSTA Fills an Important Niche for MS >http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 >---------------------------------------------------------------------- >You will see a handful of important differences between VSTA and its >VBA predecessor. First, you'll be able to program against VSTA using >Visual Basic and C#; VBA, as its name suggested, could be programmed >against only with Visual Basic. Second, implementations you create with >VSTA will sit side-by-side with VBA-created solutions; they do not >interact in any way. If you have an application that integrates VBA, >you need to upgrade the application to VSTA to take advantage of VSTA >in that application. KD cautioned that the upgrade experience of moving >to VSTA from VBA will be considerably easier than moving from VB to >VB.NET, saying that Microsoft learned quite a bit from watching >customer efforts to migrate their applications to .NET previously, >knowledge that will make it easier to make a transition this time >around. Artinsoft, the company that provides the VB-to-.NET porting >tools in Visual Studio .NET, is also listed as an early adopter of >VSTA, and will play a similar role in helping companies move their >applications forward from VBA to .NET. > > >Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 >http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 >------------------------------------------------------------------- >Microsoft also plans to release in late 2006 an enhanced .NET >application customization technology extended for the 64-bit >environment called Visual Studio Tools for Application, the successor >to Visual Basic for Applications, said KD Hallman, general manager for >Visual Studio Tools for Applications and Office and VB.NET. > >The VSTA IDE and run-time engine, which will ship in the second half of >2006, can be licensed and embedded in applications ISVs and systems >integrators develop. VBA solved many problems but did not allow >applications to scale up the enterprise, she said, adding that >Microsoft will continue to support VBA indefinitely. > >VSTO can be used with Office but VSTA can be used by any application >developed by ISVs or systems integrators, she said. Microsoft will use >the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft >said. > > >Microsoft Announces VSTA and VSTO 3.0 at PDC05 >http://www.hunterstrat.com/news/category/tools/vsto/ > > >VSTO links: >---------------------------------------------------------------------------------------- >Migrating from VBA to .NET/VSTO - Where to Start >http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx > >Nine Compelling Reasons to Move From VBA to VSTO 2005 >http://www.devx.com/OfficeProDev/Article/28088 > >Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 >Tools for Office >http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp > >Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 >Tools for Office >http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp > > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Fri Jul 14 14:52:24 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 14:52:24 -0500 Subject: [AccessD] Access unable to access information in Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDA0@corp-es01.fleetpride.com> Make sure the Excel file you are saving is in a recent Excel format and not excel 5.0 . Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Friday, July 14, 2006 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access unable to access information in Excel I export Access data into a generic Excel spreadsheet. I then open an Excel template linked to that spreadsheet, so that the data shows up where I want it (This is from Roger's web site). Then I save the file as a regular spreadsheet. This is all done from Access. I then break the links when the workbook is first opened. So far so good. When I try to re-import the data into Access, I get the message: "The wizard is unable to access information in the file 'C:\My Documents\2442.AFES Crew Compartment.xls'. Please check that the file exists and is in the correct format." I get the same message when I try to link to it. Microsoft's web site says some ISAM file is missing, causing this. However, it is ONLY the files created in this way that Access can't handle. It has no problem with other Excel files, including the generic one that is created first. Any ideas? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From kismert at sbcglobal.net Fri Jul 14 14:59:33 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Fri, 14 Jul 2006 12:59:33 -0700 (PDT) Subject: [AccessD] Meet VBA's Replacement Message-ID: <20060714195933.15276.qmail@web81803.mail.mud.yahoo.com> Shamil, > Did you read here about this 10+ seconds start-up trouble when > automating MS Word, MS Access, ... from VB.NET (VS2005) > ... Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my > trouble only? ? Yes, I did read that. That's the sucky part, in my opinion. I fear Microsoft's position is that the problem is your 'slow' PC (which is about the same as mine). If you look at the specs for Vista, their "Windows Vista Premium Ready" PC recommendation is below yours in performance. For most of us, the video card will need upgrading. See: http://www.microsoft.com/technet/windowsvista/evaluate/hardware/vistarpc.mspx But, my feeling is their 'Ready' level PC will deliver unacceptable performance for developers. I hope the specific problem you encountered will be addressed in a future release. But I think the hardware bar has been raised for VSTO developers as well. -Ken From stuart at lexacorp.com.pg Fri Jul 14 16:52:18 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Jul 2006 07:52:18 +1000 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <20060714195933.15276.qmail@web81803.mail.mud.yahoo.com> References: <20060714195933.15276.qmail@web81803.mail.mud.yahoo.com> Message-ID: <44B89EB2.12753.290B1403@stuart.lexacorp.com.pg> On 14 Jul 2006 at 12:59, Kenneth Ismert wrote: > > But, my feeling is their 'Ready' level PC will deliver unacceptable > performance for developers. > I've not seen any version of Windows since before W95 that will comfortably run anything other than Windows itself on the MS stated minimum configuration. IIRC these were the MS stated requirements to run each OS, every one needed double this amount to perform effectively: W95 4MB W98 16MB W2K 64MB WXP 128MB And now Vista on 512MB ? -- Stuart From hadyn at dataconcepts.co.nz Fri Jul 14 17:47:27 2006 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Sat, 15 Jul 2006 10:47:27 +1200 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <44B89EB2.12753.290B1403@stuart.lexacorp.com.pg> Message-ID: ***** Licensing VSTA Although the licensing model has not been finalized I can say that VSTA will have a competitive licensing model that will make it cost effective for ISVs to integrate VSTA into their applications. VSTA licensing will follow a transparent model of either per seat or royalty based. More details will follow shortly as soon as they are ready. ****** Does this mean the runtime will now cost to deploy? Or is this talking about developer licensing? Hadyn -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Saturday, 15 July 2006 09:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet VBA's Replacement On 14 Jul 2006 at 12:59, Kenneth Ismert wrote: > > But, my feeling is their 'Ready' level PC will deliver unacceptable > performance for developers. > I've not seen any version of Windows since before W95 that will comfortably run anything other than Windows itself on the MS stated minimum configuration. IIRC these were the MS stated requirements to run each OS, every one needed double this amount to perform effectively: W95 4MB W98 16MB W2K 64MB WXP 128MB And now Vista on 512MB ? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 From martyconnelly at shaw.ca Fri Jul 14 23:50:29 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 21:50:29 -0700 Subject: [AccessD] Mobile Access with an mde In-Reply-To: References: Message-ID: <44B87415.1000207@shaw.ca> Microsoft released a version of SQL 2005 called SQL 2005 Everywhere last week that runs on a PDA. Julie Reardon-Taylor wrote: >Kath, > >We have been using tablet pc's from Motion Computing for this. 12" screen >though. You are probably looking for something smaller? > >I am interested in this as well. I would like a pda that will hold my >application that was deployed using office developer to work on a pda. > >I would like the guys in the field to be able to respond to a work order >when one is issued from the main office. > >Anyone done this before? > > > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business > > > > -- Marty Connelly Victoria, B.C. Canada From adtp at hotmail.com Sat Jul 15 08:03:20 2006 From: adtp at hotmail.com (A.D.TEJPAL) Date: Sat, 15 Jul 2006 18:33:20 +0530 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> <44B7DC32.3010106@san.rr.com> Message-ID: Rocky, If linked tables are imported AFTER setting the password for BE, you will be prompted once for the BE password and the links will get established. Thereafter, so long as the BE path remains undisturbed, you do can keep referring to CurrentDb as usual. There will be no error and you do not have to bother about the BE. However, if the BE password is set or changed after table links have already been established, it will be necessary to modify the connect strings for linked tables accordingly. Once that has been done, you can carry on smoothly as per previous para. Sample subroutine named P_RefreshLinks(), as given below facilitates setting up the revised links even if the BE has a changed or newly set up password. It takes the full path of BE as its argument. Best wishes, A.D.Tejpal --------------- ==================================== Sub P_RefreshLinks(ByVal BePath As Variant) ' References - DAO 3.6 and MS Scripting RunTime. ' ReLinks all tables pertaining to BackEnd db ' identified by BePath. ' BePath is the full path of BE db ' (complete with file extn) On Error Resume Next Dim Cnt As Long, CheckPwd As String Dim Lnk1 As String, Lnk2 As String, Lnk3 As String Dim Lnk As String, Dbn As String, Cns As String Dim db As DAO.Database, tdf As TableDef Dim fso As FileSystemObject ' Check for existence of BE db Set fso = New FileSystemObject If fso.FileExists(Nz(BePath, "")) = False Then MsgBox "Db Path Does Not Exist" & _ vbCrLf & "(" & BePath & ")" GoTo ExitPoint End If ' Get name of BE db Dbn = Mid(BePath, InStrRev(BePath, "\") + 1) CheckPwd = "N" ' Default Set db = CurrentDb Cnt = 0 For Each tdf In db.TableDefs Cns = tdf.Connect ' Skip the loop if it is not a linked table, or ' if the link does not pertain to the ' specified BackEnd If Len(Cns) = 0 Or _ InStr(Cns, Dbn) = 0 Then GoTo Skip End If ' Build the Link string Lnk1 = "MS Access" Lnk3 = "DATABASE=" & BePath ' This block ensures that the connection link ' need not be re-built in every cycle of the loop If CheckPwd <> "Y" Then If InStr(Cns, "PWD=") > 0 Then Lnk2 = Mid(Cns, InStr(Cns, "PWD=")) If InStr(Cns, ";") > 0 Then Lnk2 = Left(Lnk2, InStr(Lnk2, ";") - 1) End If Lnk = Lnk1 & ";" & Lnk2 & ";" & Lnk3 Else Lnk = Lnk1 & ";" & Lnk3 End If ' InStr End If ' CheckPwd tdf.Connect = Lnk tdf.RefreshLink ' There will be error if BackEnd password has changed ' (If so, prompt for the new password) If Err.Number <> 0 Then Lnk2 = Trim(InputBox("Enter Password for " & Dbn)) ' Statement below covers the situation even if password ' for back-end db has been chnged from something to nothing. Lnk2 = IIf(Len(Lnk2) > 0, "PWD=" & Lnk2, "") Lnk = Lnk1 & ";" & _ IIf(Len(Lnk2) > 0, Lnk2 & ";", "") & Lnk3 CheckPwd = "Y" tdf.Connect = Lnk Err.Clear tdf.RefreshLink ' Error at this stage means wrong password ' was entered. Exit procedure If Err.Number <> 0 Then MsgBox "Wrong Password" GoTo ExitPoint End If End If CheckPwd = "Y" Cnt = Cnt + 1 Skip: Next MsgBox Cnt & " Tables Linked Successfully" & _ vbCrLf & "(To " & Dbn & ")" ExitPoint: Set tdf = Nothing Set db = Nothing On Error GoTo 0 ' Note - It is observed that if existing password for ' back-end db is removed altogether, the ' linked tables continue to function properly, ' without any need to refresh links. ' (even though connect string continues to ' have the old password). End Sub ==================================== ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 23:32 Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database Bobby: I tried using set db = Currentdb after putting the password on the back end and got an 'invalid password' error when opening the first recordset to a linked table. Rocky Bobby Heid wrote: > Did not read all of the email. > > If the tables in the BE are linked, then you can use CurrentDB. You only > have to use the Opendatabse method if you are opening the BE directly. > > Now, you will have to use the password when linking the tables. > > Bobby From bchacc at san.rr.com Sat Jul 15 09:13:31 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 07:13:31 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> <44B7DC32.3010106@san.rr.com> Message-ID: <44B8F80B.9080909@san.rr.com> A.D: As usual - an elegant solution - and requiring no programming at all (just more knowledge). Thank you for that tip and the code. This will stop folks from going directly into the back end and modifying the code. And If I make an mde and hide the database window, that would stop them going through the front end. The requirement, BTW, is more of a 'feel good' thing by the owner who doesn't understand the technology but was told by the network guy that it would be possible to access the data through the Internet. So suddenly he wants some more security on the db. The FE and BE both reside on one machine which is not readily accessible physically but (and I haven't taken a close look so I don't know for sure) may be accessible from other machines in their local network although my users says probably not. In any event, pw protecting the BE stop 95 % of the problem. Best regards, Rocky A.D.TEJPAL wrote: > Rocky, > > If linked tables are imported AFTER setting the password for BE, you will be prompted once for the BE password and the links will get established. > > Thereafter, so long as the BE path remains undisturbed, you do can keep referring to CurrentDb as usual. There will be no error and you do not have to bother about the BE. > > However, if the BE password is set or changed after table links have already been established, it will be necessary to modify the connect strings for linked tables accordingly. Once that has been done, you can carry on smoothly as per previous para. > > Sample subroutine named P_RefreshLinks(), as given below facilitates setting up the revised links even if the BE has a changed or newly set up password. It takes the full path of BE as its argument. > > Best wishes, > A.D.Tejpal > --------------- > > ==================================== > Sub P_RefreshLinks(ByVal BePath As Variant) > ' References - DAO 3.6 and MS Scripting RunTime. > ' ReLinks all tables pertaining to BackEnd db > ' identified by BePath. > ' BePath is the full path of BE db > ' (complete with file extn) > On Error Resume Next > Dim Cnt As Long, CheckPwd As String > Dim Lnk1 As String, Lnk2 As String, Lnk3 As String > Dim Lnk As String, Dbn As String, Cns As String > Dim db As DAO.Database, tdf As TableDef > Dim fso As FileSystemObject > > ' Check for existence of BE db > Set fso = New FileSystemObject > If fso.FileExists(Nz(BePath, "")) = False Then > MsgBox "Db Path Does Not Exist" & _ > vbCrLf & "(" & BePath & ")" > GoTo ExitPoint > End If > ' Get name of BE db > Dbn = Mid(BePath, InStrRev(BePath, "\") + 1) > > CheckPwd = "N" ' Default > Set db = CurrentDb > Cnt = 0 > For Each tdf In db.TableDefs > Cns = tdf.Connect > ' Skip the loop if it is not a linked table, or > ' if the link does not pertain to the > ' specified BackEnd > If Len(Cns) = 0 Or _ > InStr(Cns, Dbn) = 0 Then > GoTo Skip > End If > > ' Build the Link string > Lnk1 = "MS Access" > Lnk3 = "DATABASE=" & BePath > ' This block ensures that the connection link > ' need not be re-built in every cycle of the loop > If CheckPwd <> "Y" Then > If InStr(Cns, "PWD=") > 0 Then > Lnk2 = Mid(Cns, InStr(Cns, "PWD=")) > If InStr(Cns, ";") > 0 Then > Lnk2 = Left(Lnk2, InStr(Lnk2, ";") - 1) > End If > Lnk = Lnk1 & ";" & Lnk2 & ";" & Lnk3 > Else > Lnk = Lnk1 & ";" & Lnk3 > End If ' InStr > End If ' CheckPwd > > tdf.Connect = Lnk > tdf.RefreshLink > ' There will be error if BackEnd password has changed > ' (If so, prompt for the new password) > If Err.Number <> 0 Then > Lnk2 = Trim(InputBox("Enter Password for " & Dbn)) > ' Statement below covers the situation even if password > ' for back-end db has been chnged from something to nothing. > Lnk2 = IIf(Len(Lnk2) > 0, "PWD=" & Lnk2, "") > Lnk = Lnk1 & ";" & _ > IIf(Len(Lnk2) > 0, Lnk2 & ";", "") & Lnk3 > CheckPwd = "Y" > tdf.Connect = Lnk > Err.Clear > tdf.RefreshLink > ' Error at this stage means wrong password > ' was entered. Exit procedure > If Err.Number <> 0 Then > MsgBox "Wrong Password" > GoTo ExitPoint > End If > End If > CheckPwd = "Y" > Cnt = Cnt + 1 > > Skip: > Next > MsgBox Cnt & " Tables Linked Successfully" & _ > vbCrLf & "(To " & Dbn & ")" > > ExitPoint: > Set tdf = Nothing > Set db = Nothing > On Error GoTo 0 > > ' Note - It is observed that if existing password for > ' back-end db is removed altogether, the > ' linked tables continue to function properly, > ' without any need to refresh links. > ' (even though connect string continues to > ' have the old password). > End Sub > ==================================== > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 23:32 > Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database > > > Bobby: > > I tried using set db = Currentdb after putting the password on the back > end and got an 'invalid password' error when opening the first recordset > to a linked table. > > Rocky > > > Bobby Heid wrote: > > Did not read all of the email. > > > > If the tables in the BE are linked, then you can use CurrentDB. You only > > have to use the Opendatabse method if you are opening the BE directly. > > > > Now, you will have to use the password when linking the tables. > > > > Bobby > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Sat Jul 15 09:41:22 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 07:41:22 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <44B8F80B.9080909@san.rr.com> References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> <44B7DC32.3010106@san.rr.com> <44B8F80B.9080909@san.rr.com> Message-ID: <44B8FE92.7040200@san.rr.com> Oops. wrote too fast - "and modifying the code." should be "modifying the data." of course. :-[ Rocky Rocky Smolin - Beach Access Software wrote: > A.D: > > As usual - an elegant solution - and requiring no programming at all > (just more knowledge). Thank you for that tip and the code. > > This will stop folks from going directly into the back end and modifying > the code. And If I make an mde and hide the database window, that would > stop them going through the front end. > > The requirement, BTW, is more of a 'feel good' thing by the owner who > doesn't understand the technology but was told by the network guy that > it would be possible to access the data through the Internet. So > suddenly he wants some more security on the db. The FE and BE both > reside on one machine which is not readily accessible physically but > (and I haven't taken a close look so I don't know for sure) may be > accessible from other machines in their local network although my users > says probably not. > > In any event, pw protecting the BE stop 95 % of the problem. > > Best regards, > > Rocky > > > A.D.TEJPAL wrote: > >> Rocky, >> >> If linked tables are imported AFTER setting the password for BE, you will be prompted once for the BE password and the links will get established. >> >> Thereafter, so long as the BE path remains undisturbed, you do can keep referring to CurrentDb as usual. There will be no error and you do not have to bother about the BE. >> >> However, if the BE password is set or changed after table links have already been established, it will be necessary to modify the connect strings for linked tables accordingly. Once that has been done, you can carry on smoothly as per previous para. >> >> Sample subroutine named P_RefreshLinks(), as given below facilitates setting up the revised links even if the BE has a changed or newly set up password. It takes the full path of BE as its argument. >> >> Best wishes, >> A.D.Tejpal >> --------------- >> >> ==================================== >> Sub P_RefreshLinks(ByVal BePath As Variant) >> ' References - DAO 3.6 and MS Scripting RunTime. >> ' ReLinks all tables pertaining to BackEnd db >> ' identified by BePath. >> ' BePath is the full path of BE db >> ' (complete with file extn) >> On Error Resume Next >> Dim Cnt As Long, CheckPwd As String >> Dim Lnk1 As String, Lnk2 As String, Lnk3 As String >> Dim Lnk As String, Dbn As String, Cns As String >> Dim db As DAO.Database, tdf As TableDef >> Dim fso As FileSystemObject >> >> ' Check for existence of BE db >> Set fso = New FileSystemObject >> If fso.FileExists(Nz(BePath, "")) = False Then >> MsgBox "Db Path Does Not Exist" & _ >> vbCrLf & "(" & BePath & ")" >> GoTo ExitPoint >> End If >> ' Get name of BE db >> Dbn = Mid(BePath, InStrRev(BePath, "\") + 1) >> >> CheckPwd = "N" ' Default >> Set db = CurrentDb >> Cnt = 0 >> For Each tdf In db.TableDefs >> Cns = tdf.Connect >> ' Skip the loop if it is not a linked table, or >> ' if the link does not pertain to the >> ' specified BackEnd >> If Len(Cns) = 0 Or _ >> InStr(Cns, Dbn) = 0 Then >> GoTo Skip >> End If >> >> ' Build the Link string >> Lnk1 = "MS Access" >> Lnk3 = "DATABASE=" & BePath >> ' This block ensures that the connection link >> ' need not be re-built in every cycle of the loop >> If CheckPwd <> "Y" Then >> If InStr(Cns, "PWD=") > 0 Then >> Lnk2 = Mid(Cns, InStr(Cns, "PWD=")) >> If InStr(Cns, ";") > 0 Then >> Lnk2 = Left(Lnk2, InStr(Lnk2, ";") - 1) >> End If >> Lnk = Lnk1 & ";" & Lnk2 & ";" & Lnk3 >> Else >> Lnk = Lnk1 & ";" & Lnk3 >> End If ' InStr >> End If ' CheckPwd >> >> tdf.Connect = Lnk >> tdf.RefreshLink >> ' There will be error if BackEnd password has changed >> ' (If so, prompt for the new password) >> If Err.Number <> 0 Then >> Lnk2 = Trim(InputBox("Enter Password for " & Dbn)) >> ' Statement below covers the situation even if password >> ' for back-end db has been chnged from something to nothing. >> Lnk2 = IIf(Len(Lnk2) > 0, "PWD=" & Lnk2, "") >> Lnk = Lnk1 & ";" & _ >> IIf(Len(Lnk2) > 0, Lnk2 & ";", "") & Lnk3 >> CheckPwd = "Y" >> tdf.Connect = Lnk >> Err.Clear >> tdf.RefreshLink >> ' Error at this stage means wrong password >> ' was entered. Exit procedure >> If Err.Number <> 0 Then >> MsgBox "Wrong Password" >> GoTo ExitPoint >> End If >> End If >> CheckPwd = "Y" >> Cnt = Cnt + 1 >> >> Skip: >> Next >> MsgBox Cnt & " Tables Linked Successfully" & _ >> vbCrLf & "(To " & Dbn & ")" >> >> ExitPoint: >> Set tdf = Nothing >> Set db = Nothing >> On Error GoTo 0 >> >> ' Note - It is observed that if existing password for >> ' back-end db is removed altogether, the >> ' linked tables continue to function properly, >> ' without any need to refresh links. >> ' (even though connect string continues to >> ' have the old password). >> End Sub >> ==================================== >> >> ----- Original Message ----- >> From: Rocky Smolin - Beach Access Software >> To: Access Developers discussion and problem solving >> Sent: Friday, July 14, 2006 23:32 >> Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database >> >> >> Bobby: >> >> I tried using set db = Currentdb after putting the password on the back >> end and got an 'invalid password' error when opening the first recordset >> to a linked table. >> >> Rocky >> >> >> Bobby Heid wrote: >> > Did not read all of the email. >> > >> > If the tables in the BE are linked, then you can use CurrentDB. You only >> > have to use the Opendatabse method if you are opening the BE directly. >> > >> > Now, you will have to use the password when linking the tables. >> > >> > Bobby >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Sat Jul 15 14:46:49 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 12:46:49 -0700 Subject: [AccessD] SendObject Message-ID: <44B94629.9080100@san.rr.com> Dear List: Client using SendObject with Outlook as a mail client gets the following warning: "Microsoft Office Outlook (in the Screen Header) " A program is trying to automatically send e-mail on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". [Yes button, No button and a Help Button] " Is there a way to disable this message? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From martyconnelly at shaw.ca Sat Jul 15 15:54:12 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 15 Jul 2006 13:54:12 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B94629.9080100@san.rr.com> References: <44B94629.9080100@san.rr.com> Message-ID: <44B955F4.7070200@shaw.ca> A quick and dirty way is this freebie that sits in the SysTray There are more complicated methods using Redemption dll to get around Outlook security model. http://www.contextmagic.com/express-clickyes/for-developers.htm You can suspend or activate Express ClickYes by double-clicking its icon in the taskbar notification area (system tray). Developers can automate its behavior by sending special messages via standard Windows API functions or even very simple command line switches. Just install it and add the VBA code from the screen. Rocky Smolin - Beach Access Software wrote: >Dear List: > >Client using SendObject with Outlook as a mail client gets the following >warning: > > > "Microsoft Office Outlook (in the Screen Header) > >" A program is trying to automatically send e-mail on your behalf. > > Do you want to allow this? > > If this is unexpected, it may be a virus and you should choose "No". > > > > [Yes button, No button and a Help Button] " > > >Is there a way to disable this message? > >MTIA, > >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sat Jul 15 18:13:59 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 15 Jul 2006 18:13:59 -0500 Subject: [AccessD] SendObject In-Reply-To: <17040444.1152997227417.JavaMail.root@sniper14> Message-ID: <000001c6a864$5dadb920$0200a8c0@danwaters> Rocky - can you describe more about this: Developers can automate its behavior by sending special messages via standard Windows API functions or even very simple command line switches. I haven't heard of this till now. Thanks! Dan Waters From martyconnelly at shaw.ca Sat Jul 15 19:03:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 15 Jul 2006 17:03:58 -0700 Subject: [AccessD] SendObject In-Reply-To: <000001c6a864$5dadb920$0200a8c0@danwaters> References: <000001c6a864$5dadb920$0200a8c0@danwaters> Message-ID: <44B9826E.2070901@shaw.ca> Do you mean this, if you scroll way down the page to the Giant's big boot you will find this and the command line parameters. ' Microsoft Visual Basic (VB/VBA) Sample ' Declare Windows' API functions Private Declare Function RegisterWindowMessage _ Lib "user32" Alias "RegisterWindowMessageA" _ (ByVal lpString As String) As Long Private Declare Function FindWindow Lib "user32" _ Alias "FindWindowA" (ByVal lpClassName As Any, _ ByVal lpWindowName As Any) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Sub SomeProc() Dim wnd As Long Dim uClickYes As Long Dim Res As Long ' Register a message to send uClickYes = RegisterWindowMessage("CLICKYES_SUSPEND_RESUME") ' Find ClickYes Window by classname wnd = FindWindow("EXCLICKYES_WND", 0&) ' Send the message to Resume ClickYes Res = SendMessage(wnd, uClickYes, 1, 0) ' ... ' Do some Actions ' ... ' Send the message to Suspend ClickYes Res = SendMessage(wnd, uClickYes, 0, 0) End Sub Dan Waters wrote: >Rocky - can you describe more about this: > > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > >I haven't heard of this till now. > >Thanks! >Dan Waters > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Sat Jul 15 23:45:17 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 21:45:17 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B955F4.7070200@shaw.ca> References: <44B94629.9080100@san.rr.com> <44B955F4.7070200@shaw.ca> Message-ID: <44B9C45D.8080409@san.rr.com> Marty: I already had the client do this. I wonder why he's not activating it? Anyway, I'll forward this to remind him and see what happens. Thanks and regards, Rocky MartyConnelly wrote: > A quick and dirty way is this freebie that sits in the SysTray > There are more complicated methods using Redemption dll > to get around Outlook security model. > > http://www.contextmagic.com/express-clickyes/for-developers.htm > > You can suspend or activate Express ClickYes by double-clicking its icon > in the taskbar notification area (system tray). > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > > Just install it and add the VBA code from the screen. > > Rocky Smolin - Beach Access Software wrote: > > >> Dear List: >> >> Client using SendObject with Outlook as a mail client gets the following >> warning: >> >> >> "Microsoft Office Outlook (in the Screen Header) >> >> " A program is trying to automatically send e-mail on your behalf. >> >> Do you want to allow this? >> >> If this is unexpected, it may be a virus and you should choose "No". >> >> >> >> [Yes button, No button and a Help Button] " >> >> >> Is there a way to disable this message? >> >> MTIA, >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.e-z-mrp.com >> >> >> >> >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Sat Jul 15 23:46:38 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 21:46:38 -0700 Subject: [AccessD] SendObject In-Reply-To: <000001c6a864$5dadb920$0200a8c0@danwaters> References: <000001c6a864$5dadb920$0200a8c0@danwaters> Message-ID: <44B9C4AE.4050102@san.rr.com> Over to you Marty... :o) Rocky Dan Waters wrote: > Rocky - can you describe more about this: > > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > > I haven't heard of this till now. > > Thanks! > Dan Waters > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From lembit.dbamail at t-online.de Sun Jul 16 05:22:36 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 16 Jul 2006 12:22:36 +0200 Subject: [AccessD] Finally got to meet Shamil References: Message-ID: <004901c6a8c1$c2883a20$1900a8c0@s1800> I can only agree with your impression of Shamil and St. Petersburg. I have been there and met Shamil just about 2 weeks before you and not only did Shamil take the time to show us around St. Petersburg, I must say this town is unbeleivable. Unfortunately we did not have enough time there (we were on a river cruise from St. Petersburg to Moscow), but we decided to go back there in the near future. I can only recommend such trip. Lembit ----- Original Message ----- From: "Mark Breen" To: "Access Developers discussion and problem solving" Sent: Thursday, July 13, 2006 4:06 PM Subject: [AccessD] Finally got to meet Shamil > Hello Guys, > > This may be OT but as Shamil is helping on this list since 1997, hopefully > you will excuse me for posting this here. > > I am just back from my trip to Eastern Europe by motorcycle. One of the > best parts of the three week trip was I got to meet our friend Shamil in > St. > Petersburg. I did not just get to meet him, he offered me accommadation > which I graciously accepted. He then proceeded to be one of the best > hosts > a visitor could have. > > It had the oppertunity to live as a tourist in the day time, and then to > join Shamil's family life in the evening, this was the best part for me. > On > the Sunday night before I left Russia, I had the really great experience > of > visiting Shamils Datcha (country house). His beautiful family put on a > feast, literally a full sized table full of food. We stayed up until > late, > talking and drinking vodka. He then, kindly offered to get up at 04:30 > and > bring me to the train station. > > Shamil, thank you for your hospitality and I hope to see you in Ireland > some > time. > > In the meantime guys, get over to St Petersburg. It is a beautiful city, > I > mean really beautiful. The people I encountered were all kind, friendly, > although English is not too common. I felt 100% safe at all times, in > fact, > it felt almost safer than some places I have been in London or New York. > > Another point I have to mention, the Russian people I saw in the entire > city > of St Petersburg are so glamourous, it was more like being in Paris than > what we were told in school. All I can say is get over there and > experience > it for yourself, it will change you idea of what Mother Russia is like > forever. Shamil, thank you for making it the highlight of my entire trip. > > Mark Breen > Ireland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 13.07.2006 > > From kismert at sbcglobal.net Sun Jul 16 10:47:57 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Sun, 16 Jul 2006 08:47:57 -0700 (PDT) Subject: [AccessD] Meet VBA's Replacement Message-ID: <20060716154757.15971.qmail@web81808.mail.mud.yahoo.com> Hadyn, > Does this mean the runtime will now cost to deploy? Or is this > talking about developer licensing? VSTA is a scripting add-on for software companies that want to sell VSTA-scriptable applications. The software company bears the cost of licensing (which then gets passed to the customer). See (bottom of page): Microsoft Visual Studio 2005 Tools for Applications --------------------------------------------------- http://msdn.microsoft.com/vstudio/extend/vsta/default.aspx VSTO is the development/scripting environment for Office. VSTO and VSTA appear to be closely related. For example, the improved VBA migration in VSTA will likely make it to Access 2007. You purchase VSTO in a number of ways: Purchasing Visual Studio 2005 ----------------------------- http://msdn.microsoft.com/vstudio/howtobuy/default.aspx It is harder to find good information on the Access runtime. For Access 2003, you can get the Access Runtime with VSTO. This licenses you to distribute a (limited) runtime solution, royalty-free: Visual Studio 2005 Product Line Overview ---------------------------------------- http://msdn.microsoft.com/vstudio/products/compare/default.aspx Obtain and deploy the Access 2003 runtime ----------------------------------------- http://office.microsoft.com/en-us/assistance/HA011208861033.aspx Overview of Office 2003 Developer Technologies ---------------------------------------------- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/office2003overviewdevelopertechnologies.asp (exerpt) The Access 2003 Runtime license allowing royalty-free distribution comes with the Microsoft Office Access 2003 Developer Extensions, which is a component of Visual Studio Tools for Office version 2003. A developer who is licensed for this product can bundle a solution (.mdb files and any other support files) with the Access 2003 Runtime and distribute it to as many users as necessary. There is no limit to the number of distributions or the number of Access Runtime solutions that you can create using one license. The physical runtime files are included with Microsoft Office 2003 Professional Edition or Microsoft Office Access 2003, so you must also own a copy of one of these products, although this is not a requirement for the end customer. The Package Wizard, which comes with the Access 2003 Developer Extensions, helps you create a professional installation package for the solution. The Access 2003 Runtime is, in essence, Microsoft Office Access 2003, but with a few key features disabled. A user with an Access 2003 Runtime solution installed instead of full Access can open and run the solution (either an .mdb file or, with a few extra steps, a SQL Server back-end database) but does not see the Database Window and cannot switch the view of any Access object to the Design view. Microsoft Partner Program -- Ask the Partner Group: November Questions: ----------------------------------------------------------------------- http://members.microsoft.com/partner/nz/askthepartnergroup_nov.aspx (exerpt) Question 5: ...Access Runtime is now licensed through Visual Studio Tools for Office (VSTO) and MSDN Universal. If a developer creates a database using a VSTO/MSDN license they can then distribute their database to the end users by way of the Access Runtime license. However, as Access Runtime is included as part of the developer license, the license dictates that the users with Access Runtime must only be able to view the data within the database. If further access to the data (eg: changing tables, creating reports, etc) is undertaken, then a full version of Access is required for each device that has the ability to utilise this functionality. -Ken From dwaters at usinternet.com Sun Jul 16 10:48:43 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Jul 2006 10:48:43 -0500 Subject: [AccessD] SendObject In-Reply-To: <30545919.1153008830401.JavaMail.root@sniper14> Message-ID: <000a01c6a8ef$51a84470$0200a8c0@danwaters> Thanks Marty - Next time I'll use it! Dan Waters -----Original Message----- Subject: Re: [AccessD] SendObject Do you mean this, if you scroll way down the page to the Giant's big boot you will find this and the command line parameters. ' Microsoft Visual Basic (VB/VBA) Sample ' Declare Windows' API functions Private Declare Function RegisterWindowMessage _ Lib "user32" Alias "RegisterWindowMessageA" _ (ByVal lpString As String) As Long Private Declare Function FindWindow Lib "user32" _ Alias "FindWindowA" (ByVal lpClassName As Any, _ ByVal lpWindowName As Any) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Sub SomeProc() Dim wnd As Long Dim uClickYes As Long Dim Res As Long ' Register a message to send uClickYes = RegisterWindowMessage("CLICKYES_SUSPEND_RESUME") ' Find ClickYes Window by classname wnd = FindWindow("EXCLICKYES_WND", 0&) ' Send the message to Resume ClickYes Res = SendMessage(wnd, uClickYes, 1, 0) ' ... ' Do some Actions ' ... ' Send the message to Suspend ClickYes Res = SendMessage(wnd, uClickYes, 0, 0) End Sub Dan Waters wrote: >Rocky - can you describe more about this: > > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > >I haven't heard of this till now. > >Thanks! >Dan Waters > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Jul 16 14:53:58 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 16 Jul 2006 15:53:58 -0400 Subject: [AccessD] SendObject References: <000a01c6a8ef$51a84470$0200a8c0@danwaters> Message-ID: <000201c6a911$945f9cb0$6e9ba545@50NM721> Group: ...the following function works in a full A2K3 install but fails in a runtime install" Private Function ExportRoutine() Dim db As Database Dim qdf As QueryDef Dim lorst As Recordset Dim strName As String Dim strFile As String Const strSpecName = "~~TempSpec~~" On Error GoTo ExportRoutine_err With Me.lstResult strFile = DialogFile(OFN_SAVE, "Save file", "", .Column(3) & " (" & .Column(2) & ")|" & .Column(2), CurDir, .Column(2)) End With If Len(strFile) > 0 Then 'first get a unique name for the querydef object strName = Application.Run("acwzmain.wlib_stUniquedocname", "Query1", acQuery) Set db = CurrentDb Set qdf = db.CreateQueryDef(strName, Me.txtSQL) qdf.Close With lstResult Select Case .Column(0) Case 0 'Transferspreadsheet DoCmd.TransferSpreadsheet acExport, .Column(1), strName, strFile, True Case 1 'Transfertext DoCmd.TransferText .Column(1), , strName, strFile, True End Select End With End If ExportRoutine_end: On Error Resume Next DoCmd.DeleteObject acQuery, strName qdf.Close Set qdf = Nothing db.QueryDefs.Refresh Set db = Nothing Exit Function ExportRoutine_err: Resume ExportRoutine_end End Function ...I'm certain that its because the function uses the acwzmain.mde library but I'm not sure I understand why ...if I copythe acwizmain.mde to the Office11 directory on the runtime installs, the function still fails ...is there any way to force a runtime to use the library ...or do I have to back up and approach this in an entirely different way? ...suggestions welcome. From wdhindman at dejpolsystems.com Sun Jul 16 14:57:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 16 Jul 2006 15:57:52 -0400 Subject: [AccessD] ...wizard use in runtimes (A2K3) Message-ID: <000a01c6a912$1fa94410$6e9ba545@50NM721> ...sorry for previous posting with the wrong subject :( Group: ...the following function using an access wizard library call works in a full A2K3 install but fails in a runtime install" Private Function ExportRoutine() Dim db As Database Dim qdf As QueryDef Dim lorst As Recordset Dim strName As String Dim strFile As String Const strSpecName = "~~TempSpec~~" On Error GoTo ExportRoutine_err With Me.lstResult strFile = DialogFile(OFN_SAVE, "Save file", "", .Column(3) & " (" & .Column(2) & ")|" & .Column(2), CurDir, .Column(2)) End With If Len(strFile) > 0 Then 'first get a unique name for the querydef object strName = Application.Run("acwzmain.wlib_stUniquedocname", "Query1", acQuery) Set db = CurrentDb Set qdf = db.CreateQueryDef(strName, Me.txtSQL) qdf.Close With lstResult Select Case .Column(0) Case 0 'Transferspreadsheet DoCmd.TransferSpreadsheet acExport, .Column(1), strName, strFile, True Case 1 'Transfertext DoCmd.TransferText .Column(1), , strName, strFile, True End Select End With End If ExportRoutine_end: On Error Resume Next DoCmd.DeleteObject acQuery, strName qdf.Close Set qdf = Nothing db.QueryDefs.Refresh Set db = Nothing Exit Function ExportRoutine_err: Resume ExportRoutine_end End Function ...I'm certain that its because the function uses the acwzmain.mde library but I'm not sure I understand why ...if I copythe acwizmain.mde to the Office11 directory on the runtime installs, the function still fails ...is there any way to force a runtime to use the library ...or do I have to back up and approach this in an entirely different way? ...suggestions welcome From kp at sdsonline.net Sun Jul 16 19:15:42 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 17 Jul 2006 10:15:42 +1000 Subject: [AccessD] Mobile Access with an mde References: <200607141258.k6ECwuR06863@ultradnt.com> Message-ID: <002b01c6a936$253a1750$6601a8c0@office> Thanks Steve ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Friday, July 14, 2006 10:58 PM Subject: Re: [AccessD] Mobile Access with an mde To go to PocketPC form factor requires either .Net with CF (compact framework) connecting to a SQL CE db, or 3rd party tools (like SprintDB). There is no support for Access UI objects in Windows Mobile. (There is some support for Pocket Access, but that is only tables, and seems to be on the deprecation path). Of course, if the device always has an interent connection, you could do a web app, but your BE would need to available on a web server, and in that case , probably want to move to SQL anyway. Not what you wanted to hear, I am sure, but HTH anyway, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Friday, July 14, 2006 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde >From what i have seen that's the smallest I can recommend to him....I thought there may be something even smaller.... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Jul 16 19:35:12 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Jul 2006 19:35:12 -0500 Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or is system = Windows network? Message-ID: <000301c6a938$de40f6e0$0200a8c0@danwaters> I wonder if there is a method to determine if the database is running on Citrix/Terminal Server or is on a Windows Network. Thanks! Dan Waters From kp at sdsonline.net Sun Jul 16 19:36:42 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 17 Jul 2006 10:36:42 +1000 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <000801c6a6e3$be383720$6601a8c0@office>, <00a601c6a6f6$9c153900$6e9ba545@50NM721> <44B79FC1.31586.108190FE@stuart.lexacorp.com.pg> Message-ID: <003d01c6a939$13c9f370$6601a8c0@office> Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jul 16 19:41:25 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 16 Jul 2006 17:41:25 -0700 Subject: [AccessD] ...wizard use in runtimes (A2K3) In-Reply-To: <000a01c6a912$1fa94410$6e9ba545@50NM721> References: <000a01c6a912$1fa94410$6e9ba545@50NM721> Message-ID: <44BADCB5.1000900@shaw.ca> There were some service pack changes Office 2003 SP2 to acwizmain.mde. I doubt if it was this, http://support.microsoft.com/kb/821549 However if you just need a random query name why not just create a GUID string 'Paul Brower - 02152001 Private Const RPC_S_OK As Long = 0& Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& Private Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(7) As Byte End Type Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) Private Declare Function UuidToString& Lib "rpcrt4" Alias "UuidToStringA" (lpGUID As GUID, lpGUIDString&) Private Declare Function RpcStringFree& Lib "rpcrt4" Alias "RpcStringFreeA" (lpGUIDString&) Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal lpString&) Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpDest As Any, lpSource As Any, ByVal cBytes&) Public Function CreateGUID() As String 'More GUID routines here ' http://www.trigeminal.com/code/guids.bas Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ Dim sBuffer() As Byte, bNoError As Boolean If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then nStrLen = lstrlen(lpStrGUID) ReDim sBuffer(nStrLen - 1) As Byte CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen Call RpcStringFree(lpStrGUID) sGUID = StrConv(sBuffer, vbUnicode) CreateGUID = UCase$(sGUID) Exit Function End If End If CreateGUID = "Error" End Function William Hindman wrote: >...sorry for previous posting with the wrong subject :( > >Group: > >...the following function using an access wizard library call works in a >full A2K3 install but fails in a >runtime install" > >Private Function ExportRoutine() > Dim db As Database > Dim qdf As QueryDef > Dim lorst As Recordset > Dim strName As String > Dim strFile As String > Const strSpecName = "~~TempSpec~~" > On Error GoTo ExportRoutine_err > With Me.lstResult > strFile = DialogFile(OFN_SAVE, "Save file", "", .Column(3) & " (" & >.Column(2) & ")|" & .Column(2), CurDir, .Column(2)) > End With > If Len(strFile) > 0 Then > 'first get a unique name for the querydef object > strName = Application.Run("acwzmain.wlib_stUniquedocname", "Query1", >acQuery) > Set db = CurrentDb > Set qdf = db.CreateQueryDef(strName, Me.txtSQL) > qdf.Close > With lstResult > Select Case .Column(0) > Case 0 'Transferspreadsheet > DoCmd.TransferSpreadsheet acExport, .Column(1), strName, strFile, >True > Case 1 'Transfertext > DoCmd.TransferText .Column(1), , strName, strFile, True > End Select > End With > End If >ExportRoutine_end: > On Error Resume Next > DoCmd.DeleteObject acQuery, strName > qdf.Close > Set qdf = Nothing > db.QueryDefs.Refresh > Set db = Nothing >Exit Function >ExportRoutine_err: > Resume ExportRoutine_end >End Function > >...I'm certain that its because the function uses the acwzmain.mde library >but I'm not sure I understand why ...if I copythe acwizmain.mde to the >Office11 directory on the runtime installs, the function still fails ...is >there any way to force a runtime to use the library ...or do I have to back >up and approach this in an entirely different way? ...suggestions welcome > > > > > -- Marty Connelly Victoria, B.C. Canada From kp at sdsonline.net Sun Jul 16 20:00:52 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 17 Jul 2006 11:00:52 +1000 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office> <00a601c6a6f6$9c153900$6e9ba545@50NM721> Message-ID: <005b01c6a93c$73baed40$6601a8c0@office> Sorry William - Just realised you sent this. I know very little about the tablet. Any brand you recommend? Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Andrew.Curtis at wapl.com.au Sun Jul 16 20:14:54 2006 From: Andrew.Curtis at wapl.com.au (Curtis, Andrew (WAPL)) Date: Mon, 17 Jul 2006 09:14:54 +0800 Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or issystem = Windows network? In-Reply-To: <000301c6a938$de40f6e0$0200a8c0@danwaters> Message-ID: While not specifically citrix related, with windows remote desktop, you can determine whether or not the host is a 'virtual' RDP client using: Environ("SESSIONNAME") built in function of VBA Start->run CMD SET Displays all environment variables viewable from the ENVIRON function My TS sessions display under: SESSIONNAME=RDP-Tcp#4 If the session is not RDP based (includes citrix) this will not be present or SESSION=Console, indicating a native windows session. --Andrew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, 17 July 2006 8:35 AM To: AccessD Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or issystem = Windows network? I wonder if there is a method to determine if the database is running on Citrix/Terminal Server or is on a Windows Network. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. From darrend at nimble.com.au Sun Jul 16 22:51:13 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 17 Jul 2006 13:51:13 +1000 Subject: [AccessD] Attention Gurus in Text file reading/writing - Paid job if you want it Message-ID: <20060717035115.RXNO13704.omta04ps.mx.bigpond.com@DENZILLAP> Howdy all I have a big project to do for my work Am willing to pay if someone wants to take on providing a solution or if you want to provide partial or whole solutions to the list - Feel free :-)) I have very large SQL files that create hundreds of SQL tables - 2 table example below. and large text files that populate those tables - 2 line example below the table example ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CREATE TABLE [dbo].[AccountHostingOptions] ( [HostingOptionID] [int] IDENTITY (1, 1) NOT NULL , [HostingID] [int] NULL , [HostingOptionCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionQuantity] [int] NULL , [PerOptionFee] [numeric](9, 2) NULL , [RecurrenceCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] GO CREATE TABLE [dbo].[AccountInternetOptions] ( [AccountInternetOptionID] [int] IDENTITY (1, 1) NOT NULL , [AccountNo] [int] NOT NULL , [OptionCode] [char] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [StartDate] [smalldatetime] NULL , [EndDate] [smalldatetime] NULL , [MonthlyFee] [numeric](9, 2) NULL , [ConnectionFee] [numeric](9, 2) NULL , [MailBoxQty] [int] NULL , [Username] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Password] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionItemValue] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [CreatedBy] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [DateCreated] [smalldatetime] NULL ) ON [PRIMARY] GO Another file may be an insert monster containing zillions of insert statements INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(1,'Up to 50km',0,50) INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(2,'50 - 85km',51,85) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What I need to do is to be able to point to the text file - in the example above it would be: \\Some folder\Create AccountTables.sql I then need the code to loop through and find each occurrence of (in this case) "CREATE TABLE" and find all the text between "CREATE TABLE" and "GO" then output the text between "CREATE TABLE" and "GO" into a new text file made up of..."tables_AccountHostingOptions.sql" and "tables_AccountInternetOptions.sql" whilst pulling the details out of the BIG text file as in the example above - but of course there are hundreds of CREATE TABLE entries in the file - I am only showing 2 Create Table scripts here for demo So what I need is... Ability to point to a file (I can do this bit just leave me a hook in the following code to reference a form Control) Ability to tell where to start (Inside the text file) the export from EG "CREATE TABLE" or "INSERT INTO" etc and ability to determine the end text = EG 'GO' etc Ability to get the text between those 2 points Ability to append write the text between the "CREATE TABLE" to a text file Ability to provide an output folder (I can do this bit - just leave me a hook ) Ability to name the text file with a prefix - EG 'tables_' or 'config_' etc (I can do this bit - just leave me a hook in the code) AirCode - anything in capitals is a variable set from the form Point to a file read the contents of that file find every occurrence of INSERT INTO or CREATE TABLE in that file Get all the text between INSERT INTO or CREATE TABLE and GO for each occurrence of INSERT INTO or CREATE TABLE output the text between INSERT INTO or CREATE TABLE and GO to a text file in a folder I have already determined name the resulting text file TABLE_ or CONFIG_ and the Name of the Table to be created or the name of the Table to insert into - as wall as dot sql on the end of the file name and loop until there are no more INSERT INTO's or CREATE TABLE's Phew - Hope it all makes sense The trigger for a starting a read for the CREATE TABLE would be the occurrence of the word CREATE TABLE and the occurrence of the word GO The trigger for a starting a read for the INSERT INTO bits would be the occurrence of the word INSERT INTO and a table name differing from say...tmpstrTableName But I'll let you guys work on the machinations of it all :-)) Contact me off list (at darrend at nimble dot com dot au) if you want to tackle this one as a paid jobbie - we need to negotiate fees me thinks - or feel free to reply on list if you want to 'provide' partial or whole solutions Either way many thanks in advance Have a great day Darren From Gustav at cactus.dk Mon Jul 17 03:32:23 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Jul 2006 10:32:23 +0200 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) Message-ID: Hi Marty That CreateGuid doesn't work for me - returns three chars only. We use this function which also looks much simpler to me: Public Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(0 To 7) As Byte End Type Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ ByRef pguid As GUID) As Long Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ ByRef rguid As Any, _ ByVal lpstrClsId As Long, _ ByVal cbMax As Long) As Long Public Function GetGUIDString() As String ' Create a GUID and return its string representation. ' ' 2002-12-15. Cactus Data ApS, CPH. ' Length of GUID string per definition. Const clngGUID As Long = 38 ' Length of buffer with added space for zero terminator. Const clngBuffer As Long = clngGUID + 1 Dim udtGuid As GUID Dim strGUID As String * clngGUID Dim abytGUID() As Byte ' Dim byte array. abytGUID() = String(clngBuffer, vbNullChar) ' Create GUID. If CoCreateGuid(udtGuid) = 0 Then ' GUID was successfully created. If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then ' GUID was successfully copied into byte array abytGUID in Unicode. ' Convert byte array to Ansi GUID string stripping zero terminator. strGUID = abytGUID End If End If GetGUIDString = strGUID End Function Performance is about 100000 GUIDs/second/GHz /gustav >>> martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> There were some service pack changes Office 2003 SP2 to acwizmain.mde. I doubt if it was this, http://support.microsoft.com/kb/821549 However if you just need a random query name why not just create a GUID string 'Paul Brower - 02152001 Private Const RPC_S_OK As Long = 0& Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& Private Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(7) As Byte End Type Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) Private Declare Function UuidToString& Lib "rpcrt4" Alias "UuidToStringA" (lpGUID As GUID, lpGUIDString&) Private Declare Function RpcStringFree& Lib "rpcrt4" Alias "RpcStringFreeA" (lpGUIDString&) Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal lpString&) Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpDest As Any, lpSource As Any, ByVal cBytes&) Public Function CreateGUID() As String 'More GUID routines here ' http://www.trigeminal.com/code/guids.bas Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ Dim sBuffer() As Byte, bNoError As Boolean If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then nStrLen = lstrlen(lpStrGUID) ReDim sBuffer(nStrLen - 1) As Byte CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen Call RpcStringFree(lpStrGUID) sGUID = StrConv(sBuffer, vbUnicode) CreateGUID = UCase$(sGUID) Exit Function End If End If CreateGUID = "Error" End Function From max at sherman.org.uk Mon Jul 17 06:32:20 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 17 Jul 2006 12:32:20 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQkNCcA Message-ID: <001401c6a994$abebd050$e26b1152@Server> Hi Marty, Don't know if this is possible, but within your program you have it set up to use Pop3. Can it also handle Imap? Currently there is nowhere to enter the question that is in the Outlook Advanced Tab = "This Server Requires an Encrypted Connection (SSL)" that is present in Outlook from where it works fine. It would be nice if I could use it to send emails via the domain as it were webmail. I can do it using Outlook, but would prefer to miss out Outlook if possible. Can you advise please? Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: 13 July 2006 19:31 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDOSYS Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Jul 17 07:42:00 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 17 Jul 2006 08:42:00 -0400 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEDF7B@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356CA@ADGSERVER> Rocky, I left early on Friday, so sorry for the no reply. It looked like some others answered the issue below. Did you get it going? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database Bobby: I tried using set db = Currentdb after putting the password on the back end and got an 'invalid password' error when opening the first recordset to a linked table. Rocky Bobby Heid wrote: > Did not read all of the email. > > If the tables in the BE are linked, then you can use CurrentDB. You only > have to use the Opendatabse method if you are opening the BE directly. > > Now, you will have to use the password when linking the tables. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 12:44 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Opening password protected database > Importance: Low > > > Dear List: > > I am trying to open a password protected database using the following: > > Set db = CurrentDb > MsgBox db.Name > Dim strPWD As String > strPWD = "shannon" > Dim strDB As String > strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" > Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > > Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > > I used Set db = CurrentDb just to be sure I was getting the exact path > and file name of the back end and strDB does indeed have the correct > path and filename of the back end. The password is also correct. > > What am I doing wrong? > > Maybe there's a simpler way? The client wants to have the back end > password protected, so instead of using the simple set db=Currentdb > everywhere in the app I guess I have to use some syntax which specifies > the password. All the tables in the back end are linked. > > MTIA > > Rocky > > From bchacc at san.rr.com Mon Jul 17 08:27:42 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 17 Jul 2006 06:27:42 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356CA@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356CA@ADGSERVER> Message-ID: <44BB904E.1080205@san.rr.com> Yeah, thanks - got a couple of good solutions. Rocky Bobby Heid wrote: > Rocky, > > I left early on Friday, so sorry for the no reply. It looked like some > others answered the issue below. Did you get it going? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 2:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database > > > Bobby: > > I tried using set db = Currentdb after putting the password on the back > end and got an 'invalid password' error when opening the first recordset > to a linked table. > > Rocky > > > > > Bobby Heid wrote: > >> Did not read all of the email. >> >> If the tables in the BE are linked, then you can use CurrentDB. You only >> have to use the Opendatabse method if you are opening the BE directly. >> >> Now, you will have to use the password when linking the tables. >> >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >> Beach Access Software >> Sent: Friday, July 14, 2006 12:44 PM >> To: Access Developers discussion and problem solving >> Subject: [SPAM SUSPECT] [AccessD] Opening password protected database >> Importance: Low >> >> >> Dear List: >> >> I am trying to open a password protected database using the following: >> >> Set db = CurrentDb >> MsgBox db.Name >> Dim strPWD As String >> strPWD = "shannon" >> Dim strDB As String >> strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" >> Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) >> >> >> Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) >> >> I used Set db = CurrentDb just to be sure I was getting the exact path >> and file name of the back end and strDB does indeed have the correct >> path and filename of the back end. The password is also correct. >> >> What am I doing wrong? >> >> Maybe there's a simpler way? The client wants to have the back end >> password protected, so instead of using the simple set db=Currentdb >> everywhere in the app I guess I have to use some syntax which specifies >> the password. All the tables in the back end are linked. >> >> MTIA >> >> Rocky >> >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From darrend at nimble.com.au Mon Jul 17 08:30:27 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 17 Jul 2006 23:30:27 +1000 Subject: [AccessD] WAY OT: You are not authorized to view this page Message-ID: <20060717133041.TTYL20633.omta02sl.mx.bigpond.com@DENZILLAP> Hi All This is a WAY OT post so please reply to my personal email address - darrend at nimble dot com dot au - thanks You guys are my brains trust in these sorts of matters - so please forgive the OT post if it upsets anyone Sorry in advance Andy - not for the post but for the cricket this November hee hee Anyway... We have a reporting services web page on our internal server Clients use VPN to connect - cool Once they VPN in they type in a URL in an IE window and up comes the credentials popup - cool Once the credentials are passed in this internal 10.1.1. blah blah Reporting Services webpage is loaded with a list of clickable reports- Cool Now here is the problem bit When I do it using my credentials if I want to click on an item at this reporting services webpage I am prompted for my credentials again No big issue - I supply them a second time and the reports loads and runs fine But on another machine I go through the same process... EG I VPN in then type in the URL and enter my credentials (Same as the success story above) and I can see the reporting services web page with a list of clickable reports - just like above But when I click on these items I get NO second logon/credential screen and get errors similar to... You are not authorised to view this page When all this first started I thought I had stuffed up the permissions, but when I was getting it on another machine using credentials that I know work - I realised it is a setting that has or has not been configured I was hoping one of you guys might know which one or how to :-) Way OT this one - so please post to me personally - thanks Many thanks in advance Darren From DWUTKA at marlow.com Mon Jul 17 11:02:00 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 17 Jul 2006 11:02:00 -0500 Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or is system = Windows network? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A234@main2.marlow.com> Not sure if there is a way to do this 'in general'. But if you know the network it's on, you could just go off of machine name (cause terminal sessions should all have the same machine name.) Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Sunday, July 16, 2006 7:35 PM To: AccessD Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or is system = Windows network? I wonder if there is a method to determine if the database is running on Citrix/Terminal Server or is on a Windows Network. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jul 17 11:03:42 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 17 Jul 2006 11:03:42 -0500 Subject: [AccessD] Mobile Access with an mde - Windows tablet? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> We just got a tablet PC in. It's just a laptop with a screen that can be 'repositioned'. Runs everything a normal laptop would. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Sunday, July 16, 2006 7:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jul 17 11:10:03 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 17 Jul 2006 11:10:03 -0500 Subject: [AccessD] Attention Gurus in Text file reading/writing - Paid job if you want it Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A23C@main2.marlow.com> Some air code here.... Dim f as Long Dim strTemp as String Dim strArray() as String F=freefile Open "C:\SomePath\Textfile.txt" for binary access read as f Strtemp=space(lof(f)) Get f,,strtemp Close f Strarray=Split(strTemp,"GO" & vbcrlf) That gives you an array of the CreateTable groups. It's just a matter of looping through the array, and manipulating each string then. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Sunday, July 16, 2006 10:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Attention Gurus in Text file reading/writing - Paid job if you want it Howdy all I have a big project to do for my work Am willing to pay if someone wants to take on providing a solution or if you want to provide partial or whole solutions to the list - Feel free :-)) I have very large SQL files that create hundreds of SQL tables - 2 table example below. and large text files that populate those tables - 2 line example below the table example ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CREATE TABLE [dbo].[AccountHostingOptions] ( [HostingOptionID] [int] IDENTITY (1, 1) NOT NULL , [HostingID] [int] NULL , [HostingOptionCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionQuantity] [int] NULL , [PerOptionFee] [numeric](9, 2) NULL , [RecurrenceCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] GO CREATE TABLE [dbo].[AccountInternetOptions] ( [AccountInternetOptionID] [int] IDENTITY (1, 1) NOT NULL , [AccountNo] [int] NOT NULL , [OptionCode] [char] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [StartDate] [smalldatetime] NULL , [EndDate] [smalldatetime] NULL , [MonthlyFee] [numeric](9, 2) NULL , [ConnectionFee] [numeric](9, 2) NULL , [MailBoxQty] [int] NULL , [Username] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Password] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionItemValue] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [CreatedBy] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [DateCreated] [smalldatetime] NULL ) ON [PRIMARY] GO Another file may be an insert monster containing zillions of insert statements INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(1, 'Up to 50km',0,50) INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(2, '50 - 85km',51,85) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What I need to do is to be able to point to the text file - in the example above it would be: \\Some folder\Create AccountTables.sql I then need the code to loop through and find each occurrence of (in this case) "CREATE TABLE" and find all the text between "CREATE TABLE" and "GO" then output the text between "CREATE TABLE" and "GO" into a new text file made up of..."tables_AccountHostingOptions.sql" and "tables_AccountInternetOptions.sql" whilst pulling the details out of the BIG text file as in the example above - but of course there are hundreds of CREATE TABLE entries in the file - I am only showing 2 Create Table scripts here for demo So what I need is... Ability to point to a file (I can do this bit just leave me a hook in the following code to reference a form Control) Ability to tell where to start (Inside the text file) the export from EG "CREATE TABLE" or "INSERT INTO" etc and ability to determine the end text = EG 'GO' etc Ability to get the text between those 2 points Ability to append write the text between the "CREATE TABLE" to a text file Ability to provide an output folder (I can do this bit - just leave me a hook ) Ability to name the text file with a prefix - EG 'tables_' or 'config_' etc (I can do this bit - just leave me a hook in the code) AirCode - anything in capitals is a variable set from the form Point to a file read the contents of that file find every occurrence of INSERT INTO or CREATE TABLE in that file Get all the text between INSERT INTO or CREATE TABLE and GO for each occurrence of INSERT INTO or CREATE TABLE output the text between INSERT INTO or CREATE TABLE and GO to a text file in a folder I have already determined name the resulting text file TABLE_ or CONFIG_ and the Name of the Table to be created or the name of the Table to insert into - as wall as dot sql on the end of the file name and loop until there are no more INSERT INTO's or CREATE TABLE's Phew - Hope it all makes sense The trigger for a starting a read for the CREATE TABLE would be the occurrence of the word CREATE TABLE and the occurrence of the word GO The trigger for a starting a read for the INSERT INTO bits would be the occurrence of the word INSERT INTO and a table name differing from say...tmpstrTableName But I'll let you guys work on the machinations of it all :-)) Contact me off list (at darrend at nimble dot com dot au) if you want to tackle this one as a paid jobbie - we need to negotiate fees me thinks - or feel free to reply on list if you want to 'provide' partial or whole solutions Either way many thanks in advance Have a great day Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jul 17 11:40:34 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Jul 2006 09:40:34 -0700 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) In-Reply-To: References: Message-ID: <44BBBD82.9070908@shaw.ca> Both methods work for me on Access97 and 2003 WinXP SP2. My method was kind of old dating back to 1999 or 2000 Maybe a difference in one of the dll's However CoCreateGuid seems to be the more prevalent method used today. Gustav Brock wrote: >Hi Marty > >That CreateGuid doesn't work for me - returns three chars only. >We use this function which also looks much simpler to me: > >Public Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(0 To 7) As Byte >End Type > >Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ > ByRef pguid As GUID) As Long > >Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ > ByRef rguid As Any, _ > ByVal lpstrClsId As Long, _ > ByVal cbMax As Long) As Long > >Public Function GetGUIDString() As String > >' Create a GUID and return its string representation. >' >' 2002-12-15. Cactus Data ApS, CPH. > > ' Length of GUID string per definition. > Const clngGUID As Long = 38 > ' Length of buffer with added space for zero terminator. > Const clngBuffer As Long = clngGUID + 1 > > Dim udtGuid As GUID > Dim strGUID As String * clngGUID > Dim abytGUID() As Byte > > ' Dim byte array. > abytGUID() = String(clngBuffer, vbNullChar) > ' Create GUID. > If CoCreateGuid(udtGuid) = 0 Then > ' GUID was successfully created. > If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then > ' GUID was successfully copied into byte array abytGUID in Unicode. > ' Convert byte array to Ansi GUID string stripping zero terminator. > strGUID = abytGUID > End If > End If > > GetGUIDString = strGUID > >End Function > >Performance is about 100000 GUIDs/second/GHz > >/gustav > > > >>>>martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> >>>> >>>> >There were some service pack changes Office 2003 SP2 to acwizmain.mde. >I doubt if it was this, http://support.microsoft.com/kb/821549 > >However if you just need a random query name why not just create a GUID >string > >'Paul Brower - 02152001 >Private Const RPC_S_OK As Long = 0& >Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& >Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& >Private Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(7) As Byte >End Type > >Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) >Private Declare Function UuidToString& Lib "rpcrt4" Alias >"UuidToStringA" (lpGUID As GUID, lpGUIDString&) >Private Declare Function RpcStringFree& Lib "rpcrt4" Alias >"RpcStringFreeA" (lpGUIDString&) >Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal >lpString&) >Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(lpDest As Any, lpSource As Any, ByVal cBytes&) > >Public Function CreateGUID() As String >'More GUID routines here >' http://www.trigeminal.com/code/guids.bas > > Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ > Dim sBuffer() As Byte, bNoError As Boolean > > > If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then > If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then > nStrLen = lstrlen(lpStrGUID) > ReDim sBuffer(nStrLen - 1) As Byte > CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen > Call RpcStringFree(lpStrGUID) > sGUID = StrConv(sBuffer, vbUnicode) > CreateGUID = UCase$(sGUID) > Exit Function > End If > End If > CreateGUID = "Error" >End Function > > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Mon Jul 17 13:27:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Jul 2006 20:27:45 +0200 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) Message-ID: Hi Marty Strange. I copied/pasted your code into a module in A97 on WinXP Pro SP2. But no GUID, only three chars returned. /gustav >>> martyconnelly at shaw.ca 17-07-2006 18:40:34 >>> Both methods work for me on Access97 and 2003 WinXP SP2. My method was kind of old dating back to 1999 or 2000 Maybe a difference in one of the dll's However CoCreateGuid seems to be the more prevalent method used today. Gustav Brock wrote: >Hi Marty > >That CreateGuid doesn't work for me - returns three chars only. >We use this function which also looks much simpler to me: > >Public Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(0 To 7) As Byte >End Type > >Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ > ByRef pguid As GUID) As Long > >Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ > ByRef rguid As Any, _ > ByVal lpstrClsId As Long, _ > ByVal cbMax As Long) As Long > >Public Function GetGUIDString() As String > >' Create a GUID and return its string representation. >' >' 2002-12-15. Cactus Data ApS, CPH. > > ' Length of GUID string per definition. > Const clngGUID As Long = 38 > ' Length of buffer with added space for zero terminator. > Const clngBuffer As Long = clngGUID + 1 > > Dim udtGuid As GUID > Dim strGUID As String * clngGUID > Dim abytGUID() As Byte > > ' Dim byte array. > abytGUID() = String(clngBuffer, vbNullChar) > ' Create GUID. > If CoCreateGuid(udtGuid) = 0 Then > ' GUID was successfully created. > If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then > ' GUID was successfully copied into byte array abytGUID in Unicode. > ' Convert byte array to Ansi GUID string stripping zero terminator. > strGUID = abytGUID > End If > End If > > GetGUIDString = strGUID > >End Function > >Performance is about 100000 GUIDs/second/GHz > >/gustav > > > >>>>martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> >>>> >>>> >There were some service pack changes Office 2003 SP2 to acwizmain.mde. >I doubt if it was this, http://support.microsoft.com/kb/821549 > >However if you just need a random query name why not just create a GUID >string > >'Paul Brower - 02152001 >Private Const RPC_S_OK As Long = 0& >Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& >Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& >Private Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(7) As Byte >End Type > >Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) >Private Declare Function UuidToString& Lib "rpcrt4" Alias >"UuidToStringA" (lpGUID As GUID, lpGUIDString&) >Private Declare Function RpcStringFree& Lib "rpcrt4" Alias >"RpcStringFreeA" (lpGUIDString&) >Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal >lpString&) >Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(lpDest As Any, lpSource As Any, ByVal cBytes&) > >Public Function CreateGUID() As String >'More GUID routines here >' http://www.trigeminal.com/code/guids.bas > > Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ > Dim sBuffer() As Byte, bNoError As Boolean > > > If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then > If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then > nStrLen = lstrlen(lpStrGUID) > ReDim sBuffer(nStrLen - 1) As Byte > CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen > Call RpcStringFree(lpStrGUID) > sGUID = StrConv(sBuffer, vbUnicode) > CreateGUID = UCase$(sGUID) > Exit Function > End If > End If > CreateGUID = "Error" >End Function From Patricia.O'Connor at otda.state.ny.us Mon Jul 17 13:28:54 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 17 Jul 2006 14:28:54 -0400 Subject: [AccessD] (no subject) In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B8B242D@main2.marlow.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C5@EXCNYSM0A1AI.nysemail.nyenet> What would cause the sizes of Access 2k mdb to increase humongously all of a sudden? I have many mdbs of which all have links to oracle tables but also have internal access tables included. For example I have one that is about 4 months old created on 04/04/2006 is 4,508KB. I copied the one from April today and recreated a table that actually has fewer records than the April table. This Mdb is 41,736KB. So I tried to recreate it from scratch and it still is like 32,000kb Another totally different one I created on July 05, 2006 which has more tables and data is 3,508KB. But there are two others that are similar in nature and huge 195,528. There does not seem to be a specific date when this started to happen Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From markamatte at hotmail.com Mon Jul 17 13:59:27 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 17 Jul 2006 18:59:27 +0000 Subject: [AccessD] (no subject) In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C5@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: Patricia, This may not even be related...but do you do any wild card searches against fields in the linked tables? Mark A. Matte >From: "O'Connor, Patricia (OTDA)" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] (no subject) >Date: Mon, 17 Jul 2006 14:28:54 -0400 > >What would cause the sizes of Access 2k mdb to increase humongously all >of a sudden? I have many mdbs of which all have links to oracle tables >but also have internal access tables included. > >For example I have one that is about 4 months old created on 04/04/2006 >is 4,508KB. I copied the one from April today and recreated a table >that actually has fewer records than the April table. This Mdb is >41,736KB. So I tried to recreate it from scratch and it still is like >32,000kb > >Another totally different one I created on July 05, 2006 which has more >tables and data is 3,508KB. But there are two others that are similar >in nature and huge 195,528. > >There does not seem to be a specific date when this started to happen >Thanks >************************************************** >* Patricia O'Connor >* Associate Computer Programmer Analyst >* OTDA - BDMA >* (W) mailto:Patricia.O'Connor at otda.state.ny.us >* (w) mailto:aa1160 at nysemail.state.ny.us >************************************************** >-------------------------------------------------------- >This e-mail, including any attachments, may be confidential, privileged or >otherwise legally protected. It is intended only for the addressee. If you >received this e-mail in error or from someone who was not authorized to >send it to you, do not disseminate, copy or otherwise use this e-mail or >its attachments. Please notify the sender immediately by reply e-mail and >delete the e-mail from your system. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Mon Jul 17 14:15:09 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 17 Jul 2006 15:15:09 -0400 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C6@EXCNYSM0A1AI.nysemail.nyenet> I have done some but not in the mdb's I am looking at. I also do mostly passthru queries to oracle. Create temp tables there then import them if I need to archive the results for future reference. I am rerunning the procedures - I think I may have put wrong dates in today's work which may have increased record count or table size for todays work. Still checking some of the other ones to see what might be causing it. Thanks for your help ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: Monday, July 17, 2006 02:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] (no subject) > > Patricia, > > This may not even be related...but do you do any wild card > searches against fields in the linked tables? > > Mark A. Matte > > From martyconnelly at shaw.ca Mon Jul 17 15:07:32 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Jul 2006 13:07:32 -0700 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) In-Reply-To: References: Message-ID: <44BBEE04.4070308@shaw.ca> I am running WinXP home. Unless it is having problems with the old VB 5 version of dimension statements I usually beat my machine with a rolled up newspaper until this stops happening. Gustav Brock wrote: >Hi Marty > >Strange. I copied/pasted your code into a module in A97 on WinXP Pro SP2. >But no GUID, only three chars returned. > >/gustav > > > >>>>martyconnelly at shaw.ca 17-07-2006 18:40:34 >>> >>>> >>>> >Both methods work for me on Access97 and 2003 WinXP SP2. >My method was kind of old dating back to 1999 or 2000 >Maybe a difference in one of the dll's > >However CoCreateGuid seems to be the more prevalent >method used today. > > > >Gustav Brock wrote: > > > >>Hi Marty >> >>That CreateGuid doesn't work for me - returns three chars only. >>We use this function which also looks much simpler to me: >> >>Public Type GUID >> Data1 As Long >> Data2 As Integer >> Data3 As Integer >> Data4(0 To 7) As Byte >>End Type >> >>Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ >> ByRef pguid As GUID) As Long >> >>Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ >> ByRef rguid As Any, _ >> ByVal lpstrClsId As Long, _ >> ByVal cbMax As Long) As Long >> >>Public Function GetGUIDString() As String >> >>' Create a GUID and return its string representation. >>' >>' 2002-12-15. Cactus Data ApS, CPH. >> >> ' Length of GUID string per definition. >> Const clngGUID As Long = 38 >> ' Length of buffer with added space for zero terminator. >> Const clngBuffer As Long = clngGUID + 1 >> >> Dim udtGuid As GUID >> Dim strGUID As String * clngGUID >> Dim abytGUID() As Byte >> >> ' Dim byte array. >> abytGUID() = String(clngBuffer, vbNullChar) >> ' Create GUID. >> If CoCreateGuid(udtGuid) = 0 Then >> ' GUID was successfully created. >> If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then >> ' GUID was successfully copied into byte array abytGUID in Unicode. >> ' Convert byte array to Ansi GUID string stripping zero terminator. >> strGUID = abytGUID >> End If >> End If >> >> GetGUIDString = strGUID >> >>End Function >> >>Performance is about 100000 GUIDs/second/GHz >> >>/gustav >> >> >> >> >> >>>>>martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> >>>>> >>>>> >>>>> >>>>> >>There were some service pack changes Office 2003 SP2 to acwizmain.mde. >>I doubt if it was this, http://support.microsoft.com/kb/821549 >> >>However if you just need a random query name why not just create a GUID >>string >> >>'Paul Brower - 02152001 >>Private Const RPC_S_OK As Long = 0& >>Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& >>Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& >>Private Type GUID >> Data1 As Long >> Data2 As Integer >> Data3 As Integer >> Data4(7) As Byte >>End Type >> >>Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) >>Private Declare Function UuidToString& Lib "rpcrt4" Alias >>"UuidToStringA" (lpGUID As GUID, lpGUIDString&) >>Private Declare Function RpcStringFree& Lib "rpcrt4" Alias >>"RpcStringFreeA" (lpGUIDString&) >>Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal >>lpString&) >>Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>(lpDest As Any, lpSource As Any, ByVal cBytes&) >> >>Public Function CreateGUID() As String >>'More GUID routines here >>' http://www.trigeminal.com/code/guids.bas >> >> Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ >> Dim sBuffer() As Byte, bNoError As Boolean >> >> >> If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then >> If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then >> nStrLen = lstrlen(lpStrGUID) >> ReDim sBuffer(nStrLen - 1) As Byte >> CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen >> Call RpcStringFree(lpStrGUID) >> sGUID = StrConv(sBuffer, vbUnicode) >> CreateGUID = UCase$(sGUID) >> Exit Function >> End If >> End If >> CreateGUID = "Error" >>End Function >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Jul 17 15:25:14 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Jul 2006 13:25:14 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <001401c6a994$abebd050$e26b1152@Server> References: <001401c6a994$abebd050$e26b1152@Server> Message-ID: <44BBF22A.1000101@shaw.ca> I don't remember using any POP3 in code, it is a different protocol than SMTP. Perhaps you could repost the code. One big problem is recent ISP security restrictions. Some cable ISP's will not allow an IP from outside their domain to access a POP3 server, POP3 access wont work at all with DSL or dial-up connections. Some ISP's don't allow any connection at all. To check yours, you can try to access POP3 via Telnet Try it on rarely used Email account. You could try this to get into POP3 port 110 but it may take 10 minutes to activate. telnet shawmail.vc.shawcable.net 110 Then use valid commands eg. 'user', 'pass', 'list', 'top', & 'quit and maybe "RETR" Here are some old samples of VB code to get at POP3. Pretty basic and they might not handle file attachments etc. They generally all use Win Sockets. Microsoft Access Email FAQ http://www.granite.ab.ca/access/email.htm Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. ISBN: 1-55558-212-5 http://www.winsite.com/bin/Info?500000022279 or Access email via winsock.dll in German This only sends email via SMTP or POP3 server http://www.freeaccess.de/downloaddetails.asp?id=19 processing mail from a pop3 mailbox a semi freebie dll http://www.interlog.com/~tcharron/getmail.html Articles on using WinSockets in VB http://www.vbip.com/winsock-api/ http://www.vbip.com/winsock-api/connect/connect-01.asp Max Home wrote: >Hi Marty, >Don't know if this is possible, but within your program you have it set up >to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >the question that is in the Outlook Advanced Tab = "This Server Requires an >Encrypted Connection (SSL)" that is present in Outlook from where it works >fine. > >It would be nice if I could use it to send emails via the domain as it were >webmail. I can do it using Outlook, but would prefer to miss out Outlook if >possible. > >Can you advise please? > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >Sent: 13 July 2006 19:31 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] CDOSYS > >Great reply. Thanks for all the pointers, Marty > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 13 July 2006 19:10 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >CDOSYS does not allow to read e-mail, only to send them. >While CDOSYS doesn't allow you to pull mail via POP3 or >IMAP4, it can load a raw MIME message as stream >for example from an .EML file saved to your hard disc. >This can get complicated really quickly . So it is possible >but I can think of better ways of spending the summer. > >Or you could use a dotNet DLL to call POP3 via tcpconnection class >See 8.13 >http://www.microsoft.com/mspress/books/sampchap/6436a.asp > >Pop3 controls callable from Access; a lot out there generally work >through sockets > >Freebies > >ZaksPop3 Java based. >http://www.zaks.demon.co.uk/code/cpts/pop/index.html > >Commercial >http://www.quiksoft.com/newsletter/issue003/ > >GETMAIL for Windows free for personal use > >http://www.interlog.com/~tcharron/getmail.html > >Max Home wrote: > > > >>Hi, Marty Connelly, >> >>You kindly posted some code for using CDOSYS to send Emails. On the example >>form, you had some fields for receiving emails via Pop3. I was wondering >>Marty if you (or anybody) had any code for these options and also if it >>could handle IMapi accounts from a web mail account? >> >>Any help would be appreciated. >> >>Regards >>Max >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Mon Jul 17 17:04:40 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 18 Jul 2006 08:04:40 +1000 Subject: [AccessD] CDOSYS In-Reply-To: <44BBF22A.1000101@shaw.ca> References: <001401c6a994$abebd050$e26b1152@Server>, <44BBF22A.1000101@shaw.ca> Message-ID: <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> On 17 Jul 2006 at 13:25, MartyConnelly wrote: > One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their > domain to access a POP3 server, I've seen this with SMTP, but never with POP3. Who is doing this? What is the rationale for it? > POP3 access wont work at all with DSL or dial-up connections. Huh? If that were true, most internet subscribers world wide would not have access to their email! > Some ISP's don't allow any connection at all. > I can see it know: I'd like to sign up for an email account OK, that'll be $10 per month, thanks Here's my money, how do I connect to my mailbox? Oh, you want a connection? That requires our Connection Account which is $100 per month. With our $10 account, you get an email address, but there is no way to read the mail that is put in it. -- Stuart From kp at sdsonline.net Mon Jul 17 18:33:42 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 18 Jul 2006 09:33:42 +1000 Subject: [AccessD] (no subject) References: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C5@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <003301c6a9f9$719a5b50$6601a8c0@office> Patricia - I doubt this is it, but I had something similiar just this month. My client's BE file blew out from 32MB to 320 MB approx. Turns out the tech staff had removed my users' permissions to update and delete from the network drive where the BE was residing. Therefore when the users closed the database, it wasn't able to compact on close. Kath ----- Original Message ----- From: O'Connor, Patricia (OTDA) To: Access Developers discussion and problem solving Sent: Tuesday, July 18, 2006 4:28 AM Subject: [AccessD] (no subject) What would cause the sizes of Access 2k mdb to increase humongously all of a sudden? I have many mdbs of which all have links to oracle tables but also have internal access tables included. For example I have one that is about 4 months old created on 04/04/2006 is 4,508KB. I copied the one from April today and recreated a table that actually has fewer records than the April table. This Mdb is 41,736KB. So I tried to recreate it from scratch and it still is like 32,000kb Another totally different one I created on July 05, 2006 which has more tables and data is 3,508KB. But there are two others that are similar in nature and huge 195,528. There does not seem to be a specific date when this started to happen Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Jul 17 18:58:56 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 18 Jul 2006 09:58:56 +1000 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> Message-ID: <000e01c6a9fc$f734e750$6601a8c0@office> So the difference is in the 'swivel' screen and pen technology? I think they come with a keyboard anyway, don't they? What size/brand is it Drew? Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Tuesday, July 18, 2006 2:03 AM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? We just got a tablet PC in. It's just a laptop with a screen that can be 'repositioned'. Runs everything a normal laptop would. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Sunday, July 16, 2006 7:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Mon Jul 17 19:41:40 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 17 Jul 2006 20:41:40 -0400 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> <000e01c6a9fc$f734e750$6601a8c0@office> Message-ID: <001701c6aa02$efe88f50$6e9ba545@50NM721> http://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/321957-304452-306995-304455-306995-1847962.html ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Monday, July 17, 2006 7:58 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > So the difference is in the 'swivel' screen and pen technology? I think > they come with a keyboard anyway, don't they? What size/brand is it Drew? > > Kath > ----- Original Message ----- > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Sent: Tuesday, July 18, 2006 2:03 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > We just got a tablet PC in. It's just a laptop with a screen that can be > 'repositioned'. Runs everything a normal laptop would. > > Drew > > -----Original Message----- > From: Kath Pelletti [mailto:kp at sdsonline.net] > Sent: Sunday, July 16, 2006 7:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > Thanks Stuart - it looks quite interesting. But I guess that as a first > generation thing, they seems to have a few flaws. The battery life (2.5 > hours) doesn't sound too good. But I would love to have a play with one > of > these. > > Wondering whether anyone on the list has actually used an Access mde on a > Windows tablet PC instead? Otherwise I may just suggest that he go for a > small laptop. > > Kath > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:44 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Jul 17 20:39:20 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 17 Jul 2006 21:39:20 -0400 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> <000e01c6a9fc$f734e750$6601a8c0@office> Message-ID: <002301c6aa0a$fdfc19b0$6e9ba545@50NM721> http://www.biomobility.com/dotr4.htm ...you might want to look into pda's a bit more ...this will sync with your desktop Access app and give your client a lot of functionality on the road ...plus its got good reviews in the forums. William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Monday, July 17, 2006 7:58 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > So the difference is in the 'swivel' screen and pen technology? I think > they come with a keyboard anyway, don't they? What size/brand is it Drew? > > Kath > ----- Original Message ----- > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Sent: Tuesday, July 18, 2006 2:03 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > We just got a tablet PC in. It's just a laptop with a screen that can be > 'repositioned'. Runs everything a normal laptop would. > > Drew > > -----Original Message----- > From: Kath Pelletti [mailto:kp at sdsonline.net] > Sent: Sunday, July 16, 2006 7:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > Thanks Stuart - it looks quite interesting. But I guess that as a first > generation thing, they seems to have a few flaws. The battery life (2.5 > hours) doesn't sound too good. But I would love to have a play with one > of > these. > > Wondering whether anyone on the list has actually used an Access mde on a > Windows tablet PC instead? Otherwise I may just suggest that he go for a > small laptop. > > Kath > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:44 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Tue Jul 18 01:50:59 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 18 Jul 2006 01:50:59 -0500 Subject: [AccessD] Mobile Access with an mde - Windows tablet? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDC83@main2.marlow.com> Not sure what size, it looks like a fifteen inch screen. It's a Toshiba, I believe. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Monday, July 17, 2006 6:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? So the difference is in the 'swivel' screen and pen technology? I think they come with a keyboard anyway, don't they? What size/brand is it Drew? Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Tuesday, July 18, 2006 2:03 AM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? We just got a tablet PC in. It's just a laptop with a screen that can be 'repositioned'. Runs everything a normal laptop would. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Sunday, July 16, 2006 7:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Jul 18 12:10:19 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 18 Jul 2006 10:10:19 -0700 Subject: [AccessD] Password Protected Database in a Bound Form Message-ID: <44BD15FB.1010808@san.rr.com> Dear List: The back end has a password. Opening a recordset is no problem. But when I open a bound form I get the invalid password error because I obviously haven't told the form what the password is. How do I do that? The password is already in a global variable - if that helps. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From max at sherman.org.uk Tue Jul 18 12:12:26 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 18 Jul 2006 18:12:26 +0100 Subject: [AccessD] CDOSYS In-Reply-To: <44BBF22A.1000101@shaw.ca> Message-ID: <002701c6aa8d$5b68bfe0$e26b1152@Server> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 17 July 2006 21:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS I don't remember using any POP3 in code, it is a different protocol than SMTP. Perhaps you could repost the code. One big problem is recent ISP security restrictions. Some cable ISP's will not allow an IP from outside their domain to access a POP3 server, POP3 access wont work at all with DSL or dial-up connections. Some ISP's don't allow any connection at all. To check yours, you can try to access POP3 via Telnet Try it on rarely used Email account. You could try this to get into POP3 port 110 but it may take 10 minutes to activate. telnet shawmail.vc.shawcable.net 110 Then use valid commands eg. 'user', 'pass', 'list', 'top', & 'quit and maybe "RETR" Here are some old samples of VB code to get at POP3. Pretty basic and they might not handle file attachments etc. They generally all use Win Sockets. Microsoft Access Email FAQ http://www.granite.ab.ca/access/email.htm Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. ISBN: 1-55558-212-5 http://www.winsite.com/bin/Info?500000022279 or Access email via winsock.dll in German This only sends email via SMTP or POP3 server http://www.freeaccess.de/downloaddetails.asp?id=19 processing mail from a pop3 mailbox a semi freebie dll http://www.interlog.com/~tcharron/getmail.html Articles on using WinSockets in VB http://www.vbip.com/winsock-api/ http://www.vbip.com/winsock-api/connect/connect-01.asp Max Home wrote: >Hi Marty, >Don't know if this is possible, but within your program you have it set up >to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >the question that is in the Outlook Advanced Tab = "This Server Requires an >Encrypted Connection (SSL)" that is present in Outlook from where it works >fine. > >It would be nice if I could use it to send emails via the domain as it were >webmail. I can do it using Outlook, but would prefer to miss out Outlook if >possible. > >Can you advise please? > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >Sent: 13 July 2006 19:31 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] CDOSYS > >Great reply. Thanks for all the pointers, Marty > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 13 July 2006 19:10 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >CDOSYS does not allow to read e-mail, only to send them. >While CDOSYS doesn't allow you to pull mail via POP3 or >IMAP4, it can load a raw MIME message as stream >for example from an .EML file saved to your hard disc. >This can get complicated really quickly . So it is possible >but I can think of better ways of spending the summer. > >Or you could use a dotNet DLL to call POP3 via tcpconnection class >See 8.13 >http://www.microsoft.com/mspress/books/sampchap/6436a.asp > >Pop3 controls callable from Access; a lot out there generally work >through sockets > >Freebies > >ZaksPop3 Java based. >http://www.zaks.demon.co.uk/code/cpts/pop/index.html > >Commercial >http://www.quiksoft.com/newsletter/issue003/ > >GETMAIL for Windows free for personal use > >http://www.interlog.com/~tcharron/getmail.html > >Max Home wrote: > > > >>Hi, Marty Connelly, >> >>You kindly posted some code for using CDOSYS to send Emails. On the example >>form, you had some fields for receiving emails via Pop3. I was wondering >>Marty if you (or anybody) had any code for these options and also if it >>could handle IMapi accounts from a web mail account? >> >>Any help would be appreciated. >> >>Regards >>Max >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Tue Jul 18 12:15:17 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 18 Jul 2006 13:15:17 -0400 Subject: [AccessD] (no subject) - mdb size enlarged without reason In-Reply-To: <003301c6a9f9$719a5b50$6601a8c0@office> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26CE@EXCNYSM0A1AI.nysemail.nyenet> Thanks for all your help. Erased rebooted and requeried with a fix and whalla normal size. Might have had something to do with patches or something. Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kath Pelletti > Sent: Monday, July 17, 2006 07:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] (no subject) > > Patricia - I doubt this is it, but I had something similiar > just this month. My client's BE file blew out from 32MB to > 320 MB approx. Turns out the tech staff had removed my users' > permissions to update and delete from the network drive where > the BE was residing. Therefore when the users closed the > database, it wasn't able to compact on close. > > Kath > > ----- Original Message ----- > From: O'Connor, Patricia (OTDA) > To: Access Developers discussion and problem solving > Sent: Tuesday, July 18, 2006 4:28 AM > Subject: [AccessD] (no subject) > > > What would cause the sizes of Access 2k mdb to increase > humongously all > of a sudden? I have many mdbs of which all have links to > oracle tables > but also have internal access tables included. > > For example I have one that is about 4 months old created > on 04/04/2006 > is 4,508KB. I copied the one from April today and recreated a table > that actually has fewer records than the April table. This Mdb is > 41,736KB. So I tried to recreate it from scratch and it > still is like > 32,000kb > > Another totally different one I created on July 05, 2006 > which has more > tables and data is 3,508KB. But there are two others that > are similar > in nature and huge 195,528. > > There does not seem to be a specific date when this started > to happen > Thanks > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It > is intended only for the addressee. If you received this > e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use > this e-mail or its attachments. Please notify the sender > immediately by reply e-mail and delete the e-mail from your system. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ewaldt at gdls.com Tue Jul 18 12:19:07 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 18 Jul 2006 13:19:07 -0400 Subject: [AccessD] Import more than 255 characters from Excel In-Reply-To: Message-ID: I have a memo field in an Access table, and it receives data from an imported Excel sheet. Unfortunately, the import cuts the length of the imported data to 255, since Access automatically considers it a Text field. Is there a way around this? I use the very simple line: DoCmd.TransferSpreadsheet acImport, 8, "Import01", strFileStuff, False, "InputData" I tried defining the table, "Import01", as filled with Memos; no difference. Any help? I really need to import more than 255 characters. Is there a setting in here somewhere? The spreadsheet is too complex to export to a .CSV file, BTW. Also, "InputData" here is a named range. TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From bheid at appdevgrp.com Tue Jul 18 12:28:11 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 18 Jul 2006 13:28:11 -0400 Subject: [AccessD] [SPAM SUSPECT] Password Protected Database in a Bound Form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE2E2@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356DA@ADGSERVER> The bound form should be bound to linked tables, unless I am not understanding something. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, July 18, 2006 1:10 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Password Protected Database in a Bound Form Importance: Low Dear List: The back end has a password. Opening a recordset is no problem. But when I open a bound form I get the invalid password error because I obviously haven't told the form what the password is. How do I do that? The password is already in a global variable - if that helps. MTIA, Rocky Smolin From bchacc at san.rr.com Tue Jul 18 12:37:51 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 18 Jul 2006 10:37:51 -0700 Subject: [AccessD] [SPAM SUSPECT] Password Protected Database in a Bound Form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356DA@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356DA@ADGSERVER> Message-ID: <44BD1C6F.8090608@san.rr.com> Yeah. Bound for has a record source of tblSettlementWorksheet which is a linked table, but I put the password on after the tables were linked so that the DAO recordsets would require the password. Put a text box on the opening form to collect the password into a global variable. However, I just relinked the tables and now the form with the linked table as the record source works. Not sure I'm out of the woods here. But at least I'm moving again. Tnanks. Rocky Bobby Heid wrote: > The bound form should be bound to linked tables, unless I am not > understanding something. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Tuesday, July 18, 2006 1:10 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Password Protected Database in a Bound > Form > Importance: Low > > > Dear List: > > The back end has a password. Opening a recordset is no problem. But > when I open a bound form I get the invalid password error because I > obviously haven't told the form what the password is. How do I do > that? The password is already in a global variable - if that helps. > > MTIA, > > Rocky Smolin > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From Gustav at cactus.dk Tue Jul 18 12:46:46 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Jul 2006 19:46:46 +0200 Subject: [AccessD] CDOSYS Message-ID: Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max From bheid at appdevgrp.com Tue Jul 18 12:58:54 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 18 Jul 2006 13:58:54 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: [SPAM SUSPECT] Password Protected Database in a Bound Form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE2F7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356DB@ADGSERVER> If you refreshed the table links after changing the password, I think this might not have happened. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, July 18, 2006 1:38 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] Re: [AccessD] [SPAM SUSPECT] Password Protected Database in a Bound Form Importance: Low Yeah. Bound for has a record source of tblSettlementWorksheet which is a linked table, but I put the password on after the tables were linked so that the DAO recordsets would require the password. Put a text box on the opening form to collect the password into a global variable. However, I just relinked the tables and now the form with the linked table as the record source works. Not sure I'm out of the woods here. But at least I'm moving again. Tnanks. Rocky Bobby Heid wrote: > The bound form should be bound to linked tables, unless I am not > understanding something. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Tuesday, July 18, 2006 1:10 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Password Protected Database in a Bound > Form > Importance: Low > > > Dear List: > > The back end has a password. Opening a recordset is no problem. But > when I open a bound form I get the invalid password error because I > obviously haven't told the form what the password is. How do I do > that? The password is already in a global variable - if that helps. > > MTIA, > > Rocky Smolin From Jim.Hale at FleetPride.com Tue Jul 18 14:00:05 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 18 Jul 2006 14:00:05 -0500 Subject: [AccessD] Import more than 255 characters from Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB0@corp-es01.fleetpride.com> The fastest way is to link to the Excel sheet from within Access. The Excel sheet will show up as a table. Then write a query to populate or create the desired Access table. The query will recognize the Excel "field" as a memo field. HTH Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Tuesday, July 18, 2006 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Import more than 255 characters from Excel I have a memo field in an Access table, and it receives data from an imported Excel sheet. Unfortunately, the import cuts the length of the imported data to 255, since Access automatically considers it a Text field. Is there a way around this? I use the very simple line: DoCmd.TransferSpreadsheet acImport, 8, "Import01", strFileStuff, False, "InputData" I tried defining the table, "Import01", as filled with Memos; no difference. Any help? I really need to import more than 255 characters. Is there a setting in here somewhere? The spreadsheet is too complex to export to a .CSV file, BTW. Also, "InputData" here is a named range. TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From max at sherman.org.uk Tue Jul 18 15:07:18 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 18 Jul 2006 21:07:18 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aSEbicA Message-ID: <001401c6aaa5$c6a44d20$e26b1152@Server> Hi Gustav, 1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a web based Server. I can reply to these emails using Outlook and SMTP. I can also send these replies using CDOSYS (based on Marty's program) thus AVOIDING using Outlook and it's absurd security (which I bypass using ClickYes) but this is s.l.o.w. for large email groupings. 2. Within Outlook I can Set up an IMAP Email Account to retrieve email from a web based Server (web mail). I can reply to these emails from within Outlook which will also synchronize the emails with those sitting on the web server (web mail). What I CANNOT DO and what I would like to do is to send IMAP based emails without using Outlook and the reason is that there is nowhere within Marty's program to tell it to use SSL (which is a requirement of the server hosting the web mail) or to tell it which ports to use. I hope the above clarifies my needs. I apologize to all for any confusion and regret not having explained it properly in the first place. It would appear that there is no easy/cheap option here. Thanks Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 18 July 2006 18:47 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jul 18 15:30:39 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 13:30:39 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> References: <001401c6a994$abebd050$e26b1152@Server> <44BBF22A.1000101@shaw.ca> <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> Message-ID: <44BD44EF.1070304@shaw.ca> It really does happen with one of the bigger ISP's in Canada, with Shaw Cable, at least for Residential accounts. Haven't checked if Business accounts get access to a special server to get around this.. http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/ServiceDetails.htm half way down. "Note: For security reasons, POP3 and SMTP services cannot be accessed from non-Shaw Internet connections. However, Shaw email services can be accessed from any Internet connection using webmail.shaw.ca." In other words if you have a PDA or laptop with wireless internet access, you have to use a WebMail site to get and send email, no SMTP or POP3. You have to be behind a cable modem inside Shaw's domain to use SMTP or Pop3. Shaw is primarily a cable TV company, so they are not keen on phone access. They do have it available though. If you are wondering if your ISP does something like this, look through the forums at http://www.dslreports.com Stuart McLachlan wrote: >On 17 Jul 2006 at 13:25, MartyConnelly wrote: > > > >>One big problem is recent ISP security restrictions. >> Some cable ISP's will not allow an IP from outside their >>domain to access a POP3 server, >> >> > >I've seen this with SMTP, but never with POP3. Who is doing this? >What is the rationale for it? > > > >>POP3 access wont work at all with DSL or dial-up connections. >> >> > >Huh? If that were true, most internet subscribers world wide would not >have access to their email! > > > >>Some ISP's don't allow any connection at all. >> >> >> > >I can see it know: > >I'd like to sign up for an email account >OK, that'll be $10 per month, thanks > >Here's my money, how do I connect to my mailbox? >Oh, you want a connection? That requires our Connection Account which is >$100 per month. With our $10 account, you get an email address, but there >is no way to read the mail that is put in it. > > > > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Jul 18 15:56:38 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 13:56:38 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <002701c6aa8d$5b68bfe0$e26b1152@Server> References: <002701c6aa8d$5b68bfe0$e26b1152@Server> Message-ID: <44BD4B06.5040508@shaw.ca> If you want to turn on SSL with the CDO code you got. in the configuration section With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With just add this line .Item(strschema & "smtpusessl") = True 'Use SSL for the connection ( True or False) More examples here. http://www.paulsadowski.com/WSH/cdo.htm#LoadFromFile Max Home wrote: >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 17 July 2006 21:25 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >I don't remember using any POP3 in code, >it is a different protocol than SMTP. >Perhaps you could repost the code. > >One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their >domain to access a POP3 server, >POP3 access wont work at all with DSL or dial-up connections. >Some ISP's don't allow any connection at all. > >To check yours, you can try to access POP3 via Telnet >Try it on rarely used Email account. > >You could try this to get into POP3 port 110 > but it may take 10 minutes to activate. > >telnet shawmail.vc.shawcable.net 110 > >Then use valid commands eg. 'user', >'pass', 'list', 'top', & 'quit and maybe "RETR" > >Here are some old samples of VB code >to get at POP3. Pretty basic and they might not >handle file attachments etc. They generally all >use Win Sockets. > >Microsoft Access Email FAQ >http://www.granite.ab.ca/access/email.htm > >Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book >Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. >ISBN: 1-55558-212-5 > >http://www.winsite.com/bin/Info?500000022279 > >or Access email via winsock.dll in German >This only sends email via SMTP or POP3 server >http://www.freeaccess.de/downloaddetails.asp?id=19 > >processing mail from a pop3 mailbox a semi freebie dll > http://www.interlog.com/~tcharron/getmail.html > > >Articles on using WinSockets in VB >http://www.vbip.com/winsock-api/ >http://www.vbip.com/winsock-api/connect/connect-01.asp > > > > >Max Home wrote: > > > >>Hi Marty, >>Don't know if this is possible, but within your program you have it set up >>to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >>the question that is in the Outlook Advanced Tab = "This Server Requires an >>Encrypted Connection (SSL)" that is present in Outlook from where it works >>fine. >> >>It would be nice if I could use it to send emails via the domain as it were >>webmail. I can do it using Outlook, but would prefer to miss out Outlook >> >> >if > > >>possible. >> >>Can you advise please? >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >>Sent: 13 July 2006 19:31 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDOSYS >> >>Great reply. Thanks for all the pointers, Marty >> >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: 13 July 2006 19:10 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] CDOSYS >> >>CDOSYS does not allow to read e-mail, only to send them. >>While CDOSYS doesn't allow you to pull mail via POP3 or >>IMAP4, it can load a raw MIME message as stream >>for example from an .EML file saved to your hard disc. >>This can get complicated really quickly . So it is possible >>but I can think of better ways of spending the summer. >> >>Or you could use a dotNet DLL to call POP3 via tcpconnection class >>See 8.13 >>http://www.microsoft.com/mspress/books/sampchap/6436a.asp >> >>Pop3 controls callable from Access; a lot out there generally work >>through sockets >> >>Freebies >> >>ZaksPop3 Java based. >>http://www.zaks.demon.co.uk/code/cpts/pop/index.html >> >>Commercial >>http://www.quiksoft.com/newsletter/issue003/ >> >>GETMAIL for Windows free for personal use >> >>http://www.interlog.com/~tcharron/getmail.html >> >>Max Home wrote: >> >> >> >> >> >>>Hi, Marty Connelly, >>> >>>You kindly posted some code for using CDOSYS to send Emails. On the >>> >>> >example > > >>>form, you had some fields for receiving emails via Pop3. I was wondering >>>Marty if you (or anybody) had any code for these options and also if it >>>could handle IMapi accounts from a web mail account? >>> >>>Any help would be appreciated. >>> >>>Regards >>>Max >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Tue Jul 18 15:59:22 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 18 Jul 2006 20:59:22 +0000 Subject: [AccessD] Import Large delimited file with special characters In-Reply-To: <44BD44EF.1070304@shaw.ca> Message-ID: Hello All, I've been back and forth with this issue. I think some here helped me with this years ago. Importing a large delimited text file...that has a text/memo/blob field. I'm running into CR or LF in the blob. Is there a way to remove these characters...I seem to remember someone telling a way to loop through and replace these characters...but I can't find it. Any have ideas? Thanks, Mark From DWUTKA at marlow.com Tue Jul 18 16:09:36 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 18 Jul 2006 16:09:36 -0500 Subject: [AccessD] Import Large delimited file with special character s Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A365@main2.marlow.com> The Replace() function?? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, July 18, 2006 3:59 PM To: accessd at databaseadvisors.com Subject: [AccessD] Import Large delimited file with special characters Hello All, I've been back and forth with this issue. I think some here helped me with this years ago. Importing a large delimited text file...that has a text/memo/blob field. I'm running into CR or LF in the blob. Is there a way to remove these characters...I seem to remember someone telling a way to loop through and replace these characters...but I can't find it. Any have ideas? Thanks, Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jul 18 16:09:17 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 14:09:17 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <002701c6aa8d$5b68bfe0$e26b1152@Server> References: <002701c6aa8d$5b68bfe0$e26b1152@Server> Message-ID: <44BD4DFD.9010904@shaw.ca> I guess a little analogy is needed. SMTP is equivalent to a postal worker, carrying a letter from point to point, making sure it gets put into the right mailbag, flown to the right city, and so on -- everything from the first postbox to the time it reaches your apartment mailbox in the foyer. POP3 is like sending your kid down with the mailbox key to collect your mail from the foyer. IMAP is an improvement on POP3. It means you can leave your messages on their server OR download them to your computer. This is great if you are short on disk space or need to check your mail from multiple locations. You can set up any email client (i.e. Outlook Express, Pine, etc.) to check the account or you can use the web-based version when you are away from home. IMAP also allows storage in heirchical folders. see http://www.imap.org By the way some POP3 servers enforce automatic deletion of messages once downloaded, there is a command to stop this but it may not be activated. eg. Google's POP3 service is not RFC compliant which means as soon as you read a message from it, not matter what you do, that message will disappear from the message queue. I can't wait for the confusion to start on IMAP and MAPI ; Max Home wrote: >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 17 July 2006 21:25 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >I don't remember using any POP3 in code, >it is a different protocol than SMTP. >Perhaps you could repost the code. > >One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their >domain to access a POP3 server, >POP3 access wont work at all with DSL or dial-up connections. >Some ISP's don't allow any connection at all. > >To check yours, you can try to access POP3 via Telnet >Try it on rarely used Email account. > >You could try this to get into POP3 port 110 > but it may take 10 minutes to activate. > >telnet shawmail.vc.shawcable.net 110 > >Then use valid commands eg. 'user', >'pass', 'list', 'top', & 'quit and maybe "RETR" > >Here are some old samples of VB code >to get at POP3. Pretty basic and they might not >handle file attachments etc. They generally all >use Win Sockets. > >Microsoft Access Email FAQ >http://www.granite.ab.ca/access/email.htm > >Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book >Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. >ISBN: 1-55558-212-5 > >http://www.winsite.com/bin/Info?500000022279 > >or Access email via winsock.dll in German >This only sends email via SMTP or POP3 server >http://www.freeaccess.de/downloaddetails.asp?id=19 > >processing mail from a pop3 mailbox a semi freebie dll > http://www.interlog.com/~tcharron/getmail.html > > >Articles on using WinSockets in VB >http://www.vbip.com/winsock-api/ >http://www.vbip.com/winsock-api/connect/connect-01.asp > > > > >Max Home wrote: > > > >>Hi Marty, >>Don't know if this is possible, but within your program you have it set up >>to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >>the question that is in the Outlook Advanced Tab = "This Server Requires an >>Encrypted Connection (SSL)" that is present in Outlook from where it works >>fine. >> >>It would be nice if I could use it to send emails via the domain as it were >>webmail. I can do it using Outlook, but would prefer to miss out Outlook >> >> >if > > >>possible. >> >>Can you advise please? >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >>Sent: 13 July 2006 19:31 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDOSYS >> >>Great reply. Thanks for all the pointers, Marty >> >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: 13 July 2006 19:10 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] CDOSYS >> >>CDOSYS does not allow to read e-mail, only to send them. >>While CDOSYS doesn't allow you to pull mail via POP3 or >>IMAP4, it can load a raw MIME message as stream >>for example from an .EML file saved to your hard disc. >>This can get complicated really quickly . So it is possible >>but I can think of better ways of spending the summer. >> >>Or you could use a dotNet DLL to call POP3 via tcpconnection class >>See 8.13 >>http://www.microsoft.com/mspress/books/sampchap/6436a.asp >> >>Pop3 controls callable from Access; a lot out there generally work >>through sockets >> >>Freebies >> >>ZaksPop3 Java based. >>http://www.zaks.demon.co.uk/code/cpts/pop/index.html >> >>Commercial >>http://www.quiksoft.com/newsletter/issue003/ >> >>GETMAIL for Windows free for personal use >> >>http://www.interlog.com/~tcharron/getmail.html >> >>Max Home wrote: >> >> >> >> >> >>>Hi, Marty Connelly, >>> >>>You kindly posted some code for using CDOSYS to send Emails. On the >>> >>> >example > > >>>form, you had some fields for receiving emails via Pop3. I was wondering >>>Marty if you (or anybody) had any code for these options and also if it >>>could handle IMapi accounts from a web mail account? >>> >>>Any help would be appreciated. >>> >>>Regards >>>Max >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Tue Jul 18 16:35:17 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 18 Jul 2006 21:35:17 +0000 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A365@main2.marlow.com> Message-ID: Thanks Drew, ....but the issue would be 'How do you tell the right from the wrong? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 16:09:36 -0500 > >The Replace() function?? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Tuesday, July 18, 2006 3:59 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Import Large delimited file with special characters > >Hello All, > >I've been back and forth with this issue. I think some here helped me with >this years ago. Importing a large delimited text file...that has a >text/memo/blob field. I'm running into CR or LF in the blob. Is there a >way to remove these characters...I seem to remember someone telling a way >to > >loop through and replace these characters...but I can't find it. > >Any have ideas? > >Thanks, > >Mark > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From max at sherman.org.uk Tue Jul 18 16:46:24 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 18 Jul 2006 22:46:24 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aSkcScA Message-ID: <001f01c6aab3$9edf9ac0$e26b1152@Server> Ummmm. What is the difference between imap and mapi? Thought it was just a missplepping . I must confess (as if you haven't guessed, I am totally confused as to why CDOSYS does not support the imap requirements - Outlook does, but I don't want to use it if possible. Regards Max Ps. Googlemail.com allows you to leave it on their server. Just tick the box accordingly. This is a great enhancement over gmail.com imo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 18 July 2006 22:09 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS I guess a little analogy is needed. SMTP is equivalent to a postal worker, carrying a letter from point to point, making sure it gets put into the right mailbag, flown to the right city, and so on -- everything from the first postbox to the time it reaches your apartment mailbox in the foyer. POP3 is like sending your kid down with the mailbox key to collect your mail from the foyer. IMAP is an improvement on POP3. It means you can leave your messages on their server OR download them to your computer. This is great if you are short on disk space or need to check your mail from multiple locations. You can set up any email client (i.e. Outlook Express, Pine, etc.) to check the account or you can use the web-based version when you are away from home. IMAP also allows storage in heirchical folders. see http://www.imap.org By the way some POP3 servers enforce automatic deletion of messages once downloaded, there is a command to stop this but it may not be activated. eg. Google's POP3 service is not RFC compliant which means as soon as you read a message from it, not matter what you do, that message will disappear from the message queue. I can't wait for the confusion to start on IMAP and MAPI ; Max Home wrote: >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 17 July 2006 21:25 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >I don't remember using any POP3 in code, >it is a different protocol than SMTP. >Perhaps you could repost the code. > >One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their >domain to access a POP3 server, >POP3 access wont work at all with DSL or dial-up connections. >Some ISP's don't allow any connection at all. > >To check yours, you can try to access POP3 via Telnet >Try it on rarely used Email account. > >You could try this to get into POP3 port 110 > but it may take 10 minutes to activate. > >telnet shawmail.vc.shawcable.net 110 > >Then use valid commands eg. 'user', >'pass', 'list', 'top', & 'quit and maybe "RETR" > >Here are some old samples of VB code >to get at POP3. Pretty basic and they might not >handle file attachments etc. They generally all >use Win Sockets. > >Microsoft Access Email FAQ >http://www.granite.ab.ca/access/email.htm > >Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book >Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. >ISBN: 1-55558-212-5 > >http://www.winsite.com/bin/Info?500000022279 > >or Access email via winsock.dll in German >This only sends email via SMTP or POP3 server >http://www.freeaccess.de/downloaddetails.asp?id=19 > >processing mail from a pop3 mailbox a semi freebie dll > http://www.interlog.com/~tcharron/getmail.html > > >Articles on using WinSockets in VB >http://www.vbip.com/winsock-api/ >http://www.vbip.com/winsock-api/connect/connect-01.asp > > > > >Max Home wrote: > > > >>Hi Marty, >>Don't know if this is possible, but within your program you have it set up >>to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >>the question that is in the Outlook Advanced Tab = "This Server Requires an >>Encrypted Connection (SSL)" that is present in Outlook from where it works >>fine. >> >>It would be nice if I could use it to send emails via the domain as it were >>webmail. I can do it using Outlook, but would prefer to miss out Outlook >> >> >if > > >>possible. >> >>Can you advise please? >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >>Sent: 13 July 2006 19:31 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDOSYS >> >>Great reply. Thanks for all the pointers, Marty >> >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: 13 July 2006 19:10 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] CDOSYS >> >>CDOSYS does not allow to read e-mail, only to send them. >>While CDOSYS doesn't allow you to pull mail via POP3 or >>IMAP4, it can load a raw MIME message as stream >>for example from an .EML file saved to your hard disc. >>This can get complicated really quickly . So it is possible >>but I can think of better ways of spending the summer. >> >>Or you could use a dotNet DLL to call POP3 via tcpconnection class >>See 8.13 >>http://www.microsoft.com/mspress/books/sampchap/6436a.asp >> >>Pop3 controls callable from Access; a lot out there generally work >>through sockets >> >>Freebies >> >>ZaksPop3 Java based. >>http://www.zaks.demon.co.uk/code/cpts/pop/index.html >> >>Commercial >>http://www.quiksoft.com/newsletter/issue003/ >> >>GETMAIL for Windows free for personal use >> >>http://www.interlog.com/~tcharron/getmail.html >> >>Max Home wrote: >> >> >> >> >> >>>Hi, Marty Connelly, >>> >>>You kindly posted some code for using CDOSYS to send Emails. On the >>> >>> >example > > >>>form, you had some fields for receiving emails via Pop3. I was wondering >>>Marty if you (or anybody) had any code for these options and also if it >>>could handle IMapi accounts from a web mail account? >>> >>>Any help would be appreciated. >>> >>>Regards >>>Max >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Jul 18 16:54:04 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 19 Jul 2006 07:54:04 +1000 Subject: [AccessD] CDOSYS In-Reply-To: <44BD44EF.1070304@shaw.ca> References: <001401c6a994$abebd050$e26b1152@Server>, <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg>, <44BD44EF.1070304@shaw.ca> Message-ID: <44BDE51C.3758.4338F91@stuart.lexacorp.com.pg> On 18 Jul 2006 at 13:30, MartyConnelly wrote: > It really does happen with one of the bigger ISP's in Canada, with Shaw > Cable, at least for Residential accounts. Haven't checked if Business > accounts get access to a special server to get around this.. > > http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/Serv > iceDetails.htm > > half way down. > "Note: For security reasons, POP3 and SMTP services cannot be accessed from > non-Shaw Internet connections. However, Shaw email services can be accessed > from any Internet connection using webmail.shaw.ca." > > In other words if you have a PDA or laptop with wireless internet access, > you have to use a WebMail site to get and send email, no SMTP or POP3. You > have to be behind a cable modem inside Shaw's domain to use SMTP or Pop3. > > Shaw is primarily a cable TV company, so they are not keen on phone access. > They do have it available though. > If I was in Canada, I'd certainly not use Shaw :-) -- Stuart From stuart at lexacorp.com.pg Tue Jul 18 17:10:36 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 19 Jul 2006 08:10:36 +1000 Subject: [AccessD] CDOSYS In-Reply-To: <44BD4DFD.9010904@shaw.ca> References: <002701c6aa8d$5b68bfe0$e26b1152@Server>, <44BD4DFD.9010904@shaw.ca> Message-ID: <44BDE8FC.11700.442B281@stuart.lexacorp.com.pg> On 18 Jul 2006 at 14:09, MartyConnelly wrote: > By the way some POP3 servers enforce automatic deletion of messages once > downloaded, there is a command to stop this but it may not be activated. eg. Not quite. The way a POP3 session is supposed to work is that the server MUST NOT delete a message unless. 1. It receives a DELE command on that message and 2. It receives a QUIT instruction at the end of the POP3 session. However RFC 1939 specifically makes allowance for site policies such as "messages may only be downloaded once from the server, and are deleted after this has been accomplished." There is no provision in the RFC for this sort of thing to be a user switched option. In this case, they still should note be deleted unless the session is properly terminated with a QUIT command, so if you could set up your mail client not to issue s QUIT or you always broke the connection before the session was complete, you could theoretically get around the site policy .... > I can't wait for the confusion to start on IMAP and MAPI ; VBG -- Stuart From martyconnelly at shaw.ca Tue Jul 18 17:19:09 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 15:19:09 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <44BDE51C.3758.4338F91@stuart.lexacorp.com.pg> References: <001401c6a994$abebd050$e26b1152@Server> <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> <44BD44EF.1070304@shaw.ca> <44BDE51C.3758.4338F91@stuart.lexacorp.com.pg> Message-ID: <44BD5E5D.9030301@shaw.ca> It is only $24.95 a month for 5-7 mbps download speeds assuming you are already getting cable tv. Stuart McLachlan wrote: >On 18 Jul 2006 at 13:30, MartyConnelly wrote: > > > >>It really does happen with one of the bigger ISP's in Canada, with Shaw >>Cable, at least for Residential accounts. Haven't checked if Business >>accounts get access to a special server to get around this.. >> >>http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/Serv >>iceDetails.htm >> >>half way down. >>"Note: For security reasons, POP3 and SMTP services cannot be accessed from >>non-Shaw Internet connections. However, Shaw email services can be accessed >>from any Internet connection using webmail.shaw.ca." >> >>In other words if you have a PDA or laptop with wireless internet access, >>you have to use a WebMail site to get and send email, no SMTP or POP3. You >>have to be behind a cable modem inside Shaw's domain to use SMTP or Pop3. >> >>Shaw is primarily a cable TV company, so they are not keen on phone access. >>They do have it available though. >> >> >> > >If I was in Canada, I'd certainly not use Shaw :-) > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Jul 18 17:25:46 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 15:25:46 -0700 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: References: Message-ID: <44BD5FEA.1070102@shaw.ca> strAddress =Replace (strAddress, Chr(13) & Chr(10), "") or if you want a space strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") Mark A Matte wrote: >Thanks Drew, > >....but the issue would be 'How do you tell the right from the wrong? > >Thanks, > >Mark > > > > >>From: DWUTKA at marlow.com >>Reply-To: Access Developers discussion and problem >>solving >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] Import Large delimited file with special character s >>Date: Tue, 18 Jul 2006 16:09:36 -0500 >> >>The Replace() function?? >> >>Drew >> >>-----Original Message----- >>From: Mark A Matte [mailto:markamatte at hotmail.com] >>Sent: Tuesday, July 18, 2006 3:59 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Import Large delimited file with special characters >> >>Hello All, >> >>I've been back and forth with this issue. I think some here helped me with >>this years ago. Importing a large delimited text file...that has a >>text/memo/blob field. I'm running into CR or LF in the blob. Is there a >>way to remove these characters...I seem to remember someone telling a way >>to >> >>loop through and replace these characters...but I can't find it. >> >>Any have ideas? >> >>Thanks, >> >>Mark >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From connie.kamrowski at dpi.nsw.gov.au Tue Jul 18 19:40:19 2006 From: connie.kamrowski at dpi.nsw.gov.au (connie.kamrowski at dpi.nsw.gov.au) Date: Wed, 19 Jul 2006 10:40:19 +1000 Subject: [AccessD] Citrix and project In-Reply-To: Message-ID: Folks, I have an application which is deployed on a Citrix Metaframe server. When some of the users enter the application it gives a Project or Library not found error on startup. But only for some of the users. Any ideas? Interestingly if a user who can use it on one machine logs in on another it gives the error, even though Citrix should not be looking at the local machine. Regards, Connie Kamrowski Senior Software Support Analyst Information Technology NSW Department of Primary Industries Orange Ph: 02 6391 3250 Fax: 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation. From wdhindman at dejpolsystems.com Tue Jul 18 19:48:08 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 18 Jul 2006 20:48:08 -0400 Subject: [AccessD] Citrix and project References: Message-ID: <000301c6aacd$01a1b3f0$6e9ba545@50NM721> ...is your citrix installed with multiple user directories on the server? ...that would explain your symptoms. William ----- Original Message ----- From: To: Sent: Tuesday, July 18, 2006 8:40 PM Subject: [AccessD] Citrix and project > Folks, > > I have an application which is deployed on a Citrix Metaframe server. When > some of the users enter the application it gives a Project or Library not > found error on startup. But only for some of the users. Any ideas? > > Interestingly if a user who can use it on one machine logs in on another > it gives the error, even though Citrix should not be looking at the local > machine. > > Regards, > > Connie Kamrowski > > Senior Software Support Analyst > Information Technology > NSW Department of Primary Industries > Orange > > Ph: 02 6391 3250 > Fax: 02 6391 3290 > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient, please > delete it and notify the sender. Views expressed in this message are those > of the individual sender, and are not necessarily the views of their > organisation. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dajomigo at tpg.com.au Tue Jul 18 23:57:12 2006 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Wed, 19 Jul 2006 14:57:12 +1000 Subject: [AccessD] Check box field on continuous form In-Reply-To: References: Message-ID: <6.2.1.2.2.20060719125518.043efda0@mail.tpg.com.au> I am working on a database for a video library. I am having some difficulty with a form for recording over-the-phone movie renewals. i have included a field in the table (tblHires) to show if the movie is to be renewed (this is a Yes/No field type) and the form has a subform set as a continuous form. The subform is based on the following query: SELECT tblHires.HireID, tblHires.member, tblHires.title, tblHires.outDate, tblHires.dueDate, tblHires.over, tblHires.RentalFee, tblTitles.name, IIf((Date()-tblHires!dueDate)>1,(Date()-tblHires!dueDate)*tblRentalType!LateFeeRate,0) AS ChargesDue, tblHires.DateReturned, IIf(tblHires!dueDate>Date(),False,True) AS RenewStatus, tblHires.Renew, tblRentalType.DaysDueBack, tblRentalType.NewRelease, tblRentalType.RentalFee AS DefaultRentalFee FROM (tblRentalType INNER JOIN tblTitles ON tblRentalType.RentalTypeID = tblTitles.RentalTypeID) INNER JOIN tblHires ON tblTitles.tapeNumber = tblHires.title WHERE (((tblHires.member)=[Forms]![frmHire_New_Members_Extend]![cboSelectMember]) AND ((tblHires.DateReturned) Is Null)); I want the Renew field to be true for all titles that may need to be renewed (that is: not yet returned and dueDate Message-ID: Check the paths on your references. They must be valid when the user is logged in under Citrix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of connie.kamrowski at dpi.nsw.gov.au Sent: Tuesday, July 18, 2006 8:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Citrix and project Folks, I have an application which is deployed on a Citrix Metaframe server. When some of the users enter the application it gives a Project or Library not found error on startup. But only for some of the users. Any ideas? Interestingly if a user who can use it on one machine logs in on another it gives the error, even though Citrix should not be looking at the local machine. Regards, Connie Kamrowski Senior Software Support Analyst Information Technology NSW Department of Primary Industries Orange Ph: 02 6391 3250 Fax: 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Wed Jul 19 07:08:29 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 19 Jul 2006 08:08:29 -0400 Subject: [AccessD] Accepting Objects In-Reply-To: Message-ID: On a user submission form, I want the user to be able to place a copy of whatever object they want onto the form. That is, if they have a picture, Excel workbook, etc. for documentation, they should be able to copy it and paste it into a box on the form. I thought I remembered doing this in past years, but it's evading me now. Any help would be appreciated. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From prosoft6 at hotmail.com Wed Jul 19 07:09:07 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 08:09:07 -0400 Subject: [AccessD] OT: VPN Connection to another site In-Reply-To: Message-ID: Wondering if anyone has found a way around this..........have checked with local IT people who are very knowledgeable and they tell me that they have not. Have a client who is connecting to several sites to collect info. Their ip address of their server happens to be the same as the ip address of the server they are connecting to. This causes a problem because they cannot keep both la ocal connnection and a vpn connection open due to the ip address conflict. Has anyone run into this, and if so, how did you solve it? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From bheid at appdevgrp.com Wed Jul 19 08:53:12 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 19 Jul 2006 09:53:12 -0400 Subject: [AccessD] [SPAM SUSPECT] Check box field on continuous form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE3C1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356E5@ADGSERVER> David, Why not run an update query when opening the form (or even once when the program starts) that updates this field based upon the current date. That way, you can just display it as is. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Wednesday, July 19, 2006 12:57 AM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Check box field on continuous form Importance: Low I am working on a database for a video library. I am having some difficulty with a form for recording over-the-phone movie renewals. i have included a field in the table (tblHires) to show if the movie is to be renewed (this is a Yes/No field type) and the form has a subform set as a continuous form. The subform is based on the following query: SELECT tblHires.HireID, tblHires.member, tblHires.title, tblHires.outDate, tblHires.dueDate, tblHires.over, tblHires.RentalFee, tblTitles.name, IIf((Date()-tblHires!dueDate)>1,(Date()-tblHires!dueDate)*tblRentalType!Late FeeRate,0) AS ChargesDue, tblHires.DateReturned, IIf(tblHires!dueDate>Date(),False,True) AS RenewStatus, tblHires.Renew, tblRentalType.DaysDueBack, tblRentalType.NewRelease, tblRentalType.RentalFee AS DefaultRentalFee FROM (tblRentalType INNER JOIN tblTitles ON tblRentalType.RentalTypeID = tblTitles.RentalTypeID) INNER JOIN tblHires ON tblTitles.tapeNumber = tblHires.title WHERE (((tblHires.member)=[Forms]![frmHire_New_Members_Extend]![cboSelectMember]) AND ((tblHires.DateReturned) Is Null)); I want the Renew field to be true for all titles that may need to be renewed (that is: not yet returned and dueDate Someone has to change their IP address. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 7:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: VPN Connection to another site Wondering if anyone has found a way around this..........have checked with local IT people who are very knowledgeable and they tell me that they have not. Have a client who is connecting to several sites to collect info. Their ip address of their server happens to be the same as the ip address of the server they are connecting to. This causes a problem because they cannot keep both la ocal connnection and a vpn connection open due to the ip address conflict. Has anyone run into this, and if so, how did you solve it? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Jul 19 10:14:04 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Jul 2006 17:14:04 +0200 Subject: [AccessD] CDOSYS Message-ID: Hi Max First, forget anything about MAPI ... they are only joking and yes, e-mail handling can be quite confusing. Then, SMTP is really what you need. The only but important issue you may experience is, that many corporations block outgoing mail from workstations. In those cases you'll need to go through the corporate SMTP server - not hard but not automatically set up for you. Again, the Chilkat component may do much of the dirty work for you: http://www.chilkatsoft.com/email-activex.asp It is not free (about USD 100) but it will save you hours of hard work. CDOSYS is free and already installed on most Windows machines but its way of handling mail in an ADO style is hard to comprehend and requires twice as much code as for any decent control of which Chilkat is one. Note that sent SMTP e-mail is never stored except at the final destination. If the sender wish to save a copy (like most e-mail clients do as default), it is up to the sender (the e-mail client) to do this. A very simple method is to bcc a copy to a "Sent" account. /gustav >>> max at sherman.org.uk 18-07-2006 22:07:18 >>> Hi Gustav, 1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a web based Server. I can reply to these emails using Outlook and SMTP. I can also send these replies using CDOSYS (based on Marty's program) thus AVOIDING using Outlook and it's absurd security (which I bypass using ClickYes) but this is s.l.o.w. for large email groupings. 2. Within Outlook I can Set up an IMAP Email Account to retrieve email from a web based Server (web mail). I can reply to these emails from within Outlook which will also synchronize the emails with those sitting on the web server (web mail). What I CANNOT DO and what I would like to do is to send IMAP based emails without using Outlook and the reason is that there is nowhere within Marty's program to tell it to use SSL (which is a requirement of the server hosting the web mail) or to tell it which ports to use. I hope the above clarifies my needs. I apologize to all for any confusion and regret not having explained it properly in the first place. It would appear that there is no easy/cheap option here. Thanks Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 18 July 2006 18:47 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max From cfoust at infostatsystems.com Wed Jul 19 10:21:12 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Jul 2006 08:21:12 -0700 Subject: [AccessD] Accepting Objects In-Reply-To: Message-ID: Are you talking about storing the object in the database or just storing a link to it? You can use a frame control to hold the object. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, July 19, 2006 5:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Accepting Objects On a user submission form, I want the user to be able to place a copy of whatever object they want onto the form. That is, if they have a picture, Excel workbook, etc. for documentation, they should be able to copy it and paste it into a box on the form. I thought I remembered doing this in past years, but it's evading me now. Any help would be appreciated. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Jul 19 10:24:54 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 19 Jul 2006 15:24:54 +0000 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <44BD5FEA.1070102@shaw.ca> Message-ID: Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 19 10:29:25 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Jul 2006 08:29:25 -0700 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: Message-ID: Search for two of them together and replace them with one. That will clear out any extras. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 19, 2006 8:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import Large delimited file with special character s Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Jul 19 11:11:30 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 19 Jul 2006 12:11:30 -0400 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE44D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356E9@ADGSERVER> Or, you could use replace to get rid of them all, then use replace to replace each "." with "." & vbcrlf. This should work unless there are other periods in the text. Alternatively, do a find on each crlf, then check the character before the found crlf and see if it is a period, if it is, then skip the deletion of the crlf. Air code: i=instr(1,str,vbcrlf) do while i<>0 if i<>1 then 'if crlf is not the 1st chars if mid$(str,i-1)<>"." then str=left$(str,i-1) & right$(str,len(str)-i-1) 'I think the -1 will work end if else str=right$(str,len(str)-2) 'get all but 2st 2 chars since crlf at front end if i=instr(i,str,vbcrlf) loop Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, July 19, 2006 11:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Import Large delimited file with special character s Search for two of them together and replace them with one. That will clear out any extras. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 19, 2006 8:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import Large delimited file with special character s Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Jul 19 11:24:53 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 19 Jul 2006 12:24:53 -0400 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE45E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356EA@ADGSERVER> if mid$(str,i-1)<>"." then should read if mid$(str,i-1,1)<>"." then Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, July 19, 2006 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Import Large delimited file with special character s Or, you could use replace to get rid of them all, then use replace to replace each "." with "." & vbcrlf. This should work unless there are other periods in the text. Alternatively, do a find on each crlf, then check the character before the found crlf and see if it is a period, if it is, then skip the deletion of the crlf. Air code: i=instr(1,str,vbcrlf) do while i<>0 if i<>1 then 'if crlf is not the 1st chars if mid$(str,i-1)<>"." then str=left$(str,i-1) & right$(str,len(str)-i-1) 'I think the -1 will work end if else str=right$(str,len(str)-2) 'get all but 2st 2 chars since crlf at front end if i=instr(i,str,vbcrlf) loop Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, July 19, 2006 11:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Import Large delimited file with special character s Search for two of them together and replace them with one. That will clear out any extras. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 19, 2006 8:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import Large delimited file with special character s Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Jul 19 11:56:12 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 12:56:12 -0400 Subject: [AccessD] OT: VPN Connection to another site In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A39C@main2.marlow.com> Message-ID: I cant believe that there isn't a way around this. Drew, you are the fourth person I have asked. Hmmmmmm Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From max at sherman.org.uk Wed Jul 19 11:58:49 2006 From: max at sherman.org.uk (Max Home) Date: Wed, 19 Jul 2006 17:58:49 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQkfycA Message-ID: <004001c6ab54$9c350200$e26b1152@Server> Thank you Gustav, Would you know where I can get any documentation on CDOSYS. All I can seem to find are snippets of code but no overview or documentation. If it comes pre-installed with the OS, then presumably somebody at MS thought it might be needed but forget to let the un-Intelligentsia how to use it?? Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 July 2006 16:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max First, forget anything about MAPI ... they are only joking and yes, e-mail handling can be quite confusing. Then, SMTP is really what you need. The only but important issue you may experience is, that many corporations block outgoing mail from workstations. In those cases you'll need to go through the corporate SMTP server - not hard but not automatically set up for you. Again, the Chilkat component may do much of the dirty work for you: http://www.chilkatsoft.com/email-activex.asp It is not free (about USD 100) but it will save you hours of hard work. CDOSYS is free and already installed on most Windows machines but its way of handling mail in an ADO style is hard to comprehend and requires twice as much code as for any decent control of which Chilkat is one. Note that sent SMTP e-mail is never stored except at the final destination. If the sender wish to save a copy (like most e-mail clients do as default), it is up to the sender (the e-mail client) to do this. A very simple method is to bcc a copy to a "Sent" account. /gustav >>> max at sherman.org.uk 18-07-2006 22:07:18 >>> Hi Gustav, 1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a web based Server. I can reply to these emails using Outlook and SMTP. I can also send these replies using CDOSYS (based on Marty's program) thus AVOIDING using Outlook and it's absurd security (which I bypass using ClickYes) but this is s.l.o.w. for large email groupings. 2. Within Outlook I can Set up an IMAP Email Account to retrieve email from a web based Server (web mail). I can reply to these emails from within Outlook which will also synchronize the emails with those sitting on the web server (web mail). What I CANNOT DO and what I would like to do is to send IMAP based emails without using Outlook and the reason is that there is nowhere within Marty's program to tell it to use SSL (which is a requirement of the server hosting the web mail) or to tell it which ports to use. I hope the above clarifies my needs. I apologize to all for any confusion and regret not having explained it properly in the first place. It would appear that there is no easy/cheap option here. Thanks Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 18 July 2006 18:47 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Wed Jul 19 13:05:55 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 19 Jul 2006 14:05:55 -0400 Subject: [AccessD] VPN Connection to another site Message-ID: <1153332355.44be748389152@webmail.highstream.net> Julie, Come on, think about it. The idea of ip addresses are for them to be unique. Work around the stupid use of a duplicate, why? They need to change the IP address so they are not using the same one on 2 different servers and get on with life. Brick Wall Bang on brick wall with head to knock down OR Walk around brick wall Do the first one and all you will end up with is a bloody forehead and a bad headache. The second one is much easier on the body. :-) Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Wed, 19 Jul 2006 12:56:12 -0400 > From: "Julie Reardon-Taylor" > Subject: Re: [AccessD] OT: VPN Connection to another site > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > I cant believe that there isn't a way around this. Drew, you are the fourth > person I have asked. Hmmmmmm > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business From prosoft6 at hotmail.com Wed Jul 19 13:08:16 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 14:08:16 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <1153332355.44be748389152@webmail.highstream.net> Message-ID: No. That's not the point. The vpn is connecting to another business. The network may conflict again with another client. Am I then to change the ip's all over again? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From prosoft6 at hotmail.com Wed Jul 19 13:09:43 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 14:09:43 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <1153332355.44be748389152@webmail.highstream.net> Message-ID: You are missing the point Stewart. This office connections to many different clients. When they pick up a new client, how do I know that the new clients ip addresses won't conflict. I will find a way around this and let you know how to do it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From martyconnelly at shaw.ca Wed Jul 19 13:34:16 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Jul 2006 11:34:16 -0700 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: References: Message-ID: <44BE7B28.5030905@shaw.ca> I don't know what generated the original text but I am just wondering if you have a mixture of hard and soft carriage returns. This is just a stab in the dark A hard return vbcrlf is like a word paragraph mark. to enter via Access on a form you press Ctrl Enter, A soft return would appear as a black rectangle when displayed on a form in a memo field. you might want to check if you have vbCrLf = chr(13)+ chr(10) or vbCr = chr(13) UPDATE tblMemo SET tblMemo.TestMemo = Replace ([TestMemo],Chr(13) & Chr(10),"***"); then UPDATE tblMemo SET tblMemo.TestMemo = Replace ([TestMemo],Chr(13),"$$$"); Mark A Matte wrote: >Thanks Marty...but not all of the CR and LF need to be replaced. There >still needs to be one at the end of each line. > > > > > > >>From: MartyConnelly >>Reply-To: Access Developers discussion and problem >>solving >>To: Access Developers discussion and problem >>solving >>Subject: Re: [AccessD] Import Large delimited file with special character s >>Date: Tue, 18 Jul 2006 15:25:46 -0700 >> >> strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >>or if you want a space >> strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") >> >>Mark A Matte wrote: >> >> >> >>>Thanks Drew, >>> >>>....but the issue would be 'How do you tell the right from the wrong? >>> >>>Thanks, >>> >>>Mark >>> >>> >>> >>> >>> >>> >>>>From: DWUTKA at marlow.com >>>>Reply-To: Access Developers discussion and problem >>>>solving >>>>To: accessd at databaseadvisors.com >>>>Subject: Re: [AccessD] Import Large delimited file with special >>>> >>>> >>character s >> >> >>>>Date: Tue, 18 Jul 2006 16:09:36 -0500 >>>> >>>>The Replace() function?? >>>> >>>>Drew >>>> >>>>-----Original Message----- >>>>From: Mark A Matte [mailto:markamatte at hotmail.com] >>>>Sent: Tuesday, July 18, 2006 3:59 PM >>>>To: accessd at databaseadvisors.com >>>>Subject: [AccessD] Import Large delimited file with special characters >>>> >>>>Hello All, >>>> >>>>I've been back and forth with this issue. I think some here helped me >>>> >>>> >>with >> >> >>>>this years ago. Importing a large delimited text file...that has a >>>>text/memo/blob field. I'm running into CR or LF in the blob. Is there >>>> >>>> >>a >> >> >>>>way to remove these characters...I seem to remember someone telling a >>>> >>>> >>way >> >> >>>>to >>>> >>>>loop through and replace these characters...but I can't find it. >>>> >>>>Any have ideas? >>>> >>>>Thanks, >>>> >>>>Mark >>>> >>>> >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From darsant at gmail.com Wed Jul 19 13:42:29 2006 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 19 Jul 2006 13:42:29 -0500 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <1153332355.44be748389152@webmail.highstream.net> Message-ID: <53c8e05a0607191142w29768601yda756d8320ec9251@mail.gmail.com> The short answer is: Change the business IP address to a non-common unused subnet. Otherwise you'll continue to have conflicts. But there are enough subnets in the private range that if you avoid the common router subnets, you'll eliminate 99.9% of your conflicts. Go with 192.168.214.X The long answer: You could technically build your own router that would spoof the IP Addresses from the host network. It would reroute external --> internal packets to a fake unused subnet, so the client would see your computers as the fake address. In return, it would spoof the external IP addresses while inside your network to some unused fake subnet. So to a client, a computer at 192.168.1.100 may appear as 10.0.10.100. However, once it hits the router it would properly adjust the packet. To your network, a client computer woudl appear as 10.0.12.100. However, once it hit the router it would adjusted to 192.168.1.100 for the client and routed properly. However, this is severely overkill and would require a large time investment, and still be prone to breaking if anyone connected from the unused subnets. Unless your clients want to talk to each other through VPN from your office, it's silly not to change your internal IPs to something rarely used, and then deal with the edge case when it comes up (if ever). Pick from any of the below: Start 192.168.0.0 - 192.168.255.255 172.16.0.0 - 172.31.255.255 10.0.0.0 - 10.255.255.255 Although I'd avoid 192.168.0.X and 192.168.1.X because they are the defaults on just about anything. How about you set up your network as 192.168.214.X? I only get 16 hits on google for that subnet range, and only 3 newsgroup entries, so it seems highly unused. Josh On 7/19/06, Julie Reardon-Taylor wrote: > No. That's not the point. The vpn is connecting to another business. The > network may conflict again with another client. Am I then to change the > ip's all over again? -- "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From martyconnelly at shaw.ca Wed Jul 19 13:44:22 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Jul 2006 11:44:22 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <004001c6ab54$9c350200$e26b1152@Server> References: <004001c6ab54$9c350200$e26b1152@Server> Message-ID: <44BE7D86.5010902@shaw.ca> Microsoft Collaboration Data Objects 2.0 CDOSys http://support.microsoft.com/?scid=ph;en-us;6384 and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_techsel_tech_1.asp However you have to grok the various flavours of CDO, I think you only want to use CDOSys Relationship between 1.x CDO Libraries and CDOSYS.DLL http://support.microsoft.com/?kbid=195683 Why? CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement for CDO (1.x), they can be used on the same system concurrently, if required. If a program or script needs to work with messaging objects using Microsoft Exchange Server as well as the SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, 1.21) Library, the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) Library, and the CDO for Windows 2000 (CDOSYS) Library. An application running on an Automation controller such as Visual Basic can call all these libraries and coordinate their activities. Max Home wrote: >Thank you Gustav, >Would you know where I can get any documentation on CDOSYS. All I can seem >to find are snippets of code but no overview or documentation. If it comes >pre-installed with the OS, then presumably somebody at MS thought it might >be needed but forget to let the un-Intelligentsia how to use it?? > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 19 July 2006 16:14 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >First, forget anything about MAPI ... they are only joking and yes, e-mail >handling can be quite confusing. > >Then, SMTP is really what you need. The only but important issue you may >experience is, that many corporations block outgoing mail from workstations. >In those cases you'll need to go through the corporate SMTP server - not >hard but not automatically set up for you. > >Again, the Chilkat component may do much of the dirty work for you: > >http://www.chilkatsoft.com/email-activex.asp > >It is not free (about USD 100) but it will save you hours of hard work. >CDOSYS is free and already installed on most Windows machines but its way of >handling mail in an ADO style is hard to comprehend and requires twice as >much code as for any decent control of which Chilkat is one. > >Note that sent SMTP e-mail is never stored except at the final destination. >If the sender wish to save a copy (like most e-mail clients do as default), >it is up to the sender (the e-mail client) to do this. A very simple method >is to bcc a copy to a "Sent" account. > >/gustav > > > >>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>> >>>> >Hi Gustav, > > >1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a >web based Server. I can reply to these emails using Outlook and SMTP. I can >also send these replies using CDOSYS (based on Marty's program) thus >AVOIDING using Outlook and it's absurd security (which I bypass using >ClickYes) but this is s.l.o.w. for large email groupings. > >2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >a web based Server (web mail). I can reply to these emails from within >Outlook which will also synchronize the emails with those sitting on the web >server (web mail). What I CANNOT DO and what I would like to do is to send >IMAP based emails without using Outlook and the reason is that there is >nowhere within Marty's program to tell it to use SSL (which is a requirement >of the server hosting the web mail) or to tell it which ports to use. > >I hope the above clarifies my needs. I apologize to all for any confusion >and regret not having explained it properly in the first place. It would >appear that there is no easy/cheap option here. > >Thanks > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 18 July 2006 18:47 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >That did cause if not problems then confusion. > >And it still does. IMAP is for retrieving mail from a mail server, SMTP is >for sending mail. Further, you can use an installed Outlook to send mail >without bothering about SMTP and other mail configuration, but if you wish >to bypass or ignore Outlook you need to send with SMTP via your >corporate/hosted/in-house mail server or via your ISP's mail server, or >directly to the receiver's mail server. > > > >>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>> >>>> >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max > > > -- Marty Connelly Victoria, B.C. Canada From prosoft6 at hotmail.com Wed Jul 19 13:52:55 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 14:52:55 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <53c8e05a0607191142w29768601yda756d8320ec9251@mail.gmail.com> Message-ID: Thanks Josh. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From Patricia.O'Connor at otda.state.ny.us Wed Jul 19 15:55:20 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 19 Jul 2006 16:55:20 -0400 Subject: [AccessD] Oracle number changes to Decimal in Access 2k & 2003 In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB0@corp-es01.fleetpride.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D4@EXCNYSM0A1AI.nysemail.nyenet> When you look at the table in ORACLE PL/SQL the datatype is number but when you look at the description in Access it says number with size as DECIMAL. The precision and scale I assume is determined by whether oracle has it with decimals. Below is a comparison Name ORACLE ACCESS Access Type Type size Precision scale ---------------------- ------- -------- ------- --------- ----- RECORD_ID NUMBER(9) Number DECIMAL 9 0 AREA_CD VARCHAR2(2) Text 2 - - CHECK_SEQ_NBR NUMBER(8) Number DECIMAL 8 0 COST_AMT NUMBER(8,2) Number DECIMAL 8 2 ADJUSTED_RECORD_ID NUMBER(9) Number DECIMAL 9 0 RECIPIENT_FEE_AMT NUMBER(6,2) Number DECIMAL 6 2 REPORT_FROM_MONTH_NBR DATE Number Date/Time - - RECORD_LINE_NBR NUMBER(2) Number DECIMAL 2 0 I link to ORACLE 9 and 10G tables using ORACLE ODBC. Errors occur from this difference. Example export to txt file. Since the data is linked with read only permission, I have to copy data to an access table then change the access size to long integer or double then I can export the data. Also in the registry I have 3 HOMEx\nls_lang items. Should these all be the same? If so, which one is correct? HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG is set to WE8MSWIN1252 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG is to "AMERICAN_AMERICA.WE8ISO8859P1 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME3\NLS_LANG to "AMERICAN_AMERICA.WE8ISO8859P1 Would this cause some of the problem above? Is there anything we are supposed to do to fix this change? Thank you ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From DWUTKA at marlow.com Wed Jul 19 16:03:55 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Jul 2006 16:03:55 -0500 Subject: [AccessD] OT: VPN Connection to another site Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A40B@MARLOW_MAIN2.marlow.com> It's not that there isn't a way around it, Josh just posted a method, but the work arounds are nightmares compared to just simply changing your address range. We used to be 192.168.0 and .1. It was a pain, because lots of people had problems from home, since most home 'networks' use 192.168.0.x as a default. If someone just dialed in though, it was fine, because they only had their external address. I ended up switching my home network to 192.168.2.x, so I could VPN in when I needed too. Now our system is in the 10.10 range, so things are much easier. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 11:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: VPN Connection to another site I cant believe that there isn't a way around this. Drew, you are the fourth person I have asked. Hmmmmmm Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Jul 19 16:37:33 2006 From: max at sherman.org.uk (Max Home) Date: Wed, 19 Jul 2006 22:37:33 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQEhScA Message-ID: <000d01c6ab7b$8c8b3be0$e26b1152@Server> Marty, How do you know all this. One clever guy (Gustav too and many others on this site - just brilliant!). Thanks I will now read (and try to understand) it. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 19 July 2006 19:44 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS Microsoft Collaboration Data Objects 2.0 CDOSys http://support.microsoft.com/?scid=ph;en-us;6384 and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_ techsel_tech_1.asp However you have to grok the various flavours of CDO, I think you only want to use CDOSys Relationship between 1.x CDO Libraries and CDOSYS.DLL http://support.microsoft.com/?kbid=195683 Why? CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement for CDO (1.x), they can be used on the same system concurrently, if required. If a program or script needs to work with messaging objects using Microsoft Exchange Server as well as the SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, 1.21) Library, the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) Library, and the CDO for Windows 2000 (CDOSYS) Library. An application running on an Automation controller such as Visual Basic can call all these libraries and coordinate their activities. Max Home wrote: >Thank you Gustav, >Would you know where I can get any documentation on CDOSYS. All I can seem >to find are snippets of code but no overview or documentation. If it comes >pre-installed with the OS, then presumably somebody at MS thought it might >be needed but forget to let the un-Intelligentsia how to use it?? > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 19 July 2006 16:14 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >First, forget anything about MAPI ... they are only joking and yes, e-mail >handling can be quite confusing. > >Then, SMTP is really what you need. The only but important issue you may >experience is, that many corporations block outgoing mail from workstations. >In those cases you'll need to go through the corporate SMTP server - not >hard but not automatically set up for you. > >Again, the Chilkat component may do much of the dirty work for you: > >http://www.chilkatsoft.com/email-activex.asp > >It is not free (about USD 100) but it will save you hours of hard work. >CDOSYS is free and already installed on most Windows machines but its way of >handling mail in an ADO style is hard to comprehend and requires twice as >much code as for any decent control of which Chilkat is one. > >Note that sent SMTP e-mail is never stored except at the final destination. >If the sender wish to save a copy (like most e-mail clients do as default), >it is up to the sender (the e-mail client) to do this. A very simple method >is to bcc a copy to a "Sent" account. > >/gustav > > > >>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>> >>>> >Hi Gustav, > > >1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a >web based Server. I can reply to these emails using Outlook and SMTP. I can >also send these replies using CDOSYS (based on Marty's program) thus >AVOIDING using Outlook and it's absurd security (which I bypass using >ClickYes) but this is s.l.o.w. for large email groupings. > >2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >a web based Server (web mail). I can reply to these emails from within >Outlook which will also synchronize the emails with those sitting on the web >server (web mail). What I CANNOT DO and what I would like to do is to send >IMAP based emails without using Outlook and the reason is that there is >nowhere within Marty's program to tell it to use SSL (which is a requirement >of the server hosting the web mail) or to tell it which ports to use. > >I hope the above clarifies my needs. I apologize to all for any confusion >and regret not having explained it properly in the first place. It would >appear that there is no easy/cheap option here. > >Thanks > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 18 July 2006 18:47 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >That did cause if not problems then confusion. > >And it still does. IMAP is for retrieving mail from a mail server, SMTP is >for sending mail. Further, you can use an installed Outlook to send mail >without bothering about SMTP and other mail configuration, but if you wish >to bypass or ignore Outlook you need to send with SMTP via your >corporate/hosted/in-house mail server or via your ISP's mail server, or >directly to the receiver's mail server. > > > >>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>> >>>> >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jul 19 16:47:23 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Jul 2006 16:47:23 -0500 Subject: [AccessD] VPN Connection to another site Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A417@MARLOW_MAIN2.marlow.com> Was this to me? What is the IP address of the servers in question? I'm guessing either 192.168.0.x or 10.10.0.x (maybe 192.168.1.x or 10.10.1.x). Those are very common. Setup an odd range, and the odds of having conflicts reduce immensely. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 1:08 PM To: rl_stewart at highstream.net; accessd at databaseadvisors.com Subject: Re: [AccessD] VPN Connection to another site No. That's not the point. The vpn is connecting to another business. The network may conflict again with another client. Am I then to change the ip's all over again? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Jul 19 17:20:10 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Jul 2006 15:20:10 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <000d01c6ab7b$8c8b3be0$e26b1152@Server> References: <000d01c6ab7b$8c8b3be0$e26b1152@Server> Message-ID: <44BEB01A.9080701@shaw.ca> I cheat. I use Google Desktop Search. It indexes all the files I have squirreled away and various url's I have visited over the years. It means, I can lookup stuff in 10 seconds. Just remember a lot of the CDO version stuff on the net was written for NT and Win98 etc. and may no longer be applicable. Max Home wrote: >Marty, How do you know all this. One clever guy (Gustav too and many >others on this site - just brilliant!). > >Thanks I will now read (and try to understand) it. > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 19 July 2006 19:44 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >Microsoft Collaboration Data Objects 2.0 CDOSys >http://support.microsoft.com/?scid=ph;en-us;6384 >and >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_ >techsel_tech_1.asp > >However you have to grok the various flavours of CDO, I think you >only want to use CDOSys > >Relationship between 1.x CDO Libraries and CDOSYS.DLL >http://support.microsoft.com/?kbid=195683 > >Why? >CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement >for CDO (1.x), >they can be used on the same system concurrently, if required. If a >program or script needs >to work with messaging objects using Microsoft Exchange Server as well >as the >SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, >1.21) Library, >the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) >Library, >and the CDO for Windows 2000 (CDOSYS) Library. An application running on an >Automation controller such as Visual Basic can call all these libraries >and coordinate their activities. > > > > >Max Home wrote: > > > >>Thank you Gustav, >>Would you know where I can get any documentation on CDOSYS. All I can seem >>to find are snippets of code but no overview or documentation. If it comes >>pre-installed with the OS, then presumably somebody at MS thought it might >>be needed but forget to let the un-Intelligentsia how to use it?? >> >>Regards >>Max >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 19 July 2006 16:14 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>First, forget anything about MAPI ... they are only joking and yes, e-mail >>handling can be quite confusing. >> >>Then, SMTP is really what you need. The only but important issue you may >>experience is, that many corporations block outgoing mail from >> >> >workstations. > > >>In those cases you'll need to go through the corporate SMTP server - not >>hard but not automatically set up for you. >> >>Again, the Chilkat component may do much of the dirty work for you: >> >>http://www.chilkatsoft.com/email-activex.asp >> >>It is not free (about USD 100) but it will save you hours of hard work. >>CDOSYS is free and already installed on most Windows machines but its way >> >> >of > > >>handling mail in an ADO style is hard to comprehend and requires twice as >>much code as for any decent control of which Chilkat is one. >> >>Note that sent SMTP e-mail is never stored except at the final destination. >>If the sender wish to save a copy (like most e-mail clients do as default), >>it is up to the sender (the e-mail client) to do this. A very simple method >>is to bcc a copy to a "Sent" account. >> >>/gustav >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>>> >>>>> >>>>> >>>>> >>Hi Gustav, >> >> >>1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from >> >> >a > > >>web based Server. I can reply to these emails using Outlook and SMTP. I can >>also send these replies using CDOSYS (based on Marty's program) thus >>AVOIDING using Outlook and it's absurd security (which I bypass using >>ClickYes) but this is s.l.o.w. for large email groupings. >> >>2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >>a web based Server (web mail). I can reply to these emails from within >>Outlook which will also synchronize the emails with those sitting on the >> >> >web > > >>server (web mail). What I CANNOT DO and what I would like to do is to send >>IMAP based emails without using Outlook and the reason is that there is >>nowhere within Marty's program to tell it to use SSL (which is a >> >> >requirement > > >>of the server hosting the web mail) or to tell it which ports to use. >> >>I hope the above clarifies my needs. I apologize to all for any confusion >>and regret not having explained it properly in the first place. It would >>appear that there is no easy/cheap option here. >> >>Thanks >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 18 July 2006 18:47 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>That did cause if not problems then confusion. >> >>And it still does. IMAP is for retrieving mail from a mail server, SMTP is >>for sending mail. Further, you can use an installed Outlook to send mail >>without bothering about SMTP and other mail configuration, but if you wish >>to bypass or ignore Outlook you need to send with SMTP via your >>corporate/hosted/in-house mail server or via your ISP's mail server, or >>directly to the receiver's mail server. >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>>> >>>>> >>>>> >>>>> >>Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >>caused you (and others) any problems. >>It sends email via SMTP and I would like to send it via IMAP so that it >>appears to come as if from the webmailer without having to go through >>Outlook (I can do it via Outlook with no problem) but not from within your >>program. >> >> >>Regards >>Max >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From kp at sdsonline.net Wed Jul 19 19:14:16 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Thu, 20 Jul 2006 10:14:16 +1000 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com><000e01c6a9fc$f734e750$6601a8c0@office> <002301c6aa0a$fdfc19b0$6e9ba545@50NM721> Message-ID: <000c01c6ab91$707f8210$6501a8c0@office> Thanks for that link William. It looks like there are 2 paths to go down if using a pda or handheld device: either use a Pocket PC system (and use software like 'Data on the run' as you say) or go with a Palm type device with PalmOS which has its own hotsynch logic. Both systems appear to hotsynch table data when connected back to the PC. The difficulty is understanding the format in which my client will view his data on the road. Presumably he would see table views or specific queries hot synched - he couldn't see the forms as designed in my desktop mde file. But that might be OK - maybe the pda would allow to create some forms in its software to create a more user friendly pda interface? Speed seems to also be an issue with some reviews saying that any tables where record numbers exceed 5,00 just should not be considered for a pda. I have 2 clients now that I am investigating this for now: a) tradesman who has his PC in the office but would like to take the entire app on the road. 1 user b) Commercial cleaning company, 6 sales staff on the road who need access to the data on a new database I am creating in Access. Both clients like the idea of the pda because it is less cumbersome than the tablet or laptop and as you say, it gives them some functionality they are used to. I notice that in looking into this there are quite a few Access developers specialising in this area. If anyone has an opinion on PocketPC vs. Palm, could they jump in? And any knowledge on if my client was to buy a Palm or PocketPC and import from/hotsynch to a mdb file from a desktop, what possibilities are there for presentation of that data? (ie. forms etc.) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 18, 2006 11:39 AM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? http://www.biomobility.com/dotr4.htm ...you might want to look into pda's a bit more ...this will sync with your desktop Access app and give your client a lot of functionality on the road ...plus its got good reviews in the forums. William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Monday, July 17, 2006 7:58 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > So the difference is in the 'swivel' screen and pen technology? I think > they come with a keyboard anyway, don't they? What size/brand is it Drew? > > Kath > ----- Original Message ----- > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Sent: Tuesday, July 18, 2006 2:03 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > We just got a tablet PC in. It's just a laptop with a screen that can be > 'repositioned'. Runs everything a normal laptop would. > > Drew > > -----Original Message----- > From: Kath Pelletti [mailto:kp at sdsonline.net] > Sent: Sunday, July 16, 2006 7:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > Thanks Stuart - it looks quite interesting. But I guess that as a first > generation thing, they seems to have a few flaws. The battery life (2.5 > hours) doesn't sound too good. But I would love to have a play with one > of > these. > > Wondering whether anyone on the list has actually used an Access mde on a > Windows tablet PC instead? Otherwise I may just suggest that he go for a > small laptop. > > Kath > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:44 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 19 19:55:02 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 19 Jul 2006 20:55:02 -0400 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com><000e01c6a9fc$f734e750$6601a8c0@office><002301c6aa0a$fdfc19b0$6e9ba545@50NM721> <000c01c6ab91$707f8210$6501a8c0@office> Message-ID: <010a01c6ab97$231f67f0$6e9ba545@50NM721> 1) as long as you're dealing with an access db, I'd go with a Win OS pda ...besides which, Palm isn't looking all that well financially now that the heavy hitters have moved into its bailiwick. 2) ...looks as if at least some of the apps let you build forms to display the data on the pda's ...I've not looked but I'd think that Citrix (or even Terminal Server) would have something that would cure the data quantity problems for you ...your pda app would essentially become a remote video monitor for specially designed forms in your access app running on a Citrix/TS server (think small box, nothing special) ...but like I said, that's just free wheeling ...I've not looked in that direction myself. William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 19, 2006 8:14 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > Thanks for that link William. It looks like there are 2 paths to go down > if using a pda or handheld device: either use a Pocket PC system (and use > software like 'Data on the run' as you say) or go with a Palm type device > with PalmOS which has its own hotsynch logic. Both systems appear to > hotsynch table data when connected back to the PC. > > The difficulty is understanding the format in which my client will view > his data on the road. Presumably he would see table views or specific > queries hot synched - he couldn't see the forms as designed in my desktop > mde file. But that might be OK - maybe the pda would allow to create some > forms in its software to create a more user friendly pda interface? > > Speed seems to also be an issue with some reviews saying that any tables > where record numbers exceed 5,00 just should not be considered for a pda. > > I have 2 clients now that I am investigating this for now: > > a) tradesman who has his PC in the office but would like to take the > entire app on the road. 1 user > b) Commercial cleaning company, 6 sales staff on the road who need access > to the data on a new database I am creating in Access. > > Both clients like the idea of the pda because it is less cumbersome than > the tablet or laptop and as you say, it gives them some functionality they > are used to. > > I notice that in looking into this there are quite a few Access developers > specialising in this area. > > If anyone has an opinion on PocketPC vs. Palm, could they jump in? And any > knowledge on if my client was to buy a Palm or PocketPC and import > from/hotsynch to a mdb file from a desktop, what possibilities are there > for presentation of that data? (ie. forms etc.) > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, July 18, 2006 11:39 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > http://www.biomobility.com/dotr4.htm > > ...you might want to look into pda's a bit more ...this will sync with > your > desktop Access app and give your client a lot of functionality on the > road > ...plus its got good reviews in the forums. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Monday, July 17, 2006 7:58 PM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > > So the difference is in the 'swivel' screen and pen technology? I think > > they come with a keyboard anyway, don't they? What size/brand is it > Drew? > > > > Kath > > ----- Original Message ----- > > From: DWUTKA at marlow.com > > To: accessd at databaseadvisors.com > > Sent: Tuesday, July 18, 2006 2:03 AM > > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > > > > We just got a tablet PC in. It's just a laptop with a screen that can > be > > 'repositioned'. Runs everything a normal laptop would. > > > > Drew > > > > -----Original Message----- > > From: Kath Pelletti [mailto:kp at sdsonline.net] > > Sent: Sunday, July 16, 2006 7:37 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > > Thanks Stuart - it looks quite interesting. But I guess that as a > first > > generation thing, they seems to have a few flaws. The battery life > (2.5 > > hours) doesn't sound too good. But I would love to have a play with > one > > of > > these. > > > > Wondering whether anyone on the list has actually used an Access mde > on a > > Windows tablet PC instead? Otherwise I may just suggest that he go > for a > > small laptop. > > > > Kath > > ----- Original Message ----- > > From: Stuart McLachlan > > To: Access Developers discussion and problem solving > > Sent: Friday, July 14, 2006 1:44 PM > > Subject: Re: [AccessD] Mobile Access with an mde > > > > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at fsmail.net Thu Jul 20 06:17:13 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 20 Jul 2006 13:17:13 +0200 (CEST) Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Message-ID: <21425994.1153394233353.JavaMail.www@wwinf3201> To all, Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. Can anyone help me on this with sample code or point me to a website. Thanks in advance Paul Hartland From shamil at users.mns.ru Thu Jul 20 06:36:29 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 20 Jul 2006 15:36:29 +0400 Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls References: <21425994.1153394233353.JavaMail.www@wwinf3201> Message-ID: <003801c6abf0$cc14be10$6701a8c0@VERSAILLES> Paul, On Runtime in VB6 there is a Global.Forms collection (or just Forms), which has the references to the currently loaded forms. Every form has Controls collection, every compound control has its own Controls collection... HTH, Shamil ----- Original Message ----- From: To: "accessd" Sent: Thursday, July 20, 2006 3:17 PM Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls > To all, > > Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. > > Can anyone help me on this with sample code or point me to a website. > > Thanks in advance > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Thu Jul 20 06:48:28 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Jul 2006 07:48:28 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A417@MARLOW_MAIN2.marlow.com> Message-ID: << Setup an odd range, and the odds of having conflicts reduce immensely.>> Your right. I set mine to 192.168.190.x and haven't had a conflict in 10 years. And if their on a DHCP setup, changing wouldn't take more then 15 minutes or so at most. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, July 19, 2006 5:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VPN Connection to another site Was this to me? What is the IP address of the servers in question? I'm guessing either 192.168.0.x or 10.10.0.x (maybe 192.168.1.x or 10.10.1.x). Those are very common. Setup an odd range, and the odds of having conflicts reduce immensely. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 1:08 PM To: rl_stewart at highstream.net; accessd at databaseadvisors.com Subject: Re: [AccessD] VPN Connection to another site No. That's not the point. The vpn is connecting to another business. The network may conflict again with another client. Am I then to change the ip's all over again? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Jul 20 07:01:05 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 20 Jul 2006 22:01:05 +1000 Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A80E@ddi-01.DDI.local> Hi Paul, Not much traffic because VB6 is on the way out. If you can't find anything in google then I think you are out of luck. #1 VB doesn't have a Forms collection like Access does. You could create a collection of forms but you would need to add them manually... And if your going to do that then theres really no need ;-))) Scratch #1 #2 Vb controls are not usually bound. It is possible using the 'data controls' but back when they were introduced the Hard core programmers scoffed at binding controls so not many people used em. Now in .Net everything is bound...lol I'll assume that your controls are bound and have data in the DataField property. No controls collection I'm afraid either. Control arrays yes, but doubt that will help you... What I would do is open the frm file for each form and parse the text looking for DataField. Or I would give up :-) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, 20 July 2006 9:17 PM To: accessd Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Importance: High To all, Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. Can anyone help me on this with sample code or point me to a website. Thanks in advance Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Jul 20 07:12:47 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 20 Jul 2006 22:12:47 +1000 Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A80F@ddi-01.DDI.local> Damn, I hate being SO wrong... lol Glad I don't do much VB6 anymore. Cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, 20 July 2006 10:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - VB6 Loop Through All Forms & Controls Hi Paul, Not much traffic because VB6 is on the way out. If you can't find anything in google then I think you are out of luck. #1 VB doesn't have a Forms collection like Access does. You could create a collection of forms but you would need to add them manually... And if your going to do that then theres really no need ;-))) Scratch #1 #2 Vb controls are not usually bound. It is possible using the 'data controls' but back when they were introduced the Hard core programmers scoffed at binding controls so not many people used em. Now in .Net everything is bound...lol I'll assume that your controls are bound and have data in the DataField property. No controls collection I'm afraid either. Control arrays yes, but doubt that will help you... What I would do is open the frm file for each form and parse the text looking for DataField. Or I would give up :-) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, 20 July 2006 9:17 PM To: accessd Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Importance: High To all, Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. Can anyone help me on this with sample code or point me to a website. Thanks in advance Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 20 08:07:32 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Jul 2006 23:07:32 +1000 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <17724746D360394AA3BFE5B8D40A9C1BD7A417@MARLOW_MAIN2.marlow.com>, Message-ID: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg> On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart From garykjos at gmail.com Thu Jul 20 08:22:31 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 20 Jul 2006 08:22:31 -0500 Subject: [AccessD] Oracle number changes to Decimal in Access 2k & 2003 In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D4@EXCNYSM0A1AI.nysemail.nyenet> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB0@corp-es01.fleetpride.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D4@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: Are you using a Make Table query to copy the Oracle Data out? You could predefine a table in the Access Database and then do an Append query instead and then the numeric fields will have the format you are looking for. Or you could have a query for the Oracle tables that uses a ReformattedFieldName:CLng([fieldname]) in it to conver to Long or CDbl to convert to Double and then use that query as the source to your make table or append or the export to text. Good luck, GK On 7/19/06, O'Connor, Patricia (OTDA) wrote: > When you look at the table in ORACLE PL/SQL the datatype is number but > when you look at the description in Access it says number with size as > DECIMAL. The precision and scale I assume is determined by whether > oracle has it with decimals. Below is a comparison > > Name ORACLE ACCESS Access > Type Type size > Precision scale > ---------------------- ------- -------- ------- --------- > ----- > RECORD_ID NUMBER(9) Number DECIMAL 9 > 0 > AREA_CD VARCHAR2(2) Text 2 > - - > CHECK_SEQ_NBR NUMBER(8) Number DECIMAL 8 > 0 > COST_AMT NUMBER(8,2) Number DECIMAL 8 > 2 > ADJUSTED_RECORD_ID NUMBER(9) Number DECIMAL 9 > 0 > RECIPIENT_FEE_AMT NUMBER(6,2) Number DECIMAL 6 > 2 > REPORT_FROM_MONTH_NBR DATE Number Date/Time - > - > RECORD_LINE_NBR NUMBER(2) Number DECIMAL 2 > 0 > > I link to ORACLE 9 and 10G tables using ORACLE ODBC. > Errors occur from this difference. Example export to txt file. Since the > data is linked with read only permission, I have to copy data to an > access table then change the access size to long integer or double then > I can export the data. > > Also in the registry I have 3 HOMEx\nls_lang items. Should these all > be the same? If so, which one is correct? > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG is set to WE8MSWIN1252 > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG is to > "AMERICAN_AMERICA.WE8ISO8859P1 > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME3\NLS_LANG to > "AMERICAN_AMERICA.WE8ISO8859P1 > > Would this cause some of the problem above? Is there anything we are > supposed to do to fix this change? > > Thank you > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Patricia.O'Connor at otda.state.ny.us Thu Jul 20 08:30:39 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 20 Jul 2006 09:30:39 -0400 Subject: [AccessD] Oracle number changes to Decimal in Access 2k & 2003 In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D6@EXCNYSM0A1AI.nysemail.nyenet> I have made access tables from my queries and either changed the DataType/Size after or while creating. I was trying to find a way correct to set it up so someone did not have to do more than simple procedures. Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, July 20, 2006 09:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Oracle number changes to Decimal in > Access 2k & 2003 > > Are you using a Make Table query to copy the Oracle Data out? > You could predefine a table in the Access Database and then > do an Append query instead and then the numeric fields will > have the format you are looking for. Or you could have a > query for the Oracle tables that uses a > ReformattedFieldName:CLng([fieldname]) in it to conver to > Long or CDbl to convert to Double and then use that query as > the source to your make table or append or the export to text. > > Good luck, > > GK > > On 7/19/06, O'Connor, Patricia (OTDA) > wrote: > > When you look at the table in ORACLE PL/SQL the datatype is > number but > > when you look at the description in Access it says number > with size as > > DECIMAL. The precision and scale I assume is determined by whether > > oracle has it with decimals. Below is a comparison > > > > Name ORACLE ACCESS Access > > Type Type size > > Precision scale > > ---------------------- ------- -------- ------- --------- > > ----- > > RECORD_ID NUMBER(9) Number DECIMAL 9 > > 0 > > AREA_CD VARCHAR2(2) Text 2 > > - - > > CHECK_SEQ_NBR NUMBER(8) Number DECIMAL 8 > > 0 > > COST_AMT NUMBER(8,2) Number DECIMAL 8 > > 2 > > ADJUSTED_RECORD_ID NUMBER(9) Number DECIMAL 9 > > 0 > > RECIPIENT_FEE_AMT NUMBER(6,2) Number DECIMAL 6 > > 2 > > REPORT_FROM_MONTH_NBR DATE Number Date/Time - > > - > > RECORD_LINE_NBR NUMBER(2) Number DECIMAL 2 > > 0 > > > > I link to ORACLE 9 and 10G tables using ORACLE ODBC. > > Errors occur from this difference. Example export to txt > file. Since > > the data is linked with read only permission, I have to > copy data to > > an access table then change the access size to long integer > or double > > then I can export the data. > > > > Also in the registry I have 3 HOMEx\nls_lang items. > Should these all > > be the same? If so, which one is correct? > > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG is set to > > WE8MSWIN1252 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG is to > > "AMERICAN_AMERICA.WE8ISO8859P1 > > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME3\NLS_LANG to > > "AMERICAN_AMERICA.WE8ISO8859P1 > > > > Would this cause some of the problem above? Is there > anything we are > > supposed to do to fix this change? > > > > Thank you > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It > is intended only for the addressee. If you received this > e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use > this e-mail or its attachments. Please notify the sender > immediately by reply e-mail and delete the e-mail from your system. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > 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 rusty.hammond at cpiqpc.com Thu Jul 20 08:48:25 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 20 Jul 2006 08:48:25 -0500 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another si te Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8912@cpixchng-1.cpiqpc.net> Stuart, On your Linksys router I thought I had the same issue, but under the Router IP section, you can change the Local IP Address of the router. If you do that, then the DHCP Address range will change to match the local IP address. If you can't change the local IP address of the router then you need to load the latest firmware or get a newer router because this has been available on Linksys routers for a few years now. HTH Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 20, 2006 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VPN Connection to another site On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart -- 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 Jim.Hale at FleetPride.com Thu Jul 20 09:05:39 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 20 Jul 2006 09:05:39 -0500 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another s i te Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB9@corp-es01.fleetpride.com> Same here. I have linksys vpn routers that keep the connection open between my home network and warehouse. I did have to change the local IP address of the warehouse router so it wasn't the same as the home router and all works well. Jim Hale -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Thursday, July 20, 2006 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Linkdys router, was VPN Connection to another si te Stuart, On your Linksys router I thought I had the same issue, but under the Router IP section, you can change the Local IP Address of the router. If you do that, then the DHCP Address range will change to match the local IP address. If you can't change the local IP address of the router then you need to load the latest firmware or get a newer router because this has been available on Linksys routers for a few years now. HTH Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 20, 2006 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VPN Connection to another site On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jimdettman at earthlink.net Thu Jul 20 09:18:11 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Jul 2006 10:18:11 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg> Message-ID: <> I haven't seen a router yet that is hardwired to use a specific subnet (kind of defeats the purpose of being a router). Your missing something. <> This is one of the reason I said 15 minutes or so. The printers would need to be change by hand if their static. Changing the DHCP server should take only a matter of minutes. Glad you brought that point up. I should have mentioned it... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, July 20, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VPN Connection to another site On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Thu Jul 20 11:17:55 2006 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 20 Jul 2006 11:17:55 -0500 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg> Message-ID: <53c8e05a0607200917o3c2adbd7t6bce7eeba1f1f875@mail.gmail.com> They have routers now that you can assign certain MAC addresses to a static address via DHCP. Next time you have to do this, you may want to see if your router supports it. Makes any IP changes a lot easier as you then only have to work with the router's configuration instead of that and each individual static machine. Josh On 7/20/06, Jim Dettman wrote: > This is one of the reason I said 15 minutes or so. The printers would > need to be change by hand if their static. Changing the DHCP server should > take only a matter of minutes. > > Glad you brought that point up. I should have mentioned it... > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Thursday, July 20, 2006 9:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VPN Connection to another site > > On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > > > > << Setup an odd range, and the odds of having conflicts > > reduce immensely.>> > > > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > > 10 years. > > > > And if their on a DHCP setup, changing wouldn't take more then 15 > > minutes or so at most. > > As long as you DHCP server can handle it. > > We've been running a D-Link WAP/Router on a project network at a site I'm > currently working on. It acts as a DHCP server - we have a couple of > printers and a couple of workstations on static IPs and the rest using > 192.168.100.xxx served up by the WAP. > > It's been paying up so the suppliers came in with a replace. They brought > in a Linksys today to replace it. When they went to set up the DHCP server, > on it, it turned out to be hard coded to use 192.168.1.xxx. > > Unfortunately, I'm using two network cards on my workstation there so that > I can interface with both the project network and the primary client > network - which uses 192.168.1.xxx :-( > > > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From max at sherman.org.uk Thu Jul 20 13:08:27 2006 From: max at sherman.org.uk (Max Home) Date: Thu, 20 Jul 2006 19:08:27 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aREhicA Message-ID: <000301c6ac27$85ba02e0$e26b1152@Server> Well that's ok. I wouldn't call that cheating. I would call it clever! Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 19 July 2006 23:20 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS I cheat. I use Google Desktop Search. It indexes all the files I have squirreled away and various url's I have visited over the years. It means, I can lookup stuff in 10 seconds. Just remember a lot of the CDO version stuff on the net was written for NT and Win98 etc. and may no longer be applicable. Max Home wrote: >Marty, How do you know all this. One clever guy (Gustav too and many >others on this site - just brilliant!). > >Thanks I will now read (and try to understand) it. > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 19 July 2006 19:44 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >Microsoft Collaboration Data Objects 2.0 CDOSys >http://support.microsoft.com/?scid=ph;en-us;6384 >and >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/ _ >techsel_tech_1.asp > >However you have to grok the various flavours of CDO, I think you >only want to use CDOSys > >Relationship between 1.x CDO Libraries and CDOSYS.DLL >http://support.microsoft.com/?kbid=195683 > >Why? >CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement >for CDO (1.x), >they can be used on the same system concurrently, if required. If a >program or script needs >to work with messaging objects using Microsoft Exchange Server as well >as the >SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, >1.21) Library, >the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) >Library, >and the CDO for Windows 2000 (CDOSYS) Library. An application running on an >Automation controller such as Visual Basic can call all these libraries >and coordinate their activities. > > > > >Max Home wrote: > > > >>Thank you Gustav, >>Would you know where I can get any documentation on CDOSYS. All I can seem >>to find are snippets of code but no overview or documentation. If it comes >>pre-installed with the OS, then presumably somebody at MS thought it might >>be needed but forget to let the un-Intelligentsia how to use it?? >> >>Regards >>Max >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 19 July 2006 16:14 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>First, forget anything about MAPI ... they are only joking and yes, e-mail >>handling can be quite confusing. >> >>Then, SMTP is really what you need. The only but important issue you may >>experience is, that many corporations block outgoing mail from >> >> >workstations. > > >>In those cases you'll need to go through the corporate SMTP server - not >>hard but not automatically set up for you. >> >>Again, the Chilkat component may do much of the dirty work for you: >> >>http://www.chilkatsoft.com/email-activex.asp >> >>It is not free (about USD 100) but it will save you hours of hard work. >>CDOSYS is free and already installed on most Windows machines but its way >> >> >of > > >>handling mail in an ADO style is hard to comprehend and requires twice as >>much code as for any decent control of which Chilkat is one. >> >>Note that sent SMTP e-mail is never stored except at the final destination. >>If the sender wish to save a copy (like most e-mail clients do as default), >>it is up to the sender (the e-mail client) to do this. A very simple method >>is to bcc a copy to a "Sent" account. >> >>/gustav >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>>> >>>>> >>>>> >>>>> >>Hi Gustav, >> >> >>1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from >> >> >a > > >>web based Server. I can reply to these emails using Outlook and SMTP. I can >>also send these replies using CDOSYS (based on Marty's program) thus >>AVOIDING using Outlook and it's absurd security (which I bypass using >>ClickYes) but this is s.l.o.w. for large email groupings. >> >>2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >>a web based Server (web mail). I can reply to these emails from within >>Outlook which will also synchronize the emails with those sitting on the >> >> >web > > >>server (web mail). What I CANNOT DO and what I would like to do is to send >>IMAP based emails without using Outlook and the reason is that there is >>nowhere within Marty's program to tell it to use SSL (which is a >> >> >requirement > > >>of the server hosting the web mail) or to tell it which ports to use. >> >>I hope the above clarifies my needs. I apologize to all for any confusion >>and regret not having explained it properly in the first place. It would >>appear that there is no easy/cheap option here. >> >>Thanks >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 18 July 2006 18:47 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>That did cause if not problems then confusion. >> >>And it still does. IMAP is for retrieving mail from a mail server, SMTP is >>for sending mail. Further, you can use an installed Outlook to send mail >>without bothering about SMTP and other mail configuration, but if you wish >>to bypass or ignore Outlook you need to send with SMTP via your >>corporate/hosted/in-house mail server or via your ISP's mail server, or >>directly to the receiver's mail server. >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>>> >>>>> >>>>> >>>>> >>Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >>caused you (and others) any problems. >>It sends email via SMTP and I would like to send it via IMAP so that it >>appears to come as if from the webmailer without having to go through >>Outlook (I can do it via Outlook with no problem) but not from within your >>program. >> >> >>Regards >>Max >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Jul 20 16:30:46 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Jul 2006 07:30:46 +1000 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another si te In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8912@cpixchng-1.cpiqpc.net> References: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8912@cpixchng-1.cpiqpc.net> Message-ID: <44C082A6.30689.E6AE1E7@stuart.lexacorp.com.pg> On 20 Jul 2006 at 8:48, rusty.hammond at cpiqpc.com wrote: > Stuart, > > On your Linksys router I thought I had the same issue, but under the Router > IP section, you can change the Local IP Address of the router. If you do > that, then the DHCP Address range will change to match the local IP address. They did that, and although the local address was 192.168.100.1, the DHCP range still showed 192.168.1.____ under start address and only had the option to enter up to 253 as the number of avaiable addresses. > > If you can't change the local IP address of the router then you need to load > the latest firmware or get a newer router because this has been available on > Linksys routers for a few years now. Yep, probably the supplier trying to sell us old stock that they have had lying around :-) -- Stuart From stuart at lexacorp.com.pg Thu Jul 20 16:36:05 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Jul 2006 07:36:05 +1000 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg>, Message-ID: <44C083E5.27362.E6FC1E4@stuart.lexacorp.com.pg> On 20 Jul 2006 at 10:18, Jim Dettman wrote: > > < in a Linksys today to replace it. When they went to set up the DHCP server, > on it, it turned out to be hard coded to use 192.168.1.xxx. >> > > I haven't seen a router yet that is hardwired to use a specific subnet > (kind of defeats the purpose of being a router). Your missing something. > Possibly, I didn't spend much time on it - I'm not responsible for this network, I just "stickybeaked" the supplier's two techs (yep, they sent out *two* guys to replace a SOHO type WAP/Router) when my network connection went down and I found these guys changing the WAP/Router. Initially, they were all set to pack up and go and hadn't even set it up as a DHCP server (typical of the levels of service in a country like this) -- Stuart From rusty.hammond at cpiqpc.com Thu Jul 20 16:46:09 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 20 Jul 2006 16:46:09 -0500 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another s i te Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8918@cpixchng-1.cpiqpc.net> You might check the linksys website. It could just be a firmware upgrade that will take care of it (should be a free download). Be sure to back up up the settings of the router or do screen shots of the settings before uploading the new firmware. If you need any help feel free to e-mail me offline. Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 20, 2006 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Linkdys router, was VPN Connection to another si te On 20 Jul 2006 at 8:48, rusty.hammond at cpiqpc.com wrote: > Stuart, > > On your Linksys router I thought I had the same issue, but under the Router > IP section, you can change the Local IP Address of the router. If you do > that, then the DHCP Address range will change to match the local IP address. They did that, and although the local address was 192.168.100.1, the DHCP range still showed 192.168.1.____ under start address and only had the option to enter up to 253 as the number of avaiable addresses. > > If you can't change the local IP address of the router then you need to load > the latest firmware or get a newer router because this has been available on > Linksys routers for a few years now. Yep, probably the supplier trying to sell us old stock that they have had lying around :-) -- Stuart -- 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 max at sherman.org.uk Fri Jul 21 02:06:47 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 21 Jul 2006 08:06:47 +0100 Subject: [AccessD] SOT:Home Link to Work Network In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQklicA Message-ID: <001201c6ac94$3c91c040$e26b1152@Server> Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max From bheid at appdevgrp.com Fri Jul 21 06:08:33 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Jul 2006 07:08:33 -0400 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE669@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356FB@ADGSERVER> Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max From max at sherman.org.uk Fri Jul 21 06:56:38 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 21 Jul 2006 12:56:38 +0100 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aREmycA Message-ID: <000f01c6acbc$ba1b2c90$e26b1152@Server> Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: 21 July 2006 12:09 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Jul 21 07:33:28 2006 From: JHewson at karta.com (Jim Hewson) Date: Fri, 21 Jul 2006 07:33:28 -0500 Subject: [AccessD] What Causes Database Strange Behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C622C@karta-exc-int.Karta.com> A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim From Gustav at cactus.dk Fri Jul 21 07:40:34 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Jul 2006 14:40:34 +0200 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Message-ID: Hi Max Read up the very recent thread: "VPN Connection to another site" /gustav >>> max at sherman.org.uk 21-07-2006 13:56:38 >>> Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. From bheid at appdevgrp.com Fri Jul 21 07:56:35 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Jul 2006 08:56:35 -0400 Subject: [AccessD] [SPAM SUSPECT] What Causes Database Strange Behavior In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE695@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35702@ADGSERVER> Jim, I'm not sure what is causing your problem, but best practices say to have the FE installed locally on each user's pc. Maybe this is causing your issue. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 8:33 AM To: AccessD Subject: [SPAM SUSPECT] [AccessD] What Causes Database Strange Behavior Importance: Low A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim From rusty.hammond at cpiqpc.com Fri Jul 21 09:37:32 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 21 Jul 2006 09:37:32 -0500 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8919@cpixchng-1.cpiqpc.net> Max, If you need to connect from your gateway pc to other computers on the network, there's remote desktop that's built in to Windows XP. If you don't have Windows XP there are other open source programs like RealVNC (www.realvnc.com) that should work for you. Something you might look into is www.logmein.com. We use it to connect to work pc's from home. They have a free version that doesn't allow printing or file transfers to the remote pc. Very similar to www.gotomypc.com. If you just need to connect to your work computer and take control of it like your sitting in front of it, then it works great. There's another free one out there that many of the list users use but for the life of me I can't rememember what it is. HTH, Rusty -----Original Message----- From: Max Home [mailto:max at sherman.org.uk] Sent: Friday, July 21, 2006 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: 21 July 2006 12:09 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max ********************************************************************** 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 bheid at appdevgrp.com Fri Jul 21 09:50:23 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Jul 2006 10:50:23 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: [SPAM SUSPECT] SOT:Home Link to Work Network In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE6D7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35706@ADGSERVER> Remote desktop comes with XP, you can download the client for 98/2000/etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Friday, July 21, 2006 10:38 AM To: accessd at databaseadvisors.com Subject: [SPAM SUSPECT] Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Importance: Low Max, If you need to connect from your gateway pc to other computers on the network, there's remote desktop that's built in to Windows XP. If you don't have Windows XP there are other open source programs like RealVNC (www.realvnc.com) that should work for you. Something you might look into is www.logmein.com. We use it to connect to work pc's from home. They have a free version that doesn't allow printing or file transfers to the remote pc. Very similar to www.gotomypc.com. If you just need to connect to your work computer and take control of it like your sitting in front of it, then it works great. There's another free one out there that many of the list users use but for the life of me I can't rememember what it is. HTH, Rusty -----Original Message----- From: Max Home [mailto:max at sherman.org.uk] Sent: Friday, July 21, 2006 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: 21 July 2006 12:09 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max ********************************************************************** 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 cfoust at infostatsystems.com Fri Jul 21 10:10:08 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Jul 2006 08:10:08 -0700 Subject: [AccessD] What Causes Database Strange Behavior In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C044C622C@karta-exc-int.Karta.com> Message-ID: If your users all use a shared front end written in A2k but open it with different versions of Access, I'm not surprised you're getting some odd results. Give them individual front ends and save yourself some headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 5:33 AM To: AccessD Subject: [AccessD] What Causes Database Strange Behavior A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jul 21 05:28:48 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Jul 2006 12:28:48 +0200 Subject: [AccessD] SOT:Home Link to Work Network Message-ID: Hi Max You can install a remote control program like VNC (free) or NetOp (buy) on the workstation in question, or use a service like this: http://www.logmein.com which runs surprisingly well from a browser like Internet Explorer. /gustav >>> max at sherman.org.uk 21-07-2006 09:06:47 >>> Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max From Patricia.O'Connor at otda.state.ny.us Fri Jul 21 11:30:46 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 21 Jul 2006 12:30:46 -0400 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DB@EXCNYSM0A1AI.nysemail.nyenet> Someone in my office wants to print several tables like they appear in the relationships. The problem is that a few are big and end up with a scroll bar so the entire table doesn't get printed. Is there a way to get it to totally print? Is there another way besides dataflow diagram or if not do you know of a freeware DFD that would be easy to use? I would probably use oracle Pl/sql DESC then copy the result to excel, word, or powerpoint. BTW I can't use DESC via the Access passthru. Is there a special way to get this Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From Patricia.O'Connor at otda.state.ny.us Fri Jul 21 12:43:28 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 21 Jul 2006 13:43:28 -0400 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DC@EXCNYSM0A1AI.nysemail.nyenet> Someone in my office wants to print several tables like they appear in the relationships. The problem is that a few are big and end up with a scroll bar so the entire table doesn't get printed. Is there a way to get it to totally print? Is there another way besides dataflow diagram or if not do you know of a freeware DFD that would be easy to use? I would probably use oracle Pl/sql DESC then copy the result to excel, word, or powerpoint. BTW I can't use DESC via the Access passthru. Is there a special way to get this Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From martyconnelly at shaw.ca Fri Jul 21 13:23:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 21 Jul 2006 11:23:36 -0700 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DC@EXCNYSM0A1AI.nysemail.nyenet> References: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DC@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <44C11BA8.1080704@shaw.ca> You may have to use this to make multiple views of relationships http://www.lebans.com/saverelationshipview.htm From Allen Brownes notes One more suggestion: if you have a large database with too many tables to fit on screen, Stephen Lebans has a utility to save multiple relationship views, and load them again later. With this extended printout combined with his multiple relationships view, you will be able to stay on top of your database. Relationship Report with extended field information If you need to print field info as well http://allenbrowne.com/AppRelReport.html O'Connor, Patricia (OTDA) wrote: >Someone in my office wants to print several tables like they appear in >the relationships. The problem is that a few are big and end up with a >scroll bar so the entire table doesn't get printed. Is there a way to >get it to totally print? > >Is there another way besides dataflow diagram or if not do you know of a >freeware DFD that would be easy to use? > >I would probably use oracle Pl/sql DESC then copy the result to excel, >word, or powerpoint. BTW I can't use DESC via the Access passthru. Is >there a special way to get this > >Thanks >************************************************** >* Patricia O'Connor >* Associate Computer Programmer Analyst >* OTDA - BDMA >* (W) mailto:Patricia.O'Connor at otda.state.ny.us >* (w) mailto:aa1160 at nysemail.state.ny.us >************************************************** >-------------------------------------------------------- >This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. > > -- Marty Connelly Victoria, B.C. Canada From Patricia.O'Connor at otda.state.ny.us Fri Jul 21 15:18:09 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 21 Jul 2006 16:18:09 -0400 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: <44C11BA8.1080704@shaw.ca> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DD@EXCNYSM0A1AI.nysemail.nyenet> Marty Thank you I appreciate your help. They both look very interesting and useful. I downloaded and copied both. Now I just have to figure out how I can get them to work. First on Access2k then Acc2003. Have you used the one from Allen Brownes? I set up the module and tried use both in the intermediate window and a form but I can not get it to complete. The tables are linked from Oracle and it times out. I need to find where I can set the ODBC time out to 6000 for it to run - so far no luck. SO I tried to set up a form with the command button as described in the documentation but keep getting errors. Do you have an example of the code for the form? Thanks again for you help - have a great weekend ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > MartyConnelly > Sent: Friday, July 21, 2006 02:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ot - Print Full table descriptions as > in relationship > > > You may have to use this to make multiple views of relationships > > http://www.lebans.com/saverelationshipview.htm > > From Allen Brownes notes > One more suggestion: if you have a large database with too > many tables to fit on screen, Stephen Lebans has a utility > to save multiple relationship views, and load them again > later. With this extended printout combined with his multiple > relationships view, you will be able to stay on top of your database. > > Relationship Report with extended field information If you > need to print field info as well > > http://allenbrowne.com/AppRelReport.html > > O'Connor, Patricia (OTDA) wrote: > > >Someone in my office wants to print several tables like they > appear in > >the relationships. The problem is that a few are big and end > up with a > >scroll bar so the entire table doesn't get printed. Is there > a way to > >get it to totally print? > > > >Is there another way besides dataflow diagram or if not do > you know of > >a freeware DFD that would be easy to use? > > > >I would probably use oracle Pl/sql DESC then copy the result > to excel, > >word, or powerpoint. BTW I can't use DESC via the Access > passthru. Is > >there a special way to get this > > > >Thanks > >************************************************** > >* Patricia O'Connor > >* Associate Computer Programmer Analyst > >* OTDA - BDMA > >* (W) mailto:Patricia.O'Connor at otda.state.ny.us > >* (w) mailto:aa1160 at nysemail.state.ny.us > >************************************************** > >-------------------------------------------------------- > >This e-mail, including any attachments, may be confidential, > privileged or otherwise legally protected. It is intended > only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do > not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply > e-mail and delete the e-mail from your system. > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ewaldt at gdls.com Sat Jul 22 13:52:22 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Sat, 22 Jul 2006 14:52:22 -0400 Subject: [AccessD] Creating a database via code In-Reply-To: Message-ID: I need to be able to create a database and export some objects (tables, queries, forms) to it, all via code from within Access. I know you can create a database via code from within Oracle, but can't seem to find out how within Access. Can this be done simply with SQL? Does it require ADO/DAO? TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From ewaldt at gdls.com Sat Jul 22 14:11:03 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Sat, 22 Jul 2006 15:11:03 -0400 Subject: [AccessD] Creating a database via code In-Reply-To: Message-ID: I found it in VBA help. Sorry; I think I was probably in general Access help when I first looked, so I could not find it. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From newsgrps at dalyn.co.nz Sun Jul 23 14:21:24 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 24 Jul 2006 07:21:24 +1200 Subject: [AccessD] Access 97 Report paper Size property Message-ID: <7.0.1.0.0.20060724071220.01ab9c90@dalyn.co.nz> I am wanting to loop through all reports to find out what the paper size property is set to. Does anyone have any code that will do this? This is what I have so far: Dim strList As String Dim x As Integer For x = CurrentDb.Containers!Reports.Documents.Count - 1 To 0 Step -1 'Add paper size details here 'strList = CurrentDb.Containers!Reports.Documents(x).Name & {paper size} ";" & strList Next MsgBox strList From dajomigo at tpg.com.au Sun Jul 23 17:23:32 2006 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Mon, 24 Jul 2006 08:23:32 +1000 Subject: [AccessD] [SPAM SUSPECT] Check box field on continuous form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356E5@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30DEE3C1@ADGSERVER> <916187228923D311A6FE00A0CC3FAA30D356E5@ADGSERVER> Message-ID: <6.2.1.2.2.20060724082107.01f0f5a8@mail.tpg.com.au> Bobby Sorry to take so long to reply. I have been absolutely flat out and couldn't even try your solution which worked perfectly. Thank you very much. David At 11:53 PM 19/07/2006, you wrote: >David, > >Why not run an update query when opening the form (or even once when the >program starts) that updates this field based upon the current date. That >way, you can just display it as is. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne >Gould >Sent: Wednesday, July 19, 2006 12:57 AM >To: Access Developers discussion and problem solving >Subject: [SPAM SUSPECT] [AccessD] Check box field on continuous form >Importance: Low > > >I am working on a database for a video library. I am having some difficulty >with a form for recording over-the-phone movie renewals. i have included a >field in the table (tblHires) to show if the movie is to be renewed (this >is a Yes/No field type) and the form has a subform set as a continuous form. > >The subform is based on the following query: > >SELECT tblHires.HireID, tblHires.member, tblHires.title, tblHires.outDate, >tblHires.dueDate, tblHires.over, tblHires.RentalFee, tblTitles.name, >IIf((Date()-tblHires!dueDate)>1,(Date()-tblHires!dueDate)*tblRentalType!Late >FeeRate,0) >AS ChargesDue, tblHires.DateReturned, >IIf(tblHires!dueDate>Date(),False,True) AS RenewStatus, tblHires.Renew, >tblRentalType.DaysDueBack, tblRentalType.NewRelease, >tblRentalType.RentalFee AS DefaultRentalFee >FROM (tblRentalType INNER JOIN tblTitles ON tblRentalType.RentalTypeID = >tblTitles.RentalTypeID) INNER JOIN tblHires ON tblTitles.tapeNumber = >tblHires.title >WHERE >(((tblHires.member)=[Forms]![frmHire_New_Members_Extend]![cboSelectMember]) >AND ((tblHires.DateReturned) Is Null)); > >I want the Renew field to be true for all titles that may need to be >renewed (that is: not yet returned and dueDateall movies on hire. > >I have managed to show the field as described above but it is then not >updatable. Alternatively, I can show the field as it is in the table and >then update it. > >Is it possible to have it work both ways? The status of this field is then >to be used to record the new hire transactions. > >TIA > >David Gould > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Jul 23 17:59:09 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 24 Jul 2006 10:59:09 +1200 Subject: [AccessD] Access 97 Report paper Size property In-Reply-To: <7.0.1.0.0.20060724071220.01ab9c90@dalyn.co.nz> References: <7.0.1.0.0.20060724071220.01ab9c90@dalyn.co.nz> Message-ID: <7.0.1.0.0.20060724105542.01c708a0@dalyn.co.nz> Solved it with the help of Microsoft article http://support.microsoft.com/kb/q129748/ At 24/07/2006, you wrote: >I am wanting to loop through all reports to find out what the paper >size property is set to. Does anyone have any code that will do >this? This is what I have so far: > >Dim strList As String >Dim x As Integer >For x = CurrentDb.Containers!Reports.Documents.Count - 1 To 0 Step -1 > 'Add paper size details here > 'strList = CurrentDb.Containers!Reports.Documents(x).Name & >{paper size} ";" & strList >Next >MsgBox strList > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ewaldt at gdls.com Mon Jul 24 07:16:08 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Mon, 24 Jul 2006 08:16:08 -0400 Subject: [AccessD] Set references programmatically Message-ID: I create smaller databases from a main one so that I can send out the smaller ones to users. I export forms, queries, and appropriate subsets of tables. I also export a startup macro and a VBA function for the startup macro to run. Now for the problem. The VBA function uses DAO, and I need to make sure the user will have DAO referred to. How do I do that programmatically? Specifically, I am looking for "Microsoft DAO 3.6 Object Library". TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From rlavsa at tigg.com Mon Jul 24 07:44:04 2006 From: rlavsa at tigg.com (Richard Lavsa) Date: Mon, 24 Jul 2006 08:44:04 -0400 Subject: [AccessD] Quotation Database structure question Message-ID: Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich From JHewson at karta.com Mon Jul 24 08:06:57 2006 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Jul 2006 08:06:57 -0500 Subject: [AccessD] What Causes Database Strange Behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C6371@karta-exc-int.Karta.com> Thanks Charlotte and Bobby for responding. Further investigation indicated that I was the only person having difficulty with the database. Most of the users had copied the front end to their machines and were not having any problems. I, on-the-other-hand, was having difficulty with several databases that were not even remotely connected. One database was using ODBC to SQL Server with very few forms - and it was closing before I could get it open. Regardless of the version of Access I used to open them, they still would not function correctly. One database gave me an error message when I opened it up in A2K, then wanted to know if I wanted to report it to Microsoft. I finally (after several attempts) reported it. I was given KB article 323203: ACC2000: Access 2000 Unexpectedly Quits When You Run Code to Open an Object. Essentially, it states the references need to be refreshed. The other key sentence was the CAUSE statement. "The database was created in MS Access 2002, but the database is now in the Access 2000 File Format, and you are working in Access 2000." Refreshing the references helped some but did not completely fix the problem. In a whirlwind of activity trying to get this resolved, I was finally directed to the Update site. I did the Check for Office Updates and found I needed several. Some for each version of office I had on my machine. I did the updates and the problem went away... Thanks. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, July 21, 2006 10:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] What Causes Database Strange Behavior If your users all use a shared front end written in A2k but open it with different versions of Access, I'm not surprised you're getting some odd results. Give them individual front ends and save yourself some headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 5:33 AM To: AccessD Subject: [AccessD] What Causes Database Strange Behavior A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, 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 bchacc at san.rr.com Mon Jul 24 08:21:41 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 24 Jul 2006 06:21:41 -0700 Subject: [AccessD] Quotation Database structure question In-Reply-To: References: Message-ID: <44C4C965.5020706@san.rr.com> I'd start with the outputs. Ask them to dummy up reports or look at the spreadsheets they're currently using to organize and use the information. The problem is one of categories, because apparently they want to extract (filter) and/or sort on different material characteristics. The output defines the data. Given that chances are that they don't really know or haven't analyzed, or don't want to put in the design time analyzing exactly how they want the information organized, I'd also design this app with several user defined fields which populate combo boxes and which combo boxes have Not In List procedures so they can do some of their own organizing and build their own characteristic lists - give them kind of an open framework. Rocky Richard Lavsa wrote: > Hello all, > > I have a question on how to build a piece of my application. > > The piece I am having trouble trying to put together is as follows. > > Our engineers call out and get prices on material (aluminum, steel, > Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle > Iron, etc.. ) So what they ask me to put together is a database that > they can enter all this information into, and pull out information as > needed. It sounded like an easy task at first. > > I started to lay it out and realized that even though these are all > "components" to whatever it is they are building, they may have > different characteristics to maintain in the database.. This is my > biggest hang-up... how do I make a Component table be able to take into > account all the various characteristics for such different pieces. > > For instance... > FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = > (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, > Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you > have your Pipe and Pipe Fittings Pipe can be made from various > materials, lengths, and thicknesses Pipe fittings can as well not to > mention there are elbows, T's, Y's, etc etc... > > ... > > So in summary.. What I'm trying to build at this point is a way to > record what the engineers received from various vendors and date it. > Organize it in such a fashion they can pick and choose based on > previous information gathered or based on updated data entered into > the system and put together a quick quote for a customer. This will > end up as a collaboration tool as well since some of the engineers may > call the same vendor asking for the same if not similar items. > > I simply don't know what the best approach is in organizing all these > Parts. They start off as a part, but they all have such different > characteristics to record, I don't know where to begin. > > Any help would be greatly appreciated. > > TIA, > Rich > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bheid at appdevgrp.com Mon Jul 24 08:34:27 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Jul 2006 09:34:27 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: What Causes Database Strange Behavior In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DFB2F1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D3571A@ADGSERVER> Glad to hear you're going now. I hate it when a bunch of things conspire against me like that. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Monday, July 24, 2006 9:07 AM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] Re: [AccessD] What Causes Database Strange Behavior Importance: Low Thanks Charlotte and Bobby for responding. Further investigation indicated that I was the only person having difficulty with the database. Most of the users had copied the front end to their machines and were not having any problems. I, on-the-other-hand, was having difficulty with several databases that were not even remotely connected. One database was using ODBC to SQL Server with very few forms - and it was closing before I could get it open. Regardless of the version of Access I used to open them, they still would not function correctly. One database gave me an error message when I opened it up in A2K, then wanted to know if I wanted to report it to Microsoft. I finally (after several attempts) reported it. I was given KB article 323203: ACC2000: Access 2000 Unexpectedly Quits When You Run Code to Open an Object. Essentially, it states the references need to be refreshed. The other key sentence was the CAUSE statement. "The database was created in MS Access 2002, but the database is now in the Access 2000 File Format, and you are working in Access 2000." Refreshing the references helped some but did not completely fix the problem. In a whirlwind of activity trying to get this resolved, I was finally directed to the Update site. I did the Check for Office Updates and found I needed several. Some for each version of office I had on my machine. I did the updates and the problem went away... Thanks. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, July 21, 2006 10:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] What Causes Database Strange Behavior If your users all use a shared front end written in A2k but open it with different versions of Access, I'm not surprised you're getting some odd results. Give them individual front ends and save yourself some headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 5:33 AM To: AccessD Subject: [AccessD] What Causes Database Strange Behavior A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim From Gustav at cactus.dk Mon Jul 24 10:34:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Jul 2006 17:34:45 +0200 Subject: [AccessD] Set references programmatically Message-ID: Hi Thomas Here's one method: ' Include in Declarations: ' Length of GUID string per definition. Private Const clngGUID As Long = 38 Type GuidDefinition Guid As String * clngGUID Major As Integer Minor As Integer End Type ' Functions: Public Function RefAddDao() As Boolean Dim typGuid As GuidDefinition With typGuid ' GUID for DAO. Don't specify version to add the latest. .Guid = "{00025E01-0000-0000-C000-000000000046}" End With RefAddDao = ReferenceAddFromGuid(typGuid) End Function Public Function ReferenceAddFromGuid(ByRef typGuid As GuidDefinition) As Boolean ' Add a reference from its GUID and verify it. ' ' 2001-08-20. Cactus Data ApS, CPH. ' Reference Guid not registered or registered with a lower version. Const clngErrorGuidNotRegistered As Long = -2147319779 Dim ref As Reference Dim booSuccess As Boolean On Error Resume Next With typGuid References.AddFromGuid .Guid, .Major, .Minor End With If Not Err = clngErrorGuidNotRegistered Then ' The reference is registered but it may have been tampered with. ' Find it and check that it is not broken. For Each ref In References With ref If .BuiltIn = True Then ' no need to study built in references. ElseIf .Guid = typGuid.Guid Then ' This is the added reference. booSuccess = Not IsBroken97(ref) If booSuccess = True Then ' Return actual GUID version. typGuid.Major = .Major typGuid.Minor = .Minor End If End If End With Next End If Set ref = Nothing ReferenceAddFromGuid = booSuccess End Function Public Function IsBroken97(ByVal ref As Access.Reference) As Boolean ' Alternative method to check if a reference is broken ' as the IsBroken property cannot be used in Access97. ' ' 2000-03-19. Gustav Brock. Cactus Data ApS. ' Refer to this article at Microsoft Technet: ' ' Article ID: Q186720 ' ' The information in this article applies to: ' Microsoft Access 97 ' ' SYMPTOMS ' In Microsoft Access, IsBroken is a property of the References collection. ' The Microsoft Access Help topic on the Isbroken property states the following: ' ' The IsBroken property returns a Boolean value indicating whether a ' Reference object points to a valid reference in the Windows Registry. ' ' Although this statement is correct, to receive this Boolean value ' you must trap for errors that are generated by the broken reference. ' Also, the IsBroken property becomes True only when the file being referenced ' is deleted and the Microsoft Windows Recycle Bin is emptied. ' This article details the steps necessary to receive the Boolean value. Dim booRefOK As Boolean On Error GoTo Err_IsBroken97 If Len(Dir(ref.FullPath, vbNormal)) > 0 Then booRefOK = Not ref.IsBroken End If Exit_IsBroken97: IsBroken97 = Not booRefOK Exit Function Err_IsBroken97: ' Ignore non existing servers, drives, and paths. Resume Exit_IsBroken97 End Function /gustav >>> ewaldt at gdls.com 24-07-2006 14:16:08 >>> I create smaller databases from a main one so that I can send out the smaller ones to users. I export forms, queries, and appropriate subsets of tables. I also export a startup macro and a VBA function for the startup macro to run. Now for the problem. The VBA function uses DAO, and I need to make sure the user will have DAO referred to. How do I do that programmatically? Specifically, I am looking for "Microsoft DAO 3.6 Object Library". TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 From cfoust at infostatsystems.com Mon Jul 24 10:36:26 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Jul 2006 08:36:26 -0700 Subject: [AccessD] Set references programmatically In-Reply-To: Message-ID: The simplest approach would be to create a template database from scratch and set the references you need. Then just use a copy of that as the container for the objects you export. The references are part of the database object. You can set references in code, but it is a finicky operation that I avoid like the plague. Actually, what you're doing sounds like a good candidate for partial replication, although that has its own set of headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, July 24, 2006 5:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Set references programmatically I create smaller databases from a main one so that I can send out the smaller ones to users. I export forms, queries, and appropriate subsets of tables. I also export a startup macro and a VBA function for the startup macro to run. Now for the problem. The VBA function uses DAO, and I need to make sure the user will have DAO referred to. How do I do that programmatically? Specifically, I am looking for "Microsoft DAO 3.6 Object Library". TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Jul 24 10:56:32 2006 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 24 Jul 2006 11:56:32 -0400 Subject: [AccessD] Quotation Database structure question In-Reply-To: Message-ID: <000201c6af39$bd12a430$2f01a8c0@dorismanning> Richard, I have a similar situation where I work. We have production shop order forms that have some common elements (project, quantity, item name, department, etc) but the actual details of the order are different depending on whether it's a graphic or something that needs to be fabricated. What I did was set up individual tables to hold the non-common information and used the PK of the common element table as the FK to the non-common tables. >From an interface standpoint, you could use a mainform-subform approach to show the appropriate subform of non-common information based on the component type selected on the mainform record. Doris Manning Database Administrator Hargrove Inc. From DWUTKA at marlow.com Mon Jul 24 11:53:49 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 24 Jul 2006 11:53:49 -0500 Subject: [AccessD] Quotation Database structure question Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A643@MARLOW_MAIN2.marlow.com> I created a product database for our company. Our website uses it. We have several 'types' of products, and I didn't want things hard coded, so I created a database where the people that control the data can create new products and put it in the system. Here is a screen shot of the relationships: http://www.marlow.com/productdbrelations.bmp there are a few tables that are off on the side, but those are strictly for the shopping cart itself. A little explanation: tblProducts is the main table, the ProductID is an Autonumber in that table. It has fields that are specific to every product, no matter what it is. The key field (in importance) is the GenericType field. I goofed when designing this, because I didn't use that term throughout the whole project, and didn't catch that I wasn't doing that until I was pretty deep into it. What does the GenericType field do? It tells the system what kind of product it is. GenericTypes are defined in tblSpecificationHeader (with a name, the GenericType field is a number field that matches the ListID (AutoNumber)). The specs for that product are then listed in tblSpecificationDetails. Each spec has the ListID (to relate it to a 'generic type'). Then have a name, units, (Our website has a glossary in it, so the Glossary ID matches the glossary terms to appropriate specs (for instance, some of our products are TECs (Thermo Electric Coolers, and DeltaT is a spec, and a glossary term, so when the website displays a product, if it has a matching glossary term for the spec, it shows up as a tool tip on the website. Then there are product types, and sub types. In our particular case, our subtypes are categories based on our customer base (DSP (Defense Space and Photonics), Commercial, Medical, etc.), and the types are more specific product types. For example, our Generic Types are 'standard coolers', 'accessories', and 'TTRS'. Our product types are identical for accessories and ttrs, but standard coolers have many product types (MI coolers, AT coolers, DT coolers, XLT coolers, etc.) I'll try to explain this in a little less technical terms. Each product has a 'generic type'. For instance, a centrifugal pump and a positive displacement pump are both pumps. So they would both have a GenericType 'Pump' (which would have it's own ID (ListID in my database)). The specs for a pump might be GPM, Type, PowerUsage, etc. Each spec for a pump would be listed in the SpecDetails table. Ooops, almost forgot. There are a few tables missing from the relationships. tblDateData, tblLongData, tblDoubleData, tblTextData and tblCurrencyData. They are identical tables, with SpecID (Long Integer), ProductID (Long Integer) and Data (data type matching the table, ie, Long Integer for tblLongData. Now, you might want to make a few modifications to my design. For example, my Product Specs are hard linked to a generic type. You may want to put this link in a many to many table, ie, a ListID and SpecID table, so that the same spec may relate to multiple generic types. (So if you have Manufacturer in many generic types, you can list all products, regardless of generic type, for a specific manufacturer. That may apply to all products though (so it may be put in tblProducts), but something like PowerUsage may only apply to certain generic types, so that might be a better example). Hope this helps. Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 24, 2006 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Quotation Database structure question Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jul 24 11:55:10 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Jul 2006 09:55:10 -0700 Subject: [AccessD] Set references programmatically In-Reply-To: References: Message-ID: <44C4FB6E.5070308@shaw.ca> Here is a quick method for use on startup. Function DAO_OK() As Boolean Dim varDBE As Variant On Error Resume Next If Access.Application.SysCmd(acSysCmdAccessVer) = "8.0" Then Set varDBE = VBA.CreateObject("DAO.DBEngine.35") Else Set varDBE = VBA.CreateObject("DAO.DBEngine.36") End If DAO_OK = (Err.Number = 0) End Function But remember when doing this checking at startup the code must be disambiguated untill you have verified all the correct references are there. In other words all function calls must be fully expressed so that no dll checking is done by the p-code because if not you will fail on a reference check Maybe a 429 error? For example even MsgBox must be VBA.MsgBox or CreateObject must be VBA.CreateObject. You may also have to reregister DAO 3.6 as registration can be lost occassionally. I have never checked but even this reregistration may cough on fully locked down systems. This method is useful in MDE's but you cannot add a reference in an MDE. Re-Register DAO http://www.trigeminal.com/code/RegisterDao.bas Adding a reference with VBA Dim ref As Access.Reference 'may want to do a VBA.Dir to verify existance of file ref.AddFromFile "C:\path to my dll ocx etc" Some other notes and urls that might be helpful http://www.accessmvp.com/djsteele/AccessReferenceErrors.html http://allenbrowne.com/ser-38.html Explanation of VBA code disambiguation http://www.trigeminal.com/usenet/usenet026.asp About how Access searches for reference libraries What order access uses to search for references http://office.microsoft.com/en-ca/assistance/HP030797131033.aspx http://support.microsoft.com/kb/q296205/ http://support.microsoft.com/kb/q189366/ Subject: INFO: How to guarantee that references will work in your applications Micheal Kaplan http://www.trigeminal.com/usenet/usenet026.asp?1033 Sub CheckReferences() 'courtsey Paul Overway Dim ref As Access.Reference Dim intResponse As Integer Dim blnMissing As Boolean Dim strURL As String Dim strBAD As String Dim strMSG As String On Error Resume Next For Each ref In Access.Application.References If ref.IsBroken Then strBAD = vbCrLf & vbTab & ref.FullPath & " " blnMissing = True End If Next If DAO_OK() = False Then VBA.MsgBox "One or more DAO files is missing, corrupt, or not registered." _ & vbCrLf & vbCrLf & _ "This error may result from an incomplete or failed installation" & _ " of Microsoft Access and/or its components " & _ "and will prevent the software from functioning properly." & _ vbCrLf & vbCrLf & "Please see articles 296205, 319841, or " & _ "319844 in Microsoft's Knowledge Base at support.microsoft.com." _ , vbApplicationModal + vbCritical + vbOKOnly, _ " DAO Reference Error" Access.Application.DoCmd.Quit End If If blnMissing Then strMSG = "The following referenced files are missing or corrupt and " & _ "will prevent the software from functioning properly:" _ & vbCrLf & strBAD Access.Application.DoCmd.Quit Else 'Refs OK...safe to run other code Access.Application.Run "NextStartUpRoutine" End If End Sub Function DAO_OK() As Boolean Dim varDBE As Variant On Error Resume Next If Access.Application.SysCmd(acSysCmdAccessVer) = "8.0" Then Set varDBE = VBA.CreateObject("DAO.DBEngine.35") Else Set varDBE = VBA.CreateObject("DAO.DBEngine.36") End If DAO_OK = (Err.Number = 0) End Function ' This is useful as you cannot always see the full path name ' of a reference in the Access add reference window ' One day they might make it scrollable ' hasn't happened in 4 versions. Public Function GetRefs() '==================================================================== ' Name: GetRefs ' Purpose: Get a list of the current database references ' ' Author: Arvin Meyer ' Date: April 10, 1999 ' Comment: ' '==================================================================== On Error GoTo Err_GetRefs Dim i As Integer For i = 1 To Application.References.Count Debug.Print Application.References(i).FullPath Next i Exit_GetRefs: Exit Function Err_GetRefs: Debug.Print "Missing Reference" Resume Next End Function ewaldt at gdls.com wrote: >I create smaller databases from a main one so that I can send out the >smaller ones to users. I export forms, queries, and appropriate subsets of >tables. I also export a startup macro and a VBA function for the startup >macro to run. Now for the problem. > >The VBA function uses DAO, and I need to make sure the user will have DAO >referred to. How do I do that programmatically? Specifically, I am looking >for "Microsoft DAO 3.6 Object Library". > >TIA, > >Thomas F. Ewald >FCS Database Manager >General Dynamics Land Systems >(586) 276-1256 > > > -- Marty Connelly Victoria, B.C. Canada From askolits at ot.com Mon Jul 24 14:57:46 2006 From: askolits at ot.com (John Skolits) Date: Mon, 24 Jul 2006 15:57:46 -0400 Subject: [AccessD] Number of a specific characters in a string Message-ID: <007a01c6af5b$728aedb0$6401a8c0@LaptopXP> I'm sure I could write some code for this, but is there a function that returns the occurrences of a specific character within a string. Ie: If the string is strSTRING = " Hello how are you, today" And I put it in a function called NumOfSpecifcChar() where the firsts argument is the string and the second the string value to search for. integerValue = NumOfSpecifcChar (strSTRING, "o") It would return a '4' From DWUTKA at marlow.com Mon Jul 24 16:06:39 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 24 Jul 2006 16:06:39 -0500 Subject: [AccessD] Number of a specific characters in a string Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A6B2@MARLOW_MAIN2.marlow.com> Don't know of a default function to do this, however, you could make one with just a few lines in a function: Function NumOfSpecificChar(strText as String, strCharacter as string) As Long Dim strTemp as string strTemp=Replace(strText,strCharacter,"") NumOfSpecificChar=(Len(strText)-Len(strTemp))/Len(strCharacter) End Function Drew -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, July 24, 2006 2:58 PM To: accessD at databaseadvisors.com Subject: [AccessD] Number of a specific characters in a string I'm sure I could write some code for this, but is there a function that returns the occurrences of a specific character within a string. Ie: If the string is strSTRING = " Hello how are you, today" And I put it in a function called NumOfSpecifcChar() where the firsts argument is the string and the second the string value to search for. integerValue = NumOfSpecifcChar (strSTRING, "o") It would return a '4' -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Mon Jul 24 16:23:31 2006 From: askolits at ot.com (John Skolits) Date: Mon, 24 Jul 2006 17:23:31 -0400 Subject: [AccessD] Number of a specific characters in a string In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A6B2@MARLOW_MAIN2.marlow.com> Message-ID: <008601c6af67$6ca85020$6401a8c0@LaptopXP> Very Clever! Thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, July 24, 2006 5:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Number of a specific characters in a string Don't know of a default function to do this, however, you could make one with just a few lines in a function: Function NumOfSpecificChar(strText as String, strCharacter as string) As Long Dim strTemp as string strTemp=Replace(strText,strCharacter,"") NumOfSpecificChar=(Len(strText)-Len(strTemp))/Len(strCharacter) End Function Drew -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, July 24, 2006 2:58 PM To: accessD at databaseadvisors.com Subject: [AccessD] Number of a specific characters in a string I'm sure I could write some code for this, but is there a function that returns the occurrences of a specific character within a string. Ie: If the string is strSTRING = " Hello how are you, today" And I put it in a function called NumOfSpecifcChar() where the firsts argument is the string and the second the string value to search for. integerValue = NumOfSpecifcChar (strSTRING, "o") It would return a '4' -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Jul 24 18:02:23 2006 From: robert at servicexp.com (Robert) Date: Mon, 24 Jul 2006 19:02:23 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <008601c6af67$6ca85020$6401a8c0@LaptopXP> Message-ID: <000001c6af75$3bb240d0$6501a8c0@roberts> I have been struggling with this problem for more then year and half, looks like it may finally have been resolved. I was able to get the patch and so far (3 weeks now) not one of these errors... I was receiving this error on at least a daily basis; most of the time several times during the day.... Pulled most of my hair out thinking it was something in my design... Thought you guys may want to know.. http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf Robert From garykjos at gmail.com Mon Jul 24 21:17:20 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 24 Jul 2006 21:17:20 -0500 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <000001c6af75$3bb240d0$6501a8c0@roberts> References: <008601c6af67$6ca85020$6401a8c0@LaptopXP> <000001c6af75$3bb240d0$6501a8c0@roberts> Message-ID: Wow, great news Robert. Thanks for sharing it. GK On 7/24/06, Robert wrote: > > I have been struggling with this problem for more then year and half, looks > like it may finally have been resolved. I was able to get the patch and so > far (3 weeks now) not one of these errors... I was receiving this error on > at least a daily basis; most of the time several times during the day.... > Pulled most of my hair out thinking it was something in my design... > > Thought you guys may want to know.. > > http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf > > Robert > > -- > 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 martyconnelly at shaw.ca Mon Jul 24 23:22:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Jul 2006 21:22:36 -0700 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: References: <008601c6af67$6ca85020$6401a8c0@LaptopXP> <000001c6af75$3bb240d0$6501a8c0@roberts> Message-ID: <44C59C8C.5060604@shaw.ca> Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch and so >>far (3 weeks now) not one of these errors... I was receiving this error on >>at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada From Patricia.O'Connor at otda.state.ny.us Wed Jul 26 06:45:04 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 26 Jul 2006 07:45:04 -0400 Subject: [AccessD] OT TEST IGNORE References: <000001c6af75$3bb240d0$6501a8c0@roberts> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE838CA83@EXCNYSM0A1AI.nysemail.nyenet> Testing to see if I will receive ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From john at winhaven.net Wed Jul 26 10:10:03 2006 From: john at winhaven.net (John Bartow) Date: Wed, 26 Jul 2006 10:10:03 -0500 Subject: [AccessD] just checking - please ignore Message-ID: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> just checking - please ignore From carbonnb at gmail.com Wed Jul 26 10:13:51 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 26 Jul 2006 11:13:51 -0400 Subject: [AccessD] just checking - please ignore In-Reply-To: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> References: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> Message-ID: On 7/26/06, John Bartow wrote: > just checking - please ignore Make the check payable to: Bryan Carbonnell :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lembit.dbamail at t-online.de Wed Jul 26 10:39:28 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Wed, 26 Jul 2006 17:39:28 +0200 Subject: [AccessD] just checking - please ignore References: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> Message-ID: <003101c6b0c9$ae5f3cf0$1400a8c0@v1000> ok, ignored Lembit ----- Original Message ----- From: "John Bartow" To: "_DBA-Access" Sent: Wednesday, July 26, 2006 5:10 PM Subject: [AccessD] just checking - please ignore > just checking - please ignore > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 25.07.2006 > > From JRojas at tnco-inc.com Wed Jul 26 12:17:48 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 26 Jul 2006 13:17:48 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDCFF@ex2k3.corp.tnco-inc.com> Hello, Does anyone know of a place where I can purchase Visual Studio 2005 Pro UPGRADE for a good price? So far the cheapest I found was $550. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From bill_Patten at earthlink.net Wed Jul 26 12:30:54 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Wed, 26 Jul 2006 10:30:54 -0700 Subject: [AccessD] OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDCFF@ex2k3.corp.tnco-inc.com> Message-ID: <001c01c6b0d9$3feff4c0$6401a8c0@BPCS> Joe I got it from Amazon Dot Com for 493.59 Did a Google search and picked one. Bill ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 10:17 AM Subject: [AccessD] OT: Visual Studio 2005 Pro Hello, Does anyone know of a place where I can purchase Visual Studio 2005 Pro UPGRADE for a good price? So far the cheapest I found was $550. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jul 26 13:56:02 2006 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 26 Jul 2006 14:56:02 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro Message-ID: http://www.jaggerswholesale.com/servlet/the-429082/Visual-Studio-Pro-200 5/Detail $506, try searching Froogle on "Visual Studio Pro 2005" Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas > Sent: Wednesday, July 26, 2006 1:18 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Visual Studio 2005 Pro > > Hello, > > Does anyone know of a place where I can purchase Visual > Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From markamatte at hotmail.com Wed Jul 26 14:34:20 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 26 Jul 2006 19:34:20 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte From wdhindman at dejpolsystems.com Wed Jul 26 14:36:15 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 26 Jul 2006 15:36:15 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDCFF@ex2k3.corp.tnco-inc.com> Message-ID: <003101c6b0ea$c314bd70$6466a8c0@50NM721> ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Jul 26 15:04:00 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 26 Jul 2006 15:04:00 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A895@MARLOW_MAIN2.marlow.com> Hmmm, a little tough to do that. Access User Level security can lock users out of objects, including tables, however, that means they can't get to them at all. I believe if a user has read rights, they still can't 'link' the table, not absolutely sure about that, have to check. But if they can read the data from the table in a form, they will be able to open the table in the database window. If reading doesn't allowing linking, you could always hide the DB window (or hide the access window). That would prevent the user from getting to the tables directly in the database. Even if read-only permissions don't allow a user to link, it still wouldn't be perfect, you'd be able to view the data with ADO/DAO code still.... Just curious, what's the actual goal here? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Jul 26 15:08:38 2006 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Wed, 26 Jul 2006 16:08:38 -0400 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A895@MARLOW_MAIN2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD7A895@MARLOW_MAIN2.marlow.com> Message-ID: <200607262008.k6QK8uS16758@databaseadvisors.com> The quick and dirty might be to just hide the tables and disable the shortcut keys unhide function or the toolbar. >>> 07/26/06 4:04 PM >>> Hmmm, a little tough to do that. Access User Level security can lock users out of objects, including tables, however, that means they can't get to them at all. I believe if a user has read rights, they still can't 'link' the table, not absolutely sure about that, have to check. But if they can read the data from the table in a form, they will be able to open the table in the database window. If reading doesn't allowing linking, you could always hide the DB window (or hide the access window). That would prevent the user from getting to the tables directly in the database. Even if read-only permissions don't allow a user to link, it still wouldn't be perfect, you'd be able to view the data with ADO/DAO code still.... Just curious, what's the actual goal here? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 26 15:20:11 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Jul 2006 13:20:11 -0700 Subject: [AccessD] OT: Visual Studio 2005 Pro In-Reply-To: <003101c6b0ea$c314bd70$6466a8c0@50NM721> Message-ID: However, the EULA requires you to remove all that software from your system if you're no longer eligible and are dropped from the program, i.e., you don't develop and MS based commercial product in the next year or so. We have the program here in our office and we're being granted some leeway because our new product isn't quite out the door yet, but I buy my own retail versions at home. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 26, 2006 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Visual Studio 2005 Pro ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jul 26 15:27:17 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 26 Jul 2006 15:27:17 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A8AC@MARLOW_MAIN2.marlow.com> Won't prevent linked tables though....that's why I'm curious what the actual goal is, there may be another way to 'protect' whatever he's trying to protect. Drew -----Original Message----- From: RANDALL R ANTHONY [mailto:RRANTHON at sentara.com] Sent: Wednesday, July 26, 2006 3:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? The quick and dirty might be to just hide the tables and disable the shortcut keys unhide function or the toolbar. >>> 07/26/06 4:04 PM >>> Hmmm, a little tough to do that. Access User Level security can lock users out of objects, including tables, however, that means they can't get to them at all. I believe if a user has read rights, they still can't 'link' the table, not absolutely sure about that, have to check. But if they can read the data from the table in a form, they will be able to open the table in the database window. If reading doesn't allowing linking, you could always hide the DB window (or hide the access window). That would prevent the user from getting to the tables directly in the database. Even if read-only permissions don't allow a user to link, it still wouldn't be perfect, you'd be able to view the data with ADO/DAO code still.... Just curious, what's the actual goal here? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Jul 26 15:29:01 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 26 Jul 2006 20:29:01 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <200607262008.k6QK8uS16758@databaseadvisors.com> Message-ID: Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Jul 26 15:33:58 2006 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Wed, 26 Jul 2006 16:33:58 -0400 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: References: <200607262008.k6QK8uS16758@databaseadvisors.com> Message-ID: <200607262034.k6QKY7S22886@databaseadvisors.com> Ah, that's right, it could still be linked via another db. >>> "Mark A Matte" 07/26/06 4:29 PM >>> Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jul 26 15:50:48 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 26 Jul 2006 15:50:48 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A8BF@MARLOW_MAIN2.marlow.com> Ah, two other options for you. Only send them a snapshot of the report. Or, a better method, would be to create a web based report, that they could view 'live'. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 3:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Jul 26 15:53:48 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Jul 2006 15:53:48 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDF8@corp-es01.fleetpride.com> From an Excel (or Word)workbook download the data from Access into a "report" in Excel or Word. The user doesn't need to know or care about Access and will only have access to the downloaded data. Just a thought. Jim Hale -----Original Message----- From: RANDALL R ANTHONY [mailto:RRANTHON at sentara.com] Sent: Wednesday, July 26, 2006 3:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Ah, that's right, it could still be linked via another db. >>> "Mark A Matte" 07/26/06 4:29 PM >>> Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Donald.A.McGillivray at sprint.com Wed Jul 26 15:58:07 2006 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Wed, 26 Jul 2006 15:58:07 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: Hi Mark, This may not be a suitable option in your case, but I used to use Crystal Reports to create encapsulated reports from an Access database. (A looong time ago - Access 2.0 and one of the earliest versions of Crystal.) As I recall, Crystal would allow you to create and save a report along with its data source embedded, so you could deliver it lock, stock, and barrel to a recipient, with no need to allow access to the original data source. It even allowed drilling down on summarized report data. I don't know how secure the underlying data was, but it may be worth a look-see. As I said, that was a long time ago, but this was such a cool feature that it's likely that it still exists in Crystal. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Wednesday, July 26, 2006 1:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Ah, that's right, it could still be linked via another db. >>> "Mark A Matte" 07/26/06 4:29 PM >>> Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Jul 26 16:03:15 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 26 Jul 2006 17:03:15 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <44C59C8C.5060604@shaw.ca> Message-ID: More like you did something stupid.... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 25, 2006 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch and so >>far (3 weeks now) not one of these errors... I was receiving this error on >>at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Jul 26 16:03:15 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 26 Jul 2006 17:03:15 -0400 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Mark, <> A. Don't use Access. B. Use user level security with two different workgroup files. 1. Secure your database completely as normal. 2. Make sure that all permissions to tables are revoked for the Users group and the Admin user). 3. Grant full permissions to the Admin user and the Users group for all the objects you want everyone to be able to use. 4. Distribute your application using the default workgroup information file. Since there is no password assigned to the Admin user in the default system.mda/mdw, everyone logs on as Admin and they have only those permissions you have assigned the Admin user and the Users group. For tables, you'll leave off all the permissions and then the only access to the tables would be through queries with the RWOP (run with owner permissions) to true. This achieves the first objective, but not the second. They simply will not have access to the tables. You'd have to give them your secure workgroup for them to be able to get at the tables directly. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 26, 2006 3:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 26 16:06:41 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Jul 2006 14:06:41 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Well, if you want to get really creative, I've got a sample called NoTables at http://www.rogersaccesslibrary.com/OtherLibraries.asp#Foust,%20Charlotte but it does require a separate, unlinked back end. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 26, 2006 1:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 26 16:07:10 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 26 Jul 2006 17:07:10 -0400 Subject: [AccessD] Secure a DB...kinda? References: Message-ID: <00a601c6b0f7$76b85380$6466a8c0@50NM721> ...can you open it only in a runtime mde? ...have your autoinit check the access path first ...if its not a runtime, shut it down? ...never had a reason to try that but I do check to see if I'm in a runtime environment and do things based upon the return. William ----- Original Message ----- From: "Mark A Matte" To: Sent: Wednesday, July 26, 2006 4:29 PM Subject: Re: [AccessD] Secure a DB...kinda? > Hiding the tables does not prevent linking. > > I'm not sure I can even do this...but the solution I've been asked to > provide is a way for someone to view a report...not have access to the > data...just view the report...this way no searching is allowed. I can do > part of this by have a form at startup that turns off the bypass...gets > rid > of ALL menus and shortcuts...and opens the report...this however does not > prevent them linking to the data from another db. > > Any ideas? > > Thanks, > > Mark > > P.S...as for the reason why...lets just say there is a reason there are so > many lawyer jokes. > > >>From: "RANDALL R ANTHONY" >>Reply-To: Access Developers discussion and problem >>solving >>To: >>Subject: Re: [AccessD] Secure a DB...kinda? >>Date: Wed, 26 Jul 2006 16:08:38 -0400 >> >>The quick and dirty might be to just hide the tables and disable the >>shortcut keys unhide function or the toolbar. >> >> >>> 07/26/06 4:04 PM >>> >>Hmmm, a little tough to do that. Access User Level security can lock >>users >>out of objects, including tables, however, that means they can't get to >>them >>at all. I believe if a user has read rights, they still can't 'link' >>the >>table, not absolutely sure about that, have to check. But if they can >>read >>the data from the table in a form, they will be able to open the table >>in >>the database window. >> >>If reading doesn't allowing linking, you could always hide the DB >>window (or >>hide the access window). That would prevent the user from getting to >>the >>tables directly in the database. >> >>Even if read-only permissions don't allow a user to link, it still >>wouldn't >>be perfect, you'd be able to view the data with ADO/DAO code still.... >> >>Just curious, what's the actual goal here? >> >>Drew >> >>-----Original Message----- >>From: Mark A Matte [mailto:markamatte at hotmail.com] >>Sent: Wednesday, July 26, 2006 2:34 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Secure a DB...kinda? >> >>Hello All, >> >>I would like to do 'something' with access...I want to be able to send >>out >>an MDB or MDE...and no matter who opens it...no password required...but >>if >>someone were to try and link or get to the tables...a password would be >> >>required? >> >>I could do this with a FE/BE scenario...but this is not an option. >> >>Any ideas? >> >>Thanks, >> >>Mark A. Matte >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Wed Jul 26 16:21:29 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 26 Jul 2006 21:21:29 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <00a601c6b0f7$76b85380$6466a8c0@50NM721> Message-ID: Thanks to Everyone for the feedback... Whatever my final solution ends up being...it can only be 1 file...and not an installation. Is anyone familiar with the Command-Line Arguments on the Advanced tab of OPTIONS...this almost looks like what I need...but I can't get it to work...I might be misunderstanding the function...but I think it is supposed to do exactly what I need. Any thoughts? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:07:10 -0400 > >...can you open it only in a runtime mde? ...have your autoinit check the >access path first ...if its not a runtime, shut it down? ...never had a >reason to try that but I do check to see if I'm in a runtime environment >and >do things based upon the return. > >William > >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, July 26, 2006 4:29 PM >Subject: Re: [AccessD] Secure a DB...kinda? > > > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > data...just view the report...this way no searching is allowed. I can >do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does >not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are >so > > many lawyer jokes. > > > > > >>From: "RANDALL R ANTHONY" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Secure a DB...kinda? > >>Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >>The quick and dirty might be to just hide the tables and disable the > >>shortcut keys unhide function or the toolbar. > >> > >> >>> 07/26/06 4:04 PM >>> > >>Hmmm, a little tough to do that. Access User Level security can lock > >>users > >>out of objects, including tables, however, that means they can't get to > >>them > >>at all. I believe if a user has read rights, they still can't 'link' > >>the > >>table, not absolutely sure about that, have to check. But if they can > >>read > >>the data from the table in a form, they will be able to open the table > >>in > >>the database window. > >> > >>If reading doesn't allowing linking, you could always hide the DB > >>window (or > >>hide the access window). That would prevent the user from getting to > >>the > >>tables directly in the database. > >> > >>Even if read-only permissions don't allow a user to link, it still > >>wouldn't > >>be perfect, you'd be able to view the data with ADO/DAO code still.... > >> > >>Just curious, what's the actual goal here? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Wednesday, July 26, 2006 2:34 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Secure a DB...kinda? > >> > >>Hello All, > >> > >>I would like to do 'something' with access...I want to be able to send > >>out > >>an MDB or MDE...and no matter who opens it...no password required...but > >>if > >>someone were to try and link or get to the tables...a password would be > >> > >>required? > >> > >>I could do this with a FE/BE scenario...but this is not an option. > >> > >>Any ideas? > >> > >>Thanks, > >> > >>Mark A. Matte > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 26 17:08:56 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 26 Jul 2006 18:08:56 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro References: Message-ID: <012501c6b100$17a95ed0$6466a8c0@50NM721> ...they are VERY liberal in extending your membership. I also have my own copies of anything I need personally ..but there is a LOT of stuff in there that is nice to play with/learn that I'd not have otherwise gotten ...plus the free cals makes running a home grown test bed much easier. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 4:20 PM Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > However, the EULA requires you to remove all that software from your > system if you're no longer eligible and are dropped from the program, > i.e., you don't develop and MS based commercial product in the next year > or so. We have the program here in our office and we're being granted > some leeway because our new product isn't quite out the door yet, but I > buy my own retail versions at home. > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, July 26, 2006 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > > ...cheapest damn thing to do Joe is register in the MS Partner program > (free), give them a URL that says you use/develop MS products/software > ...does NOT have to be much ...and then sign a pledge that says you > INTEND to develop an MS based commercial product within a year. > > ...that qualifies you for the Empower ISV program which gives you just > about everything they make with four quarterly updates ...including VS > 2005 Pro w/10 cals ...all for $375.00. > > ...takes only a little time to meet their quals (they are NOT demanding) > and then you're on to the best software buy you can get anywhere ...take > a look at their partner site ...they make it really easy. > > William > > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, July 26, 2006 1:17 PM > Subject: [AccessD] OT: Visual Studio 2005 Pro > > >> Hello, >> >> Does anyone know of a place where I can purchase Visual Studio 2005 > Pro >> UPGRADE for a good price? >> >> So far the cheapest I found was $550. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max at sherman.org.uk Wed Jul 26 17:10:10 2006 From: max at sherman.org.uk (Max Home) Date: Wed, 26 Jul 2006 23:10:10 +0100 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQkzicA Message-ID: <000601c6b100$441808e0$e26b1152@Server> Why don't you just export the report (any format you want, .doc, .snp, etc) and the shut the db down straight away. (you can even email it direct from the db and then shut it down. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: 26 July 2006 22:21 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Thanks to Everyone for the feedback... Whatever my final solution ends up being...it can only be 1 file...and not an installation. Is anyone familiar with the Command-Line Arguments on the Advanced tab of OPTIONS...this almost looks like what I need...but I can't get it to work...I might be misunderstanding the function...but I think it is supposed to do exactly what I need. Any thoughts? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:07:10 -0400 > >...can you open it only in a runtime mde? ...have your autoinit check the >access path first ...if its not a runtime, shut it down? ...never had a >reason to try that but I do check to see if I'm in a runtime environment >and >do things based upon the return. > >William > >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, July 26, 2006 4:29 PM >Subject: Re: [AccessD] Secure a DB...kinda? > > > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > data...just view the report...this way no searching is allowed. I can >do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does >not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are >so > > many lawyer jokes. > > > > > >>From: "RANDALL R ANTHONY" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Secure a DB...kinda? > >>Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >>The quick and dirty might be to just hide the tables and disable the > >>shortcut keys unhide function or the toolbar. > >> > >> >>> 07/26/06 4:04 PM >>> > >>Hmmm, a little tough to do that. Access User Level security can lock > >>users > >>out of objects, including tables, however, that means they can't get to > >>them > >>at all. I believe if a user has read rights, they still can't 'link' > >>the > >>table, not absolutely sure about that, have to check. But if they can > >>read > >>the data from the table in a form, they will be able to open the table > >>in > >>the database window. > >> > >>If reading doesn't allowing linking, you could always hide the DB > >>window (or > >>hide the access window). That would prevent the user from getting to > >>the > >>tables directly in the database. > >> > >>Even if read-only permissions don't allow a user to link, it still > >>wouldn't > >>be perfect, you'd be able to view the data with ADO/DAO code still.... > >> > >>Just curious, what's the actual goal here? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Wednesday, July 26, 2006 2:34 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Secure a DB...kinda? > >> > >>Hello All, > >> > >>I would like to do 'something' with access...I want to be able to send > >>out > >>an MDB or MDE...and no matter who opens it...no password required...but > >>if > >>someone were to try and link or get to the tables...a password would be > >> > >>required? > >> > >>I could do this with a FE/BE scenario...but this is not an option. > >> > >>Any ideas? > >> > >>Thanks, > >> > >>Mark A. Matte > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Wed Jul 26 18:49:29 2006 From: robert at servicexp.com (Robert) Date: Wed, 26 Jul 2006 19:49:29 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: Message-ID: <000001c6b10e$23164b80$6501a8c0@roberts> Hehehe, Provoked: Meaning problem in my code structure or design. As Jim said .....Something stupid (usually) Unprovoked: Meaning problem occurring with sound code structure or design. The battle that I have had with this problem has provoked me to..... Well I leave it at that..... :-) I thought the title very catchy.... ;-) Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, July 26, 2006 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? More like you did something stupid.... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 25, 2006 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch >>and so far (3 weeks now) not one of these errors... I was receiving >>this error on at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.p >>df >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Jul 26 19:20:01 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Jul 2006 17:20:01 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: References: Message-ID: <44C806B1.9030200@san.rr.com> How about a separate front end with just the report in question? Make that front end an mde and turn off the database window, bypass key, etc., etc.? Rocky Mark A Matte wrote: > Hiding the tables does not prevent linking. > > I'm not sure I can even do this...but the solution I've been asked to > provide is a way for someone to view a report...not have access to the > data...just view the report...this way no searching is allowed. I can do > part of this by have a form at startup that turns off the bypass...gets rid > of ALL menus and shortcuts...and opens the report...this however does not > prevent them linking to the data from another db. > > Any ideas? > > Thanks, > > Mark > > P.S...as for the reason why...lets just say there is a reason there are so > many lawyer jokes. > > > >> From: "RANDALL R ANTHONY" >> Reply-To: Access Developers discussion and problem >> solving >> To: >> Subject: Re: [AccessD] Secure a DB...kinda? >> Date: Wed, 26 Jul 2006 16:08:38 -0400 >> >> The quick and dirty might be to just hide the tables and disable the >> shortcut keys unhide function or the toolbar. >> >> >>>>> 07/26/06 4:04 PM >>> >>>>> >> Hmmm, a little tough to do that. Access User Level security can lock >> users >> out of objects, including tables, however, that means they can't get to >> them >> at all. I believe if a user has read rights, they still can't 'link' >> the >> table, not absolutely sure about that, have to check. But if they can >> read >> the data from the table in a form, they will be able to open the table >> in >> the database window. >> >> If reading doesn't allowing linking, you could always hide the DB >> window (or >> hide the access window). That would prevent the user from getting to >> the >> tables directly in the database. >> >> Even if read-only permissions don't allow a user to link, it still >> wouldn't >> be perfect, you'd be able to view the data with ADO/DAO code still.... >> >> Just curious, what's the actual goal here? >> >> Drew >> >> -----Original Message----- >> From: Mark A Matte [mailto:markamatte at hotmail.com] >> Sent: Wednesday, July 26, 2006 2:34 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Secure a DB...kinda? >> >> Hello All, >> >> I would like to do 'something' with access...I want to be able to send >> out >> an MDB or MDE...and no matter who opens it...no password required...but >> if >> someone were to try and link or get to the tables...a password would be >> >> required? >> >> I could do this with a FE/BE scenario...but this is not an option. >> >> Any ideas? >> >> Thanks, >> >> Mark A. Matte >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Wed Jul 26 19:21:19 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Jul 2006 17:21:19 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <200607262034.k6QKY7S22886@databaseadvisors.com> References: <200607262008.k6QK8uS16758@databaseadvisors.com> <200607262034.k6QKY7S22886@databaseadvisors.com> Message-ID: <44C806FF.6020202@san.rr.com> But now you're talking about real deliberate mischief instead of just curiosity or error. Is this a problem in this environment? Rocky RANDALL R ANTHONY wrote: > Ah, that's right, it could still be linked via another db. > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> >>>> > Hiding the tables does not prevent linking. > > I'm not sure I can even do this...but the solution I've been asked to > provide is a way for someone to view a report...not have access to the > > data...just view the report...this way no searching is allowed. I can > do > part of this by have a form at startup that turns off the bypass...gets > rid > of ALL menus and shortcuts...and opens the report...this however does > not > prevent them linking to the data from another db. > > Any ideas? > > Thanks, > > Mark > > P.S...as for the reason why...lets just say there is a reason there are > so > many lawyer jokes. > > > >> From: "RANDALL R ANTHONY" >> Reply-To: Access Developers discussion and problem >> solving >> To: >> Subject: Re: [AccessD] Secure a DB...kinda? >> Date: Wed, 26 Jul 2006 16:08:38 -0400 >> >> The quick and dirty might be to just hide the tables and disable the >> shortcut keys unhide function or the toolbar. >> >> >>>>> 07/26/06 4:04 PM >>> >>>>> >> Hmmm, a little tough to do that. Access User Level security can >> > lock > >> users >> out of objects, including tables, however, that means they can't get >> > to > >> them >> at all. I believe if a user has read rights, they still can't 'link' >> the >> table, not absolutely sure about that, have to check. But if they >> > can > >> read >> the data from the table in a form, they will be able to open the >> > table > >> in >> the database window. >> >> If reading doesn't allowing linking, you could always hide the DB >> window (or >> hide the access window). That would prevent the user from getting to >> the >> tables directly in the database. >> >> Even if read-only permissions don't allow a user to link, it still >> wouldn't >> be perfect, you'd be able to view the data with ADO/DAO code >> > still.... > >> Just curious, what's the actual goal here? >> >> Drew >> >> -----Original Message----- >> From: Mark A Matte [mailto:markamatte at hotmail.com] >> Sent: Wednesday, July 26, 2006 2:34 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Secure a DB...kinda? >> >> Hello All, >> >> I would like to do 'something' with access...I want to be able to >> > send > >> out >> an MDB or MDE...and no matter who opens it...no password >> > required...but > >> if >> someone were to try and link or get to the tables...a password would >> > be > >> required? >> >> I could do this with a FE/BE scenario...but this is not an option. >> >> Any ideas? >> >> Thanks, >> >> Mark A. Matte >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From jimdettman at earthlink.net Thu Jul 27 05:19:33 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 27 Jul 2006 06:19:33 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <000001c6b10e$23164b80$6501a8c0@roberts> Message-ID: Ah just to make sure were clear...don't take that personally. When I said "you", I meant all developers in general. And a year and a half on this would have driven me crazy as well. But you got a nice result. Now you know 100% for sure that it was a bug. Excellent work for sticking with it... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 26, 2006 7:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Hehehe, Provoked: Meaning problem in my code structure or design. As Jim said .....Something stupid (usually) Unprovoked: Meaning problem occurring with sound code structure or design. The battle that I have had with this problem has provoked me to..... Well I leave it at that..... :-) I thought the title very catchy.... ;-) Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, July 26, 2006 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? More like you did something stupid.... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 25, 2006 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch >>and so far (3 weeks now) not one of these errors... I was receiving >>this error on at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.p >>df >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jul 27 07:40:31 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 27 Jul 2006 08:40:31 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD03@ex2k3.corp.tnco-inc.com> Thanks William, This sounds great...however...I would only be using it for in-house projects. It sounds like I could meet the qualifications but would have an issue when the year is up. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 26, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Visual Studio 2005 Pro ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Jul 27 08:00:29 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 27 Jul 2006 09:00:29 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DFB61C@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35744@ADGSERVER> William, What when you say "INTEND to develop an MS based commercial product within a year", are you talking about any software that you will sell? Or does it have to be something that is marketed or something like that? Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Thursday, July 27, 2006 8:41 AM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro Importance: Low Thanks William, This sounds great...however...I would only be using it for in-house projects. It sounds like I could meet the qualifications but would have an issue when the year is up. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 26, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Visual Studio 2005 Pro ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Jul 27 09:03:48 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 27 Jul 2006 10:03:48 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro References: <916187228923D311A6FE00A0CC3FAA30D35744@ADGSERVER> Message-ID: <002301c6b185$7c07a3c0$6466a8c0@50NM721> ...almost any app that could be packaged for resale to another company or individual. William ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, July 27, 2006 9:00 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > William, > > What when you say "INTEND to develop an MS based commercial product within > a > year", are you talking about any software that you will sell? Or does it > have to be something that is marketed or something like that? > > Thanks, > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas > Sent: Thursday, July 27, 2006 8:41 AM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro > Importance: Low > > > Thanks William, > > This sounds great...however...I would only be using it for in-house > projects. It sounds like I could meet the qualifications but would have > an issue when the year is up. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, July 26, 2006 3:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > > ...cheapest damn thing to do Joe is register in the MS Partner program > (free), give them a URL that says you use/develop MS products/software > ...does NOT have to be much ...and then sign a pledge that says you > INTEND > to develop an MS based commercial product within a year. > > ...that qualifies you for the Empower ISV program which gives you just > about > everything they make with four quarterly updates ...including VS 2005 > Pro > w/10 cals ...all for $375.00. > > ...takes only a little time to meet their quals (they are NOT demanding) > and > then you're on to the best software buy you can get anywhere ...take a > look > at their partner site ...they make it really easy. > > William > > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, July 26, 2006 1:17 PM > Subject: [AccessD] OT: Visual Studio 2005 Pro > > >> Hello, >> >> Does anyone know of a place where I can purchase Visual Studio 2005 > Pro >> UPGRADE for a good price? >> >> So far the cheapest I found was $550. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Thu Jul 27 09:22:49 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 14:22:49 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <44C806FF.6020202@san.rr.com> Message-ID: Its just what the lawyer was asking for...I gave them a tool to view a large number of records...he wanted to share the info with other lawyers...but did not want them to have the functionality he had. His request was 'No searching' and 'No exporting'...just reading. And it had to be provided in a single file...No FE/BE...no install. I wasn't sure anything like this was possible...so thought I'd ask. Anyone know what the "Command-Line Arguments" setting is for on the ADVANCED tab of OPTIONS? Thanks, Mark A. Matte >From: Rocky Smolin - Beach Access Software >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:21:19 -0700 > >But now you're talking about real deliberate mischief instead of just >curiosity or error. Is this a problem in this environment? > >Rocky > > >RANDALL R ANTHONY wrote: > > Ah, that's right, it could still be linked via another db. > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > >>>> > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > > > data...just view the report...this way no searching is allowed. I can > > do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does > > not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are > > so > > many lawyer jokes. > > > > > > > >> From: "RANDALL R ANTHONY" > >> Reply-To: Access Developers discussion and problem > >> solving > >> To: > >> Subject: Re: [AccessD] Secure a DB...kinda? > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >> The quick and dirty might be to just hide the tables and disable the > >> shortcut keys unhide function or the toolbar. > >> > >> > >>>>> 07/26/06 4:04 PM >>> > >>>>> > >> Hmmm, a little tough to do that. Access User Level security can > >> > > lock > > > >> users > >> out of objects, including tables, however, that means they can't get > >> > > to > > > >> them > >> at all. I believe if a user has read rights, they still can't 'link' > >> the > >> table, not absolutely sure about that, have to check. But if they > >> > > can > > > >> read > >> the data from the table in a form, they will be able to open the > >> > > table > > > >> in > >> the database window. > >> > >> If reading doesn't allowing linking, you could always hide the DB > >> window (or > >> hide the access window). That would prevent the user from getting to > >> the > >> tables directly in the database. > >> > >> Even if read-only permissions don't allow a user to link, it still > >> wouldn't > >> be perfect, you'd be able to view the data with ADO/DAO code > >> > > still.... > > > >> Just curious, what's the actual goal here? > >> > >> Drew > >> > >> -----Original Message----- > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > >> Sent: Wednesday, July 26, 2006 2:34 PM > >> To: accessd at databaseadvisors.com > >> Subject: [AccessD] Secure a DB...kinda? > >> > >> Hello All, > >> > >> I would like to do 'something' with access...I want to be able to > >> > > send > > > >> out > >> an MDB or MDE...and no matter who opens it...no password > >> > > required...but > > > >> if > >> someone were to try and link or get to the tables...a password would > >> > > be > > > >> required? > >> > >> I could do this with a FE/BE scenario...but this is not an option. > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Mark A. Matte > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > >-- >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Jul 27 09:42:10 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Jul 2006 09:42:10 -0500 Subject: [AccessD] Web Designer position Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDFF@corp-es01.fleetpride.com> My company ($500MM sales, 160 retail locations) is looking for a heavy duty web designer with Access experience. We are mostly an AS400 shop without layers of bureaucracy on the PC side. Corporate headquarters has only 25 people including the officers and IT staff so whomever succeeds in this position will definitely be noticed. Anyone who is interested please send me a request offline and I will send the job criteria. We are based in The Woodlands Tx which is 30 mi north of downtown Houston. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Thu Jul 27 09:42:36 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 07:42:36 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: It's there to hard code a value you can return with the Command() function. If you pass in a command line argument using /cmd, you can also read that with the Command() function. The value returned is a variant, not a string. If you pass it in from a command line, it has to be the last option on the command line. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 7:23 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Its just what the lawyer was asking for...I gave them a tool to view a large number of records...he wanted to share the info with other lawyers...but did not want them to have the functionality he had. His request was 'No searching' and 'No exporting'...just reading. And it had to be provided in a single file...No FE/BE...no install. I wasn't sure anything like this was possible...so thought I'd ask. Anyone know what the "Command-Line Arguments" setting is for on the ADVANCED tab of OPTIONS? Thanks, Mark A. Matte >From: Rocky Smolin - Beach Access Software >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:21:19 -0700 > >But now you're talking about real deliberate mischief instead of just >curiosity or error. Is this a problem in this environment? > >Rocky > > >RANDALL R ANTHONY wrote: > > Ah, that's right, it could still be linked via another db. > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > >>>> > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked > > to provide is a way for someone to view a report...not have access > > to the > > > > data...just view the report...this way no searching is allowed. I > > can do part of this by have a form at startup that turns off the > > bypass...gets rid of ALL menus and shortcuts...and opens the > > report...this however does not prevent them linking to the data from > > another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there > > are so many lawyer jokes. > > > > > > > >> From: "RANDALL R ANTHONY" > >> Reply-To: Access Developers discussion and problem > >> solving > >> To: > >> Subject: Re: [AccessD] Secure a DB...kinda? > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >> The quick and dirty might be to just hide the tables and disable > >> the shortcut keys unhide function or the toolbar. > >> > >> > >>>>> 07/26/06 4:04 PM >>> > >>>>> > >> Hmmm, a little tough to do that. Access User Level security can > >> > > lock > > > >> users > >> out of objects, including tables, however, that means they can't > >> get > >> > > to > > > >> them > >> at all. I believe if a user has read rights, they still can't 'link' > >> the > >> table, not absolutely sure about that, have to check. But if they > >> > > can > > > >> read > >> the data from the table in a form, they will be able to open the > >> > > table > > > >> in > >> the database window. > >> > >> If reading doesn't allowing linking, you could always hide the DB > >> window (or hide the access window). That would prevent the user > >> from getting to the tables directly in the database. > >> > >> Even if read-only permissions don't allow a user to link, it still > >> wouldn't be perfect, you'd be able to view the data with ADO/DAO > >> code > >> > > still.... > > > >> Just curious, what's the actual goal here? > >> > >> Drew > >> > >> -----Original Message----- > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > >> Sent: Wednesday, July 26, 2006 2:34 PM > >> To: accessd at databaseadvisors.com > >> Subject: [AccessD] Secure a DB...kinda? > >> > >> Hello All, > >> > >> I would like to do 'something' with access...I want to be able to > >> > > send > > > >> out > >> an MDB or MDE...and no matter who opens it...no password > >> > > required...but > > > >> if > >> someone were to try and link or get to the tables...a password > >> would > >> > > be > > > >> required? > >> > >> I could do this with a FE/BE scenario...but this is not an option. > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Mark A. Matte > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > >-- >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Jul 27 09:57:20 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 14:57:20 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: ok...all the help files and articles imply that I can use the following in this setting: /pwd My question is what does /pwd in the Command-Line Arguments setting on the ADVANCED tab of OPTIONS do? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 07:42:36 -0700 > >It's there to hard code a value you can return with the Command() >function. If you pass in a command line argument using /cmd, you can >also read that with the Command() function. The value returned is a >variant, not a string. If you pass it in from a command line, it has >to be the last option on the command line. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large number of records...he wanted to share the info with other >lawyers...but did not want them to have the functionality he had. His >request was 'No searching' and 'No exporting'...just reading. And it >had to be provided in a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > to provide is a way for someone to view a report...not have access > > > to the > > > > > > data...just view the report...this way no searching is allowed. I > > > can do part of this by have a form at startup that turns off the > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > report...this however does not prevent them linking to the data from > > > > another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason there > > > are so many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable > > >> the shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't > > >> get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't >'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or hide the access window). That would prevent the user > > >> from getting to the tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it still > > >> wouldn't be perfect, you'd be able to view the data with ADO/DAO > > >> code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password > > >> would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 27 10:20:05 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 08:20:05 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: It automates passing in the password for Access security, not a database password or code password. We build shortcuts for our users that open the application to the correct settings without their having to deal with a login dialog. If they open the database from Access without the password, they get dumped out or the face a login dialog, depending on which workgroup they point at. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 7:57 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? ok...all the help files and articles imply that I can use the following in this setting: /pwd My question is what does /pwd in the Command-Line Arguments setting on the ADVANCED tab of OPTIONS do? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 07:42:36 -0700 > >It's there to hard code a value you can return with the Command() >function. If you pass in a command line argument using /cmd, you can >also read that with the Command() function. The value returned is a >variant, not a string. If you pass it in from a command line, it has >to be the last option on the command line. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large number of records...he wanted to share the info with other >lawyers...but did not want them to have the functionality he had. His >request was 'No searching' and 'No exporting'...just reading. And it >had to be provided in a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > to provide is a way for someone to view a report...not have access > > > to the > > > > > > data...just view the report...this way no searching is allowed. I > > > can do part of this by have a form at startup that turns off the > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > report...this however does not prevent them linking to the data > > > from > > > > another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason > > > there are so many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable > > >> the shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't > > >> get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't >'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if > > >> they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or hide the access window). That would prevent the user > > >> from getting to the tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it > > >> still wouldn't be perfect, you'd be able to view the data with > > >> ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password > > >> would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jul 27 10:34:20 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 27 Jul 2006 11:34:20 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD04@ex2k3.corp.tnco-inc.com> So are there requirements for the sale? For example, could I build a basic web service and sell it to my employer for $10? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, July 27, 2006 10:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro ...almost any app that could be packaged for resale to another company or individual. William ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, July 27, 2006 9:00 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > William, > > What when you say "INTEND to develop an MS based commercial product within > a > year", are you talking about any software that you will sell? Or does it > have to be something that is marketed or something like that? > > Thanks, > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas > Sent: Thursday, July 27, 2006 8:41 AM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro > Importance: Low > > > Thanks William, > > This sounds great...however...I would only be using it for in-house > projects. It sounds like I could meet the qualifications but would have > an issue when the year is up. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, July 26, 2006 3:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > > ...cheapest damn thing to do Joe is register in the MS Partner program > (free), give them a URL that says you use/develop MS products/software > ...does NOT have to be much ...and then sign a pledge that says you > INTEND > to develop an MS based commercial product within a year. > > ...that qualifies you for the Empower ISV program which gives you just > about > everything they make with four quarterly updates ...including VS 2005 > Pro > w/10 cals ...all for $375.00. > > ...takes only a little time to meet their quals (they are NOT demanding) > and > then you're on to the best software buy you can get anywhere ...take a > look > at their partner site ...they make it really easy. > > William > > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, July 26, 2006 1:17 PM > Subject: [AccessD] OT: Visual Studio 2005 Pro > > >> Hello, >> >> Does anyone know of a place where I can purchase Visual Studio 2005 > Pro >> UPGRADE for a good price? >> >> So far the cheapest I found was $550. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Jul 27 10:36:03 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 15:36:03 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Thanks Charlotte, Thats kinda what I found in my searching...so if I run the user level security wizard(already done)...and my user is 'mark' and password is 'test'...What do I put in the Command-Lione Arguments box(syntax)??? ....and most things I've read talk about shortcuts...is this solution dependant on creating a shortcut? ....and If I understand this...this would be a way for me to have an MDB file that can launch...without user entering or even knowing the password...but would prevent someone from linking to the tables without the pwd? Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 08:20:05 -0700 > >It automates passing in the password for Access security, not a database >password or code password. We build shortcuts for our users that open >the application to the correct settings without their having to deal >with a login dialog. If they open the database from Access without the >password, they get dumped out or the face a login dialog, depending on >which workgroup they point at. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:57 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >ok...all the help files and articles imply that I can use the following >in this setting: /pwd > >My question is what does /pwd in the Command-Line Arguments >setting on the ADVANCED tab of OPTIONS do? > >Thanks, > >Mark > > > >From: "Charlotte Foust" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Thu, 27 Jul 2006 07:42:36 -0700 > > > >It's there to hard code a value you can return with the Command() > >function. If you pass in a command line argument using /cmd, you can > >also read that with the Command() function. The value returned is a > >variant, not a string. If you pass it in from a command line, it has > >to be the last option on the command line. > > > > > >Charlotte Foust > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Thursday, July 27, 2006 7:23 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Secure a DB...kinda? > > > >Its just what the lawyer was asking for...I gave them a tool to view a > >large number of records...he wanted to share the info with other > >lawyers...but did not want them to have the functionality he had. His > >request was 'No searching' and 'No exporting'...just reading. And it > >had to be provided in a single file...No FE/BE...no install. > > > >I wasn't sure anything like this was possible...so thought I'd ask. > > > >Anyone know what the "Command-Line Arguments" setting is for on the > >ADVANCED tab of OPTIONS? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Rocky Smolin - Beach Access Software > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: Access Developers discussion and problem > > >solving > > >Subject: Re: [AccessD] Secure a DB...kinda? > > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > > > >But now you're talking about real deliberate mischief instead of just > > > >curiosity or error. Is this a problem in this environment? > > > > > >Rocky > > > > > > > > >RANDALL R ANTHONY wrote: > > > > Ah, that's right, it could still be linked via another db. > > > > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > > >>>> > > > > Hiding the tables does not prevent linking. > > > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > > > to provide is a way for someone to view a report...not have access > > > > > to the > > > > > > > > data...just view the report...this way no searching is allowed. I > > > > > can do part of this by have a form at startup that turns off the > > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > > report...this however does not prevent them linking to the data > > > > from > > > > > > another db. > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > > > > > Mark > > > > > > > > P.S...as for the reason why...lets just say there is a reason > > > > there are so many lawyer jokes. > > > > > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > > >> Reply-To: Access Developers discussion and problem > > > >> solving > > > >> To: > > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > > >> > > > >> The quick and dirty might be to just hide the tables and disable > > > >> the shortcut keys unhide function or the toolbar. > > > >> > > > >> > > > >>>>> 07/26/06 4:04 PM >>> > > > >>>>> > > > >> Hmmm, a little tough to do that. Access User Level security can > > > >> > > > > lock > > > > > > > >> users > > > >> out of objects, including tables, however, that means they can't > > > >> get > > > >> > > > > to > > > > > > > >> them > > > >> at all. I believe if a user has read rights, they still can't > >'link' > > > >> the > > > >> table, not absolutely sure about that, have to check. But if > > > >> they > > > >> > > > > can > > > > > > > >> read > > > >> the data from the table in a form, they will be able to open the > > > >> > > > > table > > > > > > > >> in > > > >> the database window. > > > >> > > > >> If reading doesn't allowing linking, you could always hide the DB > > > > >> window (or hide the access window). That would prevent the user > > > >> from getting to the tables directly in the database. > > > >> > > > >> Even if read-only permissions don't allow a user to link, it > > > >> still wouldn't be perfect, you'd be able to view the data with > > > >> ADO/DAO code > > > >> > > > > still.... > > > > > > > >> Just curious, what's the actual goal here? > > > >> > > > >> Drew > > > >> > > > >> -----Original Message----- > > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > > >> To: accessd at databaseadvisors.com > > > >> Subject: [AccessD] Secure a DB...kinda? > > > >> > > > >> Hello All, > > > >> > > > >> I would like to do 'something' with access...I want to be able to > > > >> > > > > send > > > > > > > >> out > > > >> an MDB or MDE...and no matter who opens it...no password > > > >> > > > > required...but > > > > > > > >> if > > > >> someone were to try and link or get to the tables...a password > > > >> would > > > >> > > > > be > > > > > > > >> required? > > > >> > > > >> I could do this with a FE/BE scenario...but this is not an >option. > > > >> > > > >> Any ideas? > > > >> > > > >> Thanks, > > > >> > > > >> Mark A. Matte > > > >> > > > >> > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> > > > > > > > > > > > > > > > > > >-- > > >Rocky Smolin > > >Beach Access Software > > >858-259-4334 > > >www.e-z-mrp.com > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jul 27 10:36:27 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 27 Jul 2006 10:36:27 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> I believe a snapshot format does this, however, and this should be kept in mind, no matter what format you put it in, if the data is there, and they can print it, Office 2003 comes with OCR (Optical Character Recognition) capabilities, so it wouldn't be very hard for them to take anything (electronic or scanned) and turn it into another format. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Thursday, July 27, 2006 9:23 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Its just what the lawyer was asking for...I gave them a tool to view a large number of records...he wanted to share the info with other lawyers...but did not want them to have the functionality he had. His request was 'No searching' and 'No exporting'...just reading. And it had to be provided in a single file...No FE/BE...no install. I wasn't sure anything like this was possible...so thought I'd ask. Anyone know what the "Command-Line Arguments" setting is for on the ADVANCED tab of OPTIONS? Thanks, Mark A. Matte >From: Rocky Smolin - Beach Access Software >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:21:19 -0700 > >But now you're talking about real deliberate mischief instead of just >curiosity or error. Is this a problem in this environment? > >Rocky > > >RANDALL R ANTHONY wrote: > > Ah, that's right, it could still be linked via another db. > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > >>>> > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > > > data...just view the report...this way no searching is allowed. I can > > do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does > > not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are > > so > > many lawyer jokes. > > > > > > > >> From: "RANDALL R ANTHONY" > >> Reply-To: Access Developers discussion and problem > >> solving > >> To: > >> Subject: Re: [AccessD] Secure a DB...kinda? > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >> The quick and dirty might be to just hide the tables and disable the > >> shortcut keys unhide function or the toolbar. > >> > >> > >>>>> 07/26/06 4:04 PM >>> > >>>>> > >> Hmmm, a little tough to do that. Access User Level security can > >> > > lock > > > >> users > >> out of objects, including tables, however, that means they can't get > >> > > to > > > >> them > >> at all. I believe if a user has read rights, they still can't 'link' > >> the > >> table, not absolutely sure about that, have to check. But if they > >> > > can > > > >> read > >> the data from the table in a form, they will be able to open the > >> > > table > > > >> in > >> the database window. > >> > >> If reading doesn't allowing linking, you could always hide the DB > >> window (or > >> hide the access window). That would prevent the user from getting to > >> the > >> tables directly in the database. > >> > >> Even if read-only permissions don't allow a user to link, it still > >> wouldn't > >> be perfect, you'd be able to view the data with ADO/DAO code > >> > > still.... > > > >> Just curious, what's the actual goal here? > >> > >> Drew > >> > >> -----Original Message----- > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > >> Sent: Wednesday, July 26, 2006 2:34 PM > >> To: accessd at databaseadvisors.com > >> Subject: [AccessD] Secure a DB...kinda? > >> > >> Hello All, > >> > >> I would like to do 'something' with access...I want to be able to > >> > > send > > > >> out > >> an MDB or MDE...and no matter who opens it...no password > >> > > required...but > > > >> if > >> someone were to try and link or get to the tables...a password would > >> > > be > > > >> required? > >> > >> I could do this with a FE/BE scenario...but this is not an option. > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Mark A. Matte > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > >-- >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Jul 27 10:52:50 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 27 Jul 2006 11:52:50 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDD04@ex2k3.corp.tnco-inc.com> Message-ID: <009301c6b194$b7910ad0$6466a8c0@50NM721> ...you don't have to prove a sale Joe ...just that you are developing something you hope to market ...whether to the general market or a vertical one doesn't matter. ...as the year expires they'll ask if you need to renew ...and if you show you are still working on it, they'll go along ...or you can show them a new product you're working on ...they're not trying to punish anyone, just make more applications available that makes their products more desirable to the genera public ...and in the meantime, keep the developer community locked into their product line ...its a win-win imnsho if you already use their products. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 11:34 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > So are there requirements for the sale? > For example, could I build a basic web service and sell it to my > employer for $10? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...almost any app that could be packaged for resale to another company > or > individual. > > William > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, July 27, 2006 9:00 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> William, >> >> What when you say "INTEND to develop an MS based commercial product > within >> a >> year", are you talking about any software that you will sell? Or does > it >> have to be something that is marketed or something like that? >> >> Thanks, >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >> Sent: Thursday, July 27, 2006 8:41 AM >> To: Access Developers discussion and problem solving >> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >> Importance: Low >> >> >> Thanks William, >> >> This sounds great...however...I would only be using it for in-house >> projects. It sounds like I could meet the qualifications but would > have >> an issue when the year is up. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, July 26, 2006 3:36 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >> >> ...cheapest damn thing to do Joe is register in the MS Partner program >> (free), give them a URL that says you use/develop MS products/software >> ...does NOT have to be much ...and then sign a pledge that says you >> INTEND >> to develop an MS based commercial product within a year. >> >> ...that qualifies you for the Empower ISV program which gives you just >> about >> everything they make with four quarterly updates ...including VS 2005 >> Pro >> w/10 cals ...all for $375.00. >> >> ...takes only a little time to meet their quals (they are NOT > demanding) >> and >> then you're on to the best software buy you can get anywhere ...take a >> look >> at their partner site ...they make it really easy. >> >> William >> >> ----- Original Message ----- >> From: "Joe Rojas" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, July 26, 2006 1:17 PM >> Subject: [AccessD] OT: Visual Studio 2005 Pro >> >> >>> Hello, >>> >>> Does anyone know of a place where I can purchase Visual Studio 2005 >> Pro >>> UPGRADE for a good price? >>> >>> So far the cheapest I found was $550. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Thu Jul 27 11:10:38 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 16:10:38 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> Message-ID: I ran user security on that db...now every db I open asks for a logon...how can I stop this? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 10:36:27 -0500 > >I believe a snapshot format does this, however, and this should be kept in >mind, no matter what format you put it in, if the data is there, and they >can print it, Office 2003 comes with OCR (Optical Character Recognition) >capabilities, so it wouldn't be very hard for them to take anything >(electronic or scanned) and turn it into another format. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Thursday, July 27, 2006 9:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large > >number of records...he wanted to share the info with other lawyers...but >did > >not want them to have the functionality he had. His request was 'No >searching' and 'No exporting'...just reading. And it had to be provided in >a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED > >tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked to > > > provide is a way for someone to view a report...not have access to the > > > > > > data...just view the report...this way no searching is allowed. I can > > > do > > > part of this by have a form at startup that turns off the >bypass...gets > > > rid > > > of ALL menus and shortcuts...and opens the report...this however does > > > not > > > prevent them linking to the data from another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason there >are > > > so > > > many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable the > > >> shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't 'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or > > >> hide the access window). That would prevent the user from getting to > > >> the > > >> tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it still > > >> wouldn't > > >> be perfect, you'd be able to view the data with ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jul 27 11:23:24 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 27 Jul 2006 11:23:24 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A95B@MARLOW_MAIN2.marlow.com> You have to switch the workgroup back to the system.mdw. Now, if you 'added' security to the system.mdw, you need to make a new workgroup, and replace system.mdw with it. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Thursday, July 27, 2006 11:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? I ran user security on that db...now every db I open asks for a logon...how can I stop this? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 10:36:27 -0500 > >I believe a snapshot format does this, however, and this should be kept in >mind, no matter what format you put it in, if the data is there, and they >can print it, Office 2003 comes with OCR (Optical Character Recognition) >capabilities, so it wouldn't be very hard for them to take anything >(electronic or scanned) and turn it into another format. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Thursday, July 27, 2006 9:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large > >number of records...he wanted to share the info with other lawyers...but >did > >not want them to have the functionality he had. His request was 'No >searching' and 'No exporting'...just reading. And it had to be provided in >a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED > >tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked to > > > provide is a way for someone to view a report...not have access to the > > > > > > data...just view the report...this way no searching is allowed. I can > > > do > > > part of this by have a form at startup that turns off the >bypass...gets > > > rid > > > of ALL menus and shortcuts...and opens the report...this however does > > > not > > > prevent them linking to the data from another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason there >are > > > so > > > many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable the > > >> shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't 'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or > > >> hide the access window). That would prevent the user from getting to > > >> the > > >> tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it still > > >> wouldn't > > >> be perfect, you'd be able to view the data with ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 27 11:28:40 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 09:28:40 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: The login depends on your mdw file. When you secured the db, did you create a new, secured mdw with some name besides system.mdw? If not, you're in trouble. If you did, just join the system.mdw and the dialog will go away. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 9:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? I ran user security on that db...now every db I open asks for a logon...how can I stop this? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 10:36:27 -0500 > >I believe a snapshot format does this, however, and this should be kept >in mind, no matter what format you put it in, if the data is there, and >they can print it, Office 2003 comes with OCR (Optical Character >Recognition) capabilities, so it wouldn't be very hard for them to take >anything (electronic or scanned) and turn it into another format. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Thursday, July 27, 2006 9:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large > >number of records...he wanted to share the info with other >lawyers...but did > >not want them to have the functionality he had. His request was 'No >searching' and 'No exporting'...just reading. And it had to be >provided in a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED > >tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > to provide is a way for someone to view a report...not have access > > > to the > > > > > > data...just view the report...this way no searching is allowed. I > > > can do part of this by have a form at startup that turns off the >bypass...gets > > > rid > > > of ALL menus and shortcuts...and opens the report...this however > > > does not prevent them linking to the data from another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason > > > there >are > > > so > > > many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable > > >> the shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't > > >> get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't 'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if > > >> they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or hide the access window). That would prevent the user > > >> from getting to the tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it > > >> still wouldn't be perfect, you'd be able to view the data with > > >> ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password > > >> would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 27 11:35:53 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 09:35:53 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: You don't. You use a shortcut from the desktop to launch the app and use the /user and /pwd command line arguments to pass in mark and test. The command line arguments box is for the equivalent of the /cmd arguments. Anything you put in the command line arguments in Options is there until overwritten. Shortcuts give you flexibility based on what user is logging in. The user can have a blank password if you wish, so all that needs entering is a user, and that can be done from the shortcut. Your mixing up passwords, a condition that Microsoft cheerfully created to cause headaches for developers. There are different kinds of passwords and they're not interchangeable. A database password is not the same as a user login password or even the same as the password you can put on your code objects. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 8:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Thanks Charlotte, Thats kinda what I found in my searching...so if I run the user level security wizard(already done)...and my user is 'mark' and password is 'test'...What do I put in the Command-Lione Arguments box(syntax)??? ....and most things I've read talk about shortcuts...is this solution dependant on creating a shortcut? ....and If I understand this...this would be a way for me to have an MDB file that can launch...without user entering or even knowing the password...but would prevent someone from linking to the tables without the pwd? Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 08:20:05 -0700 > >It automates passing in the password for Access security, not a >database password or code password. We build shortcuts for our users >that open the application to the correct settings without their having >to deal with a login dialog. If they open the database from Access >without the password, they get dumped out or the face a login dialog, >depending on which workgroup they point at. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:57 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >ok...all the help files and articles imply that I can use the following >in this setting: /pwd > >My question is what does /pwd in the Command-Line Arguments >setting on the ADVANCED tab of OPTIONS do? > >Thanks, > >Mark > > > >From: "Charlotte Foust" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Thu, 27 Jul 2006 07:42:36 -0700 > > > >It's there to hard code a value you can return with the Command() > >function. If you pass in a command line argument using /cmd, you can > >also read that with the Command() function. The value returned is a > >variant, not a string. If you pass it in from a command line, it has > >to be the last option on the command line. > > > > > >Charlotte Foust > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > >Sent: Thursday, July 27, 2006 7:23 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Secure a DB...kinda? > > > >Its just what the lawyer was asking for...I gave them a tool to view > >a large number of records...he wanted to share the info with other > >lawyers...but did not want them to have the functionality he had. > >His request was 'No searching' and 'No exporting'...just reading. > >And it had to be provided in a single file...No FE/BE...no install. > > > >I wasn't sure anything like this was possible...so thought I'd ask. > > > >Anyone know what the "Command-Line Arguments" setting is for on the > >ADVANCED tab of OPTIONS? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Rocky Smolin - Beach Access Software > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: Access Developers discussion and problem > > >solving > > >Subject: Re: [AccessD] Secure a DB...kinda? > > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > > > >But now you're talking about real deliberate mischief instead of > > >just > > > >curiosity or error. Is this a problem in this environment? > > > > > >Rocky > > > > > > > > >RANDALL R ANTHONY wrote: > > > > Ah, that's right, it could still be linked via another db. > > > > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > > >>>> > > > > Hiding the tables does not prevent linking. > > > > > > > > I'm not sure I can even do this...but the solution I've been > > > > asked > > > > > to provide is a way for someone to view a report...not have > > > > access > > > > > to the > > > > > > > > data...just view the report...this way no searching is allowed. > > > > I > > > > > can do part of this by have a form at startup that turns off the > > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > > report...this however does not prevent them linking to the data > > > > from > > > > > > another db. > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > > > > > Mark > > > > > > > > P.S...as for the reason why...lets just say there is a reason > > > > there are so many lawyer jokes. > > > > > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > > >> Reply-To: Access Developers discussion and problem > > > >> solving > > > >> To: > > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > > >> > > > >> The quick and dirty might be to just hide the tables and > > > >> disable the shortcut keys unhide function or the toolbar. > > > >> > > > >> > > > >>>>> 07/26/06 4:04 PM >>> > > > >>>>> > > > >> Hmmm, a little tough to do that. Access User Level security > > > >> can > > > >> > > > > lock > > > > > > > >> users > > > >> out of objects, including tables, however, that means they > > > >> can't get > > > >> > > > > to > > > > > > > >> them > > > >> at all. I believe if a user has read rights, they still can't > >'link' > > > >> the > > > >> table, not absolutely sure about that, have to check. But if > > > >> they > > > >> > > > > can > > > > > > > >> read > > > >> the data from the table in a form, they will be able to open > > > >> the > > > >> > > > > table > > > > > > > >> in > > > >> the database window. > > > >> > > > >> If reading doesn't allowing linking, you could always hide the > > > >> DB > > > > >> window (or hide the access window). That would prevent the > > > >> user from getting to the tables directly in the database. > > > >> > > > >> Even if read-only permissions don't allow a user to link, it > > > >> still wouldn't be perfect, you'd be able to view the data with > > > >> ADO/DAO code > > > >> > > > > still.... > > > > > > > >> Just curious, what's the actual goal here? > > > >> > > > >> Drew > > > >> > > > >> -----Original Message----- > > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > > >> To: accessd at databaseadvisors.com > > > >> Subject: [AccessD] Secure a DB...kinda? > > > >> > > > >> Hello All, > > > >> > > > >> I would like to do 'something' with access...I want to be able > > > >> to > > > >> > > > > send > > > > > > > >> out > > > >> an MDB or MDE...and no matter who opens it...no password > > > >> > > > > required...but > > > > > > > >> if > > > >> someone were to try and link or get to the tables...a password > > > >> would > > > >> > > > > be > > > > > > > >> required? > > > >> > > > >> I could do this with a FE/BE scenario...but this is not an >option. > > > >> > > > >> Any ideas? > > > >> > > > >> Thanks, > > > >> > > > >> Mark A. Matte > > > >> > > > >> > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> > > > > > > > > > > > > > > > > > >-- > > >Rocky Smolin > > >Beach Access Software > > >858-259-4334 > > >www.e-z-mrp.com > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jul 27 12:31:11 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 27 Jul 2006 13:31:11 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD09@ex2k3.corp.tnco-inc.com> Thanks for the info William, Just one more question. :) When you say, "...and if you show you are still working on it, they'll go along" does that mean literally showing them a project you're working on or does it just mean give them a write up or something? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, July 27, 2006 11:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro ...you don't have to prove a sale Joe ...just that you are developing something you hope to market ...whether to the general market or a vertical one doesn't matter. ...as the year expires they'll ask if you need to renew ...and if you show you are still working on it, they'll go along ...or you can show them a new product you're working on ...they're not trying to punish anyone, just make more applications available that makes their products more desirable to the genera public ...and in the meantime, keep the developer community locked into their product line ...its a win-win imnsho if you already use their products. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 11:34 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > So are there requirements for the sale? > For example, could I build a basic web service and sell it to my > employer for $10? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...almost any app that could be packaged for resale to another company > or > individual. > > William > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, July 27, 2006 9:00 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> William, >> >> What when you say "INTEND to develop an MS based commercial product > within >> a >> year", are you talking about any software that you will sell? Or does > it >> have to be something that is marketed or something like that? >> >> Thanks, >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >> Sent: Thursday, July 27, 2006 8:41 AM >> To: Access Developers discussion and problem solving >> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >> Importance: Low >> >> >> Thanks William, >> >> This sounds great...however...I would only be using it for in-house >> projects. It sounds like I could meet the qualifications but would > have >> an issue when the year is up. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, July 26, 2006 3:36 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >> >> ...cheapest damn thing to do Joe is register in the MS Partner program >> (free), give them a URL that says you use/develop MS products/software >> ...does NOT have to be much ...and then sign a pledge that says you >> INTEND >> to develop an MS based commercial product within a year. >> >> ...that qualifies you for the Empower ISV program which gives you just >> about >> everything they make with four quarterly updates ...including VS 2005 >> Pro >> w/10 cals ...all for $375.00. >> >> ...takes only a little time to meet their quals (they are NOT > demanding) >> and >> then you're on to the best software buy you can get anywhere ...take a >> look >> at their partner site ...they make it really easy. >> >> William >> >> ----- Original Message ----- >> From: "Joe Rojas" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, July 26, 2006 1:17 PM >> Subject: [AccessD] OT: Visual Studio 2005 Pro >> >> >>> Hello, >>> >>> Does anyone know of a place where I can purchase Visual Studio 2005 >> Pro >>> UPGRADE for a good price? >>> >>> So far the cheapest I found was $550. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Jul 27 13:19:57 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 27 Jul 2006 14:19:57 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDD09@ex2k3.corp.tnco-inc.com> Message-ID: <000901c6b1a9$45098900$6466a8c0@50NM721> ...basically just tell them via e or phone ...if you're not obviously a crook, they're just trying to fill their check boxes. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 1:31 PM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > Thanks for the info William, > > Just one more question. :) > > When you say, "...and if you show you are still working on it, they'll > go along" does that mean literally showing them a project you're working > on or does it just mean give them a write up or something? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 11:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...you don't have to prove a sale Joe ...just that you are developing > something you hope to market ...whether to the general market or a > vertical > one doesn't matter. > > ...as the year expires they'll ask if you need to renew ...and if you > show > you are still working on it, they'll go along ...or you can show them a > new > product you're working on ...they're not trying to punish anyone, just > make > more applications available that makes their products more desirable to > the > genera public ...and in the meantime, keep the developer community > locked > into their product line ...its a win-win imnsho if you already use their > > products. > > William > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, July 27, 2006 11:34 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> So are there requirements for the sale? >> For example, could I build a basic web service and sell it to my >> employer for $10? >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Thursday, July 27, 2006 10:04 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> ...almost any app that could be packaged for resale to another company >> or >> individual. >> >> William >> >> ----- Original Message ----- >> From: "Bobby Heid" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Thursday, July 27, 2006 9:00 AM >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> >>> William, >>> >>> What when you say "INTEND to develop an MS based commercial product >> within >>> a >>> year", are you talking about any software that you will sell? Or > does >> it >>> have to be something that is marketed or something like that? >>> >>> Thanks, >>> Bobby >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >>> Sent: Thursday, July 27, 2006 8:41 AM >>> To: Access Developers discussion and problem solving >>> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >>> Importance: Low >>> >>> >>> Thanks William, >>> >>> This sounds great...however...I would only be using it for in-house >>> projects. It sounds like I could meet the qualifications but would >> have >>> an issue when the year is up. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Wednesday, July 26, 2006 3:36 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >>> >>> ...cheapest damn thing to do Joe is register in the MS Partner > program >>> (free), give them a URL that says you use/develop MS > products/software >>> ...does NOT have to be much ...and then sign a pledge that says you >>> INTEND >>> to develop an MS based commercial product within a year. >>> >>> ...that qualifies you for the Empower ISV program which gives you > just >>> about >>> everything they make with four quarterly updates ...including VS 2005 >>> Pro >>> w/10 cals ...all for $375.00. >>> >>> ...takes only a little time to meet their quals (they are NOT >> demanding) >>> and >>> then you're on to the best software buy you can get anywhere ...take > a >>> look >>> at their partner site ...they make it really easy. >>> >>> William >>> >>> ----- Original Message ----- >>> From: "Joe Rojas" >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Wednesday, July 26, 2006 1:17 PM >>> Subject: [AccessD] OT: Visual Studio 2005 Pro >>> >>> >>>> Hello, >>>> >>>> Does anyone know of a place where I can purchase Visual Studio 2005 >>> Pro >>>> UPGRADE for a good price? >>>> >>>> So far the cheapest I found was $550. >>>> >>>> Thanks, >>>> Joe Rojas >>>> IT Manager >>>> TNCO, Inc. >>>> 781-447-6661 x7506 >>>> jrojas at tnco-inc.com >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From karenr7 at oz.net Thu Jul 27 13:44:28 2006 From: karenr7 at oz.net (karenr7 at oz.net) Date: Thu, 27 Jul 2006 18:44:28 -0000 (GMT) Subject: [AccessD] Synchronize popup In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> Message-ID: <13688.128.208.81.49.1154025868.squirrel@webmail.nationwide.net> Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA From jwcolby at colbyconsulting.com Thu Jul 27 15:36:50 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 27 Jul 2006 16:36:50 -0400 Subject: [AccessD] Synchronize popup In-Reply-To: <13688.128.208.81.49.1154025868.squirrel@webmail.nationwide.net> Message-ID: <000a01c6b1bc$640d5080$647aa8c0@m6805> Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Jul 27 20:06:28 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 28 Jul 2006 11:06:28 +1000 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A850@ddi-01.DDI.local> We had to put a blurb and release date on our web site... No biggie... Hmmm, must take it down soon... Hehe We have not completed the project, yet. Its been going 2 years. Not sure what will happen when the next review comes up but I don't want to Have to buy 5 x MSDN's @ retail that's 4 sure. (20K here vs $800) I got an email from MS about 6 months ago, then a follow up saying the email was sent in error. The 1st email was approving another 12 month extension for some company.... Hehe I don't think they want to make it too hard, maybe they will crackdown sometime in the future! cheers Michael M www.ddisolutions.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, 28 July 2006 4:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro ...basically just tell them via e or phone ...if you're not obviously a crook, they're just trying to fill their check boxes. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 1:31 PM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > Thanks for the info William, > > Just one more question. :) > > When you say, "...and if you show you are still working on it, they'll > go along" does that mean literally showing them a project you're working > on or does it just mean give them a write up or something? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 11:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...you don't have to prove a sale Joe ...just that you are developing > something you hope to market ...whether to the general market or a > vertical > one doesn't matter. > > ...as the year expires they'll ask if you need to renew ...and if you > show > you are still working on it, they'll go along ...or you can show them a > new > product you're working on ...they're not trying to punish anyone, just > make > more applications available that makes their products more desirable to > the > genera public ...and in the meantime, keep the developer community > locked > into their product line ...its a win-win imnsho if you already use their > > products. > > William > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, July 27, 2006 11:34 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> So are there requirements for the sale? >> For example, could I build a basic web service and sell it to my >> employer for $10? >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Thursday, July 27, 2006 10:04 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> ...almost any app that could be packaged for resale to another company >> or >> individual. >> >> William >> >> ----- Original Message ----- >> From: "Bobby Heid" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Thursday, July 27, 2006 9:00 AM >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> >>> William, >>> >>> What when you say "INTEND to develop an MS based commercial product >> within >>> a >>> year", are you talking about any software that you will sell? Or > does >> it >>> have to be something that is marketed or something like that? >>> >>> Thanks, >>> Bobby >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >>> Sent: Thursday, July 27, 2006 8:41 AM >>> To: Access Developers discussion and problem solving >>> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >>> Importance: Low >>> >>> >>> Thanks William, >>> >>> This sounds great...however...I would only be using it for in-house >>> projects. It sounds like I could meet the qualifications but would >> have >>> an issue when the year is up. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Wednesday, July 26, 2006 3:36 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >>> >>> ...cheapest damn thing to do Joe is register in the MS Partner > program >>> (free), give them a URL that says you use/develop MS > products/software >>> ...does NOT have to be much ...and then sign a pledge that says you >>> INTEND >>> to develop an MS based commercial product within a year. >>> >>> ...that qualifies you for the Empower ISV program which gives you > just >>> about >>> everything they make with four quarterly updates ...including VS 2005 >>> Pro >>> w/10 cals ...all for $375.00. >>> >>> ...takes only a little time to meet their quals (they are NOT >> demanding) >>> and >>> then you're on to the best software buy you can get anywhere ...take > a >>> look >>> at their partner site ...they make it really easy. >>> >>> William >>> >>> ----- Original Message ----- >>> From: "Joe Rojas" >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Wednesday, July 26, 2006 1:17 PM >>> Subject: [AccessD] OT: Visual Studio 2005 Pro >>> >>> >>>> Hello, >>>> >>>> Does anyone know of a place where I can purchase Visual Studio 2005 >>> Pro >>>> UPGRADE for a good price? >>>> >>>> So far the cheapest I found was $550. >>>> >>>> Thanks, >>>> Joe Rojas >>>> IT Manager >>>> TNCO, Inc. >>>> 781-447-6661 x7506 >>>> jrojas at tnco-inc.com >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Thu Jul 27 21:29:30 2006 From: karenr7 at oz.net (Karen Rosenstiel) Date: Thu, 27 Jul 2006 19:29:30 -0700 Subject: [AccessD] Synchronize popup In-Reply-To: <000a01c6b1bc$640d5080$647aa8c0@m6805> Message-ID: <000c01c6b1ed$a813c030$6401a8c0@bigmama> Ah.....um...... JC, I don't know what you're talking about. You are way too advanced for this amateur. Actually, I get the feeling sometimes that you are too advanced for many of the PROFESSIONALS on this list. But thanks anyway. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, July 27, 2006 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will >sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jul 27 23:08:11 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 28 Jul 2006 16:08:11 +1200 Subject: [AccessD] Open Access from another Access prog Message-ID: <7.0.1.0.0.20060728155652.01b6e508@dalyn.co.nz> Group, (AccessXP) I have a database (dbMerge) that merges customers from two separate databases (dbOne and dbTwo) so that users can search one list to see which database a customer is in. The record includes the database the customer comes from and the Primary Key. I would like to be able to click on a customer's record in dbMerge and do the following: 1) Check if the Access program (dbOne or dbTwo) that the customer is in is already open in another instance of Access. Open it in a separate instance of Access if it is not (leaving dbMerge open). 2) Switch to the Access program that has the customer details. 3) Open up the customer form, then go to the customer's record. Any guidance of where I can find some code for any of these steps? From adtp at hotmail.com Thu Jul 27 23:54:03 2006 From: adtp at hotmail.com (A.D.TEJPAL) Date: Fri, 28 Jul 2006 10:24:03 +0530 Subject: [AccessD] Synchronize popup References: <000c01c6b1ed$a813c030$6401a8c0@bigmama> Message-ID: Karen, My sample db named FormsSynchronized might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Two styles are covered: (a) Two subforms (Master & Slave) (b) Two normal forms (Master & Slave) Style (b) should be pertinent to the situation mentioned by you. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Karen Rosenstiel To: 'Access Developers discussion and problem solving' Sent: Friday, July 28, 2006 07:59 Subject: Re: [AccessD] Synchronize popup Ah.....um...... JC, I don't know what you're talking about. You are way too advanced for this amateur. Actually, I get the feeling sometimes that you are too advanced for many of the PROFESSIONALS on this list. But thanks anyway. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, July 27, 2006 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will >sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA From jwcolby at colbyconsulting.com Fri Jul 28 00:26:41 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 28 Jul 2006 01:26:41 -0400 Subject: [AccessD] Synchronize popup In-Reply-To: <000c01c6b1ed$a813c030$6401a8c0@bigmama> Message-ID: <001301c6b206$68c27480$647aa8c0@m6805> Karen, This stuff really isn't that advanced. It appears that I am about to start a book on this as well as other subjects so stay tuned on that front. Anyway... The only "gotcha" in the following is that it does not work in A97 since that version cannot raise events..... Objects such as forms and controls raise events all the time. Think OnClick, OnCurrent, OnOpen. Classes can sink events as well. Your form (which is a class) sinks the OnClick of a button or other control, OnUpdate of a text box or combo, etc. If you program, then you are accustomed to handling events from controls and forms. The form class sinks events from the form itself as well as from any controls on the form. Placing code such as: '*+ custom events Declarations Public Event PostAfterUpdate() Public Event PostCurrent() In the header of a class (your form for instance) allows you to then "raise" an event - in this case an event called PostAfterUpdate or PostCurrent. I call them "Post"Current because I raise the event AFTER the current event is processed. You can call your event anything you want: '*+ custom events Declarations Public Event ColbyEvent() Public Event MailReceived() You can even define parameters '*+ custom events Declarations Public Event PostAfterUpdate(Cancel as integer) Public Event PostCurrent(MyParam as string) So... Having defined my event (informing the class that I intend to raise an event somewhere in the class) in the header, I can then RAISE my event anywhere I want to: Function SomeSpecialProcess() Some processing RaiseEvent PostAfterUpdate Some more processing End function OK so... You want to sync a popup form to a main form. By this I assume you want to cause the popup form to "move to" the same record as the main form is on, and you want it to do so even if the main form changes from one record to the next. In order to accomplish this, ONE WAY is to raise an event in the main form whenever the main form changes from one record to the next. So, in the main form, tell the form class that you intend to raise an event: '*+ custom events Declarations Public Event PostCurrent(lngMyPK) Then in the current event, raise your event. Technically you don't even have to raise an event at all since the Current event is already being raised, however doing so gives you complete control over WHEN the event is raised relative to any other processing you might do in the current event. The following is actual code (more or less) from my framework: Private Sub form_Current() 'Stop mScanParentPKVal On Error Resume Next Fltr pFltrName, mfrm!txtPKID.Value mdclsCtlCboRecSel.mFrmSyncRecSel mNewRecordCheck RaiseEvent PostCurrent MyPK End Sub As you can see, my form has a current event, which I use to perform some specific processing. I then raise my own event, "PostCurrent". Having done that, I now need to sink that event somewhere. In your case, the popup form needs to sink the event raised by the main form. In order to sink an event in a class (remember that a form's code is in a class) you need to dimension a variable "Withevents", so in the header of the POPUP FORM: Private WithEvents mfrm As Form You have just told the popup form that you will be getting a pointer to a form object, and that you will be sinking events from that object (the WithEvents keyword). So you open the form, then somehow you set the variable mfrm to point to the main form. You can do that in the OnOpen of the popup form for example: Sub Form_Open() set mfrm = forms("MyMainForm") End sub Voila, you now have a pointer to the main form contained in mfrm and because you used the WithEvents keyword when you dimensioned the variable, you can now sink events from that form. You now create an event sink in the popup form's module: Sub mfrm_PostCurrent(lngMyPK) msgbox "The main form's current event just fired and passed in the PK from the record it is displaying: " & lngMyPK End sub NOTICE that we called the event mfrm_ (the name of the variable we dimensioned in our header) and PostCurrent (the name of the event that the MAIN FORM IS RAISING!!!) You are now done. Well almost anyway... You have a form variable that is grabbing events from the main form, SPECIFIC EVENTS that you tell it to grab - by creating event sinks for exactly the events you want it to sink. All you need to do now is to use the PK of the record in the main form (which was passed in by the event) to "find" that record and move to it. Simple eh? Well, it would be if you just practice it a bit. We programmers sink events all the time. If you program it is old hat. All you need to understand now is how to raise your own events, how to get a pointer to some object which is raising events, and how to sink some particular event(s) in your own module. This is not rocket science, it is a teeny tiny extension on what we already do every day. Disclaimer: The above is "air code" compiled in the outlook editor. I can and will create a working demo tomorrow in Access and make it available. It is VERY easy to do and requires almost no code at all. In fact it takes more code to use the passed in PK to find and move to the record than all the other code combined. There are some tiny gotchas, such as the fact that a form won't close correctly if a pointer to it exists, i.e. the PopUp form has to set its pointer to the main form to nothing before the main form tries to close. More tomorrow. IN FACT there is another way to do this, which is an intermediary class which I wrote a demo for previously. I called it a message class. The process still uses raised and sunk events however. You can go to my web site: www.colbyconsulting.com , register if you haven't already, Click Example code / WithEvent Demos, and download MsgClassWithEvents.zip. This uses the above mentioned message class to send messages between forms. Enjoy. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Thursday, July 27, 2006 10:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Ah.....um...... JC, I don't know what you're talking about. You are way too advanced for this amateur. Actually, I get the feeling sometimes that you are too advanced for many of the PROFESSIONALS on this list. But thanks anyway. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, July 27, 2006 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will >sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Jul 28 07:16:27 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 28 Jul 2006 08:16:27 -0400 Subject: [AccessD] VPN Connection to another site - Solved In-Reply-To: <53c8e05a0607200917o3c2adbd7t6bce7eeba1f1f875@mail.gmail.com> Message-ID: Hey, Just wanted to let you know that we did find a solution with very little work on the network side. We did not have to change any of the ip addresses. All we had to do was to create a policy on the PIX box that we were connecting to with the appropriate tables of IP's and we were off and running. Works great! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From garykjos at gmail.com Fri Jul 28 07:28:58 2006 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 28 Jul 2006 07:28:58 -0500 Subject: [AccessD] VPN Connection to another site - Solved In-Reply-To: References: <53c8e05a0607200917o3c2adbd7t6bce7eeba1f1f875@mail.gmail.com> Message-ID: Hey, great work. Thanks for sharing the solution. GK On 7/28/06, Julie Reardon-Taylor wrote: > Hey, > > Just wanted to let you know that we did find a solution with very little > work on the network side. We did not have to change any of the ip > addresses. > > All we had to do was to create a policy on the PIX box that we were > connecting to with the appropriate tables of IP's and we were off and > running. Works great! > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > > -- > 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 jmhecht at earthlink.net Sat Jul 29 11:34:14 2006 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 29 Jul 2006 09:34:14 -0700 Subject: [AccessD] I am back. Message-ID: I hope all are well. Did I miss anything big while I was away. ( besides work) Joe Hecht jmhecht at earthlink.net From RRANTHON at sentara.com Sat Jul 29 11:37:09 2006 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Sat, 29 Jul 2006 12:37:09 -0400 Subject: [AccessD] I am back. In-Reply-To: References: Message-ID: <200607291637.k6TGbQS01749@databaseadvisors.com> Youse was gone?!? Welcome back from another poor schlubb workin' on a Saturday... >>> "Joe Hecht" 07/29/06 12:34 PM >>> I hope all are well. Did I miss anything big while I was away. ( besides work) Joe Hecht jmhecht at earthlink.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Jul 29 12:59:51 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Jul 2006 10:59:51 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <200607291637.k6TGbQS01749@databaseadvisors.com> References: <200607291637.k6TGbQS01749@databaseadvisors.com> Message-ID: <44CBA217.4010408@shaw.ca> For you starving students out there. Woodyswatch has stated that there will be a $1.50 fee to download each of the Office 2007 Betas starting 6PM PST Aug 2. It might also apply to the others like One Note, Visio, MS Project To get the downloadable beta go to http://www.microsoft.com/office/preview/beta/getthebeta.mspx?showIntro=n and choose the 'Get the beta now' link. You'll need a Windows Live ID - which is just a Hotmail or Passport account under a new name. Don't forget to save your Product ID in case you don't get a Hotmail email containing it. The downloads are between 500MB for Office to 250MB for MS Project -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Sat Jul 29 17:08:54 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 08:08:54 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CBA217.4010408@shaw.ca> References: , <200607291637.k6TGbQS01749@databaseadvisors.com>, <44CBA217.4010408@shaw.ca> Message-ID: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> On 29 Jul 2006 at 10:59, MartyConnelly wrote: > For you starving students out there. > > Woodyswatch has stated that there will be a $1.50 fee to download > each of the Office 2007 Betas starting 6PM PST Aug 2. Big deal.... > The downloads are between 500MB for Office to 250MB for MS Project That would cost me between $150 and $75 in download charges. What's another $1.50? And it would be twice as much if I, like most people in PNG, was using dial- up and also paying phone connection charges (I'm one of "lucky" ones who can get a 128Kb radiolink for only $200 per month - plus of course the $0.30 per Mb ) -- Stuart From wdhindman at dejpolsystems.com Sat Jul 29 19:02:34 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 29 Jul 2006 20:02:34 -0400 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload References: , <200607291637.k6TGbQS01749@databaseadvisors.com>, <44CBA217.4010408@shaw.ca> <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> Message-ID: <003001c6b36b$768fb580$6466a8c0@50NM721> ....oowwwwweeeeeeee! :(( William ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Saturday, July 29, 2006 6:08 PM Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload > On 29 Jul 2006 at 10:59, MartyConnelly wrote: > >> For you starving students out there. >> >> Woodyswatch has stated that there will be a $1.50 fee to download >> each of the Office 2007 Betas starting 6PM PST Aug 2. > > Big deal.... > >> The downloads are between 500MB for Office to 250MB for MS Project > > That would cost me between $150 and $75 in download charges. What's > another > $1.50? > > And it would be twice as much if I, like most people in PNG, was using > dial- > up and also paying phone connection charges (I'm one of "lucky" ones who > can get a 128Kb radiolink for only $200 per month - plus of course the > $0.30 per Mb ) > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sat Jul 29 19:26:44 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 10:26:44 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload In-Reply-To: <003001c6b36b$768fb580$6466a8c0@50NM721> References: , <003001c6b36b$768fb580$6466a8c0@50NM721> Message-ID: <44CC8964.23391.29A05AFA@stuart.lexacorp.com.pg> Now ask me what I think of Microsoft Automatic Updates and the amount of data you need to regularly download to keep Windows and Office secure :-( On 29 Jul 2006 at 20:02, William Hindman wrote: > ....oowwwwweeeeeeee! :(( > > William > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, July 29, 2006 6:08 PM > Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee > todownload > > > > On 29 Jul 2006 at 10:59, MartyConnelly wrote: > > > >> For you starving students out there. > >> > >> Woodyswatch has stated that there will be a $1.50 fee to download > >> each of the Office 2007 Betas starting 6PM PST Aug 2. > > > > Big deal.... > > > >> The downloads are between 500MB for Office to 250MB for MS Project > > > > That would cost me between $150 and $75 in download charges. What's > > another > > $1.50? > > > > And it would be twice as much if I, like most people in PNG, was using > > dial- up and also paying phone connection charges (I'm one of "lucky" ones > > who can get a 128Kb radiolink for only $200 per month - plus of course the > > $0.30 per Mb ) > > > > > > > > > > > > -- > > Stuart > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From martyconnelly at shaw.ca Sat Jul 29 19:51:17 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Jul 2006 17:51:17 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> References: <200607291637.k6TGbQS01749@databaseadvisors.com> <44CBA217.4010408@shaw.ca> <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> Message-ID: <44CC0285.9090501@shaw.ca> Hey, I am out in the boonies on a Pacific Island too, but I am only 200 miles from Redmond as the crow flies. You can order a CD for $7.50- $10 AUD and a one week turnaround. You don't have access to phone upload, satellite download ? or even two-way satellite from BigPond? Their coverage footprint should go that far north. Hughes covers US, Hawaii, Mexico and parts of Canada You would get 512k/256k speeds for what you are paying. Or is there some other policy or installation glitch? http://my.bigpond.com/internetplans/broadband/satellite/2_way_plans/default.jsp Stuart McLachlan wrote: >On 29 Jul 2006 at 10:59, MartyConnelly wrote: > > > >>For you starving students out there. >> >>Woodyswatch has stated that there will be a $1.50 fee to download >>each of the Office 2007 Betas starting 6PM PST Aug 2. >> >> > >Big deal.... > > > >>The downloads are between 500MB for Office to 250MB for MS Project >> >> > >That would cost me between $150 and $75 in download charges. What's another >$1.50? > >And it would be twice as much if I, like most people in PNG, was using dial- >up and also paying phone connection charges (I'm one of "lucky" ones who >can get a 128Kb radiolink for only $200 per month - plus of course the >$0.30 per Mb ) > > > > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Jul 29 20:08:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 29 Jul 2006 21:08:57 -0400 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload In-Reply-To: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> Message-ID: <002701c6b374$be17d910$647aa8c0@m6805> Holy crap batman, you must live in the boonies too? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, July 29, 2006 6:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload On 29 Jul 2006 at 10:59, MartyConnelly wrote: > For you starving students out there. > > Woodyswatch has stated that there will be a $1.50 fee to download each > of the Office 2007 Betas starting 6PM PST Aug 2. Big deal.... > The downloads are between 500MB for Office to 250MB for MS Project That would cost me between $150 and $75 in download charges. What's another $1.50? And it would be twice as much if I, like most people in PNG, was using dial- up and also paying phone connection charges (I'm one of "lucky" ones who can get a 128Kb radiolink for only $200 per month - plus of course the $0.30 per Mb ) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Jul 29 23:35:03 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 14:35:03 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CC0285.9090501@shaw.ca> References: , <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg>, <44CC0285.9090501@shaw.ca> Message-ID: <44CCC397.14568.E20544@stuart.lexacorp.com.pg> On 29 Jul 2006 at 17:51, MartyConnelly wrote: > You don't have access to phone upload, satellite download ? > or even two-way satellite from BigPond? Their coverage footprint > should go that far north. Hughes covers US, Hawaii, Mexico and parts of > Canada You would get 512k/256k speeds for what you are paying. Or is there > some other policy or installation glitch? > It's called Telikom. The state owned telecommunications monopoly. They won't give the spectrum licences to use satellite. Fortunately there are some moves afoot to de-regulate and hopefully things will be easier in a year or so, but at the moment, it's out of the question :-( -- Stuart From stuart at lexacorp.com.pg Sat Jul 29 23:36:55 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 14:36:55 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload In-Reply-To: <002701c6b374$be17d910$647aa8c0@m6805> References: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg>, <002701c6b374$be17d910$647aa8c0@m6805> Message-ID: <44CCC407.26459.E3BD64@stuart.lexacorp.com.pg> On 29 Jul 2006 at 21:08, JWColby wrote: > Holy crap batman, you must live in the boonies too? > Nope, right in the middle of the capital city. If I did live in the boonies I would have *slightly* more chance of getting a licence for satellite. -- Stuart From accessd at shaw.ca Sun Jul 30 00:21:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 29 Jul 2006 22:21:58 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CC0285.9090501@shaw.ca> Message-ID: <0J3700CQEAW52BC0@l-daemon> Hi Marty: I would not really classify Victoria on the island as in the boonies, with a population of over 300,000 and Vancouver, 20 miles away as the crow-flies with a population of over 2,000,000... (It is amazing what you can find in Wikipedia.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, July 29, 2006 5:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download Hey, I am out in the boonies on a Pacific Island too, but I am only 200 miles from Redmond as the crow flies. You can order a CD for $7.50- $10 AUD and a one week turnaround. You don't have access to phone upload, satellite download ? or even two-way satellite from BigPond? Their coverage footprint should go that far north. Hughes covers US, Hawaii, Mexico and parts of Canada You would get 512k/256k speeds for what you are paying. Or is there some other policy or installation glitch? http://my.bigpond.com/internetplans/broadband/satellite/2_way_plans/default. jsp Stuart McLachlan wrote: >On 29 Jul 2006 at 10:59, MartyConnelly wrote: > > > >>For you starving students out there. >> >>Woodyswatch has stated that there will be a $1.50 fee to download >>each of the Office 2007 Betas starting 6PM PST Aug 2. >> >> > >Big deal.... > > > >>The downloads are between 500MB for Office to 250MB for MS Project >> >> > >That would cost me between $150 and $75 in download charges. What's another >$1.50? > >And it would be twice as much if I, like most people in PNG, was using dial- >up and also paying phone connection charges (I'm one of "lucky" ones who >can get a 128Kb radiolink for only $200 per month - plus of course the >$0.30 per Mb ) > > > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jul 30 02:37:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Jul 2006 00:37:36 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <0J3700CQEAW52BC0@l-daemon> References: <0J3700CQEAW52BC0@l-daemon> Message-ID: <44CC61C0.2050608@shaw.ca> So I exaggerate a little bit, I have an optic cable that comes ashore from US about a 1/4 mile down the beach from me, but the microwave towers to Vancouver used to fail often in winter storms until that cable came in 3 years ago. However go north about a hundred miles, it is either satellite or wireless antennas strung across mountain valleys. Most of the remote Indian communities are getting broadband and TV access via satellite dishes. These places are remote, the only way in is by plane or boat on the west coast of the island, no highways, no roads. Jim Lawrence wrote: >Hi Marty: > >I would not really classify Victoria on the island as in the boonies, with a >population of over 300,000 and Vancouver, 20 miles away as the crow-flies >with a population of over 2,000,000... (It is amazing what you can find in >Wikipedia.) > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Saturday, July 29, 2006 5:51 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to >download > >Hey, I am out in the boonies on a Pacific Island too, but I am only >200 miles from Redmond as the crow flies. >You can order a CD for $7.50- $10 AUD and a one week turnaround. > >You don't have access to phone upload, satellite download ? >or even two-way satellite from BigPond? Their coverage footprint >should go that far north. Hughes covers US, Hawaii, Mexico and parts of >Canada >You would get 512k/256k speeds for what you are paying. >Or is there some other policy or installation glitch? > >http://my.bigpond.com/internetplans/broadband/satellite/2_way_plans/default. >jsp > > > > > >Stuart McLachlan wrote: > > > >>On 29 Jul 2006 at 10:59, MartyConnelly wrote: >> >> >> >> >> >>>For you starving students out there. >>> >>>Woodyswatch has stated that there will be a $1.50 fee to download >>>each of the Office 2007 Betas starting 6PM PST Aug 2. >>> >>> >>> >>> >>Big deal.... >> >> >> >> >> >>>The downloads are between 500MB for Office to 250MB for MS Project >>> >>> >>> >>> >>That would cost me between $150 and $75 in download charges. What's another >> >> > > > >>$1.50? >> >>And it would be twice as much if I, like most people in PNG, was using >> >> >dial- > > >>up and also paying phone connection charges (I'm one of "lucky" ones who >>can get a 128Kb radiolink for only $200 per month - plus of course the >>$0.30 per Mb ) >> >> >> >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From robert at servicexp.com Sun Jul 30 17:37:01 2006 From: robert at servicexp.com (Robert) Date: Sun, 30 Jul 2006 18:37:01 -0400 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <44CC61C0.2050608@shaw.ca> Message-ID: <000f01c6b428$ad63fae0$6501a8c0@roberts> Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert From stuart at lexacorp.com.pg Sun Jul 30 17:53:15 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Jul 2006 08:53:15 +1000 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000f01c6b428$ad63fae0$6501a8c0@roberts> References: <44CC61C0.2050608@shaw.ca>, <000f01c6b428$ad63fae0$6501a8c0@roberts> Message-ID: <44CDC4FB.2949.6702FC79@stuart.lexacorp.com.pg> On 30 Jul 2006 at 18:37, Robert wrote: > > Does anyone have a procedure handy to Remove multiple vbCrlf From the end > of a string? > How about something like: While Right$(strInput, 2) = vbCrLf strInput = Left$(strInput, Len(strInput) - 2) Wend -- Stuart McLachlan From max at sherman.org.uk Mon Jul 31 01:24:42 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 31 Jul 2006 07:24:42 +0100 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aTE+ycA Message-ID: <000001c6b46a$03d76a60$e26b1152@Server> str = Left(str, (InStr(str, vbCrLf) - 1)) Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, July 30, 2006 11:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert -- 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 Jul 31 02:10:25 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Jul 2006 17:10:25 +1000 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000001c6b46a$03d76a60$e26b1152@Server> References: , <000001c6b46a$03d76a60$e26b1152@Server> Message-ID: <44CE3981.28343.68CA27E9@stuart.lexacorp.com.pg> On 31 Jul 2006 at 7:24, Max Home wrote: > > str = Left(str, (InStr(str, vbCrLf) - 1)) > The sample has multiple vbCrLfs embedded. This would truncate it at "Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18" > Regards > Max > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert > Sent: Sunday, July 30, 2006 11:37 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? > > > Does anyone have a procedure handy to Remove multiple vbCrlf From the end > of a string? > > String Example: > > Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 > Invoice Date: 4/27/2006 > Invoice Total: 105.79 > Customers Complaint: Replace condensate pan > > Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB > > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan From robert at servicexp.com Mon Jul 31 06:30:52 2006 From: robert at servicexp.com (Robert) Date: Mon, 31 Jul 2006 07:30:52 -0400 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <44CDC4FB.2949.6702FC79@stuart.lexacorp.com.pg> Message-ID: <000c01c6b494$c8489fc0$6501a8c0@roberts> Stuart, Works perfectly when used in a module, but when I create a function and use it in a query, the results are all messed up, almost like the data gets corrupted, all sort of weird characters. I have confirmed the data is not corrupt.. Any ideas? Thank You Very Much!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, July 30, 2006 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remove mulipule vbCrlf From the end of a string? On 30 Jul 2006 at 18:37, Robert wrote: > > Does anyone have a procedure handy to Remove multiple vbCrlf From the > end of a string? > How about something like: While Right$(strInput, 2) = vbCrLf strInput = Left$(strInput, Len(strInput) - 2) Wend -- Stuart McLachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlavsa at tigg.com Mon Jul 31 09:31:21 2006 From: rlavsa at tigg.com (Richard Lavsa) Date: Mon, 31 Jul 2006 10:31:21 -0400 Subject: [AccessD] Quotation Database structure question In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A643@MARLOW_MAIN2.marlow.com> Message-ID: Drew thanks for the screenshot.. I had the following structure in mind when I saw yours structure it reassured me that this might be the way to go. I have something similar to what you have, or at least what I believe to be a similar method to handle this issue. Basically I have tables (Components, ComponentTypes, ComponentTypeTemplate, ComponentValues) ComponentType (Define a new type ex.(FAN, PUMP, Blower, etc) -------------- CompTypeId Type TypeDesc ComponentTypeTemplate (Build specs for each type) --------------------- ComponentTypeTempId CompTypeId TypeSpecification ComponentValues (store a value for each Type and Spec) --------------- ComponentID ComponentTypeTempID CompTypeID (don't need this but did it for quicker queries) SpecValue Components (Stores the basic info for the new component which includes, Type, Price, QuoteDate came in from Vendor, and vendor) ---------- ComponentID CompTypeId ComponentDesc VendorPartNo UnitPrice VendorID DateOfPrice Relationships.. Components 1 to Many ComponentValues (field: ComponentID) ComponentType 1 to Many Components (field: CompTypeID) ComponentType 1 to Many ComponentTypeTemplate (field: compTypeID) ComponentType 1 to Many ComponentValues (field: CompTypeID) ComponentTypeTemplate 1 to Many ComponentValues (field: compTypeTempID) Ok, so now all the data entry forms are built, and this all appears to be working correctly. Now I'm down to building the Estimate itself. So I have Estimate_Header with your basic header information, and then the Estimate_Details. The Details will have Components, the quantity, Price,..... So my new delima is how do I display this data driven metadata type system so that I can show the TypeSpec field from the ComponentTypeTemplate as RowHeaders in a ComponentSelection form for the Estimate Details section. Feasable I know how to do this in a Crosstab query, however I cannot display a raw query in a form (or can I and I just don't know how). I tried the PivotTable view in a form, but it adds totals for every level you enter in the row Data portion of the grid.. Any tips/tricks would be greatly appreciated on how to display this data that is in a table, and show it as row header data. Currently I have a listbox, that works pretty good, however there is no sorting or column resizing capability within it or else it would be perfect for this situation as it dynamically rebuilds when a new Type is selected. Thanks in advance.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, July 24, 2006 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quotation Database structure question I created a product database for our company. Our website uses it. We have several 'types' of products, and I didn't want things hard coded, so I created a database where the people that control the data can create new products and put it in the system. Here is a screen shot of the relationships: http://www.marlow.com/productdbrelations.bmp there are a few tables that are off on the side, but those are strictly for the shopping cart itself. A little explanation: tblProducts is the main table, the ProductID is an Autonumber in that table. It has fields that are specific to every product, no matter what it is. The key field (in importance) is the GenericType field. I goofed when designing this, because I didn't use that term throughout the whole project, and didn't catch that I wasn't doing that until I was pretty deep into it. What does the GenericType field do? It tells the system what kind of product it is. GenericTypes are defined in tblSpecificationHeader (with a name, the GenericType field is a number field that matches the ListID (AutoNumber)). The specs for that product are then listed in tblSpecificationDetails. Each spec has the ListID (to relate it to a 'generic type'). Then have a name, units, (Our website has a glossary in it, so the Glossary ID matches the glossary terms to appropriate specs (for instance, some of our products are TECs (Thermo Electric Coolers, and DeltaT is a spec, and a glossary term, so when the website displays a product, if it has a matching glossary term for the spec, it shows up as a tool tip on the website. Then there are product types, and sub types. In our particular case, our subtypes are categories based on our customer base (DSP (Defense Space and Photonics), Commercial, Medical, etc.), and the types are more specific product types. For example, our Generic Types are 'standard coolers', 'accessories', and 'TTRS'. Our product types are identical for accessories and ttrs, but standard coolers have many product types (MI coolers, AT coolers, DT coolers, XLT coolers, etc.) I'll try to explain this in a little less technical terms. Each product has a 'generic type'. For instance, a centrifugal pump and a positive displacement pump are both pumps. So they would both have a GenericType 'Pump' (which would have it's own ID (ListID in my database)). The specs for a pump might be GPM, Type, PowerUsage, etc. Each spec for a pump would be listed in the SpecDetails table. Ooops, almost forgot. There are a few tables missing from the relationships. tblDateData, tblLongData, tblDoubleData, tblTextData and tblCurrencyData. They are identical tables, with SpecID (Long Integer), ProductID (Long Integer) and Data (data type matching the table, ie, Long Integer for tblLongData. Now, you might want to make a few modifications to my design. For example, my Product Specs are hard linked to a generic type. You may want to put this link in a many to many table, ie, a ListID and SpecID table, so that the same spec may relate to multiple generic types. (So if you have Manufacturer in many generic types, you can list all products, regardless of generic type, for a specific manufacturer. That may apply to all products though (so it may be put in tblProducts), but something like PowerUsage may only apply to certain generic types, so that might be a better example). Hope this helps. Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 24, 2006 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Quotation Database structure question Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich From DWUTKA at marlow.com Mon Jul 31 10:48:50 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Jul 2006 10:48:50 -0500 Subject: [AccessD] Quotation Database structure question Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7AAD4@MARLOW_MAIN2.marlow.com> Hopefully some of the other experts can chime in here. I tend to write code centric interfaces. For example, in my products database, I have .dll's that retrieve and organize the data. The actual interface are .asp pages. In access, I would have the same classes that I have in the .dll, but everything would be unbound. Not sure if this is how you want to go... Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 31, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quotation Database structure question Drew thanks for the screenshot.. I had the following structure in mind when I saw yours structure it reassured me that this might be the way to go. I have something similar to what you have, or at least what I believe to be a similar method to handle this issue. Basically I have tables (Components, ComponentTypes, ComponentTypeTemplate, ComponentValues) ComponentType (Define a new type ex.(FAN, PUMP, Blower, etc) -------------- CompTypeId Type TypeDesc ComponentTypeTemplate (Build specs for each type) --------------------- ComponentTypeTempId CompTypeId TypeSpecification ComponentValues (store a value for each Type and Spec) --------------- ComponentID ComponentTypeTempID CompTypeID (don't need this but did it for quicker queries) SpecValue Components (Stores the basic info for the new component which includes, Type, Price, QuoteDate came in from Vendor, and vendor) ---------- ComponentID CompTypeId ComponentDesc VendorPartNo UnitPrice VendorID DateOfPrice Relationships.. Components 1 to Many ComponentValues (field: ComponentID) ComponentType 1 to Many Components (field: CompTypeID) ComponentType 1 to Many ComponentTypeTemplate (field: compTypeID) ComponentType 1 to Many ComponentValues (field: CompTypeID) ComponentTypeTemplate 1 to Many ComponentValues (field: compTypeTempID) Ok, so now all the data entry forms are built, and this all appears to be working correctly. Now I'm down to building the Estimate itself. So I have Estimate_Header with your basic header information, and then the Estimate_Details. The Details will have Components, the quantity, Price,..... So my new delima is how do I display this data driven metadata type system so that I can show the TypeSpec field from the ComponentTypeTemplate as RowHeaders in a ComponentSelection form for the Estimate Details section. Feasable I know how to do this in a Crosstab query, however I cannot display a raw query in a form (or can I and I just don't know how). I tried the PivotTable view in a form, but it adds totals for every level you enter in the row Data portion of the grid.. Any tips/tricks would be greatly appreciated on how to display this data that is in a table, and show it as row header data. Currently I have a listbox, that works pretty good, however there is no sorting or column resizing capability within it or else it would be perfect for this situation as it dynamically rebuilds when a new Type is selected. Thanks in advance.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, July 24, 2006 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quotation Database structure question I created a product database for our company. Our website uses it. We have several 'types' of products, and I didn't want things hard coded, so I created a database where the people that control the data can create new products and put it in the system. Here is a screen shot of the relationships: http://www.marlow.com/productdbrelations.bmp there are a few tables that are off on the side, but those are strictly for the shopping cart itself. A little explanation: tblProducts is the main table, the ProductID is an Autonumber in that table. It has fields that are specific to every product, no matter what it is. The key field (in importance) is the GenericType field. I goofed when designing this, because I didn't use that term throughout the whole project, and didn't catch that I wasn't doing that until I was pretty deep into it. What does the GenericType field do? It tells the system what kind of product it is. GenericTypes are defined in tblSpecificationHeader (with a name, the GenericType field is a number field that matches the ListID (AutoNumber)). The specs for that product are then listed in tblSpecificationDetails. Each spec has the ListID (to relate it to a 'generic type'). Then have a name, units, (Our website has a glossary in it, so the Glossary ID matches the glossary terms to appropriate specs (for instance, some of our products are TECs (Thermo Electric Coolers, and DeltaT is a spec, and a glossary term, so when the website displays a product, if it has a matching glossary term for the spec, it shows up as a tool tip on the website. Then there are product types, and sub types. In our particular case, our subtypes are categories based on our customer base (DSP (Defense Space and Photonics), Commercial, Medical, etc.), and the types are more specific product types. For example, our Generic Types are 'standard coolers', 'accessories', and 'TTRS'. Our product types are identical for accessories and ttrs, but standard coolers have many product types (MI coolers, AT coolers, DT coolers, XLT coolers, etc.) I'll try to explain this in a little less technical terms. Each product has a 'generic type'. For instance, a centrifugal pump and a positive displacement pump are both pumps. So they would both have a GenericType 'Pump' (which would have it's own ID (ListID in my database)). The specs for a pump might be GPM, Type, PowerUsage, etc. Each spec for a pump would be listed in the SpecDetails table. Ooops, almost forgot. There are a few tables missing from the relationships. tblDateData, tblLongData, tblDoubleData, tblTextData and tblCurrencyData. They are identical tables, with SpecID (Long Integer), ProductID (Long Integer) and Data (data type matching the table, ie, Long Integer for tblLongData. Now, you might want to make a few modifications to my design. For example, my Product Specs are hard linked to a generic type. You may want to put this link in a many to many table, ie, a ListID and SpecID table, so that the same spec may relate to multiple generic types. (So if you have Manufacturer in many generic types, you can list all products, regardless of generic type, for a specific manufacturer. That may apply to all products though (so it may be put in tblProducts), but something like PowerUsage may only apply to certain generic types, so that might be a better example). Hope this helps. Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 24, 2006 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Quotation Database structure question Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Mon Jul 31 12:26:51 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 31 Jul 2006 18:26:51 +0100 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aRE/ycA Message-ID: <003701c6b4c6$842947e0$e26b1152@Server> Yes, didn't read your string requirements properly - sorry, my fault. Here are 2 alternatives (Using your string example). Hope they help. Regards Max Function DropDoubleVBCRLF() As String Dim str As String str = "Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18" & vbCrLf & _ "Invoice Date: 4/27/2006" & vbCrLf & _ "Invoice Total: 105.79" & vbCrLf & _ "Customers Complaint: Replace condensate pan" & vbCrLf & _ "" & vbCrLf & _ "Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB" & vbCrLf & _ "" & vbCrLf & vbCrLf & vbCrLf & vbCrLf MsgBox str & vbCrLf & Len(str) GoTo Option2 'or option1? Option1: ' Option 1 - remove all repeating doubles of vbcrlf Do While InStr(str, vbCrLf & vbCrLf) > 0 str = Replace(str, vbCrLf & vbCrLf, vbCrLf) Loop str = Left(str, (InStrRev(str, vbCrLf) - 1)) MsgBox str & vbCrLf & Len(str) GoTo done Option2: ' Option 2 - keeps embedded double of vbcrlf and trims the end. str = Trim(str) Do While Right(str, 2) = vbCrLf str = Left(str, InStrRev(str, vbCrLf) - 1) Loop MsgBox str & vbCrLf & Len(str) done: DropDoubleVBCRLF = str End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, July 31, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remove mulipule vbCrlf From the end of a string? On 31 Jul 2006 at 7:24, Max Home wrote: > > str = Left(str, (InStr(str, vbCrLf) - 1)) > The sample has multiple vbCrLfs embedded. This would truncate it at "Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18" > Regards > Max > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert > Sent: Sunday, July 30, 2006 11:37 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? > > > Does anyone have a procedure handy to Remove multiple vbCrlf From the end > of a string? > > String Example: > > Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 > Invoice Date: 4/27/2006 > Invoice Total: 105.79 > Customers Complaint: Replace condensate pan > > Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB > > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Mon Jul 31 15:21:04 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Mon, 31 Jul 2006 16:21:04 -0400 Subject: [AccessD] $ Aligment in Combo Boxes Message-ID: This is driving me crazy..............my first item in a two column combo box is formatted in currency and the second is simply text. The currency will not right align! I have googled the topic and find many other questions about this problem with no answers that are simple and quick. Do I reall have to write a module to correct this? Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From cfoust at infostatsystems.com Mon Jul 31 15:41:24 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Jul 2006 13:41:24 -0700 Subject: [AccessD] $ Aligment in Combo Boxes In-Reply-To: Message-ID: The simple answer is Yes you have to write code and even then it won't line up properly. The problem is that the data in comboboxes is actually in strings and the currency format is not simply right aligned text, it leaves room for parens or a negative number indicator. Plus numbers are not a consistent width. You can call it a bug if you like, but numbers align differently from text, so it causes problems when you switch between the two. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Monday, July 31, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] $ Aligment in Combo Boxes This is driving me crazy..............my first item in a two column combo box is formatted in currency and the second is simply text. The currency will not right align! I have googled the topic and find many other questions about this problem with no answers that are simple and quick. Do I reall have to write a module to correct this? Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jul 31 16:06:54 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Jul 2006 14:06:54 -0700 Subject: [AccessD] $ Aligment in Combo Boxes In-Reply-To: Message-ID: <0J3A00LUCDB7NPT0@l-daemon> Hi Julie: This is one of the main issues with trying to format text in a combo box. The only way I know of to get it reasonably formatted is to set the font to mono-spaced and prebuild the string that is going to be presented. You might try Lebans web site with some interesting examples of combo box solutions: http://www.lebans.com/List_Combo.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Monday, July 31, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] $ Aligment in Combo Boxes This is driving me crazy..............my first item in a two column combo box is formatted in currency and the second is simply text. The currency will not right align! I have googled the topic and find many other questions about this problem with no answers that are simple and quick. Do I reall have to write a module to correct this? Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Jul 31 17:00:40 2006 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 31 Jul 2006 18:00:40 -0400 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000f01c6b428$ad63fae0$6501a8c0@roberts> Message-ID: <000501c6b4ec$c3a8a9d0$2e01a8c0@fredxp> How about string = replace(string, vbCrLf & vbCrLf, "")? This would leave one at the end of the line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, July 30, 2006 6:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Jul 31 17:04:19 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 31 Jul 2006 17:04:19 -0500 Subject: [AccessD] duplicate function names Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDE1A@corp-es01.fleetpride.com> Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Mon Jul 31 17:06:54 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Jul 2006 15:06:54 -0700 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000501c6b4ec$c3a8a9d0$2e01a8c0@fredxp> Message-ID: You would need to replace two vbcrlfs with one. That would keep replacing until you had no double carriage returns. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, July 31, 2006 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Remove mulipule vbCrlf From the end of a string? How about string = replace(string, vbCrLf & vbCrLf, "")? This would leave one at the end of the line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, July 30, 2006 6:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 31 17:18:18 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Jul 2006 15:18:18 -0700 Subject: [AccessD] duplicate function names In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DDE1A@corp-es01.fleetpride.com> Message-ID: That's one reason you usually give the routines in a code library unique names. You can also have routines with the same names in both local and public modules. The one within scope is always the one executed. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, July 31, 2006 3:04 PM To: 'Accessd (E-mail) Subject: [AccessD] duplicate function names Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Jul 31 18:10:44 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Jul 2006 18:10:44 -0500 Subject: [AccessD] duplicate function names In-Reply-To: <31675925.1154383690759.JavaMail.root@sniper19> Message-ID: <003501c6b4f6$8d52b4c0$0200a8c0@danwaters> This can be useful. You might have a 'generic' function in your library, but with some installations you need to do something a little different. With the function in the main database taking preference, you don't need to change the library. Dan Waters -----Original Message----- Subject: [AccessD] duplicate function names Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale From askolits at ot.com Mon Jul 31 22:41:25 2006 From: askolits at ot.com (John Skolits) Date: Mon, 31 Jul 2006 23:41:25 -0400 Subject: [AccessD] duplicate function names In-Reply-To: <003501c6b4f6$8d52b4c0$0200a8c0@danwaters> Message-ID: <002001c6b51c$614680c0$6701a8c0@LaptopXP> Jim, I prefix all my library files with a "lbf_" (library file) prefix. This makes sure there is no confusion. You should come up with some kind of prefix of your own for library functions. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, July 31, 2006 7:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] duplicate function names This can be useful. You might have a 'generic' function in your library, but with some installations you need to do something a little different. With the function in the main database taking preference, you don't need to change the library. Dan Waters -----Original Message----- Subject: [AccessD] duplicate function names Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Mon Jul 31 23:07:47 2006 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 31 Jul 2006 21:07:47 -0700 Subject: [AccessD] $ Aligment in Combo Boxes (tease) In-Reply-To: Message-ID: Joe Hecht jmhecht at earthlink.net It is not a bug, it IS a random feature. Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Jul 1 03:09:32 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 1 Jul 2006 01:09:32 -0700 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C04369962@karta-exc-int.Karta.com> References: <9C382E065F54AE48BC3AA7925DCBB01C04369962@karta-exc-int.Karta.com> Message-ID: stickykeys?... how do you deactive it? On 6/30/06, Jim Hewson wrote: > > I have seen this before, even when I go from Access to other MS products. > I traced it down to the sticky keys being activated. > I haven't a clue as to why it was activated, but I turn it off and it goes > away. > > Jim > jhewson at karta.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 30, 2006 10:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Stuck Highlight in Access > > It isn't just Access. I see this in the code window from time to time > and it plagues me in .Net too. > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, June 29, 2006 3:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Stuck Highlight in Access > > I have seen this as well. I don't know of any fix other than shutting > down and re-opening. I always decompile / compile / compact and repair > of course. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From darrend at nimble.com.au Sat Jul 1 06:47:18 2006 From: darrend at nimble.com.au (Darren DICK) Date: Sat, 1 Jul 2006 21:47:18 +1000 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: Message-ID: <20060701114720.CMQN1089.omta03sl.mx.bigpond.com@DENZILLAP> Keep pressing the left SHIFT key until the sticky keys popup is visible and select settings You can also get to it from accessibility options in Control Panel Many thanks Have a great day Darren ------------------ T: 0424 696 433 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, 1 July 2006 6:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access stickykeys?... how do you deactive it? On 6/30/06, Jim Hewson wrote: > > I have seen this before, even when I go from Access to other MS products. > I traced it down to the sticky keys being activated. > I haven't a clue as to why it was activated, but I turn it off and it goes > away. > > Jim > jhewson at karta.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 30, 2006 10:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Stuck Highlight in Access > > It isn't just Access. I see this in the code window from time to time > and it plagues me in .Net too. > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, June 29, 2006 3:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Stuck Highlight in Access > > I have seen this as well. I don't know of any fix other than shutting > down and re-opening. I always decompile / compile / compact and repair > of course. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jul 3 04:12:57 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Jul 2006 11:12:57 +0200 Subject: [AccessD] Stuck Highlight in Access Message-ID: Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. From ldoering at symphonyinfo.com Mon Jul 3 11:38:49 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 3 Jul 2006 11:38:49 -0500 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <000101c69e83$532313f0$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F138@LAKATOS.Symphony.local> I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 3 11:51:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 3 Jul 2006 09:51:14 -0700 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F138@LAKATOS.Symphony.local> Message-ID: Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jul 3 12:45:04 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Jul 2006 19:45:04 +0200 Subject: [AccessD] Stuck Highlight in Access Message-ID: Hi Charlotte and Liz Sticky keys is another business. Having pressed F8 once sets "expanded selection". Now you can click to mark a part of a field. Done so, you can click F8 several times to mark: - word - field (all words) - record (all fields) - all records and press Shift+F8 to move reverse in this sequence. Press Esc to cancel "expanded selection". Most often users press F8 by accident but don't notice it as nothing happens - or so it seems. Then they forget. However, if you know about this shortcut, it can be a fast alternative to double-clicking and shift-marking with the mouse. Did you, by the way, know that Ctrl+Shift+Space will mark all records? And Shift+Space toggles between a selected record and selected first field of column? And Ctrl+Space toggles between a selected column and selected first field of row? Happy keying. /gustav >>> cfoust at infostatsystems.com 03-07-2006 18:51:14 >>> Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. From ldoering at symphonyinfo.com Mon Jul 3 22:16:40 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 3 Jul 2006 22:16:40 -0500 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <000001c69eca$9f2dd040$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F13C@LAKATOS.Symphony.local> Wow, new things to learn every day. Thanks, Gustav. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Charlotte and Liz Sticky keys is another business. Having pressed F8 once sets "expanded selection". Now you can click to mark a part of a field. Done so, you can click F8 several times to mark: - word - field (all words) - record (all fields) - all records and press Shift+F8 to move reverse in this sequence. Press Esc to cancel "expanded selection". Most often users press F8 by accident but don't notice it as nothing happens - or so it seems. Then they forget. However, if you know about this shortcut, it can be a fast alternative to double-clicking and shift-marking with the mouse. Did you, by the way, know that Ctrl+Shift+Space will mark all records? And Shift+Space toggles between a selected record and selected first field of column? And Ctrl+Space toggles between a selected column and selected first field of row? Happy keying. /gustav >>> cfoust at infostatsystems.com 03-07-2006 18:51:14 >>> Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Jul 3 22:20:06 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 4 Jul 2006 13:20:06 +1000 Subject: [AccessD] Cost SQl Server Message-ID: <005c01c69f18$c0e7dc50$6601a8c0@office> Can someone help me with some costs which I find confusing on the MS site. I need to let a client know the costs of developing an app with SQL Server as the BE as opposed to Access BE. I have all the development side clear but I need to quote them the cost of them purchasing a license for SQL Server 2005, so that the users can access it across the network. And do they need to use a specific Windows version with SQL Server 2005? TIA ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From wdhindman at dejpolsystems.com Mon Jul 3 23:44:09 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 00:44:09 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office> Message-ID: <000301c69f24$7dc13190$6466a8c0@50NM721> ...do they ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 4 00:01:12 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 01:01:12 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office> Message-ID: <000601c69f26$dfb088e0$6466a8c0@50NM721> ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Tue Jul 4 01:06:30 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 4 Jul 2006 16:06:30 +1000 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office> <000601c69f26$dfb088e0$6466a8c0@50NM721> Message-ID: <001701c69f2f$fed63bd0$6601a8c0@office> The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robin at rolledgold.net Tue Jul 4 03:57:50 2006 From: Robin at rolledgold.net (Robin ) Date: Tue, 4 Jul 2006 09:57:50 +0100 Subject: [AccessD] Cost SQl Server Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5424253@rgiserv.rg.local> Kath, Have you looked at Small Business Server Premium - includes SQL Server / Exchange / ISA Excellent package for a reasonable price - not sure of US pricing but here in the UK can get for around ?800 Rgds Robin Lawrence -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 04 July 2006 07:07 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cost SQl Server The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robin at rolledgold.net Tue Jul 4 04:06:57 2006 From: Robin at rolledgold.net (Robin ) Date: Tue, 4 Jul 2006 10:06:57 +0100 Subject: [AccessD] Cost SQl Server Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5424254@rgiserv.rg.local> Kath, Forgot to mention you get 5 CALs with the product, any more need to be purchased.. Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 04 July 2006 07:07 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cost SQl Server The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Jul 4 07:09:31 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 4 Jul 2006 22:09:31 +1000 Subject: [AccessD] Cost SQl Server References: <560E2B80EC8F624B93A87B943B7A9CD5424254@rgiserv.rg.local> Message-ID: <001001c69f62$b582d6e0$6601a8c0@office> Robin - 5 CALS means 5 users? How does the no. of CALS work? Kath ----- Original Message ----- From: Robin To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 7:06 PM Subject: Re: [AccessD] Cost SQl Server Kath, Forgot to mention you get 5 CALs with the product, any more need to be purchased.. Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 04 July 2006 07:07 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cost SQl Server The no. of users is between 5 and 15. They are currently using Windows XP Pro. I understand that Express is an option but I want to know the cost of full MS SQL as well. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 3:01 PM Subject: Re: [AccessD] Cost SQl Server ...what specific Server OS are they currently using and how many concurrent users? ...SQL Server Express is quite capable of serving as a be to an Access fe in many environments but you have to understand its limits ...but its free if those limitations don't limit your application. ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small Business Server 2003 Premium, its included at a very steep discount to the stand alone price. ...the costs mount in either route as you add user licenses. ...server processor and memory specs are much more important in a client/server app w/SQL Server be than it is with an Access file/server be. ...Windows 2000 or XP will work fine but support for earlier versions is difficult at best ...the benefits of XP are, imnsho, more than sufficient to drive an upgrade ...unless they want to wait for Vista which will almost certainly require workstation hardware upgrades as well. ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" ; "Access D SQl Server List" Sent: Monday, July 03, 2006 11:20 PM Subject: [AccessD] Cost SQl Server > Can someone help me with some costs which I find confusing on the MS site. > > I need to let a client know the costs of developing an app with SQL Server > as the BE as opposed to Access BE. > > I have all the development side clear but I need to quote them the cost of > them purchasing a license for SQL Server 2005, so that the users can > access it across the network. > > And do they need to use a specific Windows version with SQL Server 2005? > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Jul 4 08:09:12 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 09:09:12 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office><000601c69f26$dfb088e0$6466a8c0@50NM721> <001701c69f2f$fed63bd0$6601a8c0@office> Message-ID: <000b01c69f6b$0bf91c70$6466a8c0@50NM721> Kath ...I asked what their Server OS was and you replied Windows XP Pro which implies that they are networked using the workgroup features of Windows XP Pro and thus don't have a Server in the classic sense. SQL Server is very CPU and resource intensive and needs to be placed on a real network server, not a shared workstation. ...in that light I recommend Windows Small Business Server Premium as configured below: Windows Small Business Server 2003 R2 Premium ONLSA w5 CAL 1 each P/N T75-00144 $1950 (Open New License with Software Assurance) 5-pack CAL ONLSA 2 each P/N T74-00186 (User) $690 Total: 1950 + 690 + 690 = $3330 ...the part numbers are essential to getting the right version ...I included Software Assurance pricing so that your client will get the Windows Server 2007/8 release without having to pay for it all over again ...the R2 spec is essential to get the SQL Server 2005 version rather than the SQL Server 2000 included in the original and R1 releases. ...the 5 CALs are included w/SBS ...additional CALs are sold in 5 or 20 CAL packs ...they are sold as Device or User CALs ...device cals being useful in shift work where 2 or more workers use the same workstation at different times ...device cals are user name specific but can be installed on every device, the most common being a user with an office workstation, a home workstation, and a laptop ...a single user cal covers all three client installs for the same user. __________________________________________________________ ...if you require ONLY SQL Server itself, it comes in two applicable editions now as follows: SQL Server Workgroup Edition w/Server CAL $730 Workgroup User Cal 15 each $146 Total: 730 + 2190 = $2920 __________________________________________________________ SQL Server Standard Edition w/Server CAL $885 Workgroup User Cal 15 each $162 Total: 885 + 2430 = $3315 ...the major difference for your size customer lies in the additional reliability features of the Standard edition vs. the pure db features of the Workgroup edition ...you'll have to look at the comparison charts to determine which you feel comfortable with ...the SBS at the top comes with the Standard edition ...as you can see, the pricing of the SBS Premium edition is virtually identical to that of SQL Server Standard by itself ...which is one reason why all of my clients are on SBS. ...the prices cited are from the MS site and are MSRP ...you can certainly do better but be careful who and what you buy ...OEM versions are cheaper but get zero support from MS (and you WILL need it) ...Open License pricing is more expensive but more than pays for itself the first time you get a version upgrade ...e-bay has hundreds of items in this category for sale at much better prices but you can get badly burned if you're not very careful ...probably 60% of them are illegal and MS claims its as high as 80% ...they can get away with this by pirating enterprise license numbers and selling you copies ...it installs and upgrades fine until MS finds that the license number has been pirated and then shuts your client down ...if your client decides to go with a new server, I use Dell because it simplifies my life and my clients' ...you get better pricing and Dell will provide your software support ...and Dell won't try to take your client away as some MS Open License Dealers are wont to do. ...note that this is my opinion and my experience ...others may certainly differ :) ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 04, 2006 2:06 AM Subject: Re: [AccessD] Cost SQl Server > The no. of users is between 5 and 15. They are currently using Windows XP > Pro. > > I understand that Express is an option but I want to know the cost of full > MS SQL as well. > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, July 04, 2006 3:01 PM > Subject: Re: [AccessD] Cost SQl Server > > > ...what specific Server OS are they currently using and how many > concurrent > users? > > ...SQL Server Express is quite capable of serving as a be to an Access fe > in > many environments but you have to understand its limits ...but its free > if > those limitations don't limit your application. > > ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small > Business Server 2003 Premium, its included at a very steep discount to > the > stand alone price. > > ...the costs mount in either route as you add user licenses. > > ...server processor and memory specs are much more important in a > client/server app w/SQL Server be than it is with an Access file/server > be. > > ...Windows 2000 or XP will work fine but support for earlier versions is > difficult at best ...the benefits of XP are, imnsho, more than sufficient > to > drive an upgrade ...unless they want to wait for Vista which will almost > certainly require workstation hardware upgrades as well. > > ...hth > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access D Normal List" ; "Access D SQl > Server List" > Sent: Monday, July 03, 2006 11:20 PM > Subject: [AccessD] Cost SQl Server > > > > Can someone help me with some costs which I find confusing on the MS > site. > > > > I need to let a client know the costs of developing an app with SQL > Server > > as the BE as opposed to Access BE. > > > > I have all the development side clear but I need to quote them the cost > of > > them purchasing a license for SQL Server 2005, so that the users can > > access it across the network. > > > > And do they need to use a specific Windows version with SQL Server > 2005? > > > > TIA > > > > ______________________________________ > > Kath Pelletti > > Software Design and Solutions Pty Ltd. > > Ph: 9505-6714 > > Fax: 9505-6430 > > Email: KP at SDSOnline.net > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Jul 4 08:22:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 09:22:52 -0400 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office><000601c69f26$dfb088e0$6466a8c0@50NM721><001701c69f2f$fed63bd0$6601a8c0@office> <000b01c69f6b$0bf91c70$6466a8c0@50NM721> Message-ID: <001301c69f6c$f570e9e0$6466a8c0@50NM721> ...oops ...correction: ...they are sold as Device or User CALs ...DEVICE cals being useful in shift work where 2 or more workers use the same workstation at different times ...USER cals are user name specific but can be installed on every device, the most common being a user with an office workstation, a home workstation, and a laptop ...a single user cal covers all three client installs for the same user. ...sorry :( William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 04, 2006 9:09 AM Subject: Re: [AccessD] Cost SQl Server > Kath > > ...I asked what their Server OS was and you replied Windows XP Pro which > implies that they are networked using the workgroup features of Windows XP > Pro and thus don't have a Server in the classic sense. SQL Server is very > CPU and resource intensive and needs to be placed on a real network > server, > not a shared workstation. > > ...in that light I recommend Windows Small Business Server Premium as > configured below: > > Windows Small Business Server 2003 R2 Premium ONLSA w5 CAL 1 each > P/N T75-00144 $1950 (Open New License with Software Assurance) > > 5-pack CAL ONLSA 2 each P/N T74-00186 (User) $690 > > Total: 1950 + 690 + 690 = $3330 > > ...the part numbers are essential to getting the right version ...I > included > Software Assurance pricing so that your client will get the Windows Server > 2007/8 release without having to pay for it all over again ...the R2 spec > is > essential to get the SQL Server 2005 version rather than the SQL Server > 2000 > included in the original and R1 releases. > > ...the 5 CALs are included w/SBS ...additional CALs are sold in 5 or 20 > CAL > packs ...they are sold as Device or User CALs ...device cals being useful > in > shift work where 2 or more workers use the same workstation at different > times ...device cals are user name specific but can be installed on every > device, the most common being a user with an office workstation, a home > workstation, and a laptop ...a single user cal covers all three client > installs for the same user. > __________________________________________________________ > > ...if you require ONLY SQL Server itself, it comes in two applicable > editions now as follows: > > SQL Server Workgroup Edition w/Server CAL $730 > > Workgroup User Cal 15 each $146 > > Total: 730 + 2190 = $2920 > __________________________________________________________ > > SQL Server Standard Edition w/Server CAL $885 > > Workgroup User Cal 15 each $162 > > Total: 885 + 2430 = $3315 > > ...the major difference for your size customer lies in the additional > reliability features of the Standard edition vs. the pure db features of > the > Workgroup edition ...you'll have to look at the comparison charts to > determine which you feel comfortable with ...the SBS at the top comes with > the Standard edition ...as you can see, the pricing of the SBS Premium > edition is virtually identical to that of SQL Server Standard by itself > ...which is one reason why all of my clients are on SBS. > > ...the prices cited are from the MS site and are MSRP ...you can certainly > do better but be careful who and what you buy ...OEM versions are cheaper > but get zero support from MS (and you WILL need it) ...Open License > pricing > is more expensive but more than pays for itself the first time you get a > version upgrade ...e-bay has hundreds of items in this category for sale > at > much better prices but you can get badly burned if you're not very careful > ...probably 60% of them are illegal and MS claims its as high as 80% > ...they > can get away with this by pirating enterprise license numbers and selling > you copies ...it installs and upgrades fine until MS finds that the > license > number has been pirated and then shuts your client down ...if your client > decides to go with a new server, I use Dell because it simplifies my life > and my clients' ...you get better pricing and Dell will provide your > software support ...and Dell won't try to take your client away as some MS > Open License Dealers are wont to do. > > ...note that this is my opinion and my experience ...others may certainly > differ :) > > ...hth > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, July 04, 2006 2:06 AM > Subject: Re: [AccessD] Cost SQl Server > > >> The no. of users is between 5 and 15. They are currently using Windows XP >> Pro. >> >> I understand that Express is an option but I want to know the cost of >> full >> MS SQL as well. >> >> Kath >> ----- Original Message ----- >> From: William Hindman >> To: Access Developers discussion and problem solving >> Sent: Tuesday, July 04, 2006 3:01 PM >> Subject: Re: [AccessD] Cost SQl Server >> >> >> ...what specific Server OS are they currently using and how many >> concurrent >> users? >> >> ...SQL Server Express is quite capable of serving as a be to an Access >> fe >> in >> many environments but you have to understand its limits ...but its free >> if >> those limitations don't limit your application. >> >> ...SQL Server 2005 comes packaged or stand alone ...if you purchase >> Small >> Business Server 2003 Premium, its included at a very steep discount to >> the >> stand alone price. >> >> ...the costs mount in either route as you add user licenses. >> >> ...server processor and memory specs are much more important in a >> client/server app w/SQL Server be than it is with an Access file/server >> be. >> >> ...Windows 2000 or XP will work fine but support for earlier versions is >> difficult at best ...the benefits of XP are, imnsho, more than >> sufficient >> to >> drive an upgrade ...unless they want to wait for Vista which will almost >> certainly require workstation hardware upgrades as well. >> >> ...hth >> >> William >> >> ----- Original Message ----- >> From: "Kath Pelletti" >> To: "Access D Normal List" ; "Access D SQl >> Server List" >> Sent: Monday, July 03, 2006 11:20 PM >> Subject: [AccessD] Cost SQl Server >> >> >> > Can someone help me with some costs which I find confusing on the MS >> site. >> > >> > I need to let a client know the costs of developing an app with SQL >> Server >> > as the BE as opposed to Access BE. >> > >> > I have all the development side clear but I need to quote them the >> cost >> of >> > them purchasing a license for SQL Server 2005, so that the users can >> > access it across the network. >> > >> > And do they need to use a specific Windows version with SQL Server >> 2005? >> > >> > TIA >> > >> > ______________________________________ >> > Kath Pelletti >> > Software Design and Solutions Pty Ltd. >> > Ph: 9505-6714 >> > Fax: 9505-6430 >> > Email: KP at SDSOnline.net >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From robert at servicexp.com Tue Jul 4 11:14:58 2006 From: robert at servicexp.com (Robert) Date: Tue, 4 Jul 2006 12:14:58 -0400 Subject: [AccessD] Stuck Highlight in Access In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F13C@LAKATOS.Symphony.local> Message-ID: <000001c69f84$ffaec0e0$6401a8c0@roberts> Gustav, Do you have a list of these little key combination gems?? Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 11:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access Wow, new things to learn every day. Thanks, Gustav. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Charlotte and Liz Sticky keys is another business. Having pressed F8 once sets "expanded selection". Now you can click to mark a part of a field. Done so, you can click F8 several times to mark: - word - field (all words) - record (all fields) - all records and press Shift+F8 to move reverse in this sequence. Press Esc to cancel "expanded selection". Most often users press F8 by accident but don't notice it as nothing happens - or so it seems. Then they forget. However, if you know about this shortcut, it can be a fast alternative to double-clicking and shift-marking with the mouse. Did you, by the way, know that Ctrl+Shift+Space will mark all records? And Shift+Space toggles between a selected record and selected first field of column? And Ctrl+Space toggles between a selected column and selected first field of row? Happy keying. /gustav >>> cfoust at infostatsystems.com 03-07-2006 18:51:14 >>> Turning off the checkbox for sticky keys in the accessibility options isn't enough. I guess you have to click the settings buttons and turn off the options that turn sticky keys on for you. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Monday, July 03, 2006 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Stuck Highlight in Access I opened a table, hit F8 and found this behavior... And got rid of it with Esc. And can recreate it with F8. This makes me feel better; all this time I thought it was just the flaky property. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, July 03, 2006 4:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Stuck Highlight in Access Hi Fransisco Isn't this what happens if the user press F8 one or more times? The cure is to press Esc ... one or more times. Sorry if this has been covered, I missed the thread. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 29, 2006 6:11 PM > To: Access Developers discussion and problem solving; > access-l at peach.ease.lsoft.com > Subject: [AccessD] Stuck Highlight in Access > > In Access sometimes my users mention that their text is being > highlighted from right to left, even tho they are not holding down the > shift key, This affects only their Access application, but does not > affect any other software running. Any form inside the access app is > affected and it seems to go away after they shutdown and restart the > application. > > I dunno if anyone here has seen this, it's not the old "the keyboard > buffer is stuck" situation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Tue Jul 4 15:59:31 2006 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 4 Jul 2006 13:59:31 -0700 Subject: [AccessD] Brief questions Message-ID: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> At the moment, I need yes/no answers. If the answer to both questions is yes, then I will elaborate, including examples of what I need to do. But if answer to either is no, there's no sense in my taking the time to write it all all. 1) When making a report, is Access capable of printing text upside down (Word doesn't seem to be able to)? I will be wanting to print a folded tent card with name on both sides, and that means that one side needs to print upside down. 2) If yes to 1, then is it possible to print record1 upside down, then record1 rightside up, before going on to do the same for record2? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From wdhindman at dejpolsystems.com Tue Jul 4 16:24:40 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 17:24:40 -0400 Subject: [AccessD] Brief questions References: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> Message-ID: <000601c69fb0$435da970$6466a8c0@50NM721> ----- Original Message ----- From: "Kathryn Bassett" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 04, 2006 4:59 PM Subject: [AccessD] Brief questions > At the moment, I need yes/no answers. If the answer to both questions is > yes, then I will elaborate, including examples of what I need to do. But > if answer to either is no, there's no sense in my taking the time to write > it all all. > > 1) When making a report, is Access capable of printing text upside down > (Word doesn't seem to be able to)? I will be wanting to print a folded > tent card with name on both sides, and that means that one side needs to > print upside down. > > 2) If yes to 1, then is it possible to print record1 upside down, then > record1 rightside up, before going on to do the same for record2? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 4 16:26:08 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 4 Jul 2006 17:26:08 -0400 Subject: [AccessD] Brief questions References: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> Message-ID: <000901c69fb0$77a79650$6466a8c0@50NM721> ...yes, yes. ...lebans.com ...form/rotatetext ...works on reports as well ...hth :) William ----- Original Message ----- From: "Kathryn Bassett" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 04, 2006 4:59 PM Subject: [AccessD] Brief questions > At the moment, I need yes/no answers. If the answer to both questions is > yes, then I will elaborate, including examples of what I need to do. But > if answer to either is no, there's no sense in my taking the time to write > it all all. > > 1) When making a report, is Access capable of printing text upside down > (Word doesn't seem to be able to)? I will be wanting to print a folded > tent card with name on both sides, and that means that one side needs to > print upside down. > > 2) If yes to 1, then is it possible to print record1 upside down, then > record1 rightside up, before going on to do the same for record2? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kathryn at bassett.net Tue Jul 4 18:08:36 2006 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 4 Jul 2006 16:08:36 -0700 Subject: [AccessD] Expanded version - was Brief questions In-Reply-To: <000901c69fb0$77a79650$6466a8c0@50NM721> Message-ID: <000101c69fbe$c7aeeb90$6401a8c0@Kathryn> Thanks William. However, after downloading the sample database, I realize that I might not have been clear on one issue. It's the field content that I want to rotate, not the label. http://www.babcockancestry.com/storage/goodanproblem/ has the files I will refer to below. Everything is Office 2003, so Access2003, Publisher2003, Word2003. goodanprojectendresult.jpg is what the final report will look like (text only, of course, not the various lines). goodanprojecttemplate.jpg is the template with the measurments. Goodan60th.mdb is the very simple database with the names. This whole thing is based on http://www.paperdirect.com/Dignity+Folded+MiniCards/item_no=FLDMCDIGNT/cid=2034/page_no=1/shop.axd/ProductDetails - PaperDirect sells templates for Publisher and Word but there is a problem with both. With Publisher, Folded Mini Cards no.. (first one) it merges with the mdb and the names DO rotate text but it ends up with four of the same name on a page and then goes to the next record. They are aware of the problem but have not been able to figure out how to fix it. So that is out because it wastes 3 of ever 4 cards. With Word, Folded Mini Cards no.. (second one) there is no way to rotate the text upside down. 90degrees left or right, but not 180. So using that template prints only one side. Folded Mini Cards no.. (third one) is moot at present, eventually we want to put pictures to the side of the names. Mini Fold Tent Form.frm is moot at present as well. It's a WordPerfect11 form that pulls in the info from the mdb, and it rotates fine, BUT, it only merges in about 2/3 of the names. No idea why it doesn't merge them all in. Doesn't merge them all in from Excel either. So, now that I've expanded on what is needed, can it all be done within Access? If so, how? -- 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 > William Hindman > Sent: 04 Jul 2006 2:26 pm > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Brief questions > > ...yes, yes. > > ...lebans.com ...form/rotatetext ...works on reports as well ...hth :) > > William From carbonnb at gmail.com Tue Jul 4 18:42:57 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 4 Jul 2006 19:42:57 -0400 Subject: [AccessD] Brief questions In-Reply-To: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> References: <001801c69fac$bf6f1fc0$6401a8c0@Kathryn> Message-ID: On 7/4/06, Kathryn Bassett wrote: > At the moment, I need yes/no answers. If the answer to both questions is yes, then I will elaborate, including examples of what I need to do. But if answer to either is no, there's no sense in my taking the time to write it all all. > > 1) When making a report, is Access capable of printing text upside down (Word doesn't seem to be able to)? I will be wanting to print a folded tent card with name on both sides, and that means that one side needs to print upside down. You can do it in Word, but you just have to change your thinking a bit. Set the page to landsacpe and create a table with 2 cells. 1 for each half of the page. Then just change the text orientation. I'd give you the exact way to do it, but I don't have Word installed on the computer I'm at. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From kp at sdsonline.net Tue Jul 4 18:52:34 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 5 Jul 2006 09:52:34 +1000 Subject: [AccessD] Cost SQl Server References: <005c01c69f18$c0e7dc50$6601a8c0@office><000601c69f26$dfb088e0$6466a8c0@50NM721><001701c69f2f$fed63bd0$6601a8c0@office> <000b01c69f6b$0bf91c70$6466a8c0@50NM721> Message-ID: <001701c69fc4$ec6d24a0$6601a8c0@office> That's a huge help - thanks William. Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 04, 2006 11:09 PM Subject: Re: [AccessD] Cost SQl Server Kath ...I asked what their Server OS was and you replied Windows XP Pro which implies that they are networked using the workgroup features of Windows XP Pro and thus don't have a Server in the classic sense. SQL Server is very CPU and resource intensive and needs to be placed on a real network server, not a shared workstation. ...in that light I recommend Windows Small Business Server Premium as configured below: Windows Small Business Server 2003 R2 Premium ONLSA w5 CAL 1 each P/N T75-00144 $1950 (Open New License with Software Assurance) 5-pack CAL ONLSA 2 each P/N T74-00186 (User) $690 Total: 1950 + 690 + 690 = $3330 ...the part numbers are essential to getting the right version ...I included Software Assurance pricing so that your client will get the Windows Server 2007/8 release without having to pay for it all over again ...the R2 spec is essential to get the SQL Server 2005 version rather than the SQL Server 2000 included in the original and R1 releases. ...the 5 CALs are included w/SBS ...additional CALs are sold in 5 or 20 CAL packs ...they are sold as Device or User CALs ...device cals being useful in shift work where 2 or more workers use the same workstation at different times ...device cals are user name specific but can be installed on every device, the most common being a user with an office workstation, a home workstation, and a laptop ...a single user cal covers all three client installs for the same user. __________________________________________________________ ...if you require ONLY SQL Server itself, it comes in two applicable editions now as follows: SQL Server Workgroup Edition w/Server CAL $730 Workgroup User Cal 15 each $146 Total: 730 + 2190 = $2920 __________________________________________________________ SQL Server Standard Edition w/Server CAL $885 Workgroup User Cal 15 each $162 Total: 885 + 2430 = $3315 ...the major difference for your size customer lies in the additional reliability features of the Standard edition vs. the pure db features of the Workgroup edition ...you'll have to look at the comparison charts to determine which you feel comfortable with ...the SBS at the top comes with the Standard edition ...as you can see, the pricing of the SBS Premium edition is virtually identical to that of SQL Server Standard by itself ...which is one reason why all of my clients are on SBS. ...the prices cited are from the MS site and are MSRP ...you can certainly do better but be careful who and what you buy ...OEM versions are cheaper but get zero support from MS (and you WILL need it) ...Open License pricing is more expensive but more than pays for itself the first time you get a version upgrade ...e-bay has hundreds of items in this category for sale at much better prices but you can get badly burned if you're not very careful ...probably 60% of them are illegal and MS claims its as high as 80% ...they can get away with this by pirating enterprise license numbers and selling you copies ...it installs and upgrades fine until MS finds that the license number has been pirated and then shuts your client down ...if your client decides to go with a new server, I use Dell because it simplifies my life and my clients' ...you get better pricing and Dell will provide your software support ...and Dell won't try to take your client away as some MS Open License Dealers are wont to do. ...note that this is my opinion and my experience ...others may certainly differ :) ...hth William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 04, 2006 2:06 AM Subject: Re: [AccessD] Cost SQl Server > The no. of users is between 5 and 15. They are currently using Windows XP > Pro. > > I understand that Express is an option but I want to know the cost of full > MS SQL as well. > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, July 04, 2006 3:01 PM > Subject: Re: [AccessD] Cost SQl Server > > > ...what specific Server OS are they currently using and how many > concurrent > users? > > ...SQL Server Express is quite capable of serving as a be to an Access fe > in > many environments but you have to understand its limits ...but its free > if > those limitations don't limit your application. > > ...SQL Server 2005 comes packaged or stand alone ...if you purchase Small > Business Server 2003 Premium, its included at a very steep discount to > the > stand alone price. > > ...the costs mount in either route as you add user licenses. > > ...server processor and memory specs are much more important in a > client/server app w/SQL Server be than it is with an Access file/server > be. > > ...Windows 2000 or XP will work fine but support for earlier versions is > difficult at best ...the benefits of XP are, imnsho, more than sufficient > to > drive an upgrade ...unless they want to wait for Vista which will almost > certainly require workstation hardware upgrades as well. > > ...hth > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access D Normal List" ; "Access D SQl > Server List" > Sent: Monday, July 03, 2006 11:20 PM > Subject: [AccessD] Cost SQl Server > > > > Can someone help me with some costs which I find confusing on the MS > site. > > > > I need to let a client know the costs of developing an app with SQL > Server > > as the BE as opposed to Access BE. > > > > I have all the development side clear but I need to quote them the cost > of > > them purchasing a license for SQL Server 2005, so that the users can > > access it across the network. > > > > And do they need to use a specific Windows version with SQL Server > 2005? > > > > TIA > > > > ______________________________________ > > Kath Pelletti > > Software Design and Solutions Pty Ltd. > > Ph: 9505-6714 > > Fax: 9505-6430 > > Email: KP at SDSOnline.net > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Jul 5 04:00:28 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 05 Jul 2006 11:00:28 +0200 Subject: [AccessD] Stuck Highlight in Access Message-ID: Hi Robert They are all listed somewhere in the on-line help ... Another of my favourites inserts the data from the same field in the previous record: Ctrl+' /gustav >>> robert at servicexp.com 04-07-2006 18:14 >>> Gustav, Do you have a list of these little key combination gems?? Robert From Chris.Foote at uk.thalesgroup.com Wed Jul 5 04:30:46 2006 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 5 Jul 2006 10:30:46 +0100 Subject: [AccessD] Stuck Highlight in Access Message-ID: <7303A459C921B5499AF732CCEEAD2B7F01BFE404@craws161660.int.rdel.co.uk> My favourite is Ctrl+; which inserts the current date. Regards Chris F > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, July 05, 2006 10:00 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Stuck Highlight in Access > > > Hi Robert > > They are all listed somewhere in the on-line help ... > Another of my favourites inserts the data from the same field > in the previous record: > Ctrl+' > > /gustav > > >>> robert at servicexp.com 04-07-2006 18:14 >>> > Gustav, > Do you have a list of these little key combination gems?? > > Robert From scapistrant at symphonyinfo.com Wed Jul 5 09:12:31 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 5 Jul 2006 09:12:31 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000101c69d05$f7c72a60$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F010618FA@LAKATOS.Symphony.local> A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 From andy at minstersystems.co.uk Wed Jul 5 10:18:56 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Jul 2006 15:18:56 +0000 Subject: [AccessD] VBA project corruption Message-ID: <20060705141900.ECD76237AE0@smtp.nildram.co.uk> Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From scapistrant at symphonyinfo.com Wed Jul 5 09:50:54 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 5 Jul 2006 09:50:54 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000601c6a03f$96bed370$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F010618FB@LAKATOS.Symphony.local> Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 From dwaters at usinternet.com Wed Jul 5 10:02:37 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 10:02:37 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <25816005.1152111378547.JavaMail.root@sniper15> Message-ID: <001f01c6a044$0e7ab1a0$0200a8c0@danwaters> Steve, Try putting /decompile AFTER the path to your application. It will be the last item in the command line or in the target field of a shortcut. I set mine up that way and it does work. Not sure if how I do it is the only way though. Dan Waters ProMation Systems, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 9:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Jul 5 11:19:18 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Jul 2006 16:19:18 +0000 Subject: [AccessD] VBA project corruption Message-ID: <20060705151923.BB2532377D0@smtp.nildram.co.uk> Sounds like it tried and failed. Just to be sure make your command line just the Access bit and the /decompile switch. Then select your MDB when the selection screen pops up. That definitely invokes the decompile. But, as I said, it sounds to me like it's already tried to decomp and that's not worked. What I've done in this circumstance is to selectively import components into a fresh MDB, not trying to import all. That way I've found which component is corrupt and then I've just concentrated on that, ie going back to an earlier version and then making mods as necessary. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] VBA project corruption Date: 05/07/06 14:53 Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From wdhindman at dejpolsystems.com Wed Jul 5 10:23:46 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 5 Jul 2006 11:23:46 -0400 Subject: [AccessD] VBA project corruption References: <001f01c6a044$0e7ab1a0$0200a8c0@danwaters> Message-ID: <003a01c6a047$029243a0$6466a8c0@50NM721> Steve ...see http://www.granite.ab.ca/access/decompile.htm for detailed steps. ...and for A2K3 mdbs, Max Sherman's EatBloatV2 works much better than "decompile" William ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 05, 2006 11:02 AM Subject: Re: [AccessD] VBA project corruption > Steve, > > Try putting /decompile AFTER the path to your application. It will be the > last item in the command line or in the target field of a shortcut. I > set > mine up that way and it does work. Not sure if how I do it is the only > way > though. > > Dan Waters > ProMation Systems, Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > Capistrant > Sent: Wednesday, July 05, 2006 9:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file for my mdb]. > > Not sure if I constructed that correctly. But it appeared to chug along > and do something, but then ended up with the same VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access 2000 mdb... > Then yesterday I open the file and get "The Visual Basic for > Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable to run > anything with code, nor can I even view code. Ran Repair and Compact to > no avail. > > Normally in these situations, I start a new MDB, then import all objects > from the corrupt DB. But here, even the import function fails (same > error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that work some > magic. Any advice? I'd love not to have lost many hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jul 5 13:25:49 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Jul 2006 13:25:49 -0500 Subject: [AccessD] Cannot compact and repair database Message-ID: I have a database that when I tried to compact inside access and got a message that access has encountered and needs to close. This is with the database open exclusively. I tried it using JetComp outside of access with the same result. Tried to decompile using the following from Start Run and got an error cannot find c:\program... C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile c:\files\dss\sacroc.mdb Also tried with no success C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile When it try this access opens C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE I need some suggestions here. 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 carbonnb at gmail.com Wed Jul 5 13:36:39 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 5 Jul 2006 14:36:39 -0400 Subject: [AccessD] Cannot compact and repair database In-Reply-To: References: Message-ID: On 7/5/06, Kaup, Chester wrote: > I have a database that when I tried to compact inside access and got a > message that access has encountered and needs to close. This is with the > database open exclusively. I tried it using JetComp outside of access > with the same result. Tried to decompile using the following from Start > Run and got an error cannot find c:\program... > > C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile > c:\files\dss\sacroc.mdb Try wrapping the paths in quotes. It might be getting hung up on the space, so your command will look like: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /decompile "c:\files\dss\sacroc.mdb" -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From DElam at jenkens.com Wed Jul 5 13:36:33 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 5 Jul 2006 13:36:33 -0500 Subject: [AccessD] Cannot compact and repair database Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D85F@natexch.jenkens.com> It may not work considering decompile did not, but I have had some luck opening a blank database and importing all of the objects. After that your best bet may be to purchase software or send it to a service which rescues corrupt databases. I have needed this once and used a service that I would need to look up the name of. For less than $25 they did a fine job of rescuing a chunk of corrupt data. Debbie -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, July 05, 2006 1:26 PM To: Access Developers discussion and problem solving Subject: [AccessD] Cannot compact and repair database I have a database that when I tried to compact inside access and got a message that access has encountered and needs to close. This is with the database open exclusively. I tried it using JetComp outside of access with the same result. Tried to decompile using the following from Start Run and got an error cannot find c:\program... C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile c:\files\dss\sacroc.mdb Also tried with no success C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile When it try this access opens C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE I need some suggestions here. 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 - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From bill_Patten at earthlink.net Wed Jul 5 14:15:35 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Wed, 5 Jul 2006 12:15:35 -0700 Subject: [AccessD] VBA project corruption References: <02F5B8F3D893A845A3DF342F14D80F010618FA@LAKATOS.Symphony.local> Message-ID: <002d01c6a067$64f6f660$6401a8c0@BPCS> Steve, Try making several copies of the bad database, then in one of the copies start deleting forms one at a time and try compact and repair after each deletion. If it is a bad form it will finally allow you to compact and repair, when it does then go to another copy and just delete that form. If it compacts ok you now know which form. Then go to an other copy create a new form and import all the controls from the bad form and the deleted the bad form. If it compacts ok you now only have to rewrite the code in the one form and that should save you time. I had something similar once and it was a corrupted form and I was able to save all the other forms, etc. Hope this helps. Bill ----- Original Message ----- From: "Steve Capistrant" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 05, 2006 7:12 AM Subject: [AccessD] VBA project corruption A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- 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 Jul 5 14:22:09 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 5 Jul 2006 14:22:09 -0500 Subject: [AccessD] Cannot compact and repair database In-Reply-To: Message-ID: Problem solved! Problem was found when copying tables to a new database. One of the tables was corrupted. Restored table from a known good copy. Database can now be compacted and repaired. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, July 05, 2006 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot compact and repair database On 7/5/06, Kaup, Chester wrote: > I have a database that when I tried to compact inside access and got a > message that access has encountered and needs to close. This is with the > database open exclusively. I tried it using JetComp outside of access > with the same result. Tried to decompile using the following from Start > Run and got an error cannot find c:\program... > > C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE /decompile > c:\files\dss\sacroc.mdb Try wrapping the paths in quotes. It might be getting hung up on the space, so your command will look like: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /decompile "c:\files\dss\sacroc.mdb" -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jul 5 15:06:30 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 15:06:30 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <32065431.1152109152940.JavaMail.root@sniper19> Message-ID: <002f01c6a06e$84b4b580$0200a8c0@danwaters> Steve - I had a form that wasn't corrupted, but didn't work correctly at all. Once I figured out which form it was, I commented ALL the code, did a compact/repair, shutdown, reopened using /decompile, then recompiled from the VBA window. Then I decommented all the code in that form, and went through the same routine. Then the form worked correctly without my having to rewrite anything. My guess was that commenting out all the code erased the p-code for that form, then when I decommented my code, the p-code was re-created correctly. Anyway, it all took about 5 minutes and I was back in business. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 9:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] VBA project corruption A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Wed Jul 5 16:28:17 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 5 Jul 2006 16:28:17 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a043$d444ced0$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F145@LAKATOS.Symphony.local> Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Jul 5 16:49:08 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 5 Jul 2006 22:49:08 +0100 Subject: [AccessD] VBA project corruption In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F145@LAKATOS.Symphony.local> Message-ID: <005f01c6a07c$d88b3b30$1f1e0c54@minster33c3r25> Nice work Liz. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: 05 July 2006 22:28 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object > corruption problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included > exporting objects to text files and reimporting them. There > are nearly 900 forms, reports and modules in this .mdb! > Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat > file to decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with > version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I > don't understand why just opening the thing in 2003 didn't > have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Capistrant > Sent: Wednesday, July 05, 2006 10:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file > for my mdb]. > > Not sure if I constructed that correctly. But it appeared to > chug along and do something, but then ended up with the same > VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access > 2000 mdb... Then yesterday I open the file and get "The > Visual Basic for Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable > to run anything with code, nor can I even view code. Ran > Repair and Compact to no avail. > > Normally in these situations, I start a new MDB, then import > all objects from the corrupt DB. But here, even the import > function fails (same error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that > work some magic. Any advice? I'd love not to have lost many > hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ldoering at symphonyinfo.com Wed Jul 5 17:02:30 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 5 Jul 2006 17:02:30 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a07e$6a782520$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F147@LAKATOS.Symphony.local> >From you, Andy, that means a lot. Thank you. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 5:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Nice work Liz. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: 05 July 2006 22:28 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object > corruption problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included > exporting objects to text files and reimporting them. There > are nearly 900 forms, reports and modules in this .mdb! > Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat > file to decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with > version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I > don't understand why just opening the thing in 2003 didn't > have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Capistrant > Sent: Wednesday, July 05, 2006 10:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file > for my mdb]. > > Not sure if I constructed that correctly. But it appeared to > chug along and do something, but then ended up with the same > VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access > 2000 mdb... Then yesterday I open the file and get "The > Visual Basic for Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable > to run anything with code, nor can I even view code. Ran > Repair and Compact to no avail. > > Normally in these situations, I start a new MDB, then import > all objects from the corrupt DB. But here, even the import > function fails (same error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that > work some magic. Any advice? I'd love not to have lost many > hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jul 5 17:03:37 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 17:03:37 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <11851103.1152135229710.JavaMail.root@sniper21> Message-ID: <003901c6a07e$dee4fc30$0200a8c0@danwaters> Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Wed Jul 5 17:27:02 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 5 Jul 2006 17:27:02 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a080$8f214c60$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F148@LAKATOS.Symphony.local> Great ideas. I will try them. Thank you! Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 05, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Wed Jul 5 17:37:38 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 5 Jul 2006 17:37:38 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000e01c6a080$952a4030$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F01061902@LAKATOS.Symphony.local> Dan, I think we'll get in that habit, but with a slight twist, because this app is used by end-users in MDE format. So they'd never tolerate the load delay. But the app has a "Tune Up" feature in the administrative area, which runs a bunch of troubleshooting routines. Or maybe we force decompile/recompile(and other hygiene functions like Compact/Repair) to run on a schedule (e.g. once every 10 times it opens). We've tried standardizing compact on exit, but it seems to cause user confusion (why so slow to close?) and file chaos (relaunch right away, causing the db1.mdb temp file to abort and get stranded). Thanks again to all of you who gave advice to solve the problem! Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 05, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 From cfoust at infostatsystems.com Wed Jul 5 18:09:16 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Jul 2006 16:09:16 -0700 Subject: [AccessD] VBA project corruption In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F145@LAKATOS.Symphony.local> Message-ID: Liz, That's a long-standing problem with Access 2000 that was supposed to have been fixed in SP2. Are you saying you got it back in 2003?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 5 18:30:15 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 5 Jul 2006 19:30:15 -0400 Subject: [AccessD] VBA project corruption References: <02F5B8F3D893A845A3DF342F14D80F01061902@LAKATOS.Symphony.local> Message-ID: <001b01c6a08a$f8758460$6466a8c0@50NM721> Steve ...decompile is at best a half measure on A2K3 ...I use Sherman's EatBloatV2 in every app now and can't speak highly enough of its ability to keep my code lean and clean ...and its extremely easy to incorporate in your other maintenance routines ...plus an extra bonus is that Max lurks here sometimes :) http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2.mdb' William ----- Original Message ----- From: "Steve Capistrant" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 05, 2006 6:37 PM Subject: Re: [AccessD] VBA project corruption > Dan, > I think we'll get in that habit, but with a slight twist, because this > app is used by end-users in MDE format. So they'd never tolerate the > load delay. But the app has a "Tune Up" feature in the administrative > area, which runs a bunch of troubleshooting routines. > > Or maybe we force decompile/recompile(and other hygiene functions like > Compact/Repair) to run on a schedule (e.g. once every 10 times it > opens). We've tried standardizing compact on exit, but it seems to > cause user confusion (why so slow to close?) and file chaos (relaunch > right away, causing the db1.mdb temp file to abort and get stranded). > > Thanks again to all of you who gave advice to solve the problem! > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, July 05, 2006 5:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] VBA project corruption > > Excellent! > > A couple of things you might to do: > > 1) Always use a shortcut to open the app. In that shortcut, include the > /decompile after the path to your app. So the app gets decompiled every > time it's opened. > > 2) In the VB window, modify the Standard toolbar. Add a Compile button > next > to the Properties Window button. Now you can Compile quickly whenever > you > want. > > Doing both of these helps a lot to keep the database small and the code > healthy. > > Dan Waters > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: Wednesday, July 05, 2006 4:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object corruption > problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included exporting > objects to text files and reimporting them. There are nearly 900 forms, > reports and modules in this .mdb! Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to > decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with version > 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why > just opening the thing in 2003 didn't have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Jul 5 18:31:08 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 5 Jul 2006 19:31:08 -0400 Subject: [AccessD] VBA project corruption References: Message-ID: <001f01c6a08b$18602410$6466a8c0@50NM721> ...no, she's saying the A2K wasn't updated :( William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 05, 2006 7:09 PM Subject: Re: [AccessD] VBA project corruption > Liz, > > That's a long-standing problem with Access 2000 that was supposed to > have been fixed in SP2. Are you saying you got it back in 2003?? > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering > Sent: Wednesday, July 05, 2006 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, Bill, William and Dan, > > Steve handed this issue off to me--being the boss has some > advantages--for him! :) > > Turns out, this is a .dll problem, not an actual object corruption > problem. Microsoft explains it all here: > http://support.microsoft.com/?scid=kb;EN-US;304548. > > I didn't like the solutions they offered, which included exporting > objects to text files and reimporting them. There are nearly 900 forms, > reports and modules in this .mdb! Using the advice from > http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to > decompile with 2003, ("C:\Program Files\Microsoft > Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run > (a long time), I saved the file to 2003 format and all was well. > > I imagine that this is because 2003 is playing nicely with version > 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why > just opening the thing in 2003 didn't have the same effect. > > Thanks for all your help! > > > > Liz Doering > Symphony Information Services > ldoering at symphonyinfo.com > www.symphonyinfo.com > 763-391-7400 x802 > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > Capistrant > Sent: Wednesday, July 05, 2006 10:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Andy, > I did try decompiling, using this syntax from a RUN window: > [path and file for MSAssess.exe] /decompile [path and file for my mdb]. > > Not sure if I constructed that correctly. But it appeared to chug along > and do something, but then ended up with the same VBA Corrupt message. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Wednesday, July 05, 2006 9:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VBA project corruption > > Steve, have you tried decompiling? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: [AccessD] VBA project corruption > Date: 05/07/06 14:15 > > > A nice, long productive holiday weekend working on my Access 2000 mdb... > Then yesterday I open the file and get "The Visual Basic for > Applications in this project is corrupt." Sigh. > > I can shift bypass in to see objects. But completely unable to run > anything with code, nor can I even view code. Ran Repair and Compact to > no avail. > > Normally in these situations, I start a new MDB, then import all objects > from the corrupt DB. But here, even the import function fails (same > error message) when I point it to the corrupt db. > > I have heard of (but never used) third party utilities that work some > magic. Any advice? I'd love not to have lost many hours of work. > > Thank you. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > Office, Twin Cities: 763-391-7400, ext. 801. > Office, Toll free: 888-357-1373, ext. 801 > Direct: 612-237-0075 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Jul 5 19:52:51 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 5 Jul 2006 19:52:51 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <5516359.1152139315228.JavaMail.root@sniper39> Message-ID: <003a01c6a096$83bdf240$0200a8c0@danwaters> Hello Steve! I believe that the decompile/compile issue is something that only a developer needs to worry about, because you only need to do this with code that is undergoing development. Once deployed, the code doesn't change, and won't bloat. I got caught once installing a system that had a compile error, and it opened in the code window on the VP's PC with a bright yellow line. :-( So I put in a routine that automatically compiles the FE of my app each time it shuts down normally. So, if I've screwed up the code it'll get caught on my PC instead of my client's PC. Compact/Repair is something that will be a problem for users. I have a routine that forces a compact/repair of the BE when the LAST user logs out. The BE has the Compact on Close option checked, and the code in the FE simply opens and immediately closes the BE file. A status bar progress bar runs when this occurs. The FE on each client will compact/repair every time it's closed (I use a lot of FE Temp tables). This happens in a few seconds so no one complains. I just check the Compact on Close option. All the best! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 5:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Dan, I think we'll get in that habit, but with a slight twist, because this app is used by end-users in MDE format. So they'd never tolerate the load delay. But the app has a "Tune Up" feature in the administrative area, which runs a bunch of troubleshooting routines. Or maybe we force decompile/recompile(and other hygiene functions like Compact/Repair) to run on a schedule (e.g. once every 10 times it opens). We've tried standardizing compact on exit, but it seems to cause user confusion (why so slow to close?) and file chaos (relaunch right away, causing the db1.mdb temp file to abort and get stranded). Thanks again to all of you who gave advice to solve the problem! Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 05, 2006 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA project corruption Excellent! A couple of things you might to do: 1) Always use a shortcut to open the app. In that shortcut, include the /decompile after the path to your app. So the app gets decompiled every time it's opened. 2) In the VB window, modify the Standard toolbar. Add a Compile button next to the Properties Window button. Now you can Compile quickly whenever you want. Doing both of these helps a lot to keep the database small and the code healthy. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Thu Jul 6 08:48:30 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Thu, 6 Jul 2006 08:48:30 -0500 Subject: [AccessD] VBA project corruption In-Reply-To: <000001c6a088$f22204f0$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F14A@LAKATOS.Symphony.local> Nope, moving to 2003 fixed it. Thanks, Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, July 05, 2006 6:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Liz, That's a long-standing problem with Access 2000 that was supposed to have been fixed in SP2. Are you saying you got it back in 2003?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, July 05, 2006 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, Bill, William and Dan, Steve handed this issue off to me--being the boss has some advantages--for him! :) Turns out, this is a .dll problem, not an actual object corruption problem. Microsoft explains it all here: http://support.microsoft.com/?scid=kb;EN-US;304548. I didn't like the solutions they offered, which included exporting objects to text files and reimporting them. There are nearly 900 forms, reports and modules in this .mdb! Using the advice from http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to decompile with 2003, ("C:\Program Files\Microsoft Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run (a long time), I saved the file to 2003 format and all was well. I imagine that this is because 2003 is playing nicely with version 6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why just opening the thing in 2003 didn't have the same effect. Thanks for all your help! Liz Doering Symphony Information Services ldoering at symphonyinfo.com www.symphonyinfo.com 763-391-7400 x802 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Wednesday, July 05, 2006 10:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Andy, I did try decompiling, using this syntax from a RUN window: [path and file for MSAssess.exe] /decompile [path and file for my mdb]. Not sure if I constructed that correctly. But it appeared to chug along and do something, but then ended up with the same VBA Corrupt message. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, July 05, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA project corruption Steve, have you tried decompiling? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] VBA project corruption Date: 05/07/06 14:15 A nice, long productive holiday weekend working on my Access 2000 mdb... Then yesterday I open the file and get "The Visual Basic for Applications in this project is corrupt." Sigh. I can shift bypass in to see objects. But completely unable to run anything with code, nor can I even view code. Ran Repair and Compact to no avail. Normally in these situations, I start a new MDB, then import all objects from the corrupt DB. But here, even the import function fails (same error message) when I point it to the corrupt db. I have heard of (but never used) third party utilities that work some magic. Any advice? I'd love not to have lost many hours of work. Thank you. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 6 15:05:11 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 6 Jul 2006 15:05:11 -0500 Subject: [AccessD] Pass thru Query - SQL Server Message-ID: I have the following pass through query to SQL server. The table it tries to access will open. I have verified the table name and field names. I have write permission to the table. If someone knows some SQL server stuff your help would be appreciated. EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; 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 stuart at lexacorp.com.pg Thu Jul 6 15:36:04 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Jul 2006 06:36:04 +1000 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: References: Message-ID: <44AE00D4.29662.6D7D50E@stuart.lexacorp.com.pg> On 6 Jul 2006 at 15:05, Kaup, Chester wrote: > I have the following pass through query to SQL server. The table it > tries to access will open. I have verified the table name and field > names. I have write permission to the table. If someone knows some SQL > server stuff your help would be appreciated. > > EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; > What sort of error are you getting? Do you have Execute permission on the sp? What is it renaming? Are you changing a table structure here? If so, you need more that just Write permission on the table, you must be logged in with a role that permits Altering objects. -- Stuart From Chester_Kaup at kindermorgan.com Thu Jul 6 15:52:37 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 6 Jul 2006 15:52:37 -0500 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: <44AE00D4.29662.6D7D50E@stuart.lexacorp.com.pg> Message-ID: Answers to your questions below. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, July 06, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server On 6 Jul 2006 at 15:05, Kaup, Chester wrote: > I have the following pass through query to SQL server. The table it > tries to access will open. I have verified the table name and field > names. I have write permission to the table. If someone knows some SQL > server stuff your help would be appreciated. > > EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; > What sort of error are you getting? ODBC-Call Failed [Microsoft][ODBC SQL Server Driver][SQL Server]Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong. (#15248) Yet if I go directly to the table in access I can open it. Do you have Execute permission on the sp? That I do not know What is it renaming? Are you changing a table structure here? If so, you need more that just Write permission on the table, you must be logged in with a role that permits Altering objects. I am attempting to change a column name. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Jul 6 16:08:14 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Jul 2006 07:08:14 +1000 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: References: <44AE00D4.29662.6D7D50E@stuart.lexacorp.com.pg>, Message-ID: <44AE085E.1684.6F54A50@stuart.lexacorp.com.pg> On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > Answers to your questions below. How about posting the sp? -- Stuart From mwp.reid at qub.ac.uk Thu Jul 6 16:14:35 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 6 Jul 2006 22:14:35 +0100 Subject: [AccessD] Pass thru Query - SQL Server References: Message-ID: Check your spelling of column names etc Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Kaup, Chester Sent: Thu 06/07/2006 21:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server Answers to your questions below. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, July 06, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server On 6 Jul 2006 at 15:05, Kaup, Chester wrote: > I have the following pass through query to SQL server. The table it > tries to access will open. I have verified the table name and field > names. I have write permission to the table. If someone knows some SQL > server stuff your help would be appreciated. > > EXEC sp_rename 'dbo_SurfaceMaster.UWI', 'API10', 'COLUMN'; > What sort of error are you getting? ODBC-Call Failed [Microsoft][ODBC SQL Server Driver][SQL Server]Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong. (#15248) Yet if I go directly to the table in access I can open it. Do you have Execute permission on the sp? That I do not know What is it renaming? Are you changing a table structure here? If so, you need more that just Write permission on the table, you must be logged in with a role that permits Altering objects. I am attempting to change a column name. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jul 6 20:28:14 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 06 Jul 2006 18:28:14 -0700 Subject: [AccessD] VBA project corruption In-Reply-To: <003901c6a07e$dee4fc30$0200a8c0@danwaters> References: <003901c6a07e$dee4fc30$0200a8c0@danwaters> Message-ID: <44ADB8AE.8060907@shaw.ca> You can recompile directly from code see below. You can't recompile an MDE cause there is no text source code In Access 2000, if you Copy and Paste Forms or modules, then close the database without compiling and saving the module, the database file may be corrupt when it is opened next. This can occur if the version of the file VBE6.DLL on the system is at 6.3.91.8. This can occur if the VBE6 file has been updated by some application other than Office/Access 2000.an example is Mappoint. Compiling and saving the module prior to closing will resolve the issue. For more details, please see article: Q304548 - ACC2000: Err: Error Accessing File. Network Connection http://support.microsoft.com/support/kb/articles/q304/5/48.asp ------------- Turn off Compile on demand Why does Compile On Demand increase chance of corruption? Because it causes code outside the loaded modules to get compiled only partially. That is, it compiles only the part that's needed to run your code, whereas turning it off causes the whole module to compile. This means that whole modules get compiled sooner (rather than small chunks getting compiled when called), so you have fewer layers of compilation. FWIW, Michael Kaplan says certain kinds of corruption will never happen when COMPILE ON DEMAND is off: Public Function CompileAndSaveProject() As Boolean '-------------------------------------------------------------------------- ' An easy way to save and compile an application's modules using SysCmd() ' Source: http://www.arimsoft.ru/msaccess/ '-------------------------------------------------------------------------- SysCmd 504, 16483 '-------------------------------------------------------------------------- ' SysCmd 504, 16483 fails if compile error(s) are encountered '-------------------------------------------------------------------------- CompileAndSaveProject = Application.IsCompiled '-------------------------------------------------------------------------- ' Notify user about results of the attempt to compile/save '-------------------------------------------------------------------------- If IsCompiled Then MsgBox "Successfully compiled and saved all modules!" DoCmd.Restore Else MsgBox "Compilation process failed due to " & vbCr & _ "non-syntax errors in source Code! " & vbCr & _ "Please use menu command " & vbCr & vbCr & _ "Debug /Compile And Save All Modules " & vbCr & vbCr & _ "to find the error!" End If End Function Dan Waters wrote: >Excellent! > >A couple of things you might to do: > >1) Always use a shortcut to open the app. In that shortcut, include the >/decompile after the path to your app. So the app gets decompiled every >time it's opened. > >2) In the VB window, modify the Standard toolbar. Add a Compile button next >to the Properties Window button. Now you can Compile quickly whenever you >want. > >Doing both of these helps a lot to keep the database small and the code >healthy. > >Dan Waters > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering >Sent: Wednesday, July 05, 2006 4:28 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] VBA project corruption > >Andy, Bill, William and Dan, > >Steve handed this issue off to me--being the boss has some >advantages--for him! :) > >Turns out, this is a .dll problem, not an actual object corruption >problem. Microsoft explains it all here: >http://support.microsoft.com/?scid=kb;EN-US;304548. > >I didn't like the solutions they offered, which included exporting >objects to text files and reimporting them. There are nearly 900 forms, >reports and modules in this .mdb! Using the advice from >http://www.granite.ab.ca/access/decompile.htm, I made a .bat file to >decompile with 2003, ("C:\Program Files\Microsoft >Office\OFFICE11\MSAccess.exe" /decompile). Once the decompile had run >(a long time), I saved the file to 2003 format and all was well. > >I imagine that this is because 2003 is playing nicely with version >6.3.91.8 of the Vbe6.dll file, unlike 2000. But I don't understand why >just opening the thing in 2003 didn't have the same effect. > >Thanks for all your help! > > > >Liz Doering >Symphony Information Services >ldoering at symphonyinfo.com >www.symphonyinfo.com >763-391-7400 x802 > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >Capistrant >Sent: Wednesday, July 05, 2006 10:01 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] VBA project corruption > >Andy, >I did try decompiling, using this syntax from a RUN window: >[path and file for MSAssess.exe] /decompile [path and file for my mdb]. > >Not sure if I constructed that correctly. But it appeared to chug along >and do something, but then ended up with the same VBA Corrupt message. > >Steve > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Wednesday, July 05, 2006 9:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] VBA project corruption > >Steve, have you tried decompiling? >-- >Andy Lacey >http://www.minstersystems.co.uk > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "Access Developers discussion and problem solving" > >Subject: [AccessD] VBA project corruption >Date: 05/07/06 14:15 > > >A nice, long productive holiday weekend working on my Access 2000 mdb... >Then yesterday I open the file and get "The Visual Basic for >Applications in this project is corrupt." Sigh. > >I can shift bypass in to see objects. But completely unable to run >anything with code, nor can I even view code. Ran Repair and Compact to >no avail. > >Normally in these situations, I start a new MDB, then import all objects >from the corrupt DB. But here, even the import function fails (same >error message) when I point it to the corrupt db. > >I have heard of (but never used) third party utilities that work some >magic. Any advice? I'd love not to have lost many hours of work. > >Thank you. > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com >Office, Twin Cities: 763-391-7400, ext. 801. >Office, Toll free: 888-357-1373, ext. 801 >Direct: 612-237-0075 > > -- Marty Connelly Victoria, B.C. Canada From michael at ddisolutions.com.au Thu Jul 6 21:48:42 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 7 Jul 2006 12:48:42 +1000 Subject: [AccessD] Pass thru Query - SQL Server Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7AF@ddi-01.DDI.local> Its system sp. (sp_) Make sure your login has ddladmin permissions... >From BOL Members of the sysadmin fixed server role, the db_owner and db_ddladmin fixed database roles, or the owner of the object can execute sp_rename. Only members of the sysadmin and dbcreator fixed server roles can execute sp_rename with 'database' as the object_type. Does the sp run from QA? cheers Michael M On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > Answers to your questions below. How about posting the sp? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Jul 6 22:03:03 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 07 Jul 2006 13:03:03 +1000 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116A7AF@ddi-01.DDI.local> Message-ID: <44AE5B87.28074.57AF808@stuart.lexacorp.com.pg> On 7 Jul 2006 at 12:48, Michael Maddison wrote: > Its system sp. (sp_) > Doh! From colin.spence at centrelink.gov.au Fri Jul 7 01:15:15 2006 From: colin.spence at centrelink.gov.au (colin.spence at centrelink.gov.au) Date: Fri, 7 Jul 2006 16:15:15 +1000 Subject: [AccessD] Colin Spence/NSO/CSDA is out of the office. Message-ID: I will be out of the office starting 07/07/2006 and will not return until 17/07/2006. I am on leave for 1 weeks. Please contact Terry Bissell (383208) ********************************************************************** IMPORTANT: This e-mail is intended for the use of the addressee and may contain information that is confidential, commercially valuable or subject to legal or parliamentary privilege. If you are not the intended recipient you are notified that any review, re-transmission, disclosure, use or dissemination of this communication is strictly prohibited by several Commonwealth Acts of Parliament. If you have received this communication in error please notify the sender immediately and delete all copies of this transmission together with any attachments. ********************************************************************** From andy at minstersystems.co.uk Fri Jul 7 06:21:12 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 7 Jul 2006 11:21:12 +0000 Subject: [AccessD] Tab Control PageIndex/Access Not Shutting Down Message-ID: <20060707102115.CB5D0238079@smtp.nildram.co.uk> Here's a thing. I've just discovered this and haven't heard it mentioned before so thought I'd let you know. Am on A97 so don't know if applies to later versions. You all know I'm sure that there are issues with Access not closing down properly under certain circumstances, like not closing all recordsets for example. Well I've stumbled across another. Take a form with a tab control. In the OnChange you put a select statement to do stuff according to the tab selected. Hence, something like Select Case me.tabctl Case Me.tabMain.PageIndex ..................... Case Me.tabSecond.PageIndex ....................... Case etc End Select so far, so good. However I wanted the same thing to happen for two tabs so, naturally (I thought) I coded: Select Case me.tabctl Case Me.tabMain.PageIndex, Me.tabOther.PageIndex ..................... Case Me.tabSecond.PageIndex ....................... Case etc End Select After much detective work I find that as soon as I click on tabOther Access won't close down cleanly. Nothing to do with what code follows cos I've commented out all of the code. And if I change it to: Select Case me.tabctl Case Me.tabMain.PageIndex .................... Case Me.tabOther.PageIndex same ..................... as above Case Me.tabSecond.PageIndex ....................... Case etc End Select the problem goes away. Curiously too, selecting tabMain does not cause it, only selecting the second option in the Case statement. Ain't that peculiar? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From Chester_Kaup at kindermorgan.com Fri Jul 7 11:09:26 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 7 Jul 2006 11:09:26 -0500 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116A7AF@ddi-01.DDI.local> Message-ID: I will have to check with the DBA about my rights. Is there another way to change a field name in an SQL table with a pass through query? This is new territory for me. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, July 06, 2006 9:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass thru Query - SQL Server Its system sp. (sp_) Make sure your login has ddladmin permissions... >From BOL Members of the sysadmin fixed server role, the db_owner and db_ddladmin fixed database roles, or the owner of the object can execute sp_rename. Only members of the sysadmin and dbcreator fixed server roles can execute sp_rename with 'database' as the object_type. Does the sp run from QA? cheers Michael M On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > Answers to your questions below. How about posting the sp? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Fri Jul 7 13:39:11 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 07 Jul 2006 14:39:11 -0400 Subject: [AccessD] Pass thru Query - SQL Server In-Reply-To: References: Message-ID: <1152297551.44aeaa4f1c1c4@webmail.highstream.net> Not if I was your DBA. You have no business changing column names from a pass-through query in a production database. And, something no one else said, no ; at the end of your statement. SQL Server does not use it and this is supposed to be straight SQL Server code, nothing Access when you use a pass-through. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Fri, 7 Jul 2006 11:09:26 -0500 > From: "Kaup, Chester" > Subject: Re: [AccessD] Pass thru Query - SQL Server > To: "Access Developers discussion and problem solving" > > Message-ID: > > Content-Type: text/plain; charset=us-ascii > > I will have to check with the DBA about my rights. > Is there another way to change a field name in an SQL table with a pass > through query? This is new territory for me. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael > Maddison > Sent: Thursday, July 06, 2006 9:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Pass thru Query - SQL Server > > Its system sp. (sp_) > > Make sure your login has ddladmin permissions... > > >From BOL > Members of the sysadmin fixed server role, the db_owner and db_ddladmin > fixed database roles, or the owner of the object can execute sp_rename. > Only members of the sysadmin and dbcreator fixed server roles can > execute sp_rename with 'database' as the object_type. > > Does the sp run from QA? > > cheers > > Michael M > > On 6 Jul 2006 at 15:52, Kaup, Chester wrote: > > > Answers to your questions below. > > How about posting the sp? > -- > Stuart From barbararyan at cox.net Fri Jul 7 13:48:24 2006 From: barbararyan at cox.net (barbararyan at cox.net) Date: Fri, 7 Jul 2006 14:48:24 -0400 Subject: [AccessD] Transferspreadsheet Message-ID: <21527961.1152298104332.JavaMail.root@eastrmwml02.mgt.cox.net> In an Access 97 application, I used the Transferspreadsheet method to export a query to an Excel workbook (which appended a worksheet to the workbook). I converted the application to Access 2002 --- and now it will no longer append to an existing workbook (although it will create a new workbook if one doesn't exist). I have changed the spreadsheet type to acSpreadsheetTypeExcel8 and also have tried acSpreadsheetTypeExcel9, but it still does not work. Is there a difference in how the command works in 2002 vs 97? Thanks, Barb Ryan From bheygood at abestsystems.com Sun Jul 9 12:27:47 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 9 Jul 2006 10:27:47 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: <000001c62fe8$e8bdd170$8bf31452@server> Message-ID: Good Morning to the list, I find myself with 2 new tables I imported from Excel with over 321 fields. All fields are text 255. I don't think I can face manually changing all of them to "Allow Zero Length String". In the archives I could not find a way to do so easily. Some thing like iterate thru all the fields in the table via DAO, changing the property.... Any code out there? A2K TIA Bob Heygood From martyconnelly at shaw.ca Sun Jul 9 13:44:26 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 09 Jul 2006 11:44:26 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: References: Message-ID: <44B14E8A.4030401@shaw.ca> The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada From wdhindman at dejpolsystems.com Sun Jul 9 23:48:07 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 10 Jul 2006 00:48:07 -0400 Subject: [AccessD] A2K3 Runtime Switch References: <21527961.1152298104332.JavaMail.root@eastrmwml02.mgt.cox.net> Message-ID: <000701c6a3dc$0a33b010$6e9ba545@50NM721> Group ...in previous versions (A97/A2K) I could use the "/runtime" command line switch to create a shortcut that would allow me to test my app in the Access "runtime" environment. ...with the VSTO installed with A2K3, that switch appears to no longer function ...I still get the full version functionality when I use it. ...after reasonable search of the kb and net, I'm at a loss as how to test a new A2K3 app in the runtime environment without using a second system ...which is a royal pita when I'm doing a lot of the work in their offices with my laptop without a spare system being available. ...I can't be the only one who has run across this ...what's the solution? William ... From wdhindman at dejpolsystems.com Mon Jul 10 00:52:49 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 10 Jul 2006 01:52:49 -0400 Subject: [AccessD] A2K3 Runtime Switch References: <21527961.1152298104332.JavaMail.root@eastrmwml02.mgt.cox.net> <000701c6a3dc$0a33b010$6e9ba545@50NM721> Message-ID: <000301c6a3e5$140359c0$6e9ba545@50NM721> ...duh ...solved it ...A2K3 requires the full path to the MSACCESS.mdb in order for the runtime switch to work ...and the mskb article for A2k3 command-line switches dropped the runtime switch altogether even though it still works with the full path :((( William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, July 10, 2006 12:48 AM Subject: [AccessD] A2K3 Runtime Switch > Group > > ...in previous versions (A97/A2K) I could use the "/runtime" command line > switch to create a shortcut that would allow me to test my app in the > Access > "runtime" environment. > > ...with the VSTO installed with A2K3, that switch appears to no longer > function ...I still get the full version functionality when I use it. > > ...after reasonable search of the kb and net, I'm at a loss as how to test > a > new A2K3 app in the runtime environment without using a second system > ...which is a royal pita when I'm doing a lot of the work in their offices > with my laptop without a spare system being available. > > ...I can't be the only one who has run across this ...what's the solution? > > William > > ... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheygood at abestsystems.com Mon Jul 10 10:15:44 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 10 Jul 2006 08:15:44 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: <44B14E8A.4030401@shaw.ca> Message-ID: Thanks Marty. I will try it out this morning. Going to save me a lot of work..... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, July 09, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] change all fields to Allow Zero Length via VBA The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 10 10:33:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Jul 2006 08:33:14 -0700 Subject: [AccessD] A2K3 Runtime Switch In-Reply-To: <000301c6a3e5$140359c0$6e9ba545@50NM721> Message-ID: Any command line switch has always required the full msacess.exceutable and the full path to the mdb to operation, to the best of my recollection. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, July 09, 2006 10:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K3 Runtime Switch ...duh ...solved it ...A2K3 requires the full path to the MSACCESS.mdb in order for the runtime switch to work ...and the mskb article for A2k3 command-line switches dropped the runtime switch altogether even though it still works with the full path :((( William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Monday, July 10, 2006 12:48 AM Subject: [AccessD] A2K3 Runtime Switch > Group > > ...in previous versions (A97/A2K) I could use the "/runtime" command line > switch to create a shortcut that would allow me to test my app in the > Access > "runtime" environment. > > ...with the VSTO installed with A2K3, that switch appears to no longer > function ...I still get the full version functionality when I use it. > > ...after reasonable search of the kb and net, I'm at a loss as how to test > a > new A2K3 app in the runtime environment without using a second system > ...which is a royal pita when I'm doing a lot of the work in their offices > with my laptop without a spare system being available. > > ...I can't be the only one who has run across this ...what's the solution? > > William > > ... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Jul 10 12:39:34 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 10 Jul 2006 12:39:34 -0500 Subject: [AccessD] Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD7C@corp-es01.fleetpride.com> "From VBA to Visto" by Verschuuren states "it looks like Microsoft is going to discontinue VBA in its new release from 2008 on." Is this hype to sell the book or is this MS intention? Inquiring minds want to know. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jdemarco at hudsonhealthplan.org Mon Jul 10 13:14:41 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 10 Jul 2006 14:14:41 -0400 Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> List, We are looking for a lightweight (easy to use) software to track time spent on a given project and that will give us the ability to track slippage (and why). We'd like to see timeline graphs as well as billable hours (even though we don't bill). Does anyone have any recommendations? A search of list archives didn't turn up much besides homegrown systems. Thanks, Jim DeMarco From scapistrant at symphonyinfo.com Mon Jul 10 13:36:06 2006 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Mon, 10 Jul 2006 13:36:06 -0500 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <000101c6a44c$ec97f810$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0106191D@LAKATOS.Symphony.local> Jim, I'm not aware of a package that meets all of those specs. We ended up enhancing our proprietary system to include project management features that we need as a development shop. See www.symphonyinfo.com/Products/fed for details. Doesn't cover slippage, nor the task chain linkages that Microsoft Project does so deftly. But it does well with tasks, timesheet, billable hours, billing preparation, invoice detail printouts, time use analysis, project status reporting, etc. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Office, Twin Cities: 763-391-7400, ext. 801. Office, Toll free: 888-357-1373, ext. 801 Direct: 612-237-0075 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Monday, July 10, 2006 1:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Project Management Software for the Developer List, We are looking for a lightweight (easy to use) software to track time spent on a given project and that will give us the ability to track slippage (and why). We'd like to see timeline graphs as well as billable hours (even though we don't bill). Does anyone have any recommendations? A search of list archives didn't turn up much besides homegrown systems. Thanks, Jim DeMarco -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 10 13:41:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Jul 2006 11:41:09 -0700 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> Message-ID: If you're comfortable with a dot net app, we use OnTime from Axosoft. You can export data, so it wouldn't be hard to prepare an Excel graph from the results. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Monday, July 10, 2006 11:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Slightly OT: Project Management Software for the Developer List, We are looking for a lightweight (easy to use) software to track time spent on a given project and that will give us the ability to track slippage (and why). We'd like to see timeline graphs as well as billable hours (even though we don't bill). Does anyone have any recommendations? A search of list archives didn't turn up much besides homegrown systems. Thanks, Jim DeMarco -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Mon Jul 10 15:29:58 2006 From: sgoodhall at comcast.net (sgoodhall at comcast.net) Date: Mon, 10 Jul 2006 20:29:58 +0000 Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <071020062029.3757.44B2B8C60007799300000EAD220682469304040E080B0101099C@comcast.net> I can't say whether it would meet your definition of "lightweight", but OpenWorkbench (http://www.openworkbench.org/) will do all of the things that you described, as well as a lot more. This is the successor to the old ABT Project Workbench. After Niku bought ABT and then CA bought Niku, they made it available to Open Source community. Regards, Steve Goodhall, PMP -------------- Original message -------------- From: "Jim DeMarco" > List, > > We are looking for a lightweight (easy to use) software to track time > spent on a given project and that will give us the ability to track > slippage (and why). We'd like to see timeline graphs as well as > billable hours (even though we don't bill). Does anyone have any > recommendations? A search of list archives didn't turn up much besides > homegrown systems. > > Thanks, > > Jim DeMarco > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Jul 10 15:30:49 2006 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 10 Jul 2006 15:30:49 -0500 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> Message-ID: <53c8e05a0607101330p59310darb60941a0c2b117b1@mail.gmail.com> You might not necessarily need a full blow app. I use excel for my scheduling, and follow the principles listed from this JoelOnSoftware Article: http://www.joelonsoftware.com/articles/fog0000000245.html Take a look at the article. Shouldn't be too hard to add a billable hours column and then generate fun graphs from it. Josh On 7/10/06, Jim DeMarco wrote: > List, > > We are looking for a lightweight (easy to use) software to track time > spent on a given project and that will give us the ability to track > slippage (and why). We'd like to see timeline graphs as well as > billable hours (even though we don't bill). Does anyone have any > recommendations? A search of list archives didn't turn up much besides > homegrown systems. > > Thanks, > > Jim DeMarco > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Darsant Silverstring "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From martyconnelly at shaw.ca Mon Jul 10 18:28:50 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 10 Jul 2006 16:28:50 -0700 Subject: [AccessD] Slightly OT: Project Management Software for the Developer In-Reply-To: <53c8e05a0607101330p59310darb60941a0c2b117b1@mail.gmail.com> References: <08F823FD83787D4BA0B99CA580AD3C7403CA39F6@TTNEXCHCL2.hshhp.com> <53c8e05a0607101330p59310darb60941a0c2b117b1@mail.gmail.com> Message-ID: <44B2E2B2.4010908@shaw.ca> You could also try MS Project 2007 Professional or Project Server for next six months. http://www.microsoft.com/office/preview/beta/testdrive.mspx Josh McFarlane wrote: >You might not necessarily need a full blow app. I use excel for my >scheduling, and follow the principles listed from this JoelOnSoftware >Article: > >http://www.joelonsoftware.com/articles/fog0000000245.html > >Take a look at the article. Shouldn't be too hard to add a billable >hours column and then generate fun graphs from it. > >Josh > >On 7/10/06, Jim DeMarco wrote: > > >>List, >> >>We are looking for a lightweight (easy to use) software to track time >>spent on a given project and that will give us the ability to track >>slippage (and why). We'd like to see timeline graphs as well as >>billable hours (even though we don't bill). Does anyone have any >>recommendations? A search of list archives didn't turn up much besides >>homegrown systems. >> >>Thanks, >> >>Jim DeMarco >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Tue Jul 11 04:47:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) Subject: [AccessD] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <9486947.1152611273998.JavaMail.www@wwinf3003> To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. From bheygood at abestsystems.com Tue Jul 11 09:06:16 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 11 Jul 2006 07:06:16 -0700 Subject: [AccessD] change all fields to Allow Zero Length via VBA In-Reply-To: <44B14E8A.4030401@shaw.ca> Message-ID: Works great. Thanks again. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, July 09, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] change all fields to Allow Zero Length via VBA The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Tue Jul 11 09:06:19 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 11 Jul 2006 07:06:19 -0700 Subject: [AccessD] Which properties - used to be - change all fields to Allow Zero Length via VBA In-Reply-To: <44B14E8A.4030401@shaw.ca> Message-ID: In looking in the archives and elsewhere I see that some properties seem to either not be able to be changed via code or are very difficult to do so. In particular some code creates a new field and then deletes the old. Does someone have a list of those that are modifiable and not?/? bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, July 09, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] change all fields to Allow Zero Length via VBA The AllowZeroLengthString property is exposed through the Field object children of the TableDef object. The solution is simply a matter of programmatically changing this property for all fields in a selected table, or indeed in all tables in a database. Here's the code: courtesy Lamont Adams Public Sub ChangeZeroLengthSetting(strTableName As String) On Error Resume Next Dim db As Database Dim tdf As TableDef Dim fld As Field 'Try to get a pointer to the selected table Set db = DBEngine(0)(0) Set tdf = db.TableDefs(strTableName) 'Oops If Err.Number Then MsgBox Err.Description Set tdf = Nothing Set db = Nothing Exit Sub End If 'Now we have the tabledef open, iterate through the 'fields collection, and change the appropriate property For Each fld In tdf.Fields If fld.Type = DB_TEXT Or fld.Type = DB_MEMO Then 'AllowZeroLength property is only available for 'text or memo fields fld.AllowZeroLength = True End If Next fld 'Clean up Set tdf = Nothing Set db = Nothing End Sub This method can be applied to change other properties, assuming the desired property is write-able from DAO?many aren't. All tables in a database can be changed with the addition of an outer For each tdf in db.Tabledefs loop; just be sure to examine the Attributes property for the dbSystemObject bit. Access will not let you change the field properties for one of the System tables. Bob Heygood wrote: >Good Morning to the list, > >I find myself with 2 new tables I imported from Excel with over 321 fields. >All fields are text 255. >I don't think I can face manually changing all of them to "Allow Zero Length >String". > >In the archives I could not find a way to do so easily. >Some thing like iterate thru all the fields in the table via DAO, changing >the property.... > >Any code out there? > >A2K > >TIA > >Bob Heygood > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jul 11 10:09:10 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 17:09:10 +0200 (CEST) Subject: [AccessD] Scale Access Report To Fit Message-ID: <16780123.1152630550609.JavaMail.www@wwinf3004.me-wanadoo.net> To all, I have a problem which I am hoping I can be proved wrong on, basically I am writing an internal application (which is almost finished) and the problem lies in the reports. The manager of the department it is for wants the report to fit on A4 landscape, now the amount of columns that there is in the report makes this impossible without shrinking all the textboxes to about 6pt and moving them all about. Is there something out there (or within access that I doubt) that is similar to the options you get in excel (shrink to fit, or reduce the percentage etc). I know I can export to RTF/Excel etc and then play, but the reports need playing about with a little even after the export. Thanks in advance for any help on this. Paul Hartland From cfoust at infostatsystems.com Tue Jul 11 10:26:36 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 08:26:36 -0700 Subject: [AccessD] Scale Access Report To Fit In-Reply-To: <16780123.1152630550609.JavaMail.www@wwinf3004.me-wanadoo.net> Message-ID: If he wants a landscape report, why would you have trouble fitting in the columns, unless you were splitting it across two pages before? Access reports don't have that kind of size to fit capability, although you could do it by saving the report to pdf format and printing from the pdf. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 8:09 AM To: accessd Subject: [AccessD] Scale Access Report To Fit Importance: High To all, I have a problem which I am hoping I can be proved wrong on, basically I am writing an internal application (which is almost finished) and the problem lies in the reports. The manager of the department it is for wants the report to fit on A4 landscape, now the amount of columns that there is in the report makes this impossible without shrinking all the textboxes to about 6pt and moving them all about. Is there something out there (or within access that I doubt) that is similar to the options you get in excel (shrink to fit, or reduce the percentage etc). I know I can export to RTF/Excel etc and then play, but the reports need playing about with a little even after the export. Thanks in advance for any help on this. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Tue Jul 11 11:00:20 2006 From: ldoering at symphonyinfo.com (Liz Doering) Date: Tue, 11 Jul 2006 11:00:20 -0500 Subject: [AccessD] Scale Access Report To Fit In-Reply-To: <000801c6a4fc$d577f440$0210a8c0@Symphony.local> Message-ID: <02F5B8F3D893A845A3DF342F14D80F0107F18B@LAKATOS.Symphony.local> If there really are more columns than fit on a landscape report, would the department manager find a option to export all the columns to Excel more useful? Then they can play with it to their heart's content. This has worked for me with a bunch of cities who have nasty complicated capital improvement planning reports. They have been delighted to find their data could be made available in their favorite Excel format, and I have quietly breathed huge sighs of relief, since an export is so much easier. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 10:15 AM To: accessd Subject: [AccessD] Scale Access Report To Fit To all, I have a problem which I am hoping I can be proved wrong on, basically I am writing an internal application (which is almost finished) and the problem lies in the reports. The manager of the department it is for wants the report to fit on A4 landscape, now the amount of columns that there is in the report makes this impossible without shrinking all the textboxes to about 6pt and moving them all about. Is there something out there (or within access that I doubt) that is similar to the options you get in excel (shrink to fit, or reduce the percentage etc). I know I can export to RTF/Excel etc and then play, but the reports need playing about with a little even after the export. Thanks in advance for any help on this. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Jul 11 12:24:49 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 11 Jul 2006 13:24:49 -0400 Subject: [AccessD] AccessD Digest, Vol 41, Issue 9 In-Reply-To: References: Message-ID: <1152638689.44b3dee12f64d@webmail.highstream.net> Paul, It is called SQL Server Management Studio. It ships with it. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) > From: paul.hartland at fsmail.net > Subject: [AccessD] Cross-Posted - SQL SERVER 2005 Front-End > To: accessd , dba-sqlserver > , dba-vb > > Message-ID: <9486947.1152611273998.JavaMail.www at wwinf3003> > Content-Type: text/plain; charset=UTF-8 > > To all, > > I have cross-posted this question sorry to those of you that will receive it > more than once, our company have just purchased and installed SQL Server > 2005. Is there a front-end similar to the Enterprise Manager available for > this ?, if not anyone know any good/great books to buy to get to grips with > it very quickly ? > > Thanks in advance for any help on this. > > Paul Hartland > Database Developer. From markamatte at hotmail.com Tue Jul 11 12:42:24 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Jul 2006 17:42:24 +0000 Subject: [AccessD] Scale Access Report To Fit In-Reply-To: <02F5B8F3D893A845A3DF342F14D80F0107F18B@LAKATOS.Symphony.local> Message-ID: If all of the fields are the same size...could you loop through each control...and adjust the fields left and width one at a time...each dependant on the one before...I believe the unit of measure would be twips?...anyway...just an idea... Mark A. Matte >From: "Liz Doering" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Scale Access Report To Fit >Date: Tue, 11 Jul 2006 11:00:20 -0500 > >If there really are more columns than fit on a landscape report, would >the department manager find a option to export all the columns to Excel >more useful? Then they can play with it to their heart's content. > >This has worked for me with a bunch of cities who have nasty complicated >capital improvement planning reports. They have been delighted to find >their data could be made available in their favorite Excel format, and I >have quietly breathed huge sighs of relief, since an export is so much >easier. > >Liz > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, July 11, 2006 10:15 AM >To: accessd >Subject: [AccessD] Scale Access Report To Fit > >To all, > >I have a problem which I am hoping I can be proved wrong on, basically I >am writing an internal application (which is almost finished) and the >problem lies in the reports. The manager of the department it is for >wants the report to fit on A4 landscape, now the amount of columns that >there is in the report makes this impossible without shrinking all the >textboxes to about 6pt and moving them all about. Is there something >out there (or within access that I doubt) that is similar to the options >you get in excel (shrink to fit, or reduce the percentage etc). I know >I can export to RTF/Excel etc and then play, but the reports need >playing about with a little even after the export. > >Thanks in advance for any help on this. > >Paul Hartland >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 sbcglobal.net Tue Jul 11 12:43:17 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Tue, 11 Jul 2006 10:43:17 -0700 (PDT) Subject: [AccessD] Demise of VBA Message-ID: <20060711174317.27482.qmail@web81811.mail.mud.yahoo.com> VBA is a dead language -- I've been saying that for a while now. When Microsoft stops updating a product, it's only a matter of time before it sunsets it. There are two driving reasons for this shift, as I see it: * VB6 and VBA have deep security issues. Microsoft is unwilling or unable to address this. * The VBA environment was included in Office, and Microsoft wants to realize extra revenue from the sale of VSTO. What does this mean for us? * Vastly more expensive entry into development. Very likely, VSTO will require a full version of Visual Studio -- no Express edition here. * Vastly higher learning curve. You thought the current system was tough? Try wrapping your head around a new language (don't believe the bullshit that VB.NET is any easier to move to than C#), new IDE, enormous new libraries (ADO.NET, BCL), and completely new methodologies. Not to mention the radically new Access 2007 interface. My point is, if you have to re-learn everything, why limit yourself to just Visual Studio? There is a universe of languages and development evironments, all free, for you to explore. And, not crippled intro product -- full-featured and free. You really owe it to yourself to explore the alternatives. -Ken From kismert at sbcglobal.net Tue Jul 11 13:10:02 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Tue, 11 Jul 2006 11:10:02 -0700 (PDT) Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <20060711181002.3910.qmail@web81812.mail.mud.yahoo.com> We are using 3f Software Planner 2006: http://www.3fsoftwareplanner.com/ It can be web-hosted or locally hosted, and may meet your needs. -Ken From JHewson at karta.com Tue Jul 11 13:22:41 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 11 Jul 2006 13:22:41 -0500 Subject: [AccessD] Strange behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C5938@karta-exc-int.Karta.com> Access 2000 BE, with AXP mde FE. There are six people using the database via the network. After a record was entered and saved, the next user found the text was in Chinese characters. This has only occurred once. They will delete the record and reenter the data. Just curious if anyone knows why this happened and if there is anything to watch out for? Thanks, Jim jhewson at karta.com From bchacc at san.rr.com Tue Jul 11 13:43:42 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Jul 2006 11:43:42 -0700 Subject: [AccessD] SendObject Message-ID: <44B3F15E.1030909@san.rr.com> Dear List: Client has 2 question2: 1) why doesn't this format work for him: DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, "james at Charltonweeks.com ", , , "Status", "Here is the status of your eviction.", False and 2) can he point to an object to send which is in another database? In this case of the report "rptUDStatus-Service-11" is in another mdb? MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From cfoust at infostatsystems.com Tue Jul 11 14:11:33 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 12:11:33 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <20060711174317.27482.qmail@web81811.mail.mud.yahoo.com> Message-ID: Ken, At present VSTO is included with VS.Net but it is also a stand alone product that includes a standard version of VB.Net. It isn't cheap, by any means, but still cheaper than the full Visual Studio. As for the ease of the transition, that depends on what you have done in Access. Have you worked with classes, child classes, loosely coupled code, ADO, frameworks? If so, you aren't going to have a lot of trouble once you get used to the new object model. The only thing that makes VB.Net easier to move to than C# is the lack of the pesky scope indicators and braces, etc., that makes languages like C# hard for VB programmers to decipher. I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't like to have had to make the transition on my own without a team member who was already conversant with VB.Net on hand to help, but I could have done it, as could most of us. I remember similar discussions when VBA became the language of MS Office and we had to give up WordBasic, AccessBasic, Excel Macro language, etc. As for alternatives, sure they're there, but if you want to keep the familiar Access interface, they're somewhat limited because VS.Net will be the scripting language for it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, July 11, 2006 10:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Demise of VBA VBA is a dead language -- I've been saying that for a while now. When Microsoft stops updating a product, it's only a matter of time before it sunsets it. There are two driving reasons for this shift, as I see it: * VB6 and VBA have deep security issues. Microsoft is unwilling or unable to address this. * The VBA environment was included in Office, and Microsoft wants to realize extra revenue from the sale of VSTO. What does this mean for us? * Vastly more expensive entry into development. Very likely, VSTO will require a full version of Visual Studio -- no Express edition here. * Vastly higher learning curve. You thought the current system was tough? Try wrapping your head around a new language (don't believe the bullshit that VB.NET is any easier to move to than C#), new IDE, enormous new libraries (ADO.NET, BCL), and completely new methodologies. Not to mention the radically new Access 2007 interface. My point is, if you have to re-learn everything, why limit yourself to just Visual Studio? There is a universe of languages and development evironments, all free, for you to explore. And, not crippled intro product -- full-featured and free. You really owe it to yourself to explore the alternatives. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jul 11 14:10:28 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 11 Jul 2006 12:10:28 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B3F15E.1030909@san.rr.com> References: <44B3F15E.1030909@san.rr.com> Message-ID: <44B3F7A4.7060501@shaw.ca> It is probably getting confused on the recipient email address you could try sticking a comma to seperate the two email addresses or drop the second email address. You could open up the second database via something like TsiSoon and use this command or run the report to create a file and then use OLE automation with Outlook to send the file as an attachment. http://www.peterssoftware.com/c_emfa.htm limits of sendobject faq http://www.granite.ab.ca/access/email/sendobject.htm http://www.granite.ab.ca/access/email/ TSISoon http://www.trigeminal.com/lang/1033/utility.asp?ItemID=8#8 Rocky Smolin - Beach Access Software wrote: >Dear List: > >Client has 2 question2: > >1) why doesn't this format work for him: > >DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, >"james at Charltonweeks.com ", , , >"Status", "Here is the status of your eviction.", False > >and 2) can he point to an object to send which is in another database? >In this case of the report "rptUDStatus-Service-11" is in another mdb? > >MTIA > >Rocky > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Tue Jul 11 14:13:07 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 12:13:07 -0700 Subject: [AccessD] Strange behavior In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C044C5938@karta-exc-int.Karta.com> Message-ID: Which text was in Chinese characters? If you mean the record, it sounds like a classic case of a corrupted record. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Tuesday, July 11, 2006 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Strange behavior Access 2000 BE, with AXP mde FE. There are six people using the database via the network. After a record was entered and saved, the next user found the text was in Chinese characters. This has only occurred once. They will delete the record and reenter the data. Just curious if anyone knows why this happened and if there is anything to watch out for? Thanks, Jim jhewson at karta.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jul 11 14:15:31 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 12:15:31 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B3F15E.1030909@san.rr.com> Message-ID: I thought SendObject only worked in the current database. What part of the sendobject statement causes the failure, has he tried to figure it out? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, July 11, 2006 11:44 AM To: Access Developers discussion and problem solving Subject: [AccessD] SendObject Dear List: Client has 2 question2: 1) why doesn't this format work for him: DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, "james at Charltonweeks.com ", , , "Status", "Here is the status of your eviction.", False and 2) can he point to an object to send which is in another database? In this case of the report "rptUDStatus-Service-11" is in another mdb? MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Tue Jul 11 14:22:04 2006 From: JHewson at karta.com (Jim Hewson) Date: Tue, 11 Jul 2006 14:22:04 -0500 Subject: [AccessD] Strange behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C5956@karta-exc-int.Karta.com> It was a corrupted record. Once everyone got out the database was compacted and the record deleted. Thanks, Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 11, 2006 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange behavior Which text was in Chinese characters? If you mean the record, it sounds like a classic case of a corrupted record. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Tuesday, July 11, 2006 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Strange behavior Access 2000 BE, with AXP mde FE. There are six people using the database via the network. After a record was entered and saved, the next user found the text was in Chinese characters. This has only occurred once. They will delete the record and reenter the data. Just curious if anyone knows why this happened and if there is anything to watch out for? Thanks, Jim jhewson at karta.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Jul 11 15:35:39 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 11 Jul 2006 15:35:39 -0500 Subject: [AccessD] Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD87@corp-es01.fleetpride.com> In my mind VBA has always suffered from a dual personality. On the one hand when it was shiny and new it was presented as an ideal developer's environment. On the other it was presented as the ultimate power users Uber macro language. For power users it promised that "grasshopper, you too can become a real programmer, maybe even a DEVELOPER!". Since I am first and foremost a financial professional I have always viewed office and VBA as tools to an immediate end, the solution of financial/analytical problems. Immediate problems called for quick and dirty throw away solutions, repetitive problems called for full blown applications. Over the years as I have become more proficient and the tools and connections (think ODBC) have improved it has become possible to generate enormous amounts of analytical work. I can easily generate the analysis it required my staff of MBAs to do 25 years ago. The lure has always been the promise of vast increases in personal productivity. Access/VBA/Excel has been the magic carpet that allowed data to be obtained and easily manipulated from a vast a variety of sources. Learning VBA, while not trivial, obviously never had the learning curve of C+ or .net. Reading between the lines I think Microsoft once believed VBA would be embraced much more by power users than it has been. (I guess this makes me an odd duck but this isn't any startling revelation ;-)). It appears to me Microsoft is moving away from the Power user. I certainly don't have the time or desire to climb the new learning curve. The new paradigm is much more of a developer's playground than a power user's. This is a shame since the core reason I have been a big office/VBA fan is that it freed individuals from servitude to the IT group and put power in the hands of the users. Yup, the world is going to hell (grumble, grumble) and I am going to retreat to my hidey hole in Costa Rica in a year or so. Ya'll are invited to visit. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, July 11, 2006 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA Ken, At present VSTO is included with VS.Net but it is also a stand alone product that includes a standard version of VB.Net. It isn't cheap, by any means, but still cheaper than the full Visual Studio. As for the ease of the transition, that depends on what you have done in Access. Have you worked with classes, child classes, loosely coupled code, ADO, frameworks? If so, you aren't going to have a lot of trouble once you get used to the new object model. The only thing that makes VB.Net easier to move to than C# is the lack of the pesky scope indicators and braces, etc., that makes languages like C# hard for VB programmers to decipher. I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't like to have had to make the transition on my own without a team member who was already conversant with VB.Net on hand to help, but I could have done it, as could most of us. I remember similar discussions when VBA became the language of MS Office and we had to give up WordBasic, AccessBasic, Excel Macro language, etc. As for alternatives, sure they're there, but if you want to keep the familiar Access interface, they're somewhat limited because VS.Net will be the scripting language for it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, July 11, 2006 10:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Demise of VBA VBA is a dead language -- I've been saying that for a while now. When Microsoft stops updating a product, it's only a matter of time before it sunsets it. There are two driving reasons for this shift, as I see it: * VB6 and VBA have deep security issues. Microsoft is unwilling or unable to address this. * The VBA environment was included in Office, and Microsoft wants to realize extra revenue from the sale of VSTO. What does this mean for us? * Vastly more expensive entry into development. Very likely, VSTO will require a full version of Visual Studio -- no Express edition here. * Vastly higher learning curve. You thought the current system was tough? Try wrapping your head around a new language (don't believe the bullshit that VB.NET is any easier to move to than C#), new IDE, enormous new libraries (ADO.NET, BCL), and completely new methodologies. Not to mention the radically new Access 2007 interface. My point is, if you have to re-learn everything, why limit yourself to just Visual Studio? There is a universe of languages and development evironments, all free, for you to explore. And, not crippled intro product -- full-featured and free. You really owe it to yourself to explore the alternatives. -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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Tue Jul 11 15:50:52 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 11 Jul 2006 13:50:52 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: References: Message-ID: <44B40F2C.7040805@shaw.ca> One way around this is, you can call VB.Net code from VBA via a net wrapper class and a comclass template, then just set a reference to a .tlb to call it. I should write up a sample. The coming version VB 9 or Orcas has some interesting features. the CLR has added support for nullable types in other words you can have a null vale in a date or integer. This would make it interesting passing values to VBA. http://www.developer.com/net/vb/article.php/3618141 Charlotte Foust wrote: >Ken, > >At present VSTO is included with VS.Net but it is also a stand alone >product that includes a standard version of VB.Net. It isn't cheap, by >any means, but still cheaper than the full Visual Studio. As for the >ease of the transition, that depends on what you have done in Access. >Have you worked with classes, child classes, loosely coupled code, ADO, >frameworks? If so, you aren't going to have a lot of trouble once you >get used to the new object model. The only thing that makes VB.Net >easier to move to than C# is the lack of the pesky scope indicators and >braces, etc., that makes languages like C# hard for VB programmers to >decipher. > >I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't like >to have had to make the transition on my own without a team member who >was already conversant with VB.Net on hand to help, but I could have >done it, as could most of us. I remember similar discussions when VBA >became the language of MS Office and we had to give up WordBasic, >AccessBasic, Excel Macro language, etc. > >As for alternatives, sure they're there, but if you want to keep the >familiar Access interface, they're somewhat limited because VS.Net will >be the scripting language for it. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth >Ismert >Sent: Tuesday, July 11, 2006 10:43 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Demise of VBA > > >VBA is a dead language -- I've been saying that for a while now. When >Microsoft stops updating a product, it's only a matter of time before it >sunsets it. > >There are two driving reasons for this shift, as I see it: > >* VB6 and VBA have deep security issues. Microsoft is unwilling or >unable to address this. > >* The VBA environment was included in Office, and Microsoft wants to >realize extra revenue from the sale of VSTO. > >What does this mean for us? > >* Vastly more expensive entry into development. Very likely, VSTO will >require a full version of Visual Studio -- no Express edition here. > >* Vastly higher learning curve. You thought the current system was >tough? Try wrapping your head around a new language (don't believe the >bullshit that VB.NET is any easier to move to than C#), new IDE, >enormous new libraries (ADO.NET, BCL), and completely new methodologies. >Not to mention the radically new Access 2007 interface. > >My point is, if you have to re-learn everything, why limit yourself to >just Visual Studio? There is a universe of languages and development >evironments, all free, for you to explore. And, not crippled intro >product -- full-featured and free. > >You really owe it to yourself to explore the alternatives. > >-Ken >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada From DElam at jenkens.com Tue Jul 11 16:35:40 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 11 Jul 2006 16:35:40 -0500 Subject: [AccessD] Subreport Issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8AA@natexch.jenkens.com> I have a report with multiple subreports that has suddenly manifested a strange problem. In 2 records, the report will produce multiple empty subreports. There should be 24 records in this "family", but instead I get 3 records and 24 empty subreports. I am looking up the records for the report based on this "family" number, but the records have unique artificial IDs to link with the subreports. I do not understand how these records could combine, and why they have combined in the particular manner they have. Has anyone seen anything similar before? Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From DElam at jenkens.com Tue Jul 11 16:40:39 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 11 Jul 2006 16:40:39 -0500 Subject: [AccessD] Subreport Issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8AC@natexch.jenkens.com> More info. I have the report sorted by the "family" number by default. If I change the sort, the combination does not happen. Debbie -----Original Message----- From: Elam, Debbie Sent: Tuesday, July 11, 2006 4:36 PM To: 'Access Developers discussion and problem solving' Subject: Subreport Issue I have a report with multiple subreports that has suddenly manifested a strange problem. In 2 records, the report will produce multiple empty subreports. There should be 24 records in this "family", but instead I get 3 records and 24 empty subreports. I am looking up the records for the report based on this "family" number, but the records have unique artificial IDs to link with the subreports. I do not understand how these records could combine, and why they have combined in the particular manner they have. Has anyone seen anything similar before? Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From stuart at lexacorp.com.pg Tue Jul 11 17:00:06 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Jul 2006 08:00:06 +1000 Subject: [AccessD] SendObject In-Reply-To: <44B3F15E.1030909@san.rr.com> References: <44B3F15E.1030909@san.rr.com> Message-ID: <44B4AC06.24488.199F3AF6@stuart.lexacorp.com.pg> On 11 Jul 2006 at 11:43, Rocky Smolin - Beach Access S wrote: > Dear List: > > Client has 2 question2: > > 1) why doesn't this format work for him: > > DoCmd.SendObject acSendReport, "rptUDStatus-Service-11", acFormatRTF, > "james at Charltonweeks.com ", , , > "Status", "Here is the status of your eviction.", False "mailto:james at Charltonweeks.com" is not an email address. It is a URL. DoCmd.Sendobject requires an email address. Try dropping the "mailto". -- Stuart From cfoust at infostatsystems.com Tue Jul 11 18:34:27 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Jul 2006 16:34:27 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <44B40F2C.7040805@shaw.ca> Message-ID: Null values or Nothing? They aren't the same and I often get surprised by values that are nothing rather than an empty string or zero. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 11, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA One way around this is, you can call VB.Net code from VBA via a net wrapper class and a comclass template, then just set a reference to a .tlb to call it. I should write up a sample. The coming version VB 9 or Orcas has some interesting features. the CLR has added support for nullable types in other words you can have a null vale in a date or integer. This would make it interesting passing values to VBA. http://www.developer.com/net/vb/article.php/3618141 Charlotte Foust wrote: >Ken, > >At present VSTO is included with VS.Net but it is also a stand alone >product that includes a standard version of VB.Net. It isn't cheap, by >any means, but still cheaper than the full Visual Studio. As for the >ease of the transition, that depends on what you have done in Access. >Have you worked with classes, child classes, loosely coupled code, ADO, >frameworks? If so, you aren't going to have a lot of trouble once you >get used to the new object model. The only thing that makes VB.Net >easier to move to than C# is the lack of the pesky scope indicators and >braces, etc., that makes languages like C# hard for VB programmers to >decipher. > >I LIKE VB.Net and resist getting dragged back into VBA. I wouldn't >like to have had to make the transition on my own without a team member >who was already conversant with VB.Net on hand to help, but I could >have done it, as could most of us. I remember similar discussions when >VBA became the language of MS Office and we had to give up WordBasic, >AccessBasic, Excel Macro language, etc. > >As for alternatives, sure they're there, but if you want to keep the >familiar Access interface, they're somewhat limited because VS.Net will >be the scripting language for it. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth >Ismert >Sent: Tuesday, July 11, 2006 10:43 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Demise of VBA > > >VBA is a dead language -- I've been saying that for a while now. When >Microsoft stops updating a product, it's only a matter of time before >it sunsets it. > >There are two driving reasons for this shift, as I see it: > >* VB6 and VBA have deep security issues. Microsoft is unwilling or >unable to address this. > >* The VBA environment was included in Office, and Microsoft wants to >realize extra revenue from the sale of VSTO. > >What does this mean for us? > >* Vastly more expensive entry into development. Very likely, VSTO will >require a full version of Visual Studio -- no Express edition here. > >* Vastly higher learning curve. You thought the current system was >tough? Try wrapping your head around a new language (don't believe the >bullshit that VB.NET is any easier to move to than C#), new IDE, >enormous new libraries (ADO.NET, BCL), and completely new methodologies. >Not to mention the radically new Access 2007 interface. > >My point is, if you have to re-learn everything, why limit yourself to >just Visual Studio? There is a universe of languages and development >evironments, all free, for you to explore. And, not crippled intro >product -- full-featured and free. > >You really owe it to yourself to explore the alternatives. > >-Ken >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Jul 11 19:39:14 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 11 Jul 2006 20:39:14 -0400 Subject: [AccessD] Scale Access Report To Fit References: <16780123.1152630550609.JavaMail.www@wwinf3004.me-wanadoo.net> Message-ID: <004901c6a54b$9aad80b0$6e9ba545@50NM721> ...iirc, Lebans (lebans.com) has some code that will auto size the font to fit the text in a spec text box size. William ----- Original Message ----- From: To: "accessd" Sent: Tuesday, July 11, 2006 11:09 AM Subject: [AccessD] Scale Access Report To Fit > To all, > > I have a problem which I am hoping I can be proved wrong on, basically I > am writing an internal application (which is almost finished) and the > problem lies in the reports. The manager of the department it is for > wants the report to fit on A4 landscape, now the amount of columns that > there is in the report makes this impossible without shrinking all the > textboxes to about 6pt and moving them all about. Is there something out > there (or within access that I doubt) that is similar to the options you > get in excel (shrink to fit, or reduce the percentage etc). I know I can > export to RTF/Excel etc and then play, but the reports need playing about > with a little even after the export. > > Thanks in advance for any help on this. > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 11 21:11:51 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 11 Jul 2006 22:11:51 -0400 Subject: [AccessD] Subreport Issue References: <7B1961ED924D1A459E378C9B1BB22B4C0492D8AC@natexch.jenkens.com> Message-ID: <001101c6a558$8a9bcfd0$6e9ba545@50NM721> ...time to decompile? William ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 11, 2006 5:40 PM Subject: Re: [AccessD] Subreport Issue > More info. I have the report sorted by the "family" number by default. > If > I change the sort, the combination does not happen. > > Debbie > > -----Original Message----- > From: Elam, Debbie > Sent: Tuesday, July 11, 2006 4:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Subreport Issue > > > I have a report with multiple subreports that has suddenly manifested a > strange problem. > > In 2 records, the report will produce multiple empty subreports. There > should be 24 records in this "family", but instead I get 3 records and 24 > empty subreports. I am looking up the records for the report based on > this > "family" number, but the records have unique artificial IDs to link with > the > subreports. I do not understand how these records could combine, and why > they have combined in the particular manner they have. > > Has anyone seen anything similar before? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this > information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is > a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any > agreement > by electronic means. Nothing contained in this message or in any > attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Tue Jul 11 22:04:05 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 11 Jul 2006 23:04:05 -0400 Subject: [AccessD] Demise of VBA References: <20060711174317.27482.qmail@web81811.mail.mud.yahoo.com> Message-ID: <001701c6a55f$d6d02840$6e9ba545@50NM721> ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Wed Jul 12 01:42:57 2006 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 12 Jul 2006 08:42:57 +0200 Subject: [AccessD] SUSPECT: Re: Demise of VBA Message-ID: My common sense fully agress with this... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 5:04 AM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -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 paul.hartland at fsmail.net Wed Jul 12 04:29:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 11:29:47 +0200 (CEST) Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland From darrend at nimble.com.au Wed Jul 12 07:33:53 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 12 Jul 2006 22:33:53 +1000 Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) In-Reply-To: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> Message-ID: <20060712123356.RBTI1089.omta03sl.mx.bigpond.com@DENZILLAP> Maybe if it saved as a query then it saved it wherever queries get saved in SQL (is it views?) and not where the PROCS get saved Many thanks Have a great day Darren ------------------ T: 0424 696 433 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, 12 July 2006 7:30 PM To: accessd; dba-sqlserver; dba-vb Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Importance: High To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Wed Jul 12 07:39:15 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 12 Jul 2006 08:39:15 -0400 Subject: [AccessD] Slightly OT: Project Management Software for the Developer Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA3BA7@TTNEXCHCL2.hshhp.com> Thanks to all who replied. Plenty to consider now. Jim DeMarco From DElam at jenkens.com Wed Jul 12 08:35:41 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 12 Jul 2006 08:35:41 -0500 Subject: [AccessD] Subreport Issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8B0@natexch.jenkens.com> It is like the report is grouping by family number, instead of sorting by it. This is one of the few families where this family number is identical in all of the records, most have at least one letter difference. I have realized this is why I see only this record having problems. Debbie -----Original Message----- From: William Hindman [mailto:wdhindman at dejpolsystems.com] Sent: Tuesday, July 11, 2006 9:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subreport Issue ...time to decompile? William ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, July 11, 2006 5:40 PM Subject: Re: [AccessD] Subreport Issue > More info. I have the report sorted by the "family" number by default. > If > I change the sort, the combination does not happen. > > Debbie > > -----Original Message----- > From: Elam, Debbie > Sent: Tuesday, July 11, 2006 4:36 PM > To: 'Access Developers discussion and problem solving' > Subject: Subreport Issue > > > I have a report with multiple subreports that has suddenly manifested a > strange problem. > > In 2 records, the report will produce multiple empty subreports. There > should be 24 records in this "family", but instead I get 3 records and 24 > empty subreports. I am looking up the records for the report based on > this > "family" number, but the records have unique artificial IDs to link with > the > subreports. I do not understand how these records could combine, and why > they have combined in the particular manner they have. > > Has anyone seen anything similar before? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this > information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is > a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any > agreement > by electronic means. Nothing contained in this message or in any > attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From jim.moss at jlmoss.net Wed Jul 12 08:27:45 2006 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 12 Jul 2006 08:27:45 -0500 (CDT) Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) In-Reply-To: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> References: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> Message-ID: <45369.65.196.182.34.1152710865.squirrel@65.196.182.34> Paul, SQL Server Express 2005 saved the SP as what it was named in the create statement but you will have to refresh the stored procedures icon to see the newly added SP. What you are seeing when you are asked to save the file is the text of the SP is saved to a project folder and is not the SP itself. Jim > To all, > > Sorry for cross posting this again to those of you that will receive this > email more than once, I have eventually got the SQL Server Management > Studio and fairly happily playing with it. However I thought I would > create a stored procedure so wrote a very simple one, and clicked save and > it asked me to save it as SQLQuery1 which I thought strange as I thought > the name would be genesis_select_UserLogon (as below)....But saved it none > the less, but I can't seem to find it anywhere in the database I created, > but I wrote a quick VB app to use it and it works ok....Can anyone tell me > where I find the stored procedure that I create in the database ? > > CREATE PROCEDURE [genesis_select_UserLogon] > ( > @strUser [nvarchar](100), > @strPass [nvarchar](100) > ) > AS > SELECT Username, Password > FROM tblUsers > WHERE Username = @strUser AND Password = @strPass > > GO > > Thanks in advance for any help on this... > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at fsmail.net Wed Jul 12 08:42:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 15:42:54 +0200 (CEST) Subject: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <22764148.1152711774569.JavaMail.www@wwinf3101> Thanks, found that out...must have been having a brain-dead moment ...... Message Received: Jul 12 2006, 02:37 PM From: "Jim Moss" To: "Access Developers discussion and problem solving" Cc: Subject: Re: [AccessD] SQL Server 2005 Stored Procedures (Confused !!!!!) Paul, SQL Server Express 2005 saved the SP as what it was named in the create statement but you will have to refresh the stored procedures icon to see the newly added SP. What you are seeing when you are asked to save the file is the text of the SP is saved to a project folder and is not the SP itself. Jim > To all, > > Sorry for cross posting this again to those of you that will receive this > email more than once, I have eventually got the SQL Server Management > Studio and fairly happily playing with it. However I thought I would > create a stored procedure so wrote a very simple one, and clicked save and > it asked me to save it as SQLQuery1 which I thought strange as I thought > the name would be genesis_select_UserLogon (as below)....But saved it none > the less, but I can't seem to find it anywhere in the database I created, > but I wrote a quick VB app to use it and it works ok....Can anyone tell me > where I find the stored procedure that I create in the database ? > > CREATE PROCEDURE [genesis_select_UserLogon] > ( > @strUser [nvarchar](100), > @strPass [nvarchar](100) > ) > AS > SELECT Username, Password > FROM tblUsers > WHERE Username = @strUser AND Password = @strPass > > GO > > Thanks in advance for any help on this... > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Jul 12 09:27:42 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 12 Jul 2006 10:27:42 -0400 Subject: [AccessD] Listbox w/conditionally formated lines Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDCA6@ex2k3.corp.tnco-inc.com> Hello, I remember this question being asked before, I can't find the post. I need a listbox control that will allow me to conditional format the lines. For example, if the value in one of the columns is below a certain value, make the font red or maybe make that line highlighted. Has anyone found a solution to this? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From DWUTKA at marlow.com Wed Jul 12 09:34:50 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 12 Jul 2006 09:34:50 -0500 Subject: [AccessD] Demise of VBA Message-ID: <17724746D360394AA3BFE5B8D40A9C1BB7F23F@main2.marlow.com> I happen to agree with ya William (did anyone else see the sun eclipse?)! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at dejpolsystems.com] Sent: Tuesday, July 11, 2006 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -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 cfoust at infostatsystems.com Wed Jul 12 10:39:27 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Jul 2006 08:39:27 -0700 Subject: [AccessD] Listbox w/conditionally formated lines In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDCA6@ex2k3.corp.tnco-inc.com> Message-ID: Check Stephan Lebans site http://www.lebans.com/ . He has some fancy control there that might serve your purpose. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, July 12, 2006 7:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Listbox w/conditionally formated lines Hello, I remember this question being asked before, I can't find the post. I need a listbox control that will allow me to conditional format the lines. For example, if the value in one of the columns is below a certain value, make the font red or maybe make that line highlighted. Has anyone found a solution to this? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 12 10:40:05 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Jul 2006 08:40:05 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BB7F23F@main2.marlow.com> Message-ID: I thought I was just losing consciousness! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, July 12, 2006 7:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Demise of VBA I happen to agree with ya William (did anyone else see the sun eclipse?)! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at dejpolsystems.com] Sent: Tuesday, July 11, 2006 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA ...Office is the goose that laid the golden egg for MS ...its what keeps Windows the dominant OS on the desktop and the gold flowing into the MS coffers. ...VBA is NOT like Word Basic or Access Basic in that it has become the unifying structure for the entire Office product line ...and thus replacing it with VS.Net would be like replacing Coca Cola Classic with new Coke ...the masses that feed the golden goose would rebel ...Access 2007 divorces itself from the old workgroup security model which addresses most of the security issues with prior versions ...it also has finally removed the Access Jet db engine from the Windows/SQL Server development teams and given the Access development team free rein to make an adb work as it should for its target audience. ...what I've seen of 2007 so far gives every indication that the Dao model is back in the saddle ...that would appear to indicate that no ado centric language will be replacing VBA anytime soon. ...while SQL Server Express certainly lowers the bar to an Access type rad fe tool that would not require vba, the underlying fact is that vba is common to one hell of a lot of widely used Office applications that are not going to give it up as readily as Access might ...and thus I would believe the imminent demise of vba is greatly exaggerated. ...just my opinion of course. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Tuesday, July 11, 2006 1:43 PM Subject: Re: [AccessD] Demise of VBA > > VBA is a dead language -- I've been saying that for a while now. When > Microsoft stops updating a product, it's only a matter of time before > it sunsets it. > > There are two driving reasons for this shift, as I see it: > > * VB6 and VBA have deep security issues. Microsoft is unwilling or > unable to address this. > > * The VBA environment was included in Office, and Microsoft wants to > realize extra revenue from the sale of VSTO. > > What does this mean for us? > > * Vastly more expensive entry into development. Very likely, VSTO will > require a full version of Visual Studio -- no Express edition here. > > * Vastly higher learning curve. You thought the current system was > tough? Try wrapping your head around a new language (don't believe the > bullshit that VB.NET is any easier to move to than C#), new IDE, > enormous new libraries (ADO.NET, BCL), and completely new > methodologies. Not to mention the radically new Access 2007 interface. > > My point is, if you have to re-learn everything, why limit yourself to > just Visual Studio? There is a universe of languages and development > evironments, all free, for you to explore. And, not crippled intro > product -- full-featured and free. > > You really owe it to yourself to explore the alternatives. > > -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 kismert at sbcglobal.net Wed Jul 12 11:31:26 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Wed, 12 Jul 2006 09:31:26 -0700 (PDT) Subject: [AccessD] Demise of VBA Message-ID: <20060712163126.85123.qmail@web81801.mail.mud.yahoo.com> William, Erwin: > ...and thus I would believe the imminent demise of vba is greatly > exaggerated. As much as I would like to agree, it just ain't so. VB6 will be gone in less than two years: Product Family Life-Cycle Guidelines for Visual Basic 6.0 http://msdn.microsoft.com/vbrun/support.aspx "Non-Supported Phase ... Visual Basic 6.0 will no longer be supported starting March 2008." VBA's fate is in grave doubt, too: Classic VB Petition FAQ http://classicvb.org/petition/faq.asp "... But, no development has occurred on the VBA IDE in over eight years; the team has been abandoned. New versions of Office continue, at this point, to ship with this very old technology." Does this look like a platform they plan to keep? >...and thus replacing [VBA] with VS.Net would be like replacing > Coca Cola Classic with new Coke ...the masses that feed the golden > goose would rebel... Funny you should mention that. The VB6 masses have already rebelled. Microsoft ignored them. See: Classic VB http://classicvb.org/ Do you think the current Office user base is sufficient deterrent against abandoning VBA? Don't be so sure. Microsoft walked away from 6 million VB programmers: ...The Disaster Known As Visual Basic http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html Agreed, Microsoft is in a predicament with Office/VBA: Office and .NET: Better Together? http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/default.aspx Although it will be painful for them, I feel the most likely scenario is that Microsoft will walk away from VBA 1-2 years after the Vista rollout, assuming it is successful. Their message to us, I feel, is clear: Change, or die. -Ken From wdhindman at dejpolsystems.com Wed Jul 12 12:09:49 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 12 Jul 2006 13:09:49 -0400 Subject: [AccessD] Demise of VBA References: <20060712163126.85123.qmail@web81801.mail.mud.yahoo.com> Message-ID: <007d01c6a5d5$fca337d0$6e9ba545@50NM721> ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing >> Coca Cola Classic with new Coke ...the masses that feed the golden >> goose would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/default.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -Ken > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Wed Jul 12 13:12:57 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 12 Jul 2006 22:12:57 +0400 Subject: [AccessD] OT: Crystal Reports XI Message-ID: <002801c6a5de$ced1b350$6401a8c0@Nant> Hi All, I have two questions - please advise if you have some information related to them: 1. Did anybody here try to install CR XI Server and to view via CR Viewer Control and HTTP/IIS reports running on this server? 2. I can't find sample/description of how to change OLE DB data source for a CR XI report on runtime - I need to change at least MS SQL Server Name... Thank you. Shamil From harkinsss at bellsouth.net Wed Jul 12 14:47:11 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 12 Jul 2006 15:47:11 -0400 Subject: [AccessD] Demise of VBA In-Reply-To: <007d01c6a5d5$fca337d0$6e9ba545@50NM721> Message-ID: <001f01c6a5eb$f7d755e0$6101a8c0@SUSANONE> >From a business perspective, it doesn't sound like good judgment does it? Why spend the revenue and manpower to replace what you've already got? You only need to look to GM to see what happens when you do that. Susan H. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. From shamil at users.mns.ru Wed Jul 12 15:28:24 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 13 Jul 2006 00:28:24 +0400 Subject: [AccessD] Demise of VBA References: <001f01c6a5eb$f7d755e0$6101a8c0@SUSANONE> Message-ID: <005401c6a5f1$bcb46c40$6401a8c0@Nant> Hi All, I think this sample code below would be within the topic of this thread - try to run this VB.NET MS Word Automation code in VS2005 with a reference set to the MS Word Primary Interop Assembly - it takes 10+ second just to start on my PC (and similar VBA code starts MS Word instantly) - I wonder how quick this VB.NET simple sample works on your PCs? If it will take the same 10+ second just to start-up will you consider to use VB.NET for MS Office Automation? Note: If you use this code with WinForms application then subsequent after first MS Word activation calls to start another instance of MS Word will be instant but imagine the usual development/testing scenario when you start/debug/stop/restart/... your application many times - how about these 10+ seconds to wait every time you restart your app/debug session? (Or this bad side effect happens on my PC only?) Imports Word = Microsoft.Office.Interop.Word Module Module1 Private Function StartApp( _ ByVal strProgID As String) As Object Dim oTmp As Object On Error Resume Next oTmp = GetObject(, strProgID) If Err.Number <> 0 Then oTmp = CreateObject(strProgID) End If StartApp = oTmp End Function Private Sub TestEarlyBound() Dim app As Word.Application app = StartApp("Word.Application") app.Visible = True app.Activate() End Sub Sub Main() Dim ds As DateTime = DateTime.Now Dim de As DateTime Console.WriteLine("Program started at {0} ", ds.ToString()) TestEarlyBound() de = DateTime.Now Console.WriteLine("Program finished at {0} ", de.ToString()) Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Shamil P.S. When late binding is used then similar VB.NET MS Office Automation code works instantly here.... ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 12, 2006 11:47 PM Subject: Re: [AccessD] Demise of VBA > >From a business perspective, it doesn't sound like good judgment does it? > Why spend the revenue and manpower to replace what you've already got? You > only need to look to GM to see what happens when you do that. > > Susan H. > > ...just my opinion of course ...and experience near the top of the food > chain where evangelists almost always lose to the bottom line ...a bottom > line that greatly favors a new generation of vba. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Wed Jul 12 17:34:00 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 12 Jul 2006 18:34:00 -0400 Subject: [AccessD] Demise of VBA In-Reply-To: <005401c6a5f1$bcb46c40$6401a8c0@Nant> Message-ID: <004501c6a603$45bc2a30$6101a8c0@SUSANONE> 10+ seconds to wait every time you restart your app/debug session? (Or 10+ this bad side effect happens on my PC only?) =======I tested this for Shamil a few days ago -- took 10 seconds on mine as well. I was using a system with relatively little stuff on it. Older technology -- a Pentium 3 I think. Susan H. From cfoust at infostatsystems.com Wed Jul 12 19:28:08 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Jul 2006 17:28:08 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: <005401c6a5f1$bcb46c40$6401a8c0@Nant> Message-ID: I haven't tested your code, but I'll testify to the fact that VS2005 is a huge resource hog. I'm getting a new machine because a build in our (admittedly large) winForms solution takes 5 minutes or more on my machine before I can even test. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, July 12, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA Hi All, I think this sample code below would be within the topic of this thread - try to run this VB.NET MS Word Automation code in VS2005 with a reference set to the MS Word Primary Interop Assembly - it takes 10+ second just to start on my PC (and similar VBA code starts MS Word instantly) - I wonder how quick this VB.NET simple sample works on your PCs? If it will take the same 10+ second just to start-up will you consider to use VB.NET for MS Office Automation? Note: If you use this code with WinForms application then subsequent after first MS Word activation calls to start another instance of MS Word will be instant but imagine the usual development/testing scenario when you start/debug/stop/restart/... your application many times - how about these 10+ seconds to wait every time you restart your app/debug session? (Or 10+ this bad side effect happens on my PC only?) Imports Word = Microsoft.Office.Interop.Word Module Module1 Private Function StartApp( _ ByVal strProgID As String) As Object Dim oTmp As Object On Error Resume Next oTmp = GetObject(, strProgID) If Err.Number <> 0 Then oTmp = CreateObject(strProgID) End If StartApp = oTmp End Function Private Sub TestEarlyBound() Dim app As Word.Application app = StartApp("Word.Application") app.Visible = True app.Activate() End Sub Sub Main() Dim ds As DateTime = DateTime.Now Dim de As DateTime Console.WriteLine("Program started at {0} ", ds.ToString()) TestEarlyBound() de = DateTime.Now Console.WriteLine("Program finished at {0} ", de.ToString()) Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Shamil P.S. When late binding is used then similar VB.NET MS Office Automation code works instantly here.... ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 12, 2006 11:47 PM Subject: Re: [AccessD] Demise of VBA > >From a business perspective, it doesn't sound like good judgment does it? > Why spend the revenue and manpower to replace what you've already got? You > only need to look to GM to see what happens when you do that. > > Susan H. > > ...just my opinion of course ...and experience near the top of the food > chain where evangelists almost always lose to the bottom line ...a bottom > line that greatly favors a new generation of vba. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Wed Jul 12 19:34:28 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Thu, 13 Jul 2006 10:34:28 +1000 Subject: [AccessD] Demise of VBA References: Message-ID: <002001c6a614$1a6a5210$6601a8c0@office> Agreed - I find even a small app is slow to build in it, so I can't imagine with a big one. Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, July 13, 2006 10:28 AM Subject: Re: [AccessD] Demise of VBA I haven't tested your code, but I'll testify to the fact that VS2005 is a huge resource hog. I'm getting a new machine because a build in our (admittedly large) winForms solution takes 5 minutes or more on my machine before I can even test. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, July 12, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Demise of VBA Hi All, I think this sample code below would be within the topic of this thread - try to run this VB.NET MS Word Automation code in VS2005 with a reference set to the MS Word Primary Interop Assembly - it takes 10+ second just to start on my PC (and similar VBA code starts MS Word instantly) - I wonder how quick this VB.NET simple sample works on your PCs? If it will take the same 10+ second just to start-up will you consider to use VB.NET for MS Office Automation? Note: If you use this code with WinForms application then subsequent after first MS Word activation calls to start another instance of MS Word will be instant but imagine the usual development/testing scenario when you start/debug/stop/restart/... your application many times - how about these 10+ seconds to wait every time you restart your app/debug session? (Or 10+ this bad side effect happens on my PC only?) Imports Word = Microsoft.Office.Interop.Word Module Module1 Private Function StartApp( _ ByVal strProgID As String) As Object Dim oTmp As Object On Error Resume Next oTmp = GetObject(, strProgID) If Err.Number <> 0 Then oTmp = CreateObject(strProgID) End If StartApp = oTmp End Function Private Sub TestEarlyBound() Dim app As Word.Application app = StartApp("Word.Application") app.Visible = True app.Activate() End Sub Sub Main() Dim ds As DateTime = DateTime.Now Dim de As DateTime Console.WriteLine("Program started at {0} ", ds.ToString()) TestEarlyBound() de = DateTime.Now Console.WriteLine("Program finished at {0} ", de.ToString()) Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Shamil P.S. When late binding is used then similar VB.NET MS Office Automation code works instantly here.... ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, July 12, 2006 11:47 PM Subject: Re: [AccessD] Demise of VBA > >From a business perspective, it doesn't sound like good judgment does it? > Why spend the revenue and manpower to replace what you've already got? You > only need to look to GM to see what happens when you do that. > > Susan H. > > ...just my opinion of course ...and experience near the top of the food > chain where evangelists almost always lose to the bottom line ...a bottom > line that greatly favors a new generation of vba. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Thu Jul 13 01:54:17 2006 From: max at sherman.org.uk (Max Home) Date: Thu, 13 Jul 2006 07:54:17 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aRkKicA Message-ID: <000001c6a649$2a6a97d0$e26b1152@Server> Hi, Marty Connelly, You kindly posted some code for using CDOSYS to send Emails. On the example form, you had some fields for receiving emails via Pop3. I was wondering Marty if you (or anybody) had any code for these options and also if it could handle IMapi accounts from a web mail account? Any help would be appreciated. Regards Max From Erwin.Craps at ithelps.be Thu Jul 13 03:23:35 2006 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 13 Jul 2006 10:23:35 +0200 Subject: [AccessD] SUSPECT: Re: Demise of VBA Message-ID: For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing >> Coca Cola Classic with new Coke ...the masses that feed the golden >> goose would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 markamatte at hotmail.com Thu Jul 13 08:45:32 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 13:45:32 +0000 Subject: [AccessD] A97 or A2k ODBC to Informix In-Reply-To: <004501c6a603$45bc2a30$6101a8c0@SUSANONE> Message-ID: Hello All, Is there a way in A97 or A2k using ODBC to Informix...to execute an SQL statement with a "SET PDQPRIORITY 40" in from of it??? Thanks, Mark A. Matte From marklbreen at gmail.com Thu Jul 13 09:06:18 2006 From: marklbreen at gmail.com (Mark Breen) Date: Thu, 13 Jul 2006 15:06:18 +0100 Subject: [AccessD] Finally got to meet Shamil Message-ID: Hello Guys, This may be OT but as Shamil is helping on this list since 1997, hopefully you will excuse me for posting this here. I am just back from my trip to Eastern Europe by motorcycle. One of the best parts of the three week trip was I got to meet our friend Shamil in St. Petersburg. I did not just get to meet him, he offered me accommadation which I graciously accepted. He then proceeded to be one of the best hosts a visitor could have. It had the oppertunity to live as a tourist in the day time, and then to join Shamil's family life in the evening, this was the best part for me. On the Sunday night before I left Russia, I had the really great experience of visiting Shamils Datcha (country house). His beautiful family put on a feast, literally a full sized table full of food. We stayed up until late, talking and drinking vodka. He then, kindly offered to get up at 04:30 and bring me to the train station. Shamil, thank you for your hospitality and I hope to see you in Ireland some time. In the meantime guys, get over to St Petersburg. It is a beautiful city, I mean really beautiful. The people I encountered were all kind, friendly, although English is not too common. I felt 100% safe at all times, in fact, it felt almost safer than some places I have been in London or New York. Another point I have to mention, the Russian people I saw in the entire city of St Petersburg are so glamourous, it was more like being in Paris than what we were told in school. All I can say is get over there and experience it for yourself, it will change you idea of what Mother Russia is like forever. Shamil, thank you for making it the highlight of my entire trip. Mark Breen Ireland From markamatte at hotmail.com Thu Jul 13 10:15:26 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 15:15:26 +0000 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: Hello All, In A97 or A2K is there an speed advantage in using different methods of executing SQL...runsql vs openquery vs CurrentDb.Execute vs qdfCurr.Execute ....or any other method of getting the data. I'm pulling millions of rows from informix via odbc and appending within Access...the whole point of this is I need to do some wildcard searches on a number of memo/blob fields...and need the records local or it times out. So...bottom line...whats the fastest way to get data from informix via odbc into an access table? Thanks again, Mark A. Matte From markamatte at hotmail.com Thu Jul 13 10:23:29 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 15:23:29 +0000 Subject: [AccessD] fasted way to execute sql In-Reply-To: Message-ID: forgot subject..sorry >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] (no subject) >Date: Thu, 13 Jul 2006 15:15:26 +0000 > >Hello All, > >In A97 or A2K is there an speed advantage in using different methods of >executing SQL...runsql vs openquery vs CurrentDb.Execute vs qdfCurr.Execute >....or any other method of getting the data. I'm pulling millions of rows >from informix via odbc and appending within Access...the whole point of >this >is I need to do some wildcard searches on a number of memo/blob >fields...and >need the records local or it times out. > >So...bottom line...whats the fastest way to get data from informix via odbc >into an access table? > >Thanks again, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 13 10:52:18 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 08:52:18 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: And that explains Multiplan, WordBasic, the Excel Macro language and all the other products and support they've dropped over the years? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SUSPECT: Re: Demise of VBA For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing Coca >>Cola Classic with new Coke ...the masses that feed the golden goose >>would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 martyconnelly at shaw.ca Thu Jul 13 11:28:47 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Jul 2006 09:28:47 -0700 Subject: [AccessD] A97 or A2k ODBC to Informix In-Reply-To: References: Message-ID: <44B674BF.4080000@shaw.ca> Couple of places to start http://www-128.ibm.com/developerworks/db2/zones/informix/ http://www.carlprothman.net/Default.aspx?tabid=90#ODBCDriverForInformix Mark A Matte wrote: >Hello All, > >Is there a way in A97 or A2k using ODBC to Informix...to execute an SQL >statement with a "SET PDQPRIORITY 40" in from of it??? > >Thanks, > >Mark A. Matte > > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Thu Jul 13 12:56:00 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Jul 2006 18:56:00 +0100 Subject: [AccessD] Finally got to meet Shamil In-Reply-To: Message-ID: <000001c6a6a5$9a963df0$f76b8552@minster33c3r25> Brilliant. Thanks for the post Mark. It's what makes this list special. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 13 July 2006 15:06 > To: Access Developers discussion and problem solving > Subject: [AccessD] Finally got to meet Shamil > > > Hello Guys, > > This may be OT but as Shamil is helping on this list since > 1997, hopefully you will excuse me for posting this here. > > I am just back from my trip to Eastern Europe by motorcycle. > One of the best parts of the three week trip was I got to > meet our friend Shamil in St. Petersburg. I did not just get > to meet him, he offered me accommadation which I graciously > accepted. He then proceeded to be one of the best hosts a > visitor could have. > > It had the oppertunity to live as a tourist in the day time, > and then to join Shamil's family life in the evening, this > was the best part for me. On the Sunday night before I left > Russia, I had the really great experience of visiting Shamils > Datcha (country house). His beautiful family put on a feast, > literally a full sized table full of food. We stayed up > until late, talking and drinking vodka. He then, kindly > offered to get up at 04:30 and bring me to the train station. > > Shamil, thank you for your hospitality and I hope to see you > in Ireland some time. > > In the meantime guys, get over to St Petersburg. It is a > beautiful city, I mean really beautiful. The people I > encountered were all kind, friendly, although English is not > too common. I felt 100% safe at all times, in fact, it felt > almost safer than some places I have been in London or New York. > > Another point I have to mention, the Russian people I saw in > the entire city of St Petersburg are so glamourous, it was > more like being in Paris than what we were told in school. > All I can say is get over there and experience it for > yourself, it will change you idea of what Mother Russia is > like forever. Shamil, thank you for making it the highlight > of my entire trip. > > Mark Breen > Ireland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rl_stewart at highstream.net Thu Jul 13 13:10:30 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 13 Jul 2006 14:10:30 -0400 Subject: [AccessD] fastest way to execute sql In-Reply-To: References: Message-ID: <1152814230.44b68c963ab7c@webmail.highstream.net> Mark, The fastest way is to have your server execute it using pass through SQL. You should NEVER pull millions of rows into Access for processing. That is crazy. It is not designed to do that. Once you have the pass through query defined, you can use it as a data source to append data into a table on the Access side, but don't even think about doing millions of rows. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Thu, 13 Jul 2006 15:15:26 +0000 > From: "Mark A Matte" > Subject: [AccessD] (no subject) > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > Hello All, > > In A97 or A2K is there an speed advantage in using different methods of > executing SQL...runsql vs openquery vs CurrentDb.Execute vs qdfCurr.Execute > ....or any other method of getting the data. I'm pulling millions of rows > from informix via odbc and appending within Access...the whole point of this > is I need to do some wildcard searches on a number of memo/blob fields...and > need the records local or it times out. > > So...bottom line...whats the fastest way to get data from informix via odbc > into an access table? > > Thanks again, > > Mark A. Matte > > > > From martyconnelly at shaw.ca Thu Jul 13 13:10:20 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Jul 2006 11:10:20 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <000001c6a649$2a6a97d0$e26b1152@Server> References: <000001c6a649$2a6a97d0$e26b1152@Server> Message-ID: <44B68C8C.2020301@shaw.ca> CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max > > > > -- Marty Connelly Victoria, B.C. Canada From max at sherman.org.uk Thu Jul 13 13:30:59 2006 From: max at sherman.org.uk (Max Home) Date: Thu, 13 Jul 2006 19:30:59 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aSEMycA Message-ID: <000e01c6a6aa$7e147980$e26b1152@Server> Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Jul 13 15:31:36 2006 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 13 Jul 2006 22:31:36 +0200 Subject: [AccessD] : Re: Demise of VBA Message-ID: Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 13, 2006 5:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA And that explains Multiplan, WordBasic, the Excel Macro language and all the other products and support they've dropped over the years? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SUSPECT: Re: Demise of VBA For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing Coca >>Cola Classic with new Coke ...the masses that feed the golden goose >>would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jul 13 15:29:17 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Jul 2006 13:29:17 -0700 Subject: [AccessD] Access 2007 Ribbon Bar and accdb format In-Reply-To: <000e01c6a6aa$7e147980$e26b1152@Server> References: <000e01c6a6aa$7e147980$e26b1152@Server> Message-ID: <44B6AD1D.6050502@shaw.ca> Here is a sample 2007 accdb and method to program with VBA the ribbon bar via xml inserted in a table. More convoluted than command bars but at least everything is one place. http://blogs.msdn.com/access/archive/2006/07/13/664757.aspx By the way I had trouble converting an accdb back to 2000 format You try to do a straight conversion and it squawks about multi valued fields or something and says can't do it. I couldn't find the error or what it was complaining about. Here is a way around it Not too difficult to convert back from Access 2007 just create a blank 2003 mdb and right click on the objects and export them to the new blank mdb. Selecting the database option. You also have to recreate the table relationships structure. To do multiple exports for tables or forms via vba use some variation of this Sub testexport() Dim cdb As Database 'Database to import Dim td As TableDef 'Tabledefs in db Dim strTDef As String 'Name of table or query to import Set cdb = CurrentDb 'EXPORT tables from specified Access database 'keep opening through security squawk for each table For Each td In cdb.TableDefs strTDef = td.Name Debug.Print strTDef If Left(strTDef, 4) <> "MSys" Then DoCmd.TransferDatabase acExport, "Microsoft Access", _ "C:\Access files\2007test\rebuild\crm2000.mdb", _ acTable, strTDef, strTDef, False End If Next End Sub -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Thu Jul 13 15:32:59 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 13 Jul 2006 20:32:59 +0000 Subject: [AccessD] fastest way to execute sql In-Reply-To: <1152814230.44b68c963ab7c@webmail.highstream.net> Message-ID: Robert, Thanks for the feedback...I have never used pass-throughs...here is my scenario. Access db connected to Informix via ODBC. I need to do some fuzzy/wildcard searches against a number of memo/blob fields. I have tried to do these types of searches in the past on the linked tables with no success(time outs or just never finishes). I typically pull ALL(1.2 mil) records from the needed table and then do the fuzzy/wildcard searches on local tables. This has been the only way I got the info needed. In this scenario, would your suggestion still apply...and if so, do you mean create my fuzzy/wildcard searches as a pass-through...and then use the pass-through as the source in another query to append to a local table? Thanks, Mark A. Matte >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Thu, 13 Jul 2006 14:10:30 -0400 > >Mark, > >The fastest way is to have your server execute it using pass through SQL. >You should NEVER pull millions of rows into Access for processing. That is >crazy. It is not designed to do that. > >Once you have the pass through query defined, you can use it as a data >source to >append data into a table on the Access side, but don't even think about >doing >millions of rows. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 15:15:26 +0000 > > From: "Mark A Matte" > > Subject: [AccessD] (no subject) > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Hello All, > > > > In A97 or A2K is there an speed advantage in using different methods of > > executing SQL...runsql vs openquery vs CurrentDb.Execute vs >qdfCurr.Execute > > ....or any other method of getting the data. I'm pulling millions of >rows > > from informix via odbc and appending within Access...the whole point of >this > > is I need to do some wildcard searches on a number of memo/blob >fields...and > > need the records local or it times out. > > > > So...bottom line...whats the fastest way to get data from informix via >odbc > > into an access table? > > > > Thanks again, > > > > Mark A. Matte > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Thu Jul 13 15:38:55 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Thu, 13 Jul 2006 16:38:55 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> I found the switch from Excel Basic to VBA difficult. Now, Access Basic and VBA were like peas in a pod, but Excel? I never have gotten the hang of using VBA in Excel and I've pretty much stopped trying. Susan H. Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... From cfoust at infostatsystems.com Thu Jul 13 15:45:03 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 13:45:03 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> Message-ID: The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 13, 2006 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I found the switch from Excel Basic to VBA difficult. Now, Access Basic and VBA were like peas in a pod, but Excel? I never have gotten the hang of using VBA in Excel and I've pretty much stopped trying. Susan H. Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Jul 13 15:47:59 2006 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 13 Jul 2006 15:47:59 -0500 Subject: [AccessD] fastest way to execute sql Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D8D0@natexch.jenkens.com> Memo/blob searches like this are tough without full text indexing. I do not know if Informix has that available, but it would be worth a look. Of course there is no way to take advantage of this without using some sort of pass through query. I am in an almost pure SQL environment and that is how I handle it. I am not sure what may be applied to your situation. Debbie -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Thursday, July 13, 2006 3:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] fastest way to execute sql Robert, Thanks for the feedback...I have never used pass-throughs...here is my scenario. Access db connected to Informix via ODBC. I need to do some fuzzy/wildcard searches against a number of memo/blob fields. I have tried to do these types of searches in the past on the linked tables with no success(time outs or just never finishes). I typically pull ALL(1.2 mil) records from the needed table and then do the fuzzy/wildcard searches on local tables. This has been the only way I got the info needed. In this scenario, would your suggestion still apply...and if so, do you mean create my fuzzy/wildcard searches as a pass-through...and then use the pass-through as the source in another query to append to a local table? Thanks, Mark A. Matte >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Thu, 13 Jul 2006 14:10:30 -0400 > >Mark, > >The fastest way is to have your server execute it using pass through SQL. >You should NEVER pull millions of rows into Access for processing. That is >crazy. It is not designed to do that. > >Once you have the pass through query defined, you can use it as a data >source to >append data into a table on the Access side, but don't even think about >doing >millions of rows. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 15:15:26 +0000 > > From: "Mark A Matte" > > Subject: [AccessD] (no subject) > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Hello All, > > > > In A97 or A2K is there an speed advantage in using different methods of > > executing SQL...runsql vs openquery vs CurrentDb.Execute vs >qdfCurr.Execute > > ....or any other method of getting the data. I'm pulling millions of >rows > > from informix via odbc and appending within Access...the whole point of >this > > is I need to do some wildcard searches on a number of memo/blob >fields...and > > need the records local or it times out. > > > > So...bottom line...whats the fastest way to get data from informix via >odbc > > into an access table? > > > > Thanks again, > > > > Mark A. Matte > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From harkinsss at bellsouth.net Thu Jul 13 15:49:08 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Thu, 13 Jul 2006 16:49:08 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: <000d01c6a6bd$ca051bc0$6101a8c0@SUSANONE> I'm so glad I'm not alone. :) I never even tried to work with VBA in Word. Susan H. The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. From cfoust at infostatsystems.com Thu Jul 13 15:49:29 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 13:49:29 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: There was a whole base of Excel macro users. It was flexible and must easier to use than the equivalent QuattroPro language. WordBasic to VBA was NOT 0.something. There are still things that drive developers to moan about the demise of WordBasic. The trouble is that the VBA code can be reused ... In VBA. It can't be reused in .Net, which has a whole different framework, and it couldn't reuse the old code developed in the older macro languages. Nobody said progress was painless.... Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 13, 2006 5:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA And that explains Multiplan, WordBasic, the Excel Macro language and all the other products and support they've dropped over the years? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, July 13, 2006 1:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SUSPECT: Re: Demise of VBA For me, MS regulary uses the "advanced scaring" marketing technique. Well, I dont know if it really is a marketing technique but they use it anyway. Spread some (false or partialy false) rumours into the world that MS will be stopping this or that in x years. This will cause developers busy with developing a new app or developers that are currently considering changing Dev tool to instantly move over to the new developing tool. Also the very fast scared people will easely switch over to the new one out of fear. This will create an instant an early adapters group that is a good base to get the sales train running. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 12, 2006 7:10 PM To: Access Developers discussion and problem solving Subject: SUSPECT: Re: [AccessD] Demise of VBA ...its one thing to screw with VB developers Ken ...that can be done at a relatively low level within MS ...but when you start screwing with the Office revenue stream you move waaaaaay up the MS food chain ...so far the .net evangelists have closed their ears to the VB6 crowd, but they won't be the only ones listening to the Office/VBA mob howling ...especially if the cash registers stop ringing. ...I'm encouraged by the inside politics that took control of Access Jet away from the SQL/ADO evangelists and put it in the hands of the Access development team where it always belonged ...those people appear to be DAO oriented, at least their first moves after being set free give that impression ...and anything that smells of DAO inevitably bodes well for VBA imnsho. ...no question but that VBA has languished of late while ADO and SQL were ascendant ...but the combination of Office VBA buried in the corporate bedrock and a newly invigorated Access development team looks to at least even the playing field ...we may yet go .net but it looks more and more as if that will be an easily ported vba.net. ...just my opinion of course ...and experience near the top of the food chain where evangelists almost always lose to the bottom line ...a bottom line that greatly favors a new generation of vba. William ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Wednesday, July 12, 2006 12:31 PM Subject: Re: [AccessD] Demise of VBA > William, Erwin: > >> ...and thus I would believe the imminent demise of vba is greatly >> exaggerated. > > As much as I would like to agree, it just ain't so. VB6 will be gone in > less than two years: > > Product Family Life-Cycle Guidelines for Visual Basic 6.0 > http://msdn.microsoft.com/vbrun/support.aspx > > "Non-Supported Phase ... Visual Basic 6.0 will no longer > be supported starting March 2008." > > VBA's fate is in grave doubt, too: > > Classic VB Petition FAQ > http://classicvb.org/petition/faq.asp > > "... But, no development has occurred on the VBA IDE in over > eight years; the team has been abandoned. New versions of > Office continue, at this point, to ship with this very old > technology." > > Does this look like a platform they plan to keep? > >>...and thus replacing [VBA] with VS.Net would be like replacing Coca >>Cola Classic with new Coke ...the masses that feed the golden goose >>would rebel... > > Funny you should mention that. The VB6 masses have already rebelled. > Microsoft ignored them. See: > > Classic VB > http://classicvb.org/ > > Do you think the current Office user base is sufficient deterrent > against abandoning VBA? Don't be so sure. Microsoft walked away from 6 > million VB programmers: > > ...The Disaster Known As Visual Basic > http://www.bitwisemag.com/copy/bytegeist/bytegeist7.html > > Agreed, Microsoft is in a predicament with Office/VBA: > > Office and .NET: Better Together? > http://www.ftponline.com/vsm/2002_08/magazine/departments/guestop/defaul t.aspx > > Although it will be painful for them, I feel the most likely scenario > is that Microsoft will walk away from VBA 1-2 years after the Vista > rollout, assuming it is successful. > > Their message to us, I feel, is clear: Change, or die. > > -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 13 15:58:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Jul 2006 13:58:09 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <000d01c6a6bd$ca051bc0$6101a8c0@SUSANONE> Message-ID: I've done it, but the object model drove me crazy and I haven't needed to program Word in so long I've forgotten how. :o< Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 13, 2006 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I'm so glad I'm not alone. :) I never even tried to work with VBA in Word. Susan H. The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Jul 13 15:59:13 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 13 Jul 2006 21:59:13 +0100 Subject: [AccessD] Access 2007 Ribbon Bar and accdb format References: <000e01c6a6aa$7e147980$e26b1152@Server> <44B6AD1D.6050502@shaw.ca> Message-ID: Marty check out this guy as well. Hes been doing some great stuff with Ribbons. Been teaching me how they work. He seems to be way ahead of the field and will have a beta customisation tool ready soon. I have been helping him test it. http://pschmid.net/ I have to write a chapter on Ribbons and I havnt a clue to be honest. But will get there, Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of MartyConnelly Sent: Thu 13/07/2006 21:29 To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 Ribbon Bar and accdb format Here is a sample 2007 accdb and method to program with VBA the ribbon bar via xml inserted in a table. More convoluted than command bars but at least everything is one place. http://blogs.msdn.com/access/archive/2006/07/13/664757.aspx By the way I had trouble converting an accdb back to 2000 format You try to do a straight conversion and it squawks about multi valued fields or something and says can't do it. I couldn't find the error or what it was complaining about. Here is a way around it Not too difficult to convert back from Access 2007 just create a blank 2003 mdb and right click on the objects and export them to the new blank mdb. Selecting the database option. You also have to recreate the table relationships structure. To do multiple exports for tables or forms via vba use some variation of this Sub testexport() Dim cdb As Database 'Database to import Dim td As TableDef 'Tabledefs in db Dim strTDef As String 'Name of table or query to import Set cdb = CurrentDb 'EXPORT tables from specified Access database 'keep opening through security squawk for each table For Each td In cdb.TableDefs strTDef = td.Name Debug.Print strTDef If Left(strTDef, 4) <> "MSys" Then DoCmd.TransferDatabase acExport, "Microsoft Access", _ "C:\Access files\2007test\rebuild\crm2000.mdb", _ acTable, strTDef, strTDef, False End If Next End Sub -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jul 13 16:30:07 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 13 Jul 2006 16:30:07 -0500 Subject: [AccessD] : Re: Demise of VBA Message-ID: <17724746D360394AA3BFE5B8D40A9C1BB7F380@main2.marlow.com> I think it's a developer thing. We use the Access object model so much that it's second nature to us, yet the Excel and Word object models seem so awkward sometimes. I can do tons of stuff in Excel, but I avoid Word VBA when not absolutely necessary. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, July 13, 2006 3:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 13, 2006 1:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I found the switch from Excel Basic to VBA difficult. Now, Access Basic and VBA were like peas in a pod, but Excel? I never have gotten the hang of using VBA in Excel and I've pretty much stopped trying. Susan H. Dropped because nobody was (really) using them.... Not to my knowledge anyway If the migration learning curve is low like 0.something like from Word or Access basic to VBA and the code can be reused I dont see that as a drop, but as an upgrade... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 13 16:54:20 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Jul 2006 07:54:20 +1000 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> References: , <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> Message-ID: <44B74DAC.9739.23E69955@stuart.lexacorp.com.pg> On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang of > using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. -- Stuart From kp at sdsonline.net Thu Jul 13 20:20:49 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 14 Jul 2006 11:20:49 +1000 Subject: [AccessD] Mobile Access with an mde Message-ID: <000801c6a6e3$be383720$6601a8c0@office> I know that this topic has been discussed before but not for a while, so maybe there are more choices now. I have a client (tradesman) who wants to take his customised menu driven database with him in the car and is wondering what his hardware choices are. I know that there are some software packages designed for pda's but they effectively import the data into tables, which is no good for him. I want him to be able to open the mde and use the interface I have designed for him, just as he does in the office. Maybe he will need just a small laptop but I am wondering whther there is anything smaller / or cleverer? Thanks - ______________________________________ Kath Pelletti From carbonnb at gmail.com Thu Jul 13 21:15:45 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 13 Jul 2006 22:15:45 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: References: <000d01c6a6bd$ca051bc0$6101a8c0@SUSANONE> Message-ID: On 7/13/06, Charlotte Foust wrote: > I've done it, but the object model drove me crazy and I haven't needed > to program Word in so long I've forgotten how. :o< The Word object model isn't that tough. Although switching between Word and Access was painful on the brain sometimes. :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Thu Jul 13 21:19:16 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 13 Jul 2006 22:19:16 -0400 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <44B74DAC.9739.23E69955@stuart.lexacorp.com.pg> References: <000601c6a6bc$5c6dccc0$6101a8c0@SUSANONE> <44B74DAC.9739.23E69955@stuart.lexacorp.com.pg> Message-ID: On 7/13/06, Stuart McLachlan wrote: > On 13 Jul 2006 at 16:38, Susan Harkins wrote: > > > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > > VBA were like peas in a pod, but Excel? I never have gotten the hang of > > using VBA in Excel and I've pretty much stopped trying. > > ISTM that Visual Basic for Applications in Word and Excel are overkill. I don't think so. If it weren't for VBA in Word and Excel, I wouldn't be here. I wouldn't ahve had the confidence to tackle a DB if I didn't have the experience writing code in Word and Excel first. > There is a fundamental difference between Access and Word/Excel. > > Word is a tool for creating documents and Excel is a tool for creating > spreadsheets. A document or a spreadsheet are useful objects in their own > right and Word and Excel are *end user* tools for creating them. > > A database has no value without an application to utilise it's contents. True, but that application doesn't have to be Access, it can be Word or Excel or VB or any app that can get data from the Jet engine. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From wdhindman at dejpolsystems.com Thu Jul 13 22:35:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 13 Jul 2006 23:35:52 -0400 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office> Message-ID: <00a601c6a6f6$9c153900$6e9ba545@50NM721> ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > 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 Jul 13 22:44:33 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Jul 2006 13:44:33 +1000 Subject: [AccessD] Mobile Access with an mde In-Reply-To: <00a601c6a6f6$9c153900$6e9ba545@50NM721> References: <000801c6a6e3$be383720$6601a8c0@office>, <00a601c6a6f6$9c153900$6e9ba545@50NM721> Message-ID: <44B79FC1.31586.108190FE@stuart.lexacorp.com.pg> On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ From wdhindman at dejpolsystems.com Thu Jul 13 23:15:43 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 14 Jul 2006 00:15:43 -0400 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office>, <00a601c6a6f6$9c153900$6e9ba545@50NM721> <44B79FC1.31586.108190FE@stuart.lexacorp.com.pg> Message-ID: <011b01c6a6fc$2cfa5310$6e9ba545@50NM721> ...it might buzz but it ain't flying quite yet, eh :))) William ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Thursday, July 13, 2006 11:44 PM Subject: Re: [AccessD] Mobile Access with an mde > On 13 Jul 2006 at 23:35, William Hindman wrote: > >> ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. >> > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Thu Jul 13 23:21:24 2006 From: john at winhaven.net (John Bartow) Date: Thu, 13 Jul 2006 23:21:24 -0500 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: Message-ID: <014801c6a6fc$f828ca30$6502a8c0@ScuzzPaq> Once the jump is made into using VBA in other applications in addition to Access's, it is much easier to understand why MS went this direction in the first place. I find that VBA is an incredibly useful tool in all of the apps I've used it in, albeit a brain twister when first trying to understand each model. I'll never think of a PowerPoint presentation the same now ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, July 13, 2006 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 7/13/06, Stuart McLachlan wrote: > On 13 Jul 2006 at 16:38, Susan Harkins wrote: > > > I found the switch from Excel Basic to VBA difficult. Now, Access > > Basic and VBA were like peas in a pod, but Excel? I never have > > gotten the hang of using VBA in Excel and I've pretty much stopped trying. > > ISTM that Visual Basic for Applications in Word and Excel are overkill. I don't think so. If it weren't for VBA in Word and Excel, I wouldn't be here. I wouldn't ahve had the confidence to tackle a DB if I didn't have the experience writing code in Word and Excel first. > There is a fundamental difference between Access and Word/Excel. > > Word is a tool for creating documents and Excel is a tool for > creating spreadsheets. A document or a spreadsheet are useful objects > in their own right and Word and Excel are *end user* tools for creating them. > > A database has no value without an application to utilise it's contents. True, but that application doesn't have to be Access, it can be Word or Excel or VB or any app that can get data from the Jet engine. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Jul 14 06:41:48 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 14 Jul 2006 15:41:48 +0400 Subject: [AccessD] Finally got to meet Shamil References: Message-ID: <003301c6a73a$7f4f8f20$6401a8c0@Nant> Thank you, Mark! Everybody are welcome to St.Petersburg, Russia! Shamil ----- Original Message ----- From: "Mark Breen" To: "Access Developers discussion and problem solving" Sent: Thursday, July 13, 2006 6:06 PM Subject: [AccessD] Finally got to meet Shamil > Hello Guys, > > This may be OT but as Shamil is helping on this list since 1997, hopefully > you will excuse me for posting this here. > > I am just back from my trip to Eastern Europe by motorcycle. One of the > best parts of the three week trip was I got to meet our friend Shamil in > St. > Petersburg. I did not just get to meet him, he offered me accommadation > which I graciously accepted. He then proceeded to be one of the best > hosts > a visitor could have. > > It had the oppertunity to live as a tourist in the day time, and then to > join Shamil's family life in the evening, this was the best part for me. > On > the Sunday night before I left Russia, I had the really great experience > of > visiting Shamils Datcha (country house). His beautiful family put on a > feast, literally a full sized table full of food. We stayed up until > late, > talking and drinking vodka. He then, kindly offered to get up at 04:30 > and > bring me to the train station. > > Shamil, thank you for your hospitality and I hope to see you in Ireland > some > time. > > In the meantime guys, get over to St Petersburg. It is a beautiful city, > I > mean really beautiful. The people I encountered were all kind, friendly, > although English is not too common. I felt 100% safe at all times, in > fact, > it felt almost safer than some places I have been in London or New York. > > Another point I have to mention, the Russian people I saw in the entire > city > of St Petersburg are so glamourous, it was more like being in Paris than > what we were told in school. All I can say is get over there and > experience > it for yourself, it will change you idea of what Mother Russia is like > forever. Shamil, thank you for making it the highlight of my entire trip. > > Mark Breen > Ireland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Jul 14 07:22:24 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 14 Jul 2006 08:22:24 -0400 Subject: [AccessD] Mobile Access with an mde In-Reply-To: <000801c6a6e3$be383720$6601a8c0@office> Message-ID: Kath, We have been using tablet pc's from Motion Computing for this. 12" screen though. You are probably looking for something smaller? I am interested in this as well. I would like a pda that will hold my application that was deployed using office developer to work on a pda. I would like the guys in the field to be able to respond to a work order when one is issued from the main office. Anyone done this before? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From prosoft6 at hotmail.com Fri Jul 14 07:30:52 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 14 Jul 2006 08:30:52 -0400 Subject: [AccessD] Developer Extensions Message-ID: Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From rl_stewart at highstream.net Fri Jul 14 07:37:41 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 14 Jul 2006 08:37:41 -0400 Subject: [AccessD] fastest way to execute sql In-Reply-To: References: Message-ID: <1152880661.44b79015d35d7@webmail.highstream.net> Mark, Actually, it is very simple. You will need to know the general syntack for the backend database, but it should be something like this: Set the query type as passthrough. SELECT * FROM MyTable WHERE MyMemoField LIKE '%TheWord%' OR MyMemoField LIKE '%AnotherWord%' Open the query properties. Set the ODBC string. Set the timeout to 0. This will let it run until it completes. This will let the server to run the query and it will return only the results back to Access, not all 1.2 mil rows. If you want the results in an Access table, then you can use this query as the source for a make table or append query. NOTE: The synatx I used above is generic. You might have to use " instead of '. The % is the wild card for SQL Server like the * is for Access. It might be different in Informix. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Thu, 13 Jul 2006 20:32:59 +0000 > From: "Mark A Matte" > Subject: Re: [AccessD] fastest way to execute sql > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > Robert, > > Thanks for the feedback...I have never used pass-throughs...here is my > scenario. Access db connected to Informix via ODBC. I need to do some > fuzzy/wildcard searches against a number of memo/blob fields. I have tried > to do these types of searches in the past on the linked tables with no > success(time outs or just never finishes). I typically pull ALL(1.2 mil) > records from the needed table and then do the fuzzy/wildcard searches on > local tables. This has been the only way I got the info needed. In this > scenario, would your suggestion still apply...and if so, do you mean create > my fuzzy/wildcard searches as a pass-through...and then use the pass-through > as the source in another query to append to a local table? > > Thanks, > > Mark A. Matte From kp at sdsonline.net Fri Jul 14 07:44:59 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 14 Jul 2006 22:44:59 +1000 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office> <00a601c6a6f6$9c153900$6e9ba545@50NM721> Message-ID: <001001c6a743$51a31ed0$6601a8c0@office> >From what i have seen that's the smallest I can recommend to him....I thought there may be something even smaller.... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Fri Jul 14 07:58:58 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 08:58:58 -0400 Subject: [AccessD] Mobile Access with an mde In-Reply-To: <001001c6a743$51a31ed0$6601a8c0@office> Message-ID: <200607141258.k6ECwuR06863@ultradnt.com> To go to PocketPC form factor requires either .Net with CF (compact framework) connecting to a SQL CE db, or 3rd party tools (like SprintDB). There is no support for Access UI objects in Windows Mobile. (There is some support for Pocket Access, but that is only tables, and seems to be on the deprecation path). Of course, if the device always has an interent connection, you could do a web app, but your BE would need to available on a web server, and in that case , probably want to move to SQL anyway. Not what you wanted to hear, I am sure, but HTH anyway, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Friday, July 14, 2006 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde >From what i have seen that's the smallest I can recommend to him....I thought there may be something even smaller.... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Fri Jul 14 07:59:16 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 14 Jul 2006 08:59:16 -0400 Subject: [AccessD] Finally got to meet Shamil In-Reply-To: References: Message-ID: <1152881956.44b795242012f@webmail.highstream.net> While I have never met Shamil or been to St. Peterburg, I have been to Russia 7 times. If any of you guys or gals have the opportunity to go, take it. Russia is a very interesting country. My friends there introduced me to a fantastic lady. I have bee there to see her 3 times and we are currently waiting for the BCIS to process her visa papers so her daughter and her can come to the USA. I have been to Lithuania, Ukraine and Russia. Of the three, Russia has been the most interesting. And the people I know there are like Shamil. Good friends that give much more than you would ever expect. So, the most impressive thing about Russia, at least for me, has been the people. Shamil, my fiance has only been to St. Peterburg once many years ago. So one of our trips in the future will be there. I would love to meet you when we do go. She lives in Yoshkar-Ola and her family is from Great Novgrod. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Fri, 14 Jul 2006 15:41:48 +0400 > From: "Shamil Salakhetdinov" > Subject: Re: [AccessD] Finally got to meet Shamil > To: "Access Developers discussion and problem solving" > > Message-ID: <003301c6a73a$7f4f8f20$6401a8c0 at Nant> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > Thank you, Mark! > > Everybody are welcome to St.Petersburg, Russia! > > Shamil > From developer at ultradnt.com Fri Jul 14 08:10:27 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 09:10:27 -0400 Subject: [AccessD] Developer Extensions In-Reply-To: Message-ID: <200607141310.k6EDAPR09149@ultradnt.com> It depends on which Access version. 2002 and back required starting the package wizard from the VBE (in the Add-Ins menu) so it had to be an MDB - there is no VBE in an MDE. Since 2003 uses VSTO, a completely separate product, you _can_ package MDE's. As for the older versions, although the documentation says you can't do it, you can package your MDB, then create an MDE based on the MDB. Create an empty MDB with the same name as the original, and replace your orignal MDB in the pkg with the empty (don't lose the source MDB of course). Add an AutoExec in the empty MDB that opens the MDE then quits, so the wizard generated shortcut will still work, and your MDE will be what the user runs. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Friday, July 14, 2006 8:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Developer Extensions Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Jul 14 08:10:16 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 14 Jul 2006 08:10:16 -0500 Subject: [AccessD] Developer Extensions In-Reply-To: <12847656.1152880507324.JavaMail.root@sniper21> Message-ID: <000301c6a746$da4e9450$0200a8c0@danwaters> Hi Julie, The Packaging Wizard will package what you tell it to package. So, go ahead and make your app an .mde first, then do the packaging. And - good luck selling to many customers! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Friday, July 14, 2006 7:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Developer Extensions Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Jul 14 08:39:09 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 14 Jul 2006 09:39:09 -0400 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office><00a601c6a6f6$9c153900$6e9ba545@50NM721> <001001c6a743$51a31ed0$6601a8c0@office> Message-ID: <001801c6a74a$e304f810$6e9ba545@50NM721> ...the link Stuart posted may lead you to something smaller that's no longer vapor ware ...I'd thoroughly check it out before putting a client on something that new but, hey ...someone has to go first :) William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Friday, July 14, 2006 8:44 AM Subject: Re: [AccessD] Mobile Access with an mde > >From what i have seen that's the smallest I can recommend to him....I > >thought there may be something even smaller.... > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:35 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access D Normal List" > Sent: Thursday, July 13, 2006 9:20 PM > Subject: [AccessD] Mobile Access with an mde > > > >I know that this topic has been discussed before but not for a while, so > >maybe there are more choices now. > > > > I have a client (tradesman) who wants to take his customised menu > driven > > database with him in the car and is wondering what his hardware choices > > are. > > > > I know that there are some software packages designed for pda's but > they > > effectively import the data into tables, which is no good for him. > > > > I want him to be able to open the mde and use the interface I have > > designed for him, just as he does in the office. > > > > Maybe he will need just a small laptop but I am wondering whther there > is > > anything smaller / or cleverer? > > > > Thanks - > > > > ______________________________________ > > Kath Pelletti > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Jul 14 10:01:13 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 08:01:13 -0700 Subject: [AccessD] OT: The Sleep Advisor Message-ID: <44B7B1B9.5000005@san.rr.com> Dear List: Sorry for the OT. During the beta testing phase of The Sleep Advisor many of you were good enough to volunteer as beta testers. Now we have an opportunity to pitch the product to a company which produces infomercials. It's a long shot but, who knows? Maybe they'll pick it up. We have been advised that the most valuable aspect of the infomercial is testimonials from users. So IF you have used The Sleep Advisor AND it improved your sleep AND you would be willing to give a testimonial, please reply to me off line. Thanks and regards, Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From Jim.Hale at FleetPride.com Fri Jul 14 10:34:59 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 10:34:59 -0500 Subject: [AccessD] : Re: Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9B@corp-es01.fleetpride.com> That's too bad you have had frustrating experiences with Excel. I came from the Excel side to learn Access so I guess it wasn't as bad for me. I learned Access to learn a more powerful way to handle data when I reached the point where Excel flat files simply couldn't do the job. For me the most powerful and useful aspect of Office has been the tight integration between Access and Excel afforded by VBA. VBA allows me to utilize the best features of each by transferring data from whichever application can process it best. As you can imagine, being in the financial realm I spend most of my time in the Access-Excel space and have created many apps that transfer data back and forth as required. There are two fundamental insights into Excel that have always helped me. First, an Excel spreadsheet can be viewed as a flat file. This means if you can boil Access data down into a record set with a key such as GLacct_location_Date and paste the record set into a sheet you can reference the "flat file" with lookups from other sheets in the workbook. Second, any Excel location can be described by knowing the workbook, worksheet, column and row. This insight allows tables to store these locations (the tables can be static or created on the fly from codes in the Excel workbook) and then "sprinkle" data throughout a workbook into the appropriate cells from record sets. I guess Excel templates are the third piece of the puzzle since all the formatting, formulas, etc. can be created and stored ahead of time and all Access has to do is open the empty workbook and supply the data. Anyway, I'm not sure how all of this can be (easily) recreated in the brave new world of .net. Jim Hale -----Original Message----- From: Susan Harkins [mailto:harkinsss at bellsouth.net] Sent: Thursday, July 13, 2006 3:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA I'm so glad I'm not alone. :) I never even tried to work with VBA in Word. Susan H. The switch to VBA in Excel was hell! I never did get back to my previous level of proficiency in programming Excel with they switched to Vba, and I too abandoned it. AccessBasic and VBA were very similar, which wasn't the case with WordBasic and VBA. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Fri Jul 14 10:33:34 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 08:33:34 -0700 Subject: [AccessD] Developer Extensions In-Reply-To: <000301c6a746$da4e9450$0200a8c0@danwaters> References: <000301c6a746$da4e9450$0200a8c0@danwaters> Message-ID: <44B7B94E.1030600@shaw.ca> If you are not doing the install yourself or you have no idea what is on the machine and neither does the customer. Or the customer is not local to you, you might want to look at purchasing SageKey scripts, it gets around a lot of OS glitches that might occur like hooking to the correct version of Access, if the machine has multiple versions or you are also installing multiple 3'd party ActiveX controls. http://www.sagekey.com Since you are not giving the code to the customer, you might make em feel more secure if you escrow the code This doesn't have to be fancy just store a version with a local lawyer or notary. Some goverment departments are insisting on this. Dan Waters wrote: >Hi Julie, > >The Packaging Wizard will package what you tell it to package. So, go ahead >and make your app an .mde first, then do the packaging. > >And - good luck selling to many customers! > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >Reardon-Taylor >Sent: Friday, July 14, 2006 7:31 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Developer Extensions > >Hi Everyone, > >I thought (incorrectly) that the packaging wizard actually took the >application and made an mde type of file, then packaged the application for >installation. > >I found out that it still uses an .mdb file. If I make an mde and then >package the application, that is the way to go? > >I have several applications that I am writing once and selling multiple >times to customer, (finally), and do not want the code accessible. > >Is this the only way to go? > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business > > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Fri Jul 14 10:52:24 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 10:52:24 -0500 Subject: [AccessD] : Re: Demise of VBA Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9C@corp-es01.fleetpride.com> My strong impression is that Microsoft in the new Access version is going to great lengths to make Access more Accessible (no pun intended) to end users. In their heart of hearts I believe they think if they only can "build it (more user friendly) they will come". Whether or not this just leads to a proliferation of bad databases only time will tell. Unlike Excel, which everyone can use out of the box, you really need to know something about relational databases before you charge off and build one. The new version will come with many example apps so maybe this will suffice, who knows? Jim Hale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 13, 2006 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang of > using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From markamatte at hotmail.com Fri Jul 14 11:02:27 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 14 Jul 2006 16:02:27 +0000 Subject: [AccessD] HELP!! fastest way to execute sql Message-ID: This problem just seems to grow. I have written the passthough query...but Informix says I cannot use a wild card on this type of field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are lost to(but trying to look)...so...2 questions: 1. Anyone know how to search TEXT fields on informix with a wildcard? 2. Can you do this on an SQL or MYSQL db? Desperately begging, Mark A. Matte P.S...The error on the passthrough surprised me because I know I have done this type of search on informix before...so I called the DBA and had them watch what SQL was actually executed. If they run the same SQL on the server that I use in the Passthrough...they get the same error I do...but if I just use a select query against a linked table...I get results(unfortunately this takes a very long time...forever)...now I know why. Using a select query to linked table: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); When I execute this in A97 or A2K...this is what hits the server: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note; Either access or informix ignores my where clause...but access returns the correct records. Any ideas, thoughts, comments, suggestions? >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Fri, 14 Jul 2006 08:37:41 -0400 > >Mark, > >Actually, it is very simple. > >You will need to know the general syntack for the backend database, but it >should be something like this: > >Set the query type as passthrough. > >SELECT * >FROM MyTable >WHERE MyMemoField LIKE '%TheWord%' OR MyMemoField LIKE '%AnotherWord%' > >Open the query properties. >Set the ODBC string. >Set the timeout to 0. This will let it run until it completes. > >This will let the server to run the query and it will return only the >results >back to Access, not all 1.2 mil rows. > >If you want the results in an Access table, then you can use this query as >the >source for a make table or append query. > >NOTE: The synatx I used above is generic. You might have to use " instead >of >'. The % is the wild card for SQL Server like the * is for Access. It >might >be different in Informix. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 20:32:59 +0000 > > From: "Mark A Matte" > > Subject: Re: [AccessD] fastest way to execute sql > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Robert, > > > > Thanks for the feedback...I have never used pass-throughs...here is my > > scenario. Access db connected to Informix via ODBC. I need to do some > > fuzzy/wildcard searches against a number of memo/blob fields. I have >tried > > to do these types of searches in the past on the linked tables with no > > success(time outs or just never finishes). I typically pull ALL(1.2 >mil) > > records from the needed table and then do the fuzzy/wildcard searches on > > local tables. This has been the only way I got the info needed. In >this > > scenario, would your suggestion still apply...and if so, do you mean >create > > my fuzzy/wildcard searches as a pass-through...and then use the >pass-through > > as the source in another query to append to a local table? > > > > Thanks, > > > > Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From JColby at dispec.com Fri Jul 14 11:17:52 2006 From: JColby at dispec.com (Colby, John) Date: Fri, 14 Jul 2006 12:17:52 -0400 Subject: [AccessD] : Re: Demise of VBA Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBFAA9@DISABILITYINS01> >The new version will come with many example apps so maybe this will suffice, who knows? LOL, kind of like North Winds which is a remarkable example of how to do specific (easy) user interface kinds of things and is a remarkable example of how NOT to design a relational database. John W. Colby The DIS Database Guy -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Friday, July 14, 2006 11:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA My strong impression is that Microsoft in the new Access version is going to great lengths to make Access more Accessible (no pun intended) to end users. In their heart of hearts I believe they think if they only can "build it (more user friendly) they will come". Whether or not this just leads to a proliferation of bad databases only time will tell. Unlike Excel, which everyone can use out of the box, you really need to know something about relational databases before you charge off and build one. The new version will come with many example apps so maybe this will suffice, who knows? Jim Hale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 13, 2006 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang of > using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at sbcglobal.net Fri Jul 14 11:39:25 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Fri, 14 Jul 2006 09:39:25 -0700 (PDT) Subject: [AccessD] Meet VBA's Replacement Message-ID: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------------------- Migrating from VBA to .NET/VSTO ? Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp From bchacc at san.rr.com Fri Jul 14 11:43:55 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 09:43:55 -0700 Subject: [AccessD] Opening password protected database Message-ID: <44B7C9CB.20500@san.rr.com> Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bill_Patten at earthlink.net Fri Jul 14 11:48:17 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Fri, 14 Jul 2006 09:48:17 -0700 Subject: [AccessD] Developer Extensions References: <200607141310.k6EDAPR09149@ultradnt.com> Message-ID: <003601c6a765$4f3cadb0$6401a8c0@BPCS> I believe that if you have the XP or 2K developer edition, there is a separate shortcut for the packaging wizard that will let you point it to an MDE. Bill ----- Original Message ----- From: "Steve Conklin" To: "'Access Developers discussion and problem solving'" Sent: Friday, July 14, 2006 6:10 AM Subject: Re: [AccessD] Developer Extensions It depends on which Access version. 2002 and back required starting the package wizard from the VBE (in the Add-Ins menu) so it had to be an MDB - there is no VBE in an MDE. Since 2003 uses VSTO, a completely separate product, you _can_ package MDE's. As for the older versions, although the documentation says you can't do it, you can package your MDB, then create an MDE based on the MDB. Create an empty MDB with the same name as the original, and replace your orignal MDB in the pkg with the empty (don't lose the source MDB of course). Add an AutoExec in the empty MDB that opens the MDE then quits, so the wizard generated shortcut will still work, and your MDE will be what the user runs. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Friday, July 14, 2006 8:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Developer Extensions Hi Everyone, I thought (incorrectly) that the packaging wizard actually took the application and made an mde type of file, then packaged the application for installation. I found out that it still uses an .mdb file. If I make an mde and then package the application, that is the way to go? I have several applications that I am writing once and selling multiple times to customer, (finally), and do not want the code accessible. Is this the only way to go? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 14 12:02:19 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Jul 2006 19:02:19 +0200 Subject: [AccessD] Finally got to meet Shamil Message-ID: Hi Mark Thanks for this "postcard" from St. Petersburg! It's perfectly in line with the impression I got when visiting Shamil and his friend Alexander a few years ago. Hope some day to have the opportunity to visit the city again and refresh the good memories. /gustav >>> marklbreen at gmail.com 13-07-2006 16:06:18 >>> Hello Guys, This may be OT but as Shamil is helping on this list since 1997, hopefully you will excuse me for posting this here. I am just back from my trip to Eastern Europe by motorcycle. One of the best parts of the three week trip was I got to meet our friend Shamil in St. Petersburg. I did not just get to meet him, he offered me accommadation which I graciously accepted. He then proceeded to be one of the best hosts a visitor could have. It had the oppertunity to live as a tourist in the day time, and then to join Shamil's family life in the evening, this was the best part for me. On the Sunday night before I left Russia, I had the really great experience of visiting Shamils Datcha (country house). His beautiful family put on a feast, literally a full sized table full of food. We stayed up until late, talking and drinking vodka. He then, kindly offered to get up at 04:30 and bring me to the train station. Shamil, thank you for your hospitality and I hope to see you in Ireland some time. In the meantime guys, get over to St Petersburg. It is a beautiful city, I mean really beautiful. The people I encountered were all kind, friendly, although English is not too common. I felt 100% safe at all times, in fact, it felt almost safer than some places I have been in London or New York. Another point I have to mention, the Russian people I saw in the entire city of St Petersburg are so glamourous, it was more like being in Paris than what we were told in school. All I can say is get over there and experience it for yourself, it will change you idea of what Mother Russia is like forever. Shamil, thank you for making it the highlight of my entire trip. Mark Breen Ireland From prosoft6 at hotmail.com Fri Jul 14 12:15:29 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 14 Jul 2006 13:15:29 -0400 Subject: [AccessD] Developer Extensions In-Reply-To: <44B7B94E.1030600@shaw.ca> Message-ID: Thank you to all of you who answered my questions. I appreciate the ideas.............all excellent! I am definitely looking into the Ultra Mobile PC and have already downloaded the development kit. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From martyconnelly at shaw.ca Fri Jul 14 12:30:40 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 10:30:40 -0700 Subject: [AccessD] Opening password protected database In-Reply-To: <44B7C9CB.20500@san.rr.com> References: <44B7C9CB.20500@san.rr.com> Message-ID: <44B7D4C0.6040203@shaw.ca> You need a colon to dummy out first database type parameter in syntax Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, ";pwd=abc") examples Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, " FoxPro 2.5;pwd=abc") or Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, "MS Access;pwd=abc") However in the DAO documentation, that in case of Microsoft Jet one shouldn't specify the database type. Look it up in C:\Program Files\Common Files\Microsoft Shared\DAO\DAO35.HLP Rocky Smolin - Beach Access Software wrote: >Dear List: > >I am trying to open a password protected database using the following: > >Set db = CurrentDb >MsgBox db.Name >Dim strPWD As String >strPWD = "shannon" >Dim strDB As String >strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" >Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > >Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > >I used Set db = CurrentDb just to be sure I was getting the exact path >and file name of the back end and strDB does indeed have the correct >path and filename of the back end. The password is also correct. > >What am I doing wrong? > >Maybe there's a simpler way? The client wants to have the back end >password protected, so instead of using the simple set db=Currentdb >everywhere in the app I guess I have to use some syntax which specifies >the password. All the tables in the back end are linked. > >MTIA > >Rocky > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Fri Jul 14 12:37:24 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 13:37:24 -0400 Subject: [AccessD] Opening password protected database In-Reply-To: <44B7C9CB.20500@san.rr.com> Message-ID: <200607141737.k6EHbNR43756@ultradnt.com> My way of doing it is: stConn = "MS Access;PWD=st at r_w@rs;DATABASE=" & stNewBE But I onlyh need that on the re-link ... You can execute items againts currentdb w/o the password, as long as the pwd is already in the tdef.connection. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 12:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] Opening password protected database Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Jul 14 12:38:59 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 14 Jul 2006 21:38:59 +0400 Subject: [AccessD] Meet VBA's Replacement References: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> Message-ID: <001a01c6a76c$66c8a590$6401a8c0@Nant> Ken -- Did you read here about this 10+ seconds start-up trouble when automating MS Word, MS Access, ... from VB.NET (VS2005) with early binding i.e. with Primary Interop Assemblies referenced? I did try VSTO 2005 - the same trouble when debugging add-ins or starting host applications (MS Word,...) with VB.NET add-ins - it could take up to 10 second then to start host application - what MS thinks about that anybody has an answer here or there? How it comes they released such software? Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my trouble only? As far as I can remember VSTO2003 worked considerably quicker on start-up. Can anybody try with MS Office 2007 Beta - maybe they did something with it and it will work OK when automated from VB.NET or with add-ins written in VB.NET? And I mean start-up time only - when it passed start-up initialization (Primary Interop Assemblies Loading/Initialization?) then it works OK... <<< Microsoft will continue to support VBA indefinitely. >>> Yes, and COM (Common Object Model) will be here indefinitely until MS Windows will be alive. And therefore VB6 runtime will be here indefinitely.... Shamil ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Friday, July 14, 2006 8:39 PM Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------------------- Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jul 14 12:15:59 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Jul 2006 19:15:59 +0200 Subject: [AccessD] CDOSYS Message-ID: Hi Max In addition, I can recommend the controls from Chilkat, though not free: http://www.chilkatsoft.com/products.asp Note the IMAP component. Also, the support is excellent. /gustav >>> max at sherman.org.uk 13-07-2006 20:30:59 >>> Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max From cfoust at infostatsystems.com Fri Jul 14 12:42:22 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Jul 2006 10:42:22 -0700 Subject: [AccessD] : Re: Demise of VBA In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9C@corp-es01.fleetpride.com> Message-ID: >> Whether or not this just leads to a proliferation of bad databases only time will tell. Time has already told. MS has been riding this hobby horse all the way back to version 1.0 and they pay lip service to the need for relational understanding but they don't really seem to believe it in the context of Access. That noise you hear is countless qualified Access database developers beating their heads against the MS wall! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, July 14, 2006 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] : Re: Demise of VBA My strong impression is that Microsoft in the new Access version is going to great lengths to make Access more Accessible (no pun intended) to end users. In their heart of hearts I believe they think if they only can "build it (more user friendly) they will come". Whether or not this just leads to a proliferation of bad databases only time will tell. Unlike Excel, which everyone can use out of the box, you really need to know something about relational databases before you charge off and build one. The new version will come with many example apps so maybe this will suffice, who knows? Jim Hale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 13, 2006 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] : Re: Demise of VBA On 13 Jul 2006 at 16:38, Susan Harkins wrote: > I found the switch from Excel Basic to VBA difficult. Now, Access > Basic and > VBA were like peas in a pod, but Excel? I never have gotten the hang > of using VBA in Excel and I've pretty much stopped trying. ISTM that Visual Basic for Applications in Word and Excel are overkill. There is a fundamental difference between Access and Word/Excel. Word is a tool for creating documents and Excel is a tool for creating spreadsheets. A document or a spreadsheet are useful objects in their own right and Word and Excel are *end user* tools for creating them. A database has no value without an application to utilise it's contents. Despite what MS would like everyone to think, Access is a *developer* tool not an end user tool. Because it comes with its own database engine (Jet), it can also be used as a database manager and that's as far as a lot of users ever get with it but it is primarily an application development tool. From bchacc at san.rr.com Fri Jul 14 12:43:08 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 10:43:08 -0700 Subject: [AccessD] Opening password protected database In-Reply-To: <44B7D4C0.6040203@shaw.ca> References: <44B7C9CB.20500@san.rr.com> <44B7D4C0.6040203@shaw.ca> Message-ID: <44B7D7AC.8050508@san.rr.com> Marty: Thanks. It worked with the semi-colon in front of pwd. Regards, Rocky MartyConnelly wrote: > You need a colon to dummy out first database type parameter in syntax > > Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, ";pwd=abc") > > examples > > Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, " FoxPro > 2.5;pwd=abc") > or > > Set myDatabase = DBEngine.OpenDatabase(mydbPath, False, False, "MS > Access;pwd=abc") > > However in the DAO documentation, that in case of Microsoft Jet one > shouldn't specify the > database type. Look it up in > > C:\Program Files\Common Files\Microsoft Shared\DAO\DAO35.HLP > > > Rocky Smolin - Beach Access Software wrote: > > >> Dear List: >> >> I am trying to open a password protected database using the following: >> >> Set db = CurrentDb >> MsgBox db.Name >> Dim strPWD As String >> strPWD = "shannon" >> Dim strDB As String >> strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" >> Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) >> >> >> Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) >> >> I used Set db = CurrentDb just to be sure I was getting the exact path >> and file name of the back end and strDB does indeed have the correct >> path and filename of the back end. The password is also correct. >> >> What am I doing wrong? >> >> Maybe there's a simpler way? The client wants to have the back end >> password protected, so instead of using the simple set db=Currentdb >> everywhere in the app I guess I have to use some syntax which specifies >> the password. All the tables in the back end are linked. >> >> MTIA >> >> Rocky >> >> >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From rl_stewart at highstream.net Fri Jul 14 12:44:12 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 14 Jul 2006 13:44:12 -0400 Subject: [AccessD] HELP!! fastest way to execute sql In-Reply-To: References: Message-ID: <1152899052.44b7d7ecccee8@webmail.highstream.net> Mark, Yes, you can do a wild card in SQL Server and Oracle. Those are the two that I have the experience in. Except for the specific wildcard character, the syntax that I sent you before would work on both of them. How big can your memo field be? With SQL Server, you can do a varchar of 8000. Would it be bigger than that? There is a CAST function in SQL Server that would allow me to change the type of the data to varchar(8000) so I could use it if there was not going to be more than that in it. Assuming there would be more, see below. The error you are getting seems to be a limitation of Informix. You might have to get the DBAs to create a stored proc/view for you that breaks the memo field up into smaller chunks so you can search each chunk. Then you would use something like this: SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 FROM vinformix_ps_rc_case_note WHERE (DescChunk1 Like "%night%") OR (DescChunk2 Like "%night%") OR (DescChunk3 Like "%night%") OR (DescChunk4 Like "%night%") The view would be something like this: CREATE VIEW vinformix_ps_rc_case_note AS SELECT case_id, substring(rc_descrlong,1,4000) AS DescChunk1, substring(rc_descrlong,4001,4000) AS DescChunk1, substring(rc_descrlong,8001,4000) AS DescChunk1, substring(rc_descrlong,12001,4000) AS DescChunk1, FROM informix_ps_rc_case_note The stored proc would use the view and get parameters for each chunk. CREATE PROCEDURE uspGetData @Word varchar(30) AS SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 FROM vinformix_ps_rc_case_note WHERE (DescChunk1 Like "%" + @Word + & "%") OR (DescChunk2 Like "%" + @Word + & "%") OR (DescChunk3 Like "%" + @Word + & "%") OR (DescChunk4 Like "%" + @Word + & "%") You would need to do as many "chunks" as it would take to get all of the data. You would call the stored proc from an Access pass through query like this: EXE uspGetData "night" You would just replace the word night each time. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Fri, 14 Jul 2006 16:02:27 +0000 > From: "Mark A Matte" > Subject: Re: [AccessD] HELP!! fastest way to execute sql > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > This problem just seems to grow. I have written the passthough query...but > Informix says I cannot use a wild card on this type of > field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are > lost to(but trying to look)...so...2 questions: > 1. Anyone know how to search TEXT fields on informix with a wildcard? > 2. Can you do this on an SQL or MYSQL db? > > Desperately begging, > > Mark A. Matte > > P.S...The error on the passthrough surprised me because I know I have done > this type of search on informix before...so I called the DBA and had them > watch what SQL was actually executed. If they run the same SQL on the > server that I use in the Passthrough...they get the same error I do...but if > I just use a select query against a linked table...I get > results(unfortunately this takes a very long time...forever)...now I know > why. Using a select query to linked table: > SELECT informix_ps_rc_case_note.case_id, > informix_ps_rc_case_note.rc_descrlong > FROM informix_ps_rc_case_note > WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); > > When I execute this in A97 or A2K...this is what hits the server: > SELECT informix_ps_rc_case_note.case_id, > informix_ps_rc_case_note.rc_descrlong > FROM informix_ps_rc_case_note; > Either access or informix ignores my where clause...but access returns the > correct records. > > Any ideas, thoughts, comments, suggestions? From cfoust at infostatsystems.com Fri Jul 14 12:45:28 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Jul 2006 10:45:28 -0700 Subject: [AccessD] HELP!! fastest way to execute sql In-Reply-To: Message-ID: Passthrough queries have to use the syntax for the database doing the processing. In SQL Server, you use the SQL/ADO wildcards, but as I recall, you couldn't do this on a memo field in SQL 7, although I could be mistaken. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, July 14, 2006 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP!! fastest way to execute sql This problem just seems to grow. I have written the passthough query...but Informix says I cannot use a wild card on this type of field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are lost to(but trying to look)...so...2 questions: 1. Anyone know how to search TEXT fields on informix with a wildcard? 2. Can you do this on an SQL or MYSQL db? Desperately begging, Mark A. Matte P.S...The error on the passthrough surprised me because I know I have done this type of search on informix before...so I called the DBA and had them watch what SQL was actually executed. If they run the same SQL on the server that I use in the Passthrough...they get the same error I do...but if I just use a select query against a linked table...I get results(unfortunately this takes a very long time...forever)...now I know why. Using a select query to linked table: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); When I execute this in A97 or A2K...this is what hits the server: SELECT informix_ps_rc_case_note.case_id, informix_ps_rc_case_note.rc_descrlong FROM informix_ps_rc_case_note; Either access or informix ignores my where clause...but access returns the correct records. Any ideas, thoughts, comments, suggestions? >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] fastest way to execute sql >Date: Fri, 14 Jul 2006 08:37:41 -0400 > >Mark, > >Actually, it is very simple. > >You will need to know the general syntack for the backend database, but >it should be something like this: > >Set the query type as passthrough. > >SELECT * >FROM MyTable >WHERE MyMemoField LIKE '%TheWord%' OR MyMemoField LIKE '%AnotherWord%' > >Open the query properties. >Set the ODBC string. >Set the timeout to 0. This will let it run until it completes. > >This will let the server to run the query and it will return only the >results back to Access, not all 1.2 mil rows. > >If you want the results in an Access table, then you can use this query >as the source for a make table or append query. > >NOTE: The synatx I used above is generic. You might have to use " >instead of '. The % is the wild card for SQL Server like the * is for >Access. It might be different in Informix. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Thu, 13 Jul 2006 20:32:59 +0000 > > From: "Mark A Matte" > > Subject: Re: [AccessD] fastest way to execute sql > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > Robert, > > > > Thanks for the feedback...I have never used pass-throughs...here is > > my scenario. Access db connected to Informix via ODBC. I need to > > do some fuzzy/wildcard searches against a number of memo/blob > > fields. I have >tried > > to do these types of searches in the past on the linked tables with > > no success(time outs or just never finishes). I typically pull > > ALL(1.2 >mil) > > records from the needed table and then do the fuzzy/wildcard > > searches on local tables. This has been the only way I got the info > > needed. In >this > > scenario, would your suggestion still apply...and if so, do you mean >create > > my fuzzy/wildcard searches as a pass-through...and then use the >pass-through > > as the source in another query to append to a local table? > > > > Thanks, > > > > Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Jul 14 12:46:50 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 14 Jul 2006 13:46:50 -0400 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEDF4C@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356C4@ADGSERVER> Rocky, Try changing "pwd=" to ";pwd=". Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 12:44 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Opening password protected database Importance: Low Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky From bheid at appdevgrp.com Fri Jul 14 12:48:45 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 14 Jul 2006 13:48:45 -0400 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEDF4C@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> Did not read all of the email. If the tables in the BE are linked, then you can use CurrentDB. You only have to use the Opendatabse method if you are opening the BE directly. Now, you will have to use the password when linking the tables. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 12:44 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Opening password protected database Importance: Low Dear List: I am trying to open a password protected database using the following: Set db = CurrentDb MsgBox db.Name Dim strPWD As String strPWD = "shannon" Dim strDB As String strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) I used Set db = CurrentDb just to be sure I was getting the exact path and file name of the back end and strDB does indeed have the correct path and filename of the back end. The password is also correct. What am I doing wrong? Maybe there's a simpler way? The client wants to have the back end password protected, so instead of using the simple set db=Currentdb everywhere in the app I guess I have to use some syntax which specifies the password. All the tables in the back end are linked. MTIA Rocky From bchacc at san.rr.com Fri Jul 14 12:49:41 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 10:49:41 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356C4@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356C4@ADGSERVER> Message-ID: <44B7D935.7000907@san.rr.com> That done it. Rocky Bobby Heid wrote: > Rocky, > > Try changing "pwd=" to ";pwd=". > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 12:44 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Opening password protected database > Importance: Low > > > Dear List: > > I am trying to open a password protected database using the following: > > Set db = CurrentDb > MsgBox db.Name > Dim strPWD As String > strPWD = "shannon" > Dim strDB As String > strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" > Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > > Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > > I used Set db = CurrentDb just to be sure I was getting the exact path > and file name of the back end and strDB does indeed have the correct > path and filename of the back end. The password is also correct. > > What am I doing wrong? > > Maybe there's a simpler way? The client wants to have the back end > password protected, so instead of using the simple set db=Currentdb > everywhere in the app I guess I have to use some syntax which specifies > the password. All the tables in the back end are linked. > > MTIA > > Rocky > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From ewaldt at gdls.com Fri Jul 14 12:53:53 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Fri, 14 Jul 2006 13:53:53 -0400 Subject: [AccessD] Access unable to access information in Excel Message-ID: I export Access data into a generic Excel spreadsheet. I then open an Excel template linked to that spreadsheet, so that the data shows up where I want it (This is from Roger's web site). Then I save the file as a regular spreadsheet. This is all done from Access. I then break the links when the workbook is first opened. So far so good. When I try to re-import the data into Access, I get the message: "The wizard is unable to access information in the file 'C:\My Documents\2442.AFES Crew Compartment.xls'. Please check that the file exists and is in the correct format." I get the same message when I try to link to it. Microsoft's web site says some ISAM file is missing, causing this. However, it is ONLY the files created in this way that Access can't handle. It has no problem with other Excel files, including the generic one that is created first. Any ideas? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From bchacc at san.rr.com Fri Jul 14 13:02:26 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 14 Jul 2006 11:02:26 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> Message-ID: <44B7DC32.3010106@san.rr.com> Bobby: I tried using set db = Currentdb after putting the password on the back end and got an 'invalid password' error when opening the first recordset to a linked table. Rocky Bobby Heid wrote: > Did not read all of the email. > > If the tables in the BE are linked, then you can use CurrentDB. You only > have to use the Opendatabse method if you are opening the BE directly. > > Now, you will have to use the password when linking the tables. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 12:44 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Opening password protected database > Importance: Low > > > Dear List: > > I am trying to open a password protected database using the following: > > Set db = CurrentDb > MsgBox db.Name > Dim strPWD As String > strPWD = "shannon" > Dim strDB As String > strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" > Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > > Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > > I used Set db = CurrentDb just to be sure I was getting the exact path > and file name of the back end and strDB does indeed have the correct > path and filename of the back end. The password is also correct. > > What am I doing wrong? > > Maybe there's a simpler way? The client wants to have the back end > password protected, so instead of using the simple set db=Currentdb > everywhere in the app I guess I have to use some syntax which specifies > the password. All the tables in the back end are linked. > > MTIA > > Rocky > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From markamatte at hotmail.com Fri Jul 14 13:05:36 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 14 Jul 2006 18:05:36 +0000 Subject: [AccessD] HELP!! fastest way to execute sql In-Reply-To: <1152899052.44b7d7ecccee8@webmail.highstream.net> Message-ID: Thanks for the responses. I did a len() on some of the records I have locally...and some of the fields are over 8000. How big of a field can you have in SQL Server...and can you still search with wild cards? My dba's are looking for an informix solution...so I will pass along the suggestion below. I found on IBMs site that you cannot do any comparison condition on a TEXT field other than IS NULL and IS NOT NULL.(I now hate informix) ALL ideas are graciously accepted at this point(no matter how out there)... Thanks again for everything, Mark A. Matte >From: "Robert L. Stewart" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >CC: markamatte at hotmail.com >Subject: Re: [AccessD] HELP!! fastest way to execute sql >Date: Fri, 14 Jul 2006 13:44:12 -0400 > >Mark, > >Yes, you can do a wild card in SQL Server and Oracle. Those are the two >that I >have the experience in. Except for the specific wildcard character, the >syntax >that I sent you before would work on both of them. > >How big can your memo field be? With SQL Server, you can do a varchar of >8000. >Would it be bigger than that? There is a CAST function in SQL Server that >would >allow me to change the type of the data to varchar(8000) so I could use it >if >there was not going to be more than that in it. Assuming there would be >more, >see below. > >The error you are getting seems to be a limitation of Informix. You might >have >to get the DBAs to create a stored proc/view for you that breaks the memo >field >up into smaller chunks so you can search each chunk. > >Then you would use something like this: > >SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 >FROM vinformix_ps_rc_case_note >WHERE (DescChunk1 Like "%night%") > OR (DescChunk2 Like "%night%") > OR (DescChunk3 Like "%night%") > OR (DescChunk4 Like "%night%") > > >The view would be something like this: > >CREATE VIEW vinformix_ps_rc_case_note >AS >SELECT case_id, > substring(rc_descrlong,1,4000) AS DescChunk1, > substring(rc_descrlong,4001,4000) AS DescChunk1, > substring(rc_descrlong,8001,4000) AS DescChunk1, > substring(rc_descrlong,12001,4000) AS DescChunk1, >FROM informix_ps_rc_case_note > >The stored proc would use the view and get parameters for each chunk. > >CREATE PROCEDURE uspGetData > @Word varchar(30) >AS >SELECT case_id, DescChunk1, DescChunk2, DescChunk3, DescChunk4 >FROM vinformix_ps_rc_case_note >WHERE (DescChunk1 Like "%" + @Word + & "%") > OR (DescChunk2 Like "%" + @Word + & "%") > OR (DescChunk3 Like "%" + @Word + & "%") > OR (DescChunk4 Like "%" + @Word + & "%") > >You would need to do as many "chunks" as it would take to get all of the >data. > >You would call the stored proc from an Access pass through query like this: > >EXE uspGetData "night" > >You would just replace the word night each time. > >Robert L. Stewart >The Dyson Group International >Software for the Non-profit Enterprise >Expanding your Sphere of Knowledge > > >Quoting accessd-request at databaseadvisors.com: > > > Date: Fri, 14 Jul 2006 16:02:27 +0000 > > From: "Mark A Matte" > > Subject: Re: [AccessD] HELP!! fastest way to execute sql > > To: accessd at databaseadvisors.com > > Message-ID: > > Content-Type: text/plain; format=flowed > > > > This problem just seems to grow. I have written the passthough >query...but > > Informix says I cannot use a wild card on this type of > > field(TEXT,LONGCHAR,BLOB,MEMO). I have contacted the DBA...and they are > > lost to(but trying to look)...so...2 questions: > > 1. Anyone know how to search TEXT fields on informix with a wildcard? > > 2. Can you do this on an SQL or MYSQL db? > > > > Desperately begging, > > > > Mark A. Matte > > > > P.S...The error on the passthrough surprised me because I know I have >done > > this type of search on informix before...so I called the DBA and had >them > > watch what SQL was actually executed. If they run the same SQL on the > > server that I use in the Passthrough...they get the same error I >do...but if > > I just use a select query against a linked table...I get > > results(unfortunately this takes a very long time...forever)...now I >know > > why. Using a select query to linked table: > > SELECT informix_ps_rc_case_note.case_id, > > informix_ps_rc_case_note.rc_descrlong > > FROM informix_ps_rc_case_note > > WHERE (((informix_ps_rc_case_note.rc_descrlong) Like "*night*")); > > > > When I execute this in A97 or A2K...this is what hits the server: > > SELECT informix_ps_rc_case_note.case_id, > > informix_ps_rc_case_note.rc_descrlong > > FROM informix_ps_rc_case_note; > > Either access or informix ignores my where clause...but access returns >the > > correct records. > > > > Any ideas, thoughts, comments, suggestions? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From max at sherman.org.uk Fri Jul 14 13:05:04 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 14 Jul 2006 19:05:04 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aREQycA Message-ID: <000e01c6a770$09bbdbc0$e26b1152@Server> Thanks, Gustav I will check that out. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 14 July 2006 18:16 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max In addition, I can recommend the controls from Chilkat, though not free: http://www.chilkatsoft.com/products.asp Note the IMAP component. Also, the support is excellent. /gustav >>> max at sherman.org.uk 13-07-2006 20:30:59 >>> Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Jul 14 13:13:46 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 13:13:46 -0500 Subject: [AccessD] Meet VBA's Replacement Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDD9D@corp-es01.fleetpride.com> http://www.computerbooksdirect.com/doc/browse/detail/product_detail.jhtml?re positoryId=082698B430 Also, here is the link to the book that started this thread "From VBA to VSTO" Jim Hale -----Original Message----- From: Kenneth Ismert [mailto:kismert at sbcglobal.net] Sent: Friday, July 14, 2006 11:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------- ------------ Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Fri Jul 14 13:32:54 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 11:32:54 -0700 Subject: [AccessD] Demise of VBA In-Reply-To: References: Message-ID: <44B7E356.6070403@shaw.ca> I remember C code builds 3000 lines on DOS 3.1 and PC-XT taking 5 minutes Nothing is really new. Charlotte Foust wrote: >I haven't tested your code, but I'll testify to the fact that VS2005 is >a huge resource hog. I'm getting a new machine because a build in our >(admittedly large) winForms solution takes 5 minutes or more on my >machine before I can even test. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil >Salakhetdinov >Sent: Wednesday, July 12, 2006 1:28 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Demise of VBA > >Hi All, > >I think this sample code below would be within the topic of this thread >- try to run this VB.NET MS Word Automation code in VS2005 with a >reference set to the MS Word Primary Interop Assembly - it takes 10+ >second just to start on my PC (and similar VBA code starts MS Word >instantly) - I wonder how quick this VB.NET simple sample works on your >PCs? If it will take the same 10+ second just to start-up will you >consider to use VB.NET for MS Office Automation? > >Note: If you use this code with WinForms application then subsequent >after first MS Word activation calls to start another instance of MS >Word will be instant but imagine the usual development/testing scenario >when you start/debug/stop/restart/... your application many times - how >about these >10+ seconds to wait every time you restart your app/debug session? (Or >10+ this >bad side effect happens on my PC only?) > >Imports Word = Microsoft.Office.Interop.Word > >Module Module1 > Private Function StartApp( _ > ByVal strProgID As String) As Object > Dim oTmp As Object > On Error Resume Next > > oTmp = GetObject(, strProgID) > If Err.Number <> 0 Then > oTmp = CreateObject(strProgID) > End If > StartApp = oTmp > End Function > > Private Sub TestEarlyBound() > Dim app As Word.Application > app = StartApp("Word.Application") > app.Visible = True > app.Activate() > End Sub > > Sub Main() > Dim ds As DateTime = DateTime.Now > Dim de As DateTime > Console.WriteLine("Program started at {0} ", ds.ToString()) > TestEarlyBound() > de = DateTime.Now > Console.WriteLine("Program finished at {0} ", de.ToString()) > Console.WriteLine("Press any key to continue...") > Console.ReadLine() > End Sub > >End Module > >Shamil > >P.S. When late binding is used then similar VB.NET MS Office Automation >code works instantly here.... > >----- Original Message ----- >From: "Susan Harkins" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, July 12, 2006 11:47 PM >Subject: Re: [AccessD] Demise of VBA > > > > >>>From a business perspective, it doesn't sound like good judgment does >> >> >it? > > >>Why spend the revenue and manpower to replace what you've already got? >> >> >You > > >>only need to look to GM to see what happens when you do that. >> >>Susan H. >> >>...just my opinion of course ...and experience near the top of the >> >> >food > > >>chain where evangelists almost always lose to the bottom line ...a >> >> >bottom > > >>line that greatly favors a new generation of vba. >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Fri Jul 14 13:47:29 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Jul 2006 14:47:29 -0400 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> Message-ID: <200607141847.k6EIlSR52075@ultradnt.com> VSTO 2005, like 2003, only works with Word & Excel. The beta of VSTO v3 (2007) apparently finally supports Access (version 2007, not 2003). I have looked at the Office 2007 beta and it has VBA, so apparently, my wish for the last 4 years, a version of Office that will have both VBA and VSA.net (that was the name earlier this millenium), will be realized. As they are creating a "bridge" Office version, 2007, that has both, we really have until about 2010 to become experts in VSTO ... No complaints here. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Friday, July 14, 2006 12:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ---------------------------------------------------------------------------- ------------ Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto20 05_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jul 14 14:00:22 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Jul 2006 12:00:22 -0700 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <001a01c6a76c$66c8a590$6401a8c0@Nant> Message-ID: >From what I see every day, VS2005 limps, even without trying to automate anything. The runtime build is OK, but the compiled build a developer works with is SLOW! VS2003 was considerably faster and didn't have all the layers of help, on-line-thus and-such, loading every weapon in the arsenal as soon as you open a designer, etc., etc. There's a lot not to like in VS2005, and it's only partially offset by the new methods and features. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, July 14, 2006 10:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet VBA's Replacement Ken -- Did you read here about this 10+ seconds start-up trouble when automating MS Word, MS Access, ... from VB.NET (VS2005) with early binding i.e. with Primary Interop Assemblies referenced? I did try VSTO 2005 - the same trouble when debugging add-ins or starting host applications (MS Word,...) with VB.NET add-ins - it could take up to 10 second then to start host application - what MS thinks about that anybody has an answer here or there? How it comes they released such software? Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my trouble only? As far as I can remember VSTO2003 worked considerably quicker on start-up. Can anybody try with MS Office 2007 Beta - maybe they did something with it and it will work OK when automated from VB.NET or with add-ins written in VB.NET? And I mean start-up time only - when it passed start-up initialization (Primary Interop Assemblies Loading/Initialization?) then it works OK... <<< Microsoft will continue to support VBA indefinitely. >>> Yes, and COM (Common Object Model) will be here indefinitely until MS Windows will be alive. And therefore VB6 runtime will be here indefinitely.... Shamil ----- Original Message ----- From: "Kenneth Ismert" To: Sent: Friday, July 14, 2006 8:39 PM Subject: [AccessD] Meet VBA's Replacement Well, here is Microsoft's explicit replacement for VBA -- it's called VSTA. Here are some links and exerpts. This will give you a much clearer idea how VSTA/VSTO will replace VBA, and the migration paths offered. VBA will have legacy support in Vista (as well as the VB6 runtime, and DOS), but it looks like no new products with be shipped with it, beyond Office 2007. -Ken Visual Studio Tools for Applications -- Announcement http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx Visual Studio Tools for Applications -- Blog http://blogs.msdn.com/vsta/default.aspx Microsoft Visual Studio 2005 Tools for Applications http://msdn.microsoft.com/vstudio/extend/vsta/ VSTA Fills an Important Niche for MS http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 ---------------------------------------------------------------------- You will see a handful of important differences between VSTA and its VBA predecessor. First, you'll be able to program against VSTA using Visual Basic and C#; VBA, as its name suggested, could be programmed against only with Visual Basic. Second, implementations you create with VSTA will sit side-by-side with VBA-created solutions; they do not interact in any way. If you have an application that integrates VBA, you need to upgrade the application to VSTA to take advantage of VSTA in that application. KD cautioned that the upgrade experience of moving to VSTA from VBA will be considerably easier than moving from VB to VB.NET, saying that Microsoft learned quite a bit from watching customer efforts to migrate their applications to .NET previously, knowledge that will make it easier to make a transition this time around. Artinsoft, the company that provides the VB-to-.NET porting tools in Visual Studio .NET, is also listed as an early adopter of VSTA, and will play a similar role in helping companies move their applications forward from VBA to .NET. Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 ------------------------------------------------------------------- Microsoft also plans to release in late 2006 an enhanced .NET application customization technology extended for the 64-bit environment called Visual Studio Tools for Application, the successor to Visual Basic for Applications, said KD Hallman, general manager for Visual Studio Tools for Applications and Office and VB.NET. The VSTA IDE and run-time engine, which will ship in the second half of 2006, can be licensed and embedded in applications ISVs and systems integrators develop. VBA solved many problems but did not allow applications to scale up the enterprise, she said, adding that Microsoft will continue to support VBA indefinitely. VSTO can be used with Office but VSTA can be used by any application developed by ISVs or systems integrators, she said. Microsoft will use the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft said. Microsoft Announces VSTA and VSTO 3.0 at PDC05 http://www.hunterstrat.com/news/category/tools/vsto/ VSTO links: ------------------------------------------------------------------------ ---------------- Migrating from VBA to .NET/VSTO - Where to Start http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx Nine Compelling Reasons to Move From VBA to VSTO 2005 http://www.devx.com/OfficeProDev/Article/28088 Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vs to2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 Tools for Office http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vs to2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Jul 14 14:36:44 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 12:36:44 -0700 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <001a01c6a76c$66c8a590$6401a8c0@Nant> References: <20060714163925.90752.qmail@web81804.mail.mud.yahoo.com> <001a01c6a76c$66c8a590$6401a8c0@Nant> Message-ID: <44B7F24C.5050405@shaw.ca> I ran this code with VB 2005 Express vs Office 2007 Word just had to set a .Net reference to MS.Word.interop. Didn't need installed PIA's. It takes 45 seconds to run initially. Partly due to VB express phoning home to MS. If I was running Access 2003 to Automate word on this machine it would be 20-30 seconds to start up Word. If I rerun a debug session it takes 5 or 6 seconds If I don't close Word session, it takes less than 1 second. However I do get this warning message in debug. Don't know the cause. A first chance exception of type 'System.Exception' occurred in Microsoft.VisualBasic.dll I am running on a laptop 1.8 ghz and 512 Ram plus I had IE and internet radio station running at same time. Listening to BBC on Lebanon crisis. Shamil Salakhetdinov wrote: >Ken -- > >Did you read here about this 10+ seconds start-up trouble when automating MS >Word, MS Access, ... from VB.NET (VS2005) with early binding i.e. with >Primary Interop Assemblies referenced? > >I did try VSTO 2005 - the same trouble when debugging add-ins or starting >host applications (MS Word,...) with VB.NET add-ins - it could take up to 10 >second then to start host application - what MS thinks about that anybody >has an answer here or there? > >How it comes they released such software? >Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my trouble only? > >As far as I can remember VSTO2003 worked considerably quicker on start-up. > >Can anybody try with MS Office 2007 Beta - maybe they did something with it >and it will work OK when automated from VB.NET or with add-ins written in >VB.NET? > >And I mean start-up time only - when it passed start-up initialization >(Primary Interop Assemblies Loading/Initialization?) then it works OK... > ><<< >Microsoft will continue to support VBA indefinitely. > > >Yes, and COM (Common Object Model) will be here indefinitely until MS >Windows will be alive. >And therefore VB6 runtime will be here indefinitely.... > >Shamil > >----- Original Message ----- >From: "Kenneth Ismert" >To: >Sent: Friday, July 14, 2006 8:39 PM >Subject: [AccessD] Meet VBA's Replacement > > > >Well, here is Microsoft's explicit replacement for VBA -- it's called >VSTA. > >Here are some links and exerpts. This will give you a much clearer idea >how VSTA/VSTO will replace VBA, and the migration paths offered. > >VBA will have legacy support in Vista (as well as the VB6 runtime, and >DOS), but it looks like no new products with be shipped with it, beyond >Office 2007. > >-Ken > >Visual Studio Tools for Applications -- Announcement >http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx > > >Visual Studio Tools for Applications -- Blog >http://blogs.msdn.com/vsta/default.aspx > > >Microsoft Visual Studio 2005 Tools for Applications >http://msdn.microsoft.com/vstudio/extend/vsta/ > > >VSTA Fills an Important Niche for MS >http://www.ftponline.com/weblogger/forum.aspx?id=6&Date=09/15/2005#438 >---------------------------------------------------------------------- >You will see a handful of important differences between VSTA and its >VBA predecessor. First, you'll be able to program against VSTA using >Visual Basic and C#; VBA, as its name suggested, could be programmed >against only with Visual Basic. Second, implementations you create with >VSTA will sit side-by-side with VBA-created solutions; they do not >interact in any way. If you have an application that integrates VBA, >you need to upgrade the application to VSTA to take advantage of VSTA >in that application. KD cautioned that the upgrade experience of moving >to VSTA from VBA will be considerably easier than moving from VB to >VB.NET, saying that Microsoft learned quite a bit from watching >customer efforts to migrate their applications to .NET previously, >knowledge that will make it easier to make a transition this time >around. Artinsoft, the company that provides the VB-to-.NET porting >tools in Visual Studio .NET, is also listed as an early adopter of >VSTA, and will play a similar role in helping companies move their >applications forward from VBA to .NET. > > >Microsoft Debuts Expression, Visual Studio for Apps and C# 3.0 >http://www.crn.com/sections/custom/custom.jhtml?articleId=170703326 >------------------------------------------------------------------- >Microsoft also plans to release in late 2006 an enhanced .NET >application customization technology extended for the 64-bit >environment called Visual Studio Tools for Application, the successor >to Visual Basic for Applications, said KD Hallman, general manager for >Visual Studio Tools for Applications and Office and VB.NET. > >The VSTA IDE and run-time engine, which will ship in the second half of >2006, can be licensed and embedded in applications ISVs and systems >integrators develop. VBA solved many problems but did not allow >applications to scale up the enterprise, she said, adding that >Microsoft will continue to support VBA indefinitely. > >VSTO can be used with Office but VSTA can be used by any application >developed by ISVs or systems integrators, she said. Microsoft will use >the IDE an run-time in Office 12 and the InfoPath 12 server, Microsoft >said. > > >Microsoft Announces VSTA and VSTO 3.0 at PDC05 >http://www.hunterstrat.com/news/category/tools/vsto/ > > >VSTO links: >---------------------------------------------------------------------------------------- >Migrating from VBA to .NET/VSTO - Where to Start >http://blogs.officezealot.com/chris/archive/2005/08/08/7678.aspx > >Nine Compelling Reasons to Move From VBA to VSTO 2005 >http://www.devx.com/OfficeProDev/Article/28088 > >Redesigning an Excel VBA Solution for .NET Using Visual Studio 2005 >Tools for Office >http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOExcelVBARearchitecture.asp > >Convert VBA Code to Visual Basic When Migrating to Visual Studio 2005 >Tools for Office >http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp > > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Fri Jul 14 14:52:24 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Jul 2006 14:52:24 -0500 Subject: [AccessD] Access unable to access information in Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDA0@corp-es01.fleetpride.com> Make sure the Excel file you are saving is in a recent Excel format and not excel 5.0 . Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Friday, July 14, 2006 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access unable to access information in Excel I export Access data into a generic Excel spreadsheet. I then open an Excel template linked to that spreadsheet, so that the data shows up where I want it (This is from Roger's web site). Then I save the file as a regular spreadsheet. This is all done from Access. I then break the links when the workbook is first opened. So far so good. When I try to re-import the data into Access, I get the message: "The wizard is unable to access information in the file 'C:\My Documents\2442.AFES Crew Compartment.xls'. Please check that the file exists and is in the correct format." I get the same message when I try to link to it. Microsoft's web site says some ISAM file is missing, causing this. However, it is ONLY the files created in this way that Access can't handle. It has no problem with other Excel files, including the generic one that is created first. Any ideas? TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From kismert at sbcglobal.net Fri Jul 14 14:59:33 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Fri, 14 Jul 2006 12:59:33 -0700 (PDT) Subject: [AccessD] Meet VBA's Replacement Message-ID: <20060714195933.15276.qmail@web81803.mail.mud.yahoo.com> Shamil, > Did you read here about this 10+ seconds start-up trouble when > automating MS Word, MS Access, ... from VB.NET (VS2005) > ... Or I use it on a slow PC (W2003, 2GHz, 1GB) and this is my > trouble only? ? Yes, I did read that. That's the sucky part, in my opinion. I fear Microsoft's position is that the problem is your 'slow' PC (which is about the same as mine). If you look at the specs for Vista, their "Windows Vista Premium Ready" PC recommendation is below yours in performance. For most of us, the video card will need upgrading. See: http://www.microsoft.com/technet/windowsvista/evaluate/hardware/vistarpc.mspx But, my feeling is their 'Ready' level PC will deliver unacceptable performance for developers. I hope the specific problem you encountered will be addressed in a future release. But I think the hardware bar has been raised for VSTO developers as well. -Ken From stuart at lexacorp.com.pg Fri Jul 14 16:52:18 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Jul 2006 07:52:18 +1000 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <20060714195933.15276.qmail@web81803.mail.mud.yahoo.com> References: <20060714195933.15276.qmail@web81803.mail.mud.yahoo.com> Message-ID: <44B89EB2.12753.290B1403@stuart.lexacorp.com.pg> On 14 Jul 2006 at 12:59, Kenneth Ismert wrote: > > But, my feeling is their 'Ready' level PC will deliver unacceptable > performance for developers. > I've not seen any version of Windows since before W95 that will comfortably run anything other than Windows itself on the MS stated minimum configuration. IIRC these were the MS stated requirements to run each OS, every one needed double this amount to perform effectively: W95 4MB W98 16MB W2K 64MB WXP 128MB And now Vista on 512MB ? -- Stuart From hadyn at dataconcepts.co.nz Fri Jul 14 17:47:27 2006 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Sat, 15 Jul 2006 10:47:27 +1200 Subject: [AccessD] Meet VBA's Replacement In-Reply-To: <44B89EB2.12753.290B1403@stuart.lexacorp.com.pg> Message-ID: ***** Licensing VSTA Although the licensing model has not been finalized I can say that VSTA will have a competitive licensing model that will make it cost effective for ISVs to integrate VSTA into their applications. VSTA licensing will follow a transparent model of either per seat or royalty based. More details will follow shortly as soon as they are ready. ****** Does this mean the runtime will now cost to deploy? Or is this talking about developer licensing? Hadyn -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Saturday, 15 July 2006 09:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet VBA's Replacement On 14 Jul 2006 at 12:59, Kenneth Ismert wrote: > > But, my feeling is their 'Ready' level PC will deliver unacceptable > performance for developers. > I've not seen any version of Windows since before W95 that will comfortably run anything other than Windows itself on the MS stated minimum configuration. IIRC these were the MS stated requirements to run each OS, every one needed double this amount to perform effectively: W95 4MB W98 16MB W2K 64MB WXP 128MB And now Vista on 512MB ? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 From martyconnelly at shaw.ca Fri Jul 14 23:50:29 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 14 Jul 2006 21:50:29 -0700 Subject: [AccessD] Mobile Access with an mde In-Reply-To: References: Message-ID: <44B87415.1000207@shaw.ca> Microsoft released a version of SQL 2005 called SQL 2005 Everywhere last week that runs on a PDA. Julie Reardon-Taylor wrote: >Kath, > >We have been using tablet pc's from Motion Computing for this. 12" screen >though. You are probably looking for something smaller? > >I am interested in this as well. I would like a pda that will hold my >application that was deployed using office developer to work on a pda. > >I would like the guys in the field to be able to respond to a work order >when one is issued from the main office. > >Anyone done this before? > > > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business > > > > -- Marty Connelly Victoria, B.C. Canada From adtp at hotmail.com Sat Jul 15 08:03:20 2006 From: adtp at hotmail.com (A.D.TEJPAL) Date: Sat, 15 Jul 2006 18:33:20 +0530 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> <44B7DC32.3010106@san.rr.com> Message-ID: Rocky, If linked tables are imported AFTER setting the password for BE, you will be prompted once for the BE password and the links will get established. Thereafter, so long as the BE path remains undisturbed, you do can keep referring to CurrentDb as usual. There will be no error and you do not have to bother about the BE. However, if the BE password is set or changed after table links have already been established, it will be necessary to modify the connect strings for linked tables accordingly. Once that has been done, you can carry on smoothly as per previous para. Sample subroutine named P_RefreshLinks(), as given below facilitates setting up the revised links even if the BE has a changed or newly set up password. It takes the full path of BE as its argument. Best wishes, A.D.Tejpal --------------- ==================================== Sub P_RefreshLinks(ByVal BePath As Variant) ' References - DAO 3.6 and MS Scripting RunTime. ' ReLinks all tables pertaining to BackEnd db ' identified by BePath. ' BePath is the full path of BE db ' (complete with file extn) On Error Resume Next Dim Cnt As Long, CheckPwd As String Dim Lnk1 As String, Lnk2 As String, Lnk3 As String Dim Lnk As String, Dbn As String, Cns As String Dim db As DAO.Database, tdf As TableDef Dim fso As FileSystemObject ' Check for existence of BE db Set fso = New FileSystemObject If fso.FileExists(Nz(BePath, "")) = False Then MsgBox "Db Path Does Not Exist" & _ vbCrLf & "(" & BePath & ")" GoTo ExitPoint End If ' Get name of BE db Dbn = Mid(BePath, InStrRev(BePath, "\") + 1) CheckPwd = "N" ' Default Set db = CurrentDb Cnt = 0 For Each tdf In db.TableDefs Cns = tdf.Connect ' Skip the loop if it is not a linked table, or ' if the link does not pertain to the ' specified BackEnd If Len(Cns) = 0 Or _ InStr(Cns, Dbn) = 0 Then GoTo Skip End If ' Build the Link string Lnk1 = "MS Access" Lnk3 = "DATABASE=" & BePath ' This block ensures that the connection link ' need not be re-built in every cycle of the loop If CheckPwd <> "Y" Then If InStr(Cns, "PWD=") > 0 Then Lnk2 = Mid(Cns, InStr(Cns, "PWD=")) If InStr(Cns, ";") > 0 Then Lnk2 = Left(Lnk2, InStr(Lnk2, ";") - 1) End If Lnk = Lnk1 & ";" & Lnk2 & ";" & Lnk3 Else Lnk = Lnk1 & ";" & Lnk3 End If ' InStr End If ' CheckPwd tdf.Connect = Lnk tdf.RefreshLink ' There will be error if BackEnd password has changed ' (If so, prompt for the new password) If Err.Number <> 0 Then Lnk2 = Trim(InputBox("Enter Password for " & Dbn)) ' Statement below covers the situation even if password ' for back-end db has been chnged from something to nothing. Lnk2 = IIf(Len(Lnk2) > 0, "PWD=" & Lnk2, "") Lnk = Lnk1 & ";" & _ IIf(Len(Lnk2) > 0, Lnk2 & ";", "") & Lnk3 CheckPwd = "Y" tdf.Connect = Lnk Err.Clear tdf.RefreshLink ' Error at this stage means wrong password ' was entered. Exit procedure If Err.Number <> 0 Then MsgBox "Wrong Password" GoTo ExitPoint End If End If CheckPwd = "Y" Cnt = Cnt + 1 Skip: Next MsgBox Cnt & " Tables Linked Successfully" & _ vbCrLf & "(To " & Dbn & ")" ExitPoint: Set tdf = Nothing Set db = Nothing On Error GoTo 0 ' Note - It is observed that if existing password for ' back-end db is removed altogether, the ' linked tables continue to function properly, ' without any need to refresh links. ' (even though connect string continues to ' have the old password). End Sub ==================================== ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 23:32 Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database Bobby: I tried using set db = Currentdb after putting the password on the back end and got an 'invalid password' error when opening the first recordset to a linked table. Rocky Bobby Heid wrote: > Did not read all of the email. > > If the tables in the BE are linked, then you can use CurrentDB. You only > have to use the Opendatabse method if you are opening the BE directly. > > Now, you will have to use the password when linking the tables. > > Bobby From bchacc at san.rr.com Sat Jul 15 09:13:31 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 07:13:31 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> <44B7DC32.3010106@san.rr.com> Message-ID: <44B8F80B.9080909@san.rr.com> A.D: As usual - an elegant solution - and requiring no programming at all (just more knowledge). Thank you for that tip and the code. This will stop folks from going directly into the back end and modifying the code. And If I make an mde and hide the database window, that would stop them going through the front end. The requirement, BTW, is more of a 'feel good' thing by the owner who doesn't understand the technology but was told by the network guy that it would be possible to access the data through the Internet. So suddenly he wants some more security on the db. The FE and BE both reside on one machine which is not readily accessible physically but (and I haven't taken a close look so I don't know for sure) may be accessible from other machines in their local network although my users says probably not. In any event, pw protecting the BE stop 95 % of the problem. Best regards, Rocky A.D.TEJPAL wrote: > Rocky, > > If linked tables are imported AFTER setting the password for BE, you will be prompted once for the BE password and the links will get established. > > Thereafter, so long as the BE path remains undisturbed, you do can keep referring to CurrentDb as usual. There will be no error and you do not have to bother about the BE. > > However, if the BE password is set or changed after table links have already been established, it will be necessary to modify the connect strings for linked tables accordingly. Once that has been done, you can carry on smoothly as per previous para. > > Sample subroutine named P_RefreshLinks(), as given below facilitates setting up the revised links even if the BE has a changed or newly set up password. It takes the full path of BE as its argument. > > Best wishes, > A.D.Tejpal > --------------- > > ==================================== > Sub P_RefreshLinks(ByVal BePath As Variant) > ' References - DAO 3.6 and MS Scripting RunTime. > ' ReLinks all tables pertaining to BackEnd db > ' identified by BePath. > ' BePath is the full path of BE db > ' (complete with file extn) > On Error Resume Next > Dim Cnt As Long, CheckPwd As String > Dim Lnk1 As String, Lnk2 As String, Lnk3 As String > Dim Lnk As String, Dbn As String, Cns As String > Dim db As DAO.Database, tdf As TableDef > Dim fso As FileSystemObject > > ' Check for existence of BE db > Set fso = New FileSystemObject > If fso.FileExists(Nz(BePath, "")) = False Then > MsgBox "Db Path Does Not Exist" & _ > vbCrLf & "(" & BePath & ")" > GoTo ExitPoint > End If > ' Get name of BE db > Dbn = Mid(BePath, InStrRev(BePath, "\") + 1) > > CheckPwd = "N" ' Default > Set db = CurrentDb > Cnt = 0 > For Each tdf In db.TableDefs > Cns = tdf.Connect > ' Skip the loop if it is not a linked table, or > ' if the link does not pertain to the > ' specified BackEnd > If Len(Cns) = 0 Or _ > InStr(Cns, Dbn) = 0 Then > GoTo Skip > End If > > ' Build the Link string > Lnk1 = "MS Access" > Lnk3 = "DATABASE=" & BePath > ' This block ensures that the connection link > ' need not be re-built in every cycle of the loop > If CheckPwd <> "Y" Then > If InStr(Cns, "PWD=") > 0 Then > Lnk2 = Mid(Cns, InStr(Cns, "PWD=")) > If InStr(Cns, ";") > 0 Then > Lnk2 = Left(Lnk2, InStr(Lnk2, ";") - 1) > End If > Lnk = Lnk1 & ";" & Lnk2 & ";" & Lnk3 > Else > Lnk = Lnk1 & ";" & Lnk3 > End If ' InStr > End If ' CheckPwd > > tdf.Connect = Lnk > tdf.RefreshLink > ' There will be error if BackEnd password has changed > ' (If so, prompt for the new password) > If Err.Number <> 0 Then > Lnk2 = Trim(InputBox("Enter Password for " & Dbn)) > ' Statement below covers the situation even if password > ' for back-end db has been chnged from something to nothing. > Lnk2 = IIf(Len(Lnk2) > 0, "PWD=" & Lnk2, "") > Lnk = Lnk1 & ";" & _ > IIf(Len(Lnk2) > 0, Lnk2 & ";", "") & Lnk3 > CheckPwd = "Y" > tdf.Connect = Lnk > Err.Clear > tdf.RefreshLink > ' Error at this stage means wrong password > ' was entered. Exit procedure > If Err.Number <> 0 Then > MsgBox "Wrong Password" > GoTo ExitPoint > End If > End If > CheckPwd = "Y" > Cnt = Cnt + 1 > > Skip: > Next > MsgBox Cnt & " Tables Linked Successfully" & _ > vbCrLf & "(To " & Dbn & ")" > > ExitPoint: > Set tdf = Nothing > Set db = Nothing > On Error GoTo 0 > > ' Note - It is observed that if existing password for > ' back-end db is removed altogether, the > ' linked tables continue to function properly, > ' without any need to refresh links. > ' (even though connect string continues to > ' have the old password). > End Sub > ==================================== > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 23:32 > Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database > > > Bobby: > > I tried using set db = Currentdb after putting the password on the back > end and got an 'invalid password' error when opening the first recordset > to a linked table. > > Rocky > > > Bobby Heid wrote: > > Did not read all of the email. > > > > If the tables in the BE are linked, then you can use CurrentDB. You only > > have to use the Opendatabse method if you are opening the BE directly. > > > > Now, you will have to use the password when linking the tables. > > > > Bobby > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Sat Jul 15 09:41:22 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 07:41:22 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <44B8F80B.9080909@san.rr.com> References: <916187228923D311A6FE00A0CC3FAA30D356C5@ADGSERVER> <44B7DC32.3010106@san.rr.com> <44B8F80B.9080909@san.rr.com> Message-ID: <44B8FE92.7040200@san.rr.com> Oops. wrote too fast - "and modifying the code." should be "modifying the data." of course. :-[ Rocky Rocky Smolin - Beach Access Software wrote: > A.D: > > As usual - an elegant solution - and requiring no programming at all > (just more knowledge). Thank you for that tip and the code. > > This will stop folks from going directly into the back end and modifying > the code. And If I make an mde and hide the database window, that would > stop them going through the front end. > > The requirement, BTW, is more of a 'feel good' thing by the owner who > doesn't understand the technology but was told by the network guy that > it would be possible to access the data through the Internet. So > suddenly he wants some more security on the db. The FE and BE both > reside on one machine which is not readily accessible physically but > (and I haven't taken a close look so I don't know for sure) may be > accessible from other machines in their local network although my users > says probably not. > > In any event, pw protecting the BE stop 95 % of the problem. > > Best regards, > > Rocky > > > A.D.TEJPAL wrote: > >> Rocky, >> >> If linked tables are imported AFTER setting the password for BE, you will be prompted once for the BE password and the links will get established. >> >> Thereafter, so long as the BE path remains undisturbed, you do can keep referring to CurrentDb as usual. There will be no error and you do not have to bother about the BE. >> >> However, if the BE password is set or changed after table links have already been established, it will be necessary to modify the connect strings for linked tables accordingly. Once that has been done, you can carry on smoothly as per previous para. >> >> Sample subroutine named P_RefreshLinks(), as given below facilitates setting up the revised links even if the BE has a changed or newly set up password. It takes the full path of BE as its argument. >> >> Best wishes, >> A.D.Tejpal >> --------------- >> >> ==================================== >> Sub P_RefreshLinks(ByVal BePath As Variant) >> ' References - DAO 3.6 and MS Scripting RunTime. >> ' ReLinks all tables pertaining to BackEnd db >> ' identified by BePath. >> ' BePath is the full path of BE db >> ' (complete with file extn) >> On Error Resume Next >> Dim Cnt As Long, CheckPwd As String >> Dim Lnk1 As String, Lnk2 As String, Lnk3 As String >> Dim Lnk As String, Dbn As String, Cns As String >> Dim db As DAO.Database, tdf As TableDef >> Dim fso As FileSystemObject >> >> ' Check for existence of BE db >> Set fso = New FileSystemObject >> If fso.FileExists(Nz(BePath, "")) = False Then >> MsgBox "Db Path Does Not Exist" & _ >> vbCrLf & "(" & BePath & ")" >> GoTo ExitPoint >> End If >> ' Get name of BE db >> Dbn = Mid(BePath, InStrRev(BePath, "\") + 1) >> >> CheckPwd = "N" ' Default >> Set db = CurrentDb >> Cnt = 0 >> For Each tdf In db.TableDefs >> Cns = tdf.Connect >> ' Skip the loop if it is not a linked table, or >> ' if the link does not pertain to the >> ' specified BackEnd >> If Len(Cns) = 0 Or _ >> InStr(Cns, Dbn) = 0 Then >> GoTo Skip >> End If >> >> ' Build the Link string >> Lnk1 = "MS Access" >> Lnk3 = "DATABASE=" & BePath >> ' This block ensures that the connection link >> ' need not be re-built in every cycle of the loop >> If CheckPwd <> "Y" Then >> If InStr(Cns, "PWD=") > 0 Then >> Lnk2 = Mid(Cns, InStr(Cns, "PWD=")) >> If InStr(Cns, ";") > 0 Then >> Lnk2 = Left(Lnk2, InStr(Lnk2, ";") - 1) >> End If >> Lnk = Lnk1 & ";" & Lnk2 & ";" & Lnk3 >> Else >> Lnk = Lnk1 & ";" & Lnk3 >> End If ' InStr >> End If ' CheckPwd >> >> tdf.Connect = Lnk >> tdf.RefreshLink >> ' There will be error if BackEnd password has changed >> ' (If so, prompt for the new password) >> If Err.Number <> 0 Then >> Lnk2 = Trim(InputBox("Enter Password for " & Dbn)) >> ' Statement below covers the situation even if password >> ' for back-end db has been chnged from something to nothing. >> Lnk2 = IIf(Len(Lnk2) > 0, "PWD=" & Lnk2, "") >> Lnk = Lnk1 & ";" & _ >> IIf(Len(Lnk2) > 0, Lnk2 & ";", "") & Lnk3 >> CheckPwd = "Y" >> tdf.Connect = Lnk >> Err.Clear >> tdf.RefreshLink >> ' Error at this stage means wrong password >> ' was entered. Exit procedure >> If Err.Number <> 0 Then >> MsgBox "Wrong Password" >> GoTo ExitPoint >> End If >> End If >> CheckPwd = "Y" >> Cnt = Cnt + 1 >> >> Skip: >> Next >> MsgBox Cnt & " Tables Linked Successfully" & _ >> vbCrLf & "(To " & Dbn & ")" >> >> ExitPoint: >> Set tdf = Nothing >> Set db = Nothing >> On Error GoTo 0 >> >> ' Note - It is observed that if existing password for >> ' back-end db is removed altogether, the >> ' linked tables continue to function properly, >> ' without any need to refresh links. >> ' (even though connect string continues to >> ' have the old password). >> End Sub >> ==================================== >> >> ----- Original Message ----- >> From: Rocky Smolin - Beach Access Software >> To: Access Developers discussion and problem solving >> Sent: Friday, July 14, 2006 23:32 >> Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database >> >> >> Bobby: >> >> I tried using set db = Currentdb after putting the password on the back >> end and got an 'invalid password' error when opening the first recordset >> to a linked table. >> >> Rocky >> >> >> Bobby Heid wrote: >> > Did not read all of the email. >> > >> > If the tables in the BE are linked, then you can use CurrentDB. You only >> > have to use the Opendatabse method if you are opening the BE directly. >> > >> > Now, you will have to use the password when linking the tables. >> > >> > Bobby >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Sat Jul 15 14:46:49 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 12:46:49 -0700 Subject: [AccessD] SendObject Message-ID: <44B94629.9080100@san.rr.com> Dear List: Client using SendObject with Outlook as a mail client gets the following warning: "Microsoft Office Outlook (in the Screen Header) " A program is trying to automatically send e-mail on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". [Yes button, No button and a Help Button] " Is there a way to disable this message? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From martyconnelly at shaw.ca Sat Jul 15 15:54:12 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 15 Jul 2006 13:54:12 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B94629.9080100@san.rr.com> References: <44B94629.9080100@san.rr.com> Message-ID: <44B955F4.7070200@shaw.ca> A quick and dirty way is this freebie that sits in the SysTray There are more complicated methods using Redemption dll to get around Outlook security model. http://www.contextmagic.com/express-clickyes/for-developers.htm You can suspend or activate Express ClickYes by double-clicking its icon in the taskbar notification area (system tray). Developers can automate its behavior by sending special messages via standard Windows API functions or even very simple command line switches. Just install it and add the VBA code from the screen. Rocky Smolin - Beach Access Software wrote: >Dear List: > >Client using SendObject with Outlook as a mail client gets the following >warning: > > > "Microsoft Office Outlook (in the Screen Header) > >" A program is trying to automatically send e-mail on your behalf. > > Do you want to allow this? > > If this is unexpected, it may be a virus and you should choose "No". > > > > [Yes button, No button and a Help Button] " > > >Is there a way to disable this message? > >MTIA, > >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sat Jul 15 18:13:59 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 15 Jul 2006 18:13:59 -0500 Subject: [AccessD] SendObject In-Reply-To: <17040444.1152997227417.JavaMail.root@sniper14> Message-ID: <000001c6a864$5dadb920$0200a8c0@danwaters> Rocky - can you describe more about this: Developers can automate its behavior by sending special messages via standard Windows API functions or even very simple command line switches. I haven't heard of this till now. Thanks! Dan Waters From martyconnelly at shaw.ca Sat Jul 15 19:03:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 15 Jul 2006 17:03:58 -0700 Subject: [AccessD] SendObject In-Reply-To: <000001c6a864$5dadb920$0200a8c0@danwaters> References: <000001c6a864$5dadb920$0200a8c0@danwaters> Message-ID: <44B9826E.2070901@shaw.ca> Do you mean this, if you scroll way down the page to the Giant's big boot you will find this and the command line parameters. ' Microsoft Visual Basic (VB/VBA) Sample ' Declare Windows' API functions Private Declare Function RegisterWindowMessage _ Lib "user32" Alias "RegisterWindowMessageA" _ (ByVal lpString As String) As Long Private Declare Function FindWindow Lib "user32" _ Alias "FindWindowA" (ByVal lpClassName As Any, _ ByVal lpWindowName As Any) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Sub SomeProc() Dim wnd As Long Dim uClickYes As Long Dim Res As Long ' Register a message to send uClickYes = RegisterWindowMessage("CLICKYES_SUSPEND_RESUME") ' Find ClickYes Window by classname wnd = FindWindow("EXCLICKYES_WND", 0&) ' Send the message to Resume ClickYes Res = SendMessage(wnd, uClickYes, 1, 0) ' ... ' Do some Actions ' ... ' Send the message to Suspend ClickYes Res = SendMessage(wnd, uClickYes, 0, 0) End Sub Dan Waters wrote: >Rocky - can you describe more about this: > > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > >I haven't heard of this till now. > >Thanks! >Dan Waters > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Sat Jul 15 23:45:17 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 21:45:17 -0700 Subject: [AccessD] SendObject In-Reply-To: <44B955F4.7070200@shaw.ca> References: <44B94629.9080100@san.rr.com> <44B955F4.7070200@shaw.ca> Message-ID: <44B9C45D.8080409@san.rr.com> Marty: I already had the client do this. I wonder why he's not activating it? Anyway, I'll forward this to remind him and see what happens. Thanks and regards, Rocky MartyConnelly wrote: > A quick and dirty way is this freebie that sits in the SysTray > There are more complicated methods using Redemption dll > to get around Outlook security model. > > http://www.contextmagic.com/express-clickyes/for-developers.htm > > You can suspend or activate Express ClickYes by double-clicking its icon > in the taskbar notification area (system tray). > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > > Just install it and add the VBA code from the screen. > > Rocky Smolin - Beach Access Software wrote: > > >> Dear List: >> >> Client using SendObject with Outlook as a mail client gets the following >> warning: >> >> >> "Microsoft Office Outlook (in the Screen Header) >> >> " A program is trying to automatically send e-mail on your behalf. >> >> Do you want to allow this? >> >> If this is unexpected, it may be a virus and you should choose "No". >> >> >> >> [Yes button, No button and a Help Button] " >> >> >> Is there a way to disable this message? >> >> MTIA, >> >> Rocky Smolin >> Beach Access Software >> 858-259-4334 >> www.e-z-mrp.com >> >> >> >> >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Sat Jul 15 23:46:38 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 15 Jul 2006 21:46:38 -0700 Subject: [AccessD] SendObject In-Reply-To: <000001c6a864$5dadb920$0200a8c0@danwaters> References: <000001c6a864$5dadb920$0200a8c0@danwaters> Message-ID: <44B9C4AE.4050102@san.rr.com> Over to you Marty... :o) Rocky Dan Waters wrote: > Rocky - can you describe more about this: > > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > > I haven't heard of this till now. > > Thanks! > Dan Waters > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From lembit.dbamail at t-online.de Sun Jul 16 05:22:36 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sun, 16 Jul 2006 12:22:36 +0200 Subject: [AccessD] Finally got to meet Shamil References: Message-ID: <004901c6a8c1$c2883a20$1900a8c0@s1800> I can only agree with your impression of Shamil and St. Petersburg. I have been there and met Shamil just about 2 weeks before you and not only did Shamil take the time to show us around St. Petersburg, I must say this town is unbeleivable. Unfortunately we did not have enough time there (we were on a river cruise from St. Petersburg to Moscow), but we decided to go back there in the near future. I can only recommend such trip. Lembit ----- Original Message ----- From: "Mark Breen" To: "Access Developers discussion and problem solving" Sent: Thursday, July 13, 2006 4:06 PM Subject: [AccessD] Finally got to meet Shamil > Hello Guys, > > This may be OT but as Shamil is helping on this list since 1997, hopefully > you will excuse me for posting this here. > > I am just back from my trip to Eastern Europe by motorcycle. One of the > best parts of the three week trip was I got to meet our friend Shamil in > St. > Petersburg. I did not just get to meet him, he offered me accommadation > which I graciously accepted. He then proceeded to be one of the best > hosts > a visitor could have. > > It had the oppertunity to live as a tourist in the day time, and then to > join Shamil's family life in the evening, this was the best part for me. > On > the Sunday night before I left Russia, I had the really great experience > of > visiting Shamils Datcha (country house). His beautiful family put on a > feast, literally a full sized table full of food. We stayed up until > late, > talking and drinking vodka. He then, kindly offered to get up at 04:30 > and > bring me to the train station. > > Shamil, thank you for your hospitality and I hope to see you in Ireland > some > time. > > In the meantime guys, get over to St Petersburg. It is a beautiful city, > I > mean really beautiful. The people I encountered were all kind, friendly, > although English is not too common. I felt 100% safe at all times, in > fact, > it felt almost safer than some places I have been in London or New York. > > Another point I have to mention, the Russian people I saw in the entire > city > of St Petersburg are so glamourous, it was more like being in Paris than > what we were told in school. All I can say is get over there and > experience > it for yourself, it will change you idea of what Mother Russia is like > forever. Shamil, thank you for making it the highlight of my entire trip. > > Mark Breen > Ireland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 13.07.2006 > > From kismert at sbcglobal.net Sun Jul 16 10:47:57 2006 From: kismert at sbcglobal.net (Kenneth Ismert) Date: Sun, 16 Jul 2006 08:47:57 -0700 (PDT) Subject: [AccessD] Meet VBA's Replacement Message-ID: <20060716154757.15971.qmail@web81808.mail.mud.yahoo.com> Hadyn, > Does this mean the runtime will now cost to deploy? Or is this > talking about developer licensing? VSTA is a scripting add-on for software companies that want to sell VSTA-scriptable applications. The software company bears the cost of licensing (which then gets passed to the customer). See (bottom of page): Microsoft Visual Studio 2005 Tools for Applications --------------------------------------------------- http://msdn.microsoft.com/vstudio/extend/vsta/default.aspx VSTO is the development/scripting environment for Office. VSTO and VSTA appear to be closely related. For example, the improved VBA migration in VSTA will likely make it to Access 2007. You purchase VSTO in a number of ways: Purchasing Visual Studio 2005 ----------------------------- http://msdn.microsoft.com/vstudio/howtobuy/default.aspx It is harder to find good information on the Access runtime. For Access 2003, you can get the Access Runtime with VSTO. This licenses you to distribute a (limited) runtime solution, royalty-free: Visual Studio 2005 Product Line Overview ---------------------------------------- http://msdn.microsoft.com/vstudio/products/compare/default.aspx Obtain and deploy the Access 2003 runtime ----------------------------------------- http://office.microsoft.com/en-us/assistance/HA011208861033.aspx Overview of Office 2003 Developer Technologies ---------------------------------------------- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/office2003overviewdevelopertechnologies.asp (exerpt) The Access 2003 Runtime license allowing royalty-free distribution comes with the Microsoft Office Access 2003 Developer Extensions, which is a component of Visual Studio Tools for Office version 2003. A developer who is licensed for this product can bundle a solution (.mdb files and any other support files) with the Access 2003 Runtime and distribute it to as many users as necessary. There is no limit to the number of distributions or the number of Access Runtime solutions that you can create using one license. The physical runtime files are included with Microsoft Office 2003 Professional Edition or Microsoft Office Access 2003, so you must also own a copy of one of these products, although this is not a requirement for the end customer. The Package Wizard, which comes with the Access 2003 Developer Extensions, helps you create a professional installation package for the solution. The Access 2003 Runtime is, in essence, Microsoft Office Access 2003, but with a few key features disabled. A user with an Access 2003 Runtime solution installed instead of full Access can open and run the solution (either an .mdb file or, with a few extra steps, a SQL Server back-end database) but does not see the Database Window and cannot switch the view of any Access object to the Design view. Microsoft Partner Program -- Ask the Partner Group: November Questions: ----------------------------------------------------------------------- http://members.microsoft.com/partner/nz/askthepartnergroup_nov.aspx (exerpt) Question 5: ...Access Runtime is now licensed through Visual Studio Tools for Office (VSTO) and MSDN Universal. If a developer creates a database using a VSTO/MSDN license they can then distribute their database to the end users by way of the Access Runtime license. However, as Access Runtime is included as part of the developer license, the license dictates that the users with Access Runtime must only be able to view the data within the database. If further access to the data (eg: changing tables, creating reports, etc) is undertaken, then a full version of Access is required for each device that has the ability to utilise this functionality. -Ken From dwaters at usinternet.com Sun Jul 16 10:48:43 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Jul 2006 10:48:43 -0500 Subject: [AccessD] SendObject In-Reply-To: <30545919.1153008830401.JavaMail.root@sniper14> Message-ID: <000a01c6a8ef$51a84470$0200a8c0@danwaters> Thanks Marty - Next time I'll use it! Dan Waters -----Original Message----- Subject: Re: [AccessD] SendObject Do you mean this, if you scroll way down the page to the Giant's big boot you will find this and the command line parameters. ' Microsoft Visual Basic (VB/VBA) Sample ' Declare Windows' API functions Private Declare Function RegisterWindowMessage _ Lib "user32" Alias "RegisterWindowMessageA" _ (ByVal lpString As String) As Long Private Declare Function FindWindow Lib "user32" _ Alias "FindWindowA" (ByVal lpClassName As Any, _ ByVal lpWindowName As Any) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Sub SomeProc() Dim wnd As Long Dim uClickYes As Long Dim Res As Long ' Register a message to send uClickYes = RegisterWindowMessage("CLICKYES_SUSPEND_RESUME") ' Find ClickYes Window by classname wnd = FindWindow("EXCLICKYES_WND", 0&) ' Send the message to Resume ClickYes Res = SendMessage(wnd, uClickYes, 1, 0) ' ... ' Do some Actions ' ... ' Send the message to Suspend ClickYes Res = SendMessage(wnd, uClickYes, 0, 0) End Sub Dan Waters wrote: >Rocky - can you describe more about this: > > Developers can automate its behavior by sending special messages > via standard Windows API functions or even very simple command line > switches. > >I haven't heard of this till now. > >Thanks! >Dan Waters > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Jul 16 14:53:58 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 16 Jul 2006 15:53:58 -0400 Subject: [AccessD] SendObject References: <000a01c6a8ef$51a84470$0200a8c0@danwaters> Message-ID: <000201c6a911$945f9cb0$6e9ba545@50NM721> Group: ...the following function works in a full A2K3 install but fails in a runtime install" Private Function ExportRoutine() Dim db As Database Dim qdf As QueryDef Dim lorst As Recordset Dim strName As String Dim strFile As String Const strSpecName = "~~TempSpec~~" On Error GoTo ExportRoutine_err With Me.lstResult strFile = DialogFile(OFN_SAVE, "Save file", "", .Column(3) & " (" & .Column(2) & ")|" & .Column(2), CurDir, .Column(2)) End With If Len(strFile) > 0 Then 'first get a unique name for the querydef object strName = Application.Run("acwzmain.wlib_stUniquedocname", "Query1", acQuery) Set db = CurrentDb Set qdf = db.CreateQueryDef(strName, Me.txtSQL) qdf.Close With lstResult Select Case .Column(0) Case 0 'Transferspreadsheet DoCmd.TransferSpreadsheet acExport, .Column(1), strName, strFile, True Case 1 'Transfertext DoCmd.TransferText .Column(1), , strName, strFile, True End Select End With End If ExportRoutine_end: On Error Resume Next DoCmd.DeleteObject acQuery, strName qdf.Close Set qdf = Nothing db.QueryDefs.Refresh Set db = Nothing Exit Function ExportRoutine_err: Resume ExportRoutine_end End Function ...I'm certain that its because the function uses the acwzmain.mde library but I'm not sure I understand why ...if I copythe acwizmain.mde to the Office11 directory on the runtime installs, the function still fails ...is there any way to force a runtime to use the library ...or do I have to back up and approach this in an entirely different way? ...suggestions welcome. From wdhindman at dejpolsystems.com Sun Jul 16 14:57:52 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 16 Jul 2006 15:57:52 -0400 Subject: [AccessD] ...wizard use in runtimes (A2K3) Message-ID: <000a01c6a912$1fa94410$6e9ba545@50NM721> ...sorry for previous posting with the wrong subject :( Group: ...the following function using an access wizard library call works in a full A2K3 install but fails in a runtime install" Private Function ExportRoutine() Dim db As Database Dim qdf As QueryDef Dim lorst As Recordset Dim strName As String Dim strFile As String Const strSpecName = "~~TempSpec~~" On Error GoTo ExportRoutine_err With Me.lstResult strFile = DialogFile(OFN_SAVE, "Save file", "", .Column(3) & " (" & .Column(2) & ")|" & .Column(2), CurDir, .Column(2)) End With If Len(strFile) > 0 Then 'first get a unique name for the querydef object strName = Application.Run("acwzmain.wlib_stUniquedocname", "Query1", acQuery) Set db = CurrentDb Set qdf = db.CreateQueryDef(strName, Me.txtSQL) qdf.Close With lstResult Select Case .Column(0) Case 0 'Transferspreadsheet DoCmd.TransferSpreadsheet acExport, .Column(1), strName, strFile, True Case 1 'Transfertext DoCmd.TransferText .Column(1), , strName, strFile, True End Select End With End If ExportRoutine_end: On Error Resume Next DoCmd.DeleteObject acQuery, strName qdf.Close Set qdf = Nothing db.QueryDefs.Refresh Set db = Nothing Exit Function ExportRoutine_err: Resume ExportRoutine_end End Function ...I'm certain that its because the function uses the acwzmain.mde library but I'm not sure I understand why ...if I copythe acwizmain.mde to the Office11 directory on the runtime installs, the function still fails ...is there any way to force a runtime to use the library ...or do I have to back up and approach this in an entirely different way? ...suggestions welcome From kp at sdsonline.net Sun Jul 16 19:15:42 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 17 Jul 2006 10:15:42 +1000 Subject: [AccessD] Mobile Access with an mde References: <200607141258.k6ECwuR06863@ultradnt.com> Message-ID: <002b01c6a936$253a1750$6601a8c0@office> Thanks Steve ----- Original Message ----- From: Steve Conklin To: 'Access Developers discussion and problem solving' Sent: Friday, July 14, 2006 10:58 PM Subject: Re: [AccessD] Mobile Access with an mde To go to PocketPC form factor requires either .Net with CF (compact framework) connecting to a SQL CE db, or 3rd party tools (like SprintDB). There is no support for Access UI objects in Windows Mobile. (There is some support for Pocket Access, but that is only tables, and seems to be on the deprecation path). Of course, if the device always has an interent connection, you could do a web app, but your BE would need to available on a web server, and in that case , probably want to move to SQL anyway. Not what you wanted to hear, I am sure, but HTH anyway, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Friday, July 14, 2006 8:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde >From what i have seen that's the smallest I can recommend to him....I thought there may be something even smaller.... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Jul 16 19:35:12 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Jul 2006 19:35:12 -0500 Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or is system = Windows network? Message-ID: <000301c6a938$de40f6e0$0200a8c0@danwaters> I wonder if there is a method to determine if the database is running on Citrix/Terminal Server or is on a Windows Network. Thanks! Dan Waters From kp at sdsonline.net Sun Jul 16 19:36:42 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 17 Jul 2006 10:36:42 +1000 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <000801c6a6e3$be383720$6601a8c0@office>, <00a601c6a6f6$9c153900$6e9ba545@50NM721> <44B79FC1.31586.108190FE@stuart.lexacorp.com.pg> Message-ID: <003d01c6a939$13c9f370$6601a8c0@office> Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jul 16 19:41:25 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 16 Jul 2006 17:41:25 -0700 Subject: [AccessD] ...wizard use in runtimes (A2K3) In-Reply-To: <000a01c6a912$1fa94410$6e9ba545@50NM721> References: <000a01c6a912$1fa94410$6e9ba545@50NM721> Message-ID: <44BADCB5.1000900@shaw.ca> There were some service pack changes Office 2003 SP2 to acwizmain.mde. I doubt if it was this, http://support.microsoft.com/kb/821549 However if you just need a random query name why not just create a GUID string 'Paul Brower - 02152001 Private Const RPC_S_OK As Long = 0& Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& Private Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(7) As Byte End Type Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) Private Declare Function UuidToString& Lib "rpcrt4" Alias "UuidToStringA" (lpGUID As GUID, lpGUIDString&) Private Declare Function RpcStringFree& Lib "rpcrt4" Alias "RpcStringFreeA" (lpGUIDString&) Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal lpString&) Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpDest As Any, lpSource As Any, ByVal cBytes&) Public Function CreateGUID() As String 'More GUID routines here ' http://www.trigeminal.com/code/guids.bas Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ Dim sBuffer() As Byte, bNoError As Boolean If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then nStrLen = lstrlen(lpStrGUID) ReDim sBuffer(nStrLen - 1) As Byte CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen Call RpcStringFree(lpStrGUID) sGUID = StrConv(sBuffer, vbUnicode) CreateGUID = UCase$(sGUID) Exit Function End If End If CreateGUID = "Error" End Function William Hindman wrote: >...sorry for previous posting with the wrong subject :( > >Group: > >...the following function using an access wizard library call works in a >full A2K3 install but fails in a >runtime install" > >Private Function ExportRoutine() > Dim db As Database > Dim qdf As QueryDef > Dim lorst As Recordset > Dim strName As String > Dim strFile As String > Const strSpecName = "~~TempSpec~~" > On Error GoTo ExportRoutine_err > With Me.lstResult > strFile = DialogFile(OFN_SAVE, "Save file", "", .Column(3) & " (" & >.Column(2) & ")|" & .Column(2), CurDir, .Column(2)) > End With > If Len(strFile) > 0 Then > 'first get a unique name for the querydef object > strName = Application.Run("acwzmain.wlib_stUniquedocname", "Query1", >acQuery) > Set db = CurrentDb > Set qdf = db.CreateQueryDef(strName, Me.txtSQL) > qdf.Close > With lstResult > Select Case .Column(0) > Case 0 'Transferspreadsheet > DoCmd.TransferSpreadsheet acExport, .Column(1), strName, strFile, >True > Case 1 'Transfertext > DoCmd.TransferText .Column(1), , strName, strFile, True > End Select > End With > End If >ExportRoutine_end: > On Error Resume Next > DoCmd.DeleteObject acQuery, strName > qdf.Close > Set qdf = Nothing > db.QueryDefs.Refresh > Set db = Nothing >Exit Function >ExportRoutine_err: > Resume ExportRoutine_end >End Function > >...I'm certain that its because the function uses the acwzmain.mde library >but I'm not sure I understand why ...if I copythe acwizmain.mde to the >Office11 directory on the runtime installs, the function still fails ...is >there any way to force a runtime to use the library ...or do I have to back >up and approach this in an entirely different way? ...suggestions welcome > > > > > -- Marty Connelly Victoria, B.C. Canada From kp at sdsonline.net Sun Jul 16 20:00:52 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 17 Jul 2006 11:00:52 +1000 Subject: [AccessD] Mobile Access with an mde References: <000801c6a6e3$be383720$6601a8c0@office> <00a601c6a6f6$9c153900$6e9ba545@50NM721> Message-ID: <005b01c6a93c$73baed40$6601a8c0@office> Sorry William - Just realised you sent this. I know very little about the tablet. Any brand you recommend? Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:35 PM Subject: Re: [AccessD] Mobile Access with an mde ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. William ----- Original Message ----- From: "Kath Pelletti" To: "Access D Normal List" Sent: Thursday, July 13, 2006 9:20 PM Subject: [AccessD] Mobile Access with an mde >I know that this topic has been discussed before but not for a while, so >maybe there are more choices now. > > I have a client (tradesman) who wants to take his customised menu driven > database with him in the car and is wondering what his hardware choices > are. > > I know that there are some software packages designed for pda's but they > effectively import the data into tables, which is no good for him. > > I want him to be able to open the mde and use the interface I have > designed for him, just as he does in the office. > > Maybe he will need just a small laptop but I am wondering whther there is > anything smaller / or cleverer? > > Thanks - > > ______________________________________ > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Andrew.Curtis at wapl.com.au Sun Jul 16 20:14:54 2006 From: Andrew.Curtis at wapl.com.au (Curtis, Andrew (WAPL)) Date: Mon, 17 Jul 2006 09:14:54 +0800 Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or issystem = Windows network? In-Reply-To: <000301c6a938$de40f6e0$0200a8c0@danwaters> Message-ID: While not specifically citrix related, with windows remote desktop, you can determine whether or not the host is a 'virtual' RDP client using: Environ("SESSIONNAME") built in function of VBA Start->run CMD SET Displays all environment variables viewable from the ENVIRON function My TS sessions display under: SESSIONNAME=RDP-Tcp#4 If the session is not RDP based (includes citrix) this will not be present or SESSION=Console, indicating a native windows session. --Andrew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, 17 July 2006 8:35 AM To: AccessD Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or issystem = Windows network? I wonder if there is a method to determine if the database is running on Citrix/Terminal Server or is on a Windows Network. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. From darrend at nimble.com.au Sun Jul 16 22:51:13 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 17 Jul 2006 13:51:13 +1000 Subject: [AccessD] Attention Gurus in Text file reading/writing - Paid job if you want it Message-ID: <20060717035115.RXNO13704.omta04ps.mx.bigpond.com@DENZILLAP> Howdy all I have a big project to do for my work Am willing to pay if someone wants to take on providing a solution or if you want to provide partial or whole solutions to the list - Feel free :-)) I have very large SQL files that create hundreds of SQL tables - 2 table example below. and large text files that populate those tables - 2 line example below the table example ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CREATE TABLE [dbo].[AccountHostingOptions] ( [HostingOptionID] [int] IDENTITY (1, 1) NOT NULL , [HostingID] [int] NULL , [HostingOptionCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionQuantity] [int] NULL , [PerOptionFee] [numeric](9, 2) NULL , [RecurrenceCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] GO CREATE TABLE [dbo].[AccountInternetOptions] ( [AccountInternetOptionID] [int] IDENTITY (1, 1) NOT NULL , [AccountNo] [int] NOT NULL , [OptionCode] [char] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [StartDate] [smalldatetime] NULL , [EndDate] [smalldatetime] NULL , [MonthlyFee] [numeric](9, 2) NULL , [ConnectionFee] [numeric](9, 2) NULL , [MailBoxQty] [int] NULL , [Username] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Password] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionItemValue] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [CreatedBy] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [DateCreated] [smalldatetime] NULL ) ON [PRIMARY] GO Another file may be an insert monster containing zillions of insert statements INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(1,'Up to 50km',0,50) INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(2,'50 - 85km',51,85) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What I need to do is to be able to point to the text file - in the example above it would be: \\Some folder\Create AccountTables.sql I then need the code to loop through and find each occurrence of (in this case) "CREATE TABLE" and find all the text between "CREATE TABLE" and "GO" then output the text between "CREATE TABLE" and "GO" into a new text file made up of..."tables_AccountHostingOptions.sql" and "tables_AccountInternetOptions.sql" whilst pulling the details out of the BIG text file as in the example above - but of course there are hundreds of CREATE TABLE entries in the file - I am only showing 2 Create Table scripts here for demo So what I need is... Ability to point to a file (I can do this bit just leave me a hook in the following code to reference a form Control) Ability to tell where to start (Inside the text file) the export from EG "CREATE TABLE" or "INSERT INTO" etc and ability to determine the end text = EG 'GO' etc Ability to get the text between those 2 points Ability to append write the text between the "CREATE TABLE" to a text file Ability to provide an output folder (I can do this bit - just leave me a hook ) Ability to name the text file with a prefix - EG 'tables_' or 'config_' etc (I can do this bit - just leave me a hook in the code) AirCode - anything in capitals is a variable set from the form Point to a file read the contents of that file find every occurrence of INSERT INTO or CREATE TABLE in that file Get all the text between INSERT INTO or CREATE TABLE and GO for each occurrence of INSERT INTO or CREATE TABLE output the text between INSERT INTO or CREATE TABLE and GO to a text file in a folder I have already determined name the resulting text file TABLE_ or CONFIG_ and the Name of the Table to be created or the name of the Table to insert into - as wall as dot sql on the end of the file name and loop until there are no more INSERT INTO's or CREATE TABLE's Phew - Hope it all makes sense The trigger for a starting a read for the CREATE TABLE would be the occurrence of the word CREATE TABLE and the occurrence of the word GO The trigger for a starting a read for the INSERT INTO bits would be the occurrence of the word INSERT INTO and a table name differing from say...tmpstrTableName But I'll let you guys work on the machinations of it all :-)) Contact me off list (at darrend at nimble dot com dot au) if you want to tackle this one as a paid jobbie - we need to negotiate fees me thinks - or feel free to reply on list if you want to 'provide' partial or whole solutions Either way many thanks in advance Have a great day Darren From Gustav at cactus.dk Mon Jul 17 03:32:23 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Jul 2006 10:32:23 +0200 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) Message-ID: Hi Marty That CreateGuid doesn't work for me - returns three chars only. We use this function which also looks much simpler to me: Public Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(0 To 7) As Byte End Type Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ ByRef pguid As GUID) As Long Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ ByRef rguid As Any, _ ByVal lpstrClsId As Long, _ ByVal cbMax As Long) As Long Public Function GetGUIDString() As String ' Create a GUID and return its string representation. ' ' 2002-12-15. Cactus Data ApS, CPH. ' Length of GUID string per definition. Const clngGUID As Long = 38 ' Length of buffer with added space for zero terminator. Const clngBuffer As Long = clngGUID + 1 Dim udtGuid As GUID Dim strGUID As String * clngGUID Dim abytGUID() As Byte ' Dim byte array. abytGUID() = String(clngBuffer, vbNullChar) ' Create GUID. If CoCreateGuid(udtGuid) = 0 Then ' GUID was successfully created. If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then ' GUID was successfully copied into byte array abytGUID in Unicode. ' Convert byte array to Ansi GUID string stripping zero terminator. strGUID = abytGUID End If End If GetGUIDString = strGUID End Function Performance is about 100000 GUIDs/second/GHz /gustav >>> martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> There were some service pack changes Office 2003 SP2 to acwizmain.mde. I doubt if it was this, http://support.microsoft.com/kb/821549 However if you just need a random query name why not just create a GUID string 'Paul Brower - 02152001 Private Const RPC_S_OK As Long = 0& Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& Private Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(7) As Byte End Type Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) Private Declare Function UuidToString& Lib "rpcrt4" Alias "UuidToStringA" (lpGUID As GUID, lpGUIDString&) Private Declare Function RpcStringFree& Lib "rpcrt4" Alias "RpcStringFreeA" (lpGUIDString&) Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal lpString&) Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpDest As Any, lpSource As Any, ByVal cBytes&) Public Function CreateGUID() As String 'More GUID routines here ' http://www.trigeminal.com/code/guids.bas Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ Dim sBuffer() As Byte, bNoError As Boolean If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then nStrLen = lstrlen(lpStrGUID) ReDim sBuffer(nStrLen - 1) As Byte CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen Call RpcStringFree(lpStrGUID) sGUID = StrConv(sBuffer, vbUnicode) CreateGUID = UCase$(sGUID) Exit Function End If End If CreateGUID = "Error" End Function From max at sherman.org.uk Mon Jul 17 06:32:20 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 17 Jul 2006 12:32:20 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQkNCcA Message-ID: <001401c6a994$abebd050$e26b1152@Server> Hi Marty, Don't know if this is possible, but within your program you have it set up to use Pop3. Can it also handle Imap? Currently there is nowhere to enter the question that is in the Outlook Advanced Tab = "This Server Requires an Encrypted Connection (SSL)" that is present in Outlook from where it works fine. It would be nice if I could use it to send emails via the domain as it were webmail. I can do it using Outlook, but would prefer to miss out Outlook if possible. Can you advise please? Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: 13 July 2006 19:31 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDOSYS Great reply. Thanks for all the pointers, Marty Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 13 July 2006 19:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS CDOSYS does not allow to read e-mail, only to send them. While CDOSYS doesn't allow you to pull mail via POP3 or IMAP4, it can load a raw MIME message as stream for example from an .EML file saved to your hard disc. This can get complicated really quickly . So it is possible but I can think of better ways of spending the summer. Or you could use a dotNet DLL to call POP3 via tcpconnection class See 8.13 http://www.microsoft.com/mspress/books/sampchap/6436a.asp Pop3 controls callable from Access; a lot out there generally work through sockets Freebies ZaksPop3 Java based. http://www.zaks.demon.co.uk/code/cpts/pop/index.html Commercial http://www.quiksoft.com/newsletter/issue003/ GETMAIL for Windows free for personal use http://www.interlog.com/~tcharron/getmail.html Max Home wrote: >Hi, Marty Connelly, > >You kindly posted some code for using CDOSYS to send Emails. On the example >form, you had some fields for receiving emails via Pop3. I was wondering >Marty if you (or anybody) had any code for these options and also if it >could handle IMapi accounts from a web mail account? > >Any help would be appreciated. > >Regards >Max > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Jul 17 07:42:00 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 17 Jul 2006 08:42:00 -0400 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEDF7B@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356CA@ADGSERVER> Rocky, I left early on Friday, so sorry for the no reply. It looked like some others answered the issue below. Did you get it going? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, July 14, 2006 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database Bobby: I tried using set db = Currentdb after putting the password on the back end and got an 'invalid password' error when opening the first recordset to a linked table. Rocky Bobby Heid wrote: > Did not read all of the email. > > If the tables in the BE are linked, then you can use CurrentDB. You only > have to use the Opendatabse method if you are opening the BE directly. > > Now, you will have to use the password when linking the tables. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 12:44 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Opening password protected database > Importance: Low > > > Dear List: > > I am trying to open a password protected database using the following: > > Set db = CurrentDb > MsgBox db.Name > Dim strPWD As String > strPWD = "shannon" > Dim strDB As String > strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" > Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) > > > Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) > > I used Set db = CurrentDb just to be sure I was getting the exact path > and file name of the back end and strDB does indeed have the correct > path and filename of the back end. The password is also correct. > > What am I doing wrong? > > Maybe there's a simpler way? The client wants to have the back end > password protected, so instead of using the simple set db=Currentdb > everywhere in the app I guess I have to use some syntax which specifies > the password. All the tables in the back end are linked. > > MTIA > > Rocky > > From bchacc at san.rr.com Mon Jul 17 08:27:42 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 17 Jul 2006 06:27:42 -0700 Subject: [AccessD] [SPAM SUSPECT] Opening password protected database In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356CA@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356CA@ADGSERVER> Message-ID: <44BB904E.1080205@san.rr.com> Yeah, thanks - got a couple of good solutions. Rocky Bobby Heid wrote: > Rocky, > > I left early on Friday, so sorry for the no reply. It looked like some > others answered the issue below. Did you get it going? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, July 14, 2006 2:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Opening password protected database > > > Bobby: > > I tried using set db = Currentdb after putting the password on the back > end and got an 'invalid password' error when opening the first recordset > to a linked table. > > Rocky > > > > > Bobby Heid wrote: > >> Did not read all of the email. >> >> If the tables in the BE are linked, then you can use CurrentDB. You only >> have to use the Opendatabse method if you are opening the BE directly. >> >> Now, you will have to use the password when linking the tables. >> >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >> Beach Access Software >> Sent: Friday, July 14, 2006 12:44 PM >> To: Access Developers discussion and problem solving >> Subject: [SPAM SUSPECT] [AccessD] Opening password protected database >> Importance: Low >> >> >> Dear List: >> >> I am trying to open a password protected database using the following: >> >> Set db = CurrentDb >> MsgBox db.Name >> Dim strPWD As String >> strPWD = "shannon" >> Dim strDB As String >> strDB = Left(db.Name, Len(db.Name) - 6) & "BE.mdb" >> Set db = DBEngine.OpenDatabase(strDB, False, False, "pwd=" & strPWD) >> >> >> Set db = DBEngine.OpenDatabase(db.Name, False, False, "pwd=" & strPWD) >> >> I used Set db = CurrentDb just to be sure I was getting the exact path >> and file name of the back end and strDB does indeed have the correct >> path and filename of the back end. The password is also correct. >> >> What am I doing wrong? >> >> Maybe there's a simpler way? The client wants to have the back end >> password protected, so instead of using the simple set db=Currentdb >> everywhere in the app I guess I have to use some syntax which specifies >> the password. All the tables in the back end are linked. >> >> MTIA >> >> Rocky >> >> >> > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From darrend at nimble.com.au Mon Jul 17 08:30:27 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 17 Jul 2006 23:30:27 +1000 Subject: [AccessD] WAY OT: You are not authorized to view this page Message-ID: <20060717133041.TTYL20633.omta02sl.mx.bigpond.com@DENZILLAP> Hi All This is a WAY OT post so please reply to my personal email address - darrend at nimble dot com dot au - thanks You guys are my brains trust in these sorts of matters - so please forgive the OT post if it upsets anyone Sorry in advance Andy - not for the post but for the cricket this November hee hee Anyway... We have a reporting services web page on our internal server Clients use VPN to connect - cool Once they VPN in they type in a URL in an IE window and up comes the credentials popup - cool Once the credentials are passed in this internal 10.1.1. blah blah Reporting Services webpage is loaded with a list of clickable reports- Cool Now here is the problem bit When I do it using my credentials if I want to click on an item at this reporting services webpage I am prompted for my credentials again No big issue - I supply them a second time and the reports loads and runs fine But on another machine I go through the same process... EG I VPN in then type in the URL and enter my credentials (Same as the success story above) and I can see the reporting services web page with a list of clickable reports - just like above But when I click on these items I get NO second logon/credential screen and get errors similar to... You are not authorised to view this page When all this first started I thought I had stuffed up the permissions, but when I was getting it on another machine using credentials that I know work - I realised it is a setting that has or has not been configured I was hoping one of you guys might know which one or how to :-) Way OT this one - so please post to me personally - thanks Many thanks in advance Darren From DWUTKA at marlow.com Mon Jul 17 11:02:00 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 17 Jul 2006 11:02:00 -0500 Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or is system = Windows network? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A234@main2.marlow.com> Not sure if there is a way to do this 'in general'. But if you know the network it's on, you could just go off of machine name (cause terminal sessions should all have the same machine name.) Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Sunday, July 16, 2006 7:35 PM To: AccessD Subject: [AccessD] During runtime - is system = Citrix/Terminal Server or is system = Windows network? I wonder if there is a method to determine if the database is running on Citrix/Terminal Server or is on a Windows Network. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jul 17 11:03:42 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 17 Jul 2006 11:03:42 -0500 Subject: [AccessD] Mobile Access with an mde - Windows tablet? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> We just got a tablet PC in. It's just a laptop with a screen that can be 'repositioned'. Runs everything a normal laptop would. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Sunday, July 16, 2006 7:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jul 17 11:10:03 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 17 Jul 2006 11:10:03 -0500 Subject: [AccessD] Attention Gurus in Text file reading/writing - Paid job if you want it Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A23C@main2.marlow.com> Some air code here.... Dim f as Long Dim strTemp as String Dim strArray() as String F=freefile Open "C:\SomePath\Textfile.txt" for binary access read as f Strtemp=space(lof(f)) Get f,,strtemp Close f Strarray=Split(strTemp,"GO" & vbcrlf) That gives you an array of the CreateTable groups. It's just a matter of looping through the array, and manipulating each string then. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Sunday, July 16, 2006 10:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Attention Gurus in Text file reading/writing - Paid job if you want it Howdy all I have a big project to do for my work Am willing to pay if someone wants to take on providing a solution or if you want to provide partial or whole solutions to the list - Feel free :-)) I have very large SQL files that create hundreds of SQL tables - 2 table example below. and large text files that populate those tables - 2 line example below the table example ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CREATE TABLE [dbo].[AccountHostingOptions] ( [HostingOptionID] [int] IDENTITY (1, 1) NOT NULL , [HostingID] [int] NULL , [HostingOptionCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionQuantity] [int] NULL , [PerOptionFee] [numeric](9, 2) NULL , [RecurrenceCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] GO CREATE TABLE [dbo].[AccountInternetOptions] ( [AccountInternetOptionID] [int] IDENTITY (1, 1) NOT NULL , [AccountNo] [int] NOT NULL , [OptionCode] [char] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [StartDate] [smalldatetime] NULL , [EndDate] [smalldatetime] NULL , [MonthlyFee] [numeric](9, 2) NULL , [ConnectionFee] [numeric](9, 2) NULL , [MailBoxQty] [int] NULL , [Username] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Password] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [OptionItemValue] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [CreatedBy] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [DateCreated] [smalldatetime] NULL ) ON [PRIMARY] GO Another file may be an insert monster containing zillions of insert statements INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(1, 'Up to 50km',0,50) INSERT INTO [luDistanceMapping] ([luDistanceMappingID],[Description],[StartDistance],[EndDistance])VALUES(2, '50 - 85km',51,85) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What I need to do is to be able to point to the text file - in the example above it would be: \\Some folder\Create AccountTables.sql I then need the code to loop through and find each occurrence of (in this case) "CREATE TABLE" and find all the text between "CREATE TABLE" and "GO" then output the text between "CREATE TABLE" and "GO" into a new text file made up of..."tables_AccountHostingOptions.sql" and "tables_AccountInternetOptions.sql" whilst pulling the details out of the BIG text file as in the example above - but of course there are hundreds of CREATE TABLE entries in the file - I am only showing 2 Create Table scripts here for demo So what I need is... Ability to point to a file (I can do this bit just leave me a hook in the following code to reference a form Control) Ability to tell where to start (Inside the text file) the export from EG "CREATE TABLE" or "INSERT INTO" etc and ability to determine the end text = EG 'GO' etc Ability to get the text between those 2 points Ability to append write the text between the "CREATE TABLE" to a text file Ability to provide an output folder (I can do this bit - just leave me a hook ) Ability to name the text file with a prefix - EG 'tables_' or 'config_' etc (I can do this bit - just leave me a hook in the code) AirCode - anything in capitals is a variable set from the form Point to a file read the contents of that file find every occurrence of INSERT INTO or CREATE TABLE in that file Get all the text between INSERT INTO or CREATE TABLE and GO for each occurrence of INSERT INTO or CREATE TABLE output the text between INSERT INTO or CREATE TABLE and GO to a text file in a folder I have already determined name the resulting text file TABLE_ or CONFIG_ and the Name of the Table to be created or the name of the Table to insert into - as wall as dot sql on the end of the file name and loop until there are no more INSERT INTO's or CREATE TABLE's Phew - Hope it all makes sense The trigger for a starting a read for the CREATE TABLE would be the occurrence of the word CREATE TABLE and the occurrence of the word GO The trigger for a starting a read for the INSERT INTO bits would be the occurrence of the word INSERT INTO and a table name differing from say...tmpstrTableName But I'll let you guys work on the machinations of it all :-)) Contact me off list (at darrend at nimble dot com dot au) if you want to tackle this one as a paid jobbie - we need to negotiate fees me thinks - or feel free to reply on list if you want to 'provide' partial or whole solutions Either way many thanks in advance Have a great day Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jul 17 11:40:34 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Jul 2006 09:40:34 -0700 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) In-Reply-To: References: Message-ID: <44BBBD82.9070908@shaw.ca> Both methods work for me on Access97 and 2003 WinXP SP2. My method was kind of old dating back to 1999 or 2000 Maybe a difference in one of the dll's However CoCreateGuid seems to be the more prevalent method used today. Gustav Brock wrote: >Hi Marty > >That CreateGuid doesn't work for me - returns three chars only. >We use this function which also looks much simpler to me: > >Public Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(0 To 7) As Byte >End Type > >Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ > ByRef pguid As GUID) As Long > >Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ > ByRef rguid As Any, _ > ByVal lpstrClsId As Long, _ > ByVal cbMax As Long) As Long > >Public Function GetGUIDString() As String > >' Create a GUID and return its string representation. >' >' 2002-12-15. Cactus Data ApS, CPH. > > ' Length of GUID string per definition. > Const clngGUID As Long = 38 > ' Length of buffer with added space for zero terminator. > Const clngBuffer As Long = clngGUID + 1 > > Dim udtGuid As GUID > Dim strGUID As String * clngGUID > Dim abytGUID() As Byte > > ' Dim byte array. > abytGUID() = String(clngBuffer, vbNullChar) > ' Create GUID. > If CoCreateGuid(udtGuid) = 0 Then > ' GUID was successfully created. > If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then > ' GUID was successfully copied into byte array abytGUID in Unicode. > ' Convert byte array to Ansi GUID string stripping zero terminator. > strGUID = abytGUID > End If > End If > > GetGUIDString = strGUID > >End Function > >Performance is about 100000 GUIDs/second/GHz > >/gustav > > > >>>>martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> >>>> >>>> >There were some service pack changes Office 2003 SP2 to acwizmain.mde. >I doubt if it was this, http://support.microsoft.com/kb/821549 > >However if you just need a random query name why not just create a GUID >string > >'Paul Brower - 02152001 >Private Const RPC_S_OK As Long = 0& >Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& >Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& >Private Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(7) As Byte >End Type > >Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) >Private Declare Function UuidToString& Lib "rpcrt4" Alias >"UuidToStringA" (lpGUID As GUID, lpGUIDString&) >Private Declare Function RpcStringFree& Lib "rpcrt4" Alias >"RpcStringFreeA" (lpGUIDString&) >Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal >lpString&) >Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(lpDest As Any, lpSource As Any, ByVal cBytes&) > >Public Function CreateGUID() As String >'More GUID routines here >' http://www.trigeminal.com/code/guids.bas > > Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ > Dim sBuffer() As Byte, bNoError As Boolean > > > If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then > If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then > nStrLen = lstrlen(lpStrGUID) > ReDim sBuffer(nStrLen - 1) As Byte > CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen > Call RpcStringFree(lpStrGUID) > sGUID = StrConv(sBuffer, vbUnicode) > CreateGUID = UCase$(sGUID) > Exit Function > End If > End If > CreateGUID = "Error" >End Function > > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Mon Jul 17 13:27:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Jul 2006 20:27:45 +0200 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) Message-ID: Hi Marty Strange. I copied/pasted your code into a module in A97 on WinXP Pro SP2. But no GUID, only three chars returned. /gustav >>> martyconnelly at shaw.ca 17-07-2006 18:40:34 >>> Both methods work for me on Access97 and 2003 WinXP SP2. My method was kind of old dating back to 1999 or 2000 Maybe a difference in one of the dll's However CoCreateGuid seems to be the more prevalent method used today. Gustav Brock wrote: >Hi Marty > >That CreateGuid doesn't work for me - returns three chars only. >We use this function which also looks much simpler to me: > >Public Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(0 To 7) As Byte >End Type > >Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ > ByRef pguid As GUID) As Long > >Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ > ByRef rguid As Any, _ > ByVal lpstrClsId As Long, _ > ByVal cbMax As Long) As Long > >Public Function GetGUIDString() As String > >' Create a GUID and return its string representation. >' >' 2002-12-15. Cactus Data ApS, CPH. > > ' Length of GUID string per definition. > Const clngGUID As Long = 38 > ' Length of buffer with added space for zero terminator. > Const clngBuffer As Long = clngGUID + 1 > > Dim udtGuid As GUID > Dim strGUID As String * clngGUID > Dim abytGUID() As Byte > > ' Dim byte array. > abytGUID() = String(clngBuffer, vbNullChar) > ' Create GUID. > If CoCreateGuid(udtGuid) = 0 Then > ' GUID was successfully created. > If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then > ' GUID was successfully copied into byte array abytGUID in Unicode. > ' Convert byte array to Ansi GUID string stripping zero terminator. > strGUID = abytGUID > End If > End If > > GetGUIDString = strGUID > >End Function > >Performance is about 100000 GUIDs/second/GHz > >/gustav > > > >>>>martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> >>>> >>>> >There were some service pack changes Office 2003 SP2 to acwizmain.mde. >I doubt if it was this, http://support.microsoft.com/kb/821549 > >However if you just need a random query name why not just create a GUID >string > >'Paul Brower - 02152001 >Private Const RPC_S_OK As Long = 0& >Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& >Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& >Private Type GUID > Data1 As Long > Data2 As Integer > Data3 As Integer > Data4(7) As Byte >End Type > >Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) >Private Declare Function UuidToString& Lib "rpcrt4" Alias >"UuidToStringA" (lpGUID As GUID, lpGUIDString&) >Private Declare Function RpcStringFree& Lib "rpcrt4" Alias >"RpcStringFreeA" (lpGUIDString&) >Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal >lpString&) >Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(lpDest As Any, lpSource As Any, ByVal cBytes&) > >Public Function CreateGUID() As String >'More GUID routines here >' http://www.trigeminal.com/code/guids.bas > > Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ > Dim sBuffer() As Byte, bNoError As Boolean > > > If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then > If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then > nStrLen = lstrlen(lpStrGUID) > ReDim sBuffer(nStrLen - 1) As Byte > CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen > Call RpcStringFree(lpStrGUID) > sGUID = StrConv(sBuffer, vbUnicode) > CreateGUID = UCase$(sGUID) > Exit Function > End If > End If > CreateGUID = "Error" >End Function From Patricia.O'Connor at otda.state.ny.us Mon Jul 17 13:28:54 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 17 Jul 2006 14:28:54 -0400 Subject: [AccessD] (no subject) In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B8B242D@main2.marlow.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C5@EXCNYSM0A1AI.nysemail.nyenet> What would cause the sizes of Access 2k mdb to increase humongously all of a sudden? I have many mdbs of which all have links to oracle tables but also have internal access tables included. For example I have one that is about 4 months old created on 04/04/2006 is 4,508KB. I copied the one from April today and recreated a table that actually has fewer records than the April table. This Mdb is 41,736KB. So I tried to recreate it from scratch and it still is like 32,000kb Another totally different one I created on July 05, 2006 which has more tables and data is 3,508KB. But there are two others that are similar in nature and huge 195,528. There does not seem to be a specific date when this started to happen Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From markamatte at hotmail.com Mon Jul 17 13:59:27 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 17 Jul 2006 18:59:27 +0000 Subject: [AccessD] (no subject) In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C5@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: Patricia, This may not even be related...but do you do any wild card searches against fields in the linked tables? Mark A. Matte >From: "O'Connor, Patricia (OTDA)" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] (no subject) >Date: Mon, 17 Jul 2006 14:28:54 -0400 > >What would cause the sizes of Access 2k mdb to increase humongously all >of a sudden? I have many mdbs of which all have links to oracle tables >but also have internal access tables included. > >For example I have one that is about 4 months old created on 04/04/2006 >is 4,508KB. I copied the one from April today and recreated a table >that actually has fewer records than the April table. This Mdb is >41,736KB. So I tried to recreate it from scratch and it still is like >32,000kb > >Another totally different one I created on July 05, 2006 which has more >tables and data is 3,508KB. But there are two others that are similar >in nature and huge 195,528. > >There does not seem to be a specific date when this started to happen >Thanks >************************************************** >* Patricia O'Connor >* Associate Computer Programmer Analyst >* OTDA - BDMA >* (W) mailto:Patricia.O'Connor at otda.state.ny.us >* (w) mailto:aa1160 at nysemail.state.ny.us >************************************************** >-------------------------------------------------------- >This e-mail, including any attachments, may be confidential, privileged or >otherwise legally protected. It is intended only for the addressee. If you >received this e-mail in error or from someone who was not authorized to >send it to you, do not disseminate, copy or otherwise use this e-mail or >its attachments. Please notify the sender immediately by reply e-mail and >delete the e-mail from your system. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Mon Jul 17 14:15:09 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 17 Jul 2006 15:15:09 -0400 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C6@EXCNYSM0A1AI.nysemail.nyenet> I have done some but not in the mdb's I am looking at. I also do mostly passthru queries to oracle. Create temp tables there then import them if I need to archive the results for future reference. I am rerunning the procedures - I think I may have put wrong dates in today's work which may have increased record count or table size for todays work. Still checking some of the other ones to see what might be causing it. Thanks for your help ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: Monday, July 17, 2006 02:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] (no subject) > > Patricia, > > This may not even be related...but do you do any wild card > searches against fields in the linked tables? > > Mark A. Matte > > From martyconnelly at shaw.ca Mon Jul 17 15:07:32 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Jul 2006 13:07:32 -0700 Subject: [AccessD] Create GUID (was: wizard use in runtimes (A2K3)) In-Reply-To: References: Message-ID: <44BBEE04.4070308@shaw.ca> I am running WinXP home. Unless it is having problems with the old VB 5 version of dimension statements I usually beat my machine with a rolled up newspaper until this stops happening. Gustav Brock wrote: >Hi Marty > >Strange. I copied/pasted your code into a module in A97 on WinXP Pro SP2. >But no GUID, only three chars returned. > >/gustav > > > >>>>martyconnelly at shaw.ca 17-07-2006 18:40:34 >>> >>>> >>>> >Both methods work for me on Access97 and 2003 WinXP SP2. >My method was kind of old dating back to 1999 or 2000 >Maybe a difference in one of the dll's > >However CoCreateGuid seems to be the more prevalent >method used today. > > > >Gustav Brock wrote: > > > >>Hi Marty >> >>That CreateGuid doesn't work for me - returns three chars only. >>We use this function which also looks much simpler to me: >> >>Public Type GUID >> Data1 As Long >> Data2 As Integer >> Data3 As Integer >> Data4(0 To 7) As Byte >>End Type >> >>Private Declare Function CoCreateGuid Lib "ole32.dll" ( _ >> ByRef pguid As GUID) As Long >> >>Private Declare Function StringFromGUID2 Lib "ole32.dll" ( _ >> ByRef rguid As Any, _ >> ByVal lpstrClsId As Long, _ >> ByVal cbMax As Long) As Long >> >>Public Function GetGUIDString() As String >> >>' Create a GUID and return its string representation. >>' >>' 2002-12-15. Cactus Data ApS, CPH. >> >> ' Length of GUID string per definition. >> Const clngGUID As Long = 38 >> ' Length of buffer with added space for zero terminator. >> Const clngBuffer As Long = clngGUID + 1 >> >> Dim udtGuid As GUID >> Dim strGUID As String * clngGUID >> Dim abytGUID() As Byte >> >> ' Dim byte array. >> abytGUID() = String(clngBuffer, vbNullChar) >> ' Create GUID. >> If CoCreateGuid(udtGuid) = 0 Then >> ' GUID was successfully created. >> If StringFromGUID2(udtGuid, VarPtr(abytGUID(0)), clngBuffer) = clngBuffer Then >> ' GUID was successfully copied into byte array abytGUID in Unicode. >> ' Convert byte array to Ansi GUID string stripping zero terminator. >> strGUID = abytGUID >> End If >> End If >> >> GetGUIDString = strGUID >> >>End Function >> >>Performance is about 100000 GUIDs/second/GHz >> >>/gustav >> >> >> >> >> >>>>>martyconnelly at shaw.ca 17-07-2006 02:41:25 >>> >>>>> >>>>> >>>>> >>>>> >>There were some service pack changes Office 2003 SP2 to acwizmain.mde. >>I doubt if it was this, http://support.microsoft.com/kb/821549 >> >>However if you just need a random query name why not just create a GUID >>string >> >>'Paul Brower - 02152001 >>Private Const RPC_S_OK As Long = 0& >>Private Const RPC_S_UUID_LOCAL_ONLY As Long = 1824& >>Private Const RPC_S_UUID_NO_ADDRESS As Long = 1739& >>Private Type GUID >> Data1 As Long >> Data2 As Integer >> Data3 As Integer >> Data4(7) As Byte >>End Type >> >>Private Declare Function UuidCreate& Lib "rpcrt4" (lpGUID As GUID) >>Private Declare Function UuidToString& Lib "rpcrt4" Alias >>"UuidToStringA" (lpGUID As GUID, lpGUIDString&) >>Private Declare Function RpcStringFree& Lib "rpcrt4" Alias >>"RpcStringFreeA" (lpGUIDString&) >>Private Declare Function lstrlen& Lib "kernel32" Alias "lstrlenA" (ByVal >>lpString&) >>Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>(lpDest As Any, lpSource As Any, ByVal cBytes&) >> >>Public Function CreateGUID() As String >>'More GUID routines here >>' http://www.trigeminal.com/code/guids.bas >> >> Dim nGUID As GUID, lpStrGUID&, nStrLen&, sGUID$ >> Dim sBuffer() As Byte, bNoError As Boolean >> >> >> If UuidCreate(nGUID) <> RPC_S_UUID_NO_ADDRESS Then >> If UuidToString(nGUID, lpStrGUID) = RPC_S_OK Then >> nStrLen = lstrlen(lpStrGUID) >> ReDim sBuffer(nStrLen - 1) As Byte >> CopyMemory sBuffer(0), ByVal lpStrGUID, nStrLen >> Call RpcStringFree(lpStrGUID) >> sGUID = StrConv(sBuffer, vbUnicode) >> CreateGUID = UCase$(sGUID) >> Exit Function >> End If >> End If >> CreateGUID = "Error" >>End Function >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Jul 17 15:25:14 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Jul 2006 13:25:14 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <001401c6a994$abebd050$e26b1152@Server> References: <001401c6a994$abebd050$e26b1152@Server> Message-ID: <44BBF22A.1000101@shaw.ca> I don't remember using any POP3 in code, it is a different protocol than SMTP. Perhaps you could repost the code. One big problem is recent ISP security restrictions. Some cable ISP's will not allow an IP from outside their domain to access a POP3 server, POP3 access wont work at all with DSL or dial-up connections. Some ISP's don't allow any connection at all. To check yours, you can try to access POP3 via Telnet Try it on rarely used Email account. You could try this to get into POP3 port 110 but it may take 10 minutes to activate. telnet shawmail.vc.shawcable.net 110 Then use valid commands eg. 'user', 'pass', 'list', 'top', & 'quit and maybe "RETR" Here are some old samples of VB code to get at POP3. Pretty basic and they might not handle file attachments etc. They generally all use Win Sockets. Microsoft Access Email FAQ http://www.granite.ab.ca/access/email.htm Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. ISBN: 1-55558-212-5 http://www.winsite.com/bin/Info?500000022279 or Access email via winsock.dll in German This only sends email via SMTP or POP3 server http://www.freeaccess.de/downloaddetails.asp?id=19 processing mail from a pop3 mailbox a semi freebie dll http://www.interlog.com/~tcharron/getmail.html Articles on using WinSockets in VB http://www.vbip.com/winsock-api/ http://www.vbip.com/winsock-api/connect/connect-01.asp Max Home wrote: >Hi Marty, >Don't know if this is possible, but within your program you have it set up >to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >the question that is in the Outlook Advanced Tab = "This Server Requires an >Encrypted Connection (SSL)" that is present in Outlook from where it works >fine. > >It would be nice if I could use it to send emails via the domain as it were >webmail. I can do it using Outlook, but would prefer to miss out Outlook if >possible. > >Can you advise please? > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >Sent: 13 July 2006 19:31 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] CDOSYS > >Great reply. Thanks for all the pointers, Marty > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 13 July 2006 19:10 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >CDOSYS does not allow to read e-mail, only to send them. >While CDOSYS doesn't allow you to pull mail via POP3 or >IMAP4, it can load a raw MIME message as stream >for example from an .EML file saved to your hard disc. >This can get complicated really quickly . So it is possible >but I can think of better ways of spending the summer. > >Or you could use a dotNet DLL to call POP3 via tcpconnection class >See 8.13 >http://www.microsoft.com/mspress/books/sampchap/6436a.asp > >Pop3 controls callable from Access; a lot out there generally work >through sockets > >Freebies > >ZaksPop3 Java based. >http://www.zaks.demon.co.uk/code/cpts/pop/index.html > >Commercial >http://www.quiksoft.com/newsletter/issue003/ > >GETMAIL for Windows free for personal use > >http://www.interlog.com/~tcharron/getmail.html > >Max Home wrote: > > > >>Hi, Marty Connelly, >> >>You kindly posted some code for using CDOSYS to send Emails. On the example >>form, you had some fields for receiving emails via Pop3. I was wondering >>Marty if you (or anybody) had any code for these options and also if it >>could handle IMapi accounts from a web mail account? >> >>Any help would be appreciated. >> >>Regards >>Max >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Mon Jul 17 17:04:40 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 18 Jul 2006 08:04:40 +1000 Subject: [AccessD] CDOSYS In-Reply-To: <44BBF22A.1000101@shaw.ca> References: <001401c6a994$abebd050$e26b1152@Server>, <44BBF22A.1000101@shaw.ca> Message-ID: <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> On 17 Jul 2006 at 13:25, MartyConnelly wrote: > One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their > domain to access a POP3 server, I've seen this with SMTP, but never with POP3. Who is doing this? What is the rationale for it? > POP3 access wont work at all with DSL or dial-up connections. Huh? If that were true, most internet subscribers world wide would not have access to their email! > Some ISP's don't allow any connection at all. > I can see it know: I'd like to sign up for an email account OK, that'll be $10 per month, thanks Here's my money, how do I connect to my mailbox? Oh, you want a connection? That requires our Connection Account which is $100 per month. With our $10 account, you get an email address, but there is no way to read the mail that is put in it. -- Stuart From kp at sdsonline.net Mon Jul 17 18:33:42 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 18 Jul 2006 09:33:42 +1000 Subject: [AccessD] (no subject) References: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26C5@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <003301c6a9f9$719a5b50$6601a8c0@office> Patricia - I doubt this is it, but I had something similiar just this month. My client's BE file blew out from 32MB to 320 MB approx. Turns out the tech staff had removed my users' permissions to update and delete from the network drive where the BE was residing. Therefore when the users closed the database, it wasn't able to compact on close. Kath ----- Original Message ----- From: O'Connor, Patricia (OTDA) To: Access Developers discussion and problem solving Sent: Tuesday, July 18, 2006 4:28 AM Subject: [AccessD] (no subject) What would cause the sizes of Access 2k mdb to increase humongously all of a sudden? I have many mdbs of which all have links to oracle tables but also have internal access tables included. For example I have one that is about 4 months old created on 04/04/2006 is 4,508KB. I copied the one from April today and recreated a table that actually has fewer records than the April table. This Mdb is 41,736KB. So I tried to recreate it from scratch and it still is like 32,000kb Another totally different one I created on July 05, 2006 which has more tables and data is 3,508KB. But there are two others that are similar in nature and huge 195,528. There does not seem to be a specific date when this started to happen Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Jul 17 18:58:56 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 18 Jul 2006 09:58:56 +1000 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> Message-ID: <000e01c6a9fc$f734e750$6601a8c0@office> So the difference is in the 'swivel' screen and pen technology? I think they come with a keyboard anyway, don't they? What size/brand is it Drew? Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Tuesday, July 18, 2006 2:03 AM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? We just got a tablet PC in. It's just a laptop with a screen that can be 'repositioned'. Runs everything a normal laptop would. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Sunday, July 16, 2006 7:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Mon Jul 17 19:41:40 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 17 Jul 2006 20:41:40 -0400 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> <000e01c6a9fc$f734e750$6601a8c0@office> Message-ID: <001701c6aa02$efe88f50$6e9ba545@50NM721> http://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/321957-304452-306995-304455-306995-1847962.html ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Monday, July 17, 2006 7:58 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > So the difference is in the 'swivel' screen and pen technology? I think > they come with a keyboard anyway, don't they? What size/brand is it Drew? > > Kath > ----- Original Message ----- > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Sent: Tuesday, July 18, 2006 2:03 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > We just got a tablet PC in. It's just a laptop with a screen that can be > 'repositioned'. Runs everything a normal laptop would. > > Drew > > -----Original Message----- > From: Kath Pelletti [mailto:kp at sdsonline.net] > Sent: Sunday, July 16, 2006 7:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > Thanks Stuart - it looks quite interesting. But I guess that as a first > generation thing, they seems to have a few flaws. The battery life (2.5 > hours) doesn't sound too good. But I would love to have a play with one > of > these. > > Wondering whether anyone on the list has actually used an Access mde on a > Windows tablet PC instead? Otherwise I may just suggest that he go for a > small laptop. > > Kath > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:44 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon Jul 17 20:39:20 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 17 Jul 2006 21:39:20 -0400 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com> <000e01c6a9fc$f734e750$6601a8c0@office> Message-ID: <002301c6aa0a$fdfc19b0$6e9ba545@50NM721> http://www.biomobility.com/dotr4.htm ...you might want to look into pda's a bit more ...this will sync with your desktop Access app and give your client a lot of functionality on the road ...plus its got good reviews in the forums. William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Monday, July 17, 2006 7:58 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > So the difference is in the 'swivel' screen and pen technology? I think > they come with a keyboard anyway, don't they? What size/brand is it Drew? > > Kath > ----- Original Message ----- > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Sent: Tuesday, July 18, 2006 2:03 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > We just got a tablet PC in. It's just a laptop with a screen that can be > 'repositioned'. Runs everything a normal laptop would. > > Drew > > -----Original Message----- > From: Kath Pelletti [mailto:kp at sdsonline.net] > Sent: Sunday, July 16, 2006 7:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > Thanks Stuart - it looks quite interesting. But I guess that as a first > generation thing, they seems to have a few flaws. The battery life (2.5 > hours) doesn't sound too good. But I would love to have a play with one > of > these. > > Wondering whether anyone on the list has actually used an Access mde on a > Windows tablet PC instead? Otherwise I may just suggest that he go for a > small laptop. > > Kath > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:44 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Tue Jul 18 01:50:59 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 18 Jul 2006 01:50:59 -0500 Subject: [AccessD] Mobile Access with an mde - Windows tablet? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDC83@main2.marlow.com> Not sure what size, it looks like a fifteen inch screen. It's a Toshiba, I believe. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Monday, July 17, 2006 6:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? So the difference is in the 'swivel' screen and pen technology? I think they come with a keyboard anyway, don't they? What size/brand is it Drew? Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Tuesday, July 18, 2006 2:03 AM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? We just got a tablet PC in. It's just a laptop with a screen that can be 'repositioned'. Runs everything a normal laptop would. Drew -----Original Message----- From: Kath Pelletti [mailto:kp at sdsonline.net] Sent: Sunday, July 16, 2006 7:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? Thanks Stuart - it looks quite interesting. But I guess that as a first generation thing, they seems to have a few flaws. The battery life (2.5 hours) doesn't sound too good. But I would love to have a play with one of these. Wondering whether anyone on the list has actually used an Access mde on a Windows tablet PC instead? Otherwise I may just suggest that he go for a small laptop. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Friday, July 14, 2006 1:44 PM Subject: Re: [AccessD] Mobile Access with an mde On 13 Jul 2006 at 23:35, William Hindman wrote: > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Jul 18 12:10:19 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 18 Jul 2006 10:10:19 -0700 Subject: [AccessD] Password Protected Database in a Bound Form Message-ID: <44BD15FB.1010808@san.rr.com> Dear List: The back end has a password. Opening a recordset is no problem. But when I open a bound form I get the invalid password error because I obviously haven't told the form what the password is. How do I do that? The password is already in a global variable - if that helps. MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From max at sherman.org.uk Tue Jul 18 12:12:26 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 18 Jul 2006 18:12:26 +0100 Subject: [AccessD] CDOSYS In-Reply-To: <44BBF22A.1000101@shaw.ca> Message-ID: <002701c6aa8d$5b68bfe0$e26b1152@Server> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 17 July 2006 21:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS I don't remember using any POP3 in code, it is a different protocol than SMTP. Perhaps you could repost the code. One big problem is recent ISP security restrictions. Some cable ISP's will not allow an IP from outside their domain to access a POP3 server, POP3 access wont work at all with DSL or dial-up connections. Some ISP's don't allow any connection at all. To check yours, you can try to access POP3 via Telnet Try it on rarely used Email account. You could try this to get into POP3 port 110 but it may take 10 minutes to activate. telnet shawmail.vc.shawcable.net 110 Then use valid commands eg. 'user', 'pass', 'list', 'top', & 'quit and maybe "RETR" Here are some old samples of VB code to get at POP3. Pretty basic and they might not handle file attachments etc. They generally all use Win Sockets. Microsoft Access Email FAQ http://www.granite.ab.ca/access/email.htm Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. ISBN: 1-55558-212-5 http://www.winsite.com/bin/Info?500000022279 or Access email via winsock.dll in German This only sends email via SMTP or POP3 server http://www.freeaccess.de/downloaddetails.asp?id=19 processing mail from a pop3 mailbox a semi freebie dll http://www.interlog.com/~tcharron/getmail.html Articles on using WinSockets in VB http://www.vbip.com/winsock-api/ http://www.vbip.com/winsock-api/connect/connect-01.asp Max Home wrote: >Hi Marty, >Don't know if this is possible, but within your program you have it set up >to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >the question that is in the Outlook Advanced Tab = "This Server Requires an >Encrypted Connection (SSL)" that is present in Outlook from where it works >fine. > >It would be nice if I could use it to send emails via the domain as it were >webmail. I can do it using Outlook, but would prefer to miss out Outlook if >possible. > >Can you advise please? > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >Sent: 13 July 2006 19:31 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] CDOSYS > >Great reply. Thanks for all the pointers, Marty > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 13 July 2006 19:10 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >CDOSYS does not allow to read e-mail, only to send them. >While CDOSYS doesn't allow you to pull mail via POP3 or >IMAP4, it can load a raw MIME message as stream >for example from an .EML file saved to your hard disc. >This can get complicated really quickly . So it is possible >but I can think of better ways of spending the summer. > >Or you could use a dotNet DLL to call POP3 via tcpconnection class >See 8.13 >http://www.microsoft.com/mspress/books/sampchap/6436a.asp > >Pop3 controls callable from Access; a lot out there generally work >through sockets > >Freebies > >ZaksPop3 Java based. >http://www.zaks.demon.co.uk/code/cpts/pop/index.html > >Commercial >http://www.quiksoft.com/newsletter/issue003/ > >GETMAIL for Windows free for personal use > >http://www.interlog.com/~tcharron/getmail.html > >Max Home wrote: > > > >>Hi, Marty Connelly, >> >>You kindly posted some code for using CDOSYS to send Emails. On the example >>form, you had some fields for receiving emails via Pop3. I was wondering >>Marty if you (or anybody) had any code for these options and also if it >>could handle IMapi accounts from a web mail account? >> >>Any help would be appreciated. >> >>Regards >>Max >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Tue Jul 18 12:15:17 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 18 Jul 2006 13:15:17 -0400 Subject: [AccessD] (no subject) - mdb size enlarged without reason In-Reply-To: <003301c6a9f9$719a5b50$6601a8c0@office> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26CE@EXCNYSM0A1AI.nysemail.nyenet> Thanks for all your help. Erased rebooted and requeried with a fix and whalla normal size. Might have had something to do with patches or something. Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kath Pelletti > Sent: Monday, July 17, 2006 07:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] (no subject) > > Patricia - I doubt this is it, but I had something similiar > just this month. My client's BE file blew out from 32MB to > 320 MB approx. Turns out the tech staff had removed my users' > permissions to update and delete from the network drive where > the BE was residing. Therefore when the users closed the > database, it wasn't able to compact on close. > > Kath > > ----- Original Message ----- > From: O'Connor, Patricia (OTDA) > To: Access Developers discussion and problem solving > Sent: Tuesday, July 18, 2006 4:28 AM > Subject: [AccessD] (no subject) > > > What would cause the sizes of Access 2k mdb to increase > humongously all > of a sudden? I have many mdbs of which all have links to > oracle tables > but also have internal access tables included. > > For example I have one that is about 4 months old created > on 04/04/2006 > is 4,508KB. I copied the one from April today and recreated a table > that actually has fewer records than the April table. This Mdb is > 41,736KB. So I tried to recreate it from scratch and it > still is like > 32,000kb > > Another totally different one I created on July 05, 2006 > which has more > tables and data is 3,508KB. But there are two others that > are similar > in nature and huge 195,528. > > There does not seem to be a specific date when this started > to happen > Thanks > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It > is intended only for the addressee. If you received this > e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use > this e-mail or its attachments. Please notify the sender > immediately by reply e-mail and delete the e-mail from your system. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ewaldt at gdls.com Tue Jul 18 12:19:07 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 18 Jul 2006 13:19:07 -0400 Subject: [AccessD] Import more than 255 characters from Excel In-Reply-To: Message-ID: I have a memo field in an Access table, and it receives data from an imported Excel sheet. Unfortunately, the import cuts the length of the imported data to 255, since Access automatically considers it a Text field. Is there a way around this? I use the very simple line: DoCmd.TransferSpreadsheet acImport, 8, "Import01", strFileStuff, False, "InputData" I tried defining the table, "Import01", as filled with Memos; no difference. Any help? I really need to import more than 255 characters. Is there a setting in here somewhere? The spreadsheet is too complex to export to a .CSV file, BTW. Also, "InputData" here is a named range. TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From bheid at appdevgrp.com Tue Jul 18 12:28:11 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 18 Jul 2006 13:28:11 -0400 Subject: [AccessD] [SPAM SUSPECT] Password Protected Database in a Bound Form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE2E2@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356DA@ADGSERVER> The bound form should be bound to linked tables, unless I am not understanding something. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, July 18, 2006 1:10 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Password Protected Database in a Bound Form Importance: Low Dear List: The back end has a password. Opening a recordset is no problem. But when I open a bound form I get the invalid password error because I obviously haven't told the form what the password is. How do I do that? The password is already in a global variable - if that helps. MTIA, Rocky Smolin From bchacc at san.rr.com Tue Jul 18 12:37:51 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 18 Jul 2006 10:37:51 -0700 Subject: [AccessD] [SPAM SUSPECT] Password Protected Database in a Bound Form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356DA@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30D356DA@ADGSERVER> Message-ID: <44BD1C6F.8090608@san.rr.com> Yeah. Bound for has a record source of tblSettlementWorksheet which is a linked table, but I put the password on after the tables were linked so that the DAO recordsets would require the password. Put a text box on the opening form to collect the password into a global variable. However, I just relinked the tables and now the form with the linked table as the record source works. Not sure I'm out of the woods here. But at least I'm moving again. Tnanks. Rocky Bobby Heid wrote: > The bound form should be bound to linked tables, unless I am not > understanding something. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Tuesday, July 18, 2006 1:10 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Password Protected Database in a Bound > Form > Importance: Low > > > Dear List: > > The back end has a password. Opening a recordset is no problem. But > when I open a bound form I get the invalid password error because I > obviously haven't told the form what the password is. How do I do > that? The password is already in a global variable - if that helps. > > MTIA, > > Rocky Smolin > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From Gustav at cactus.dk Tue Jul 18 12:46:46 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Jul 2006 19:46:46 +0200 Subject: [AccessD] CDOSYS Message-ID: Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max From bheid at appdevgrp.com Tue Jul 18 12:58:54 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 18 Jul 2006 13:58:54 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: [SPAM SUSPECT] Password Protected Database in a Bound Form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE2F7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356DB@ADGSERVER> If you refreshed the table links after changing the password, I think this might not have happened. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, July 18, 2006 1:38 PM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] Re: [AccessD] [SPAM SUSPECT] Password Protected Database in a Bound Form Importance: Low Yeah. Bound for has a record source of tblSettlementWorksheet which is a linked table, but I put the password on after the tables were linked so that the DAO recordsets would require the password. Put a text box on the opening form to collect the password into a global variable. However, I just relinked the tables and now the form with the linked table as the record source works. Not sure I'm out of the woods here. But at least I'm moving again. Tnanks. Rocky Bobby Heid wrote: > The bound form should be bound to linked tables, unless I am not > understanding something. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Tuesday, July 18, 2006 1:10 PM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] [AccessD] Password Protected Database in a Bound > Form > Importance: Low > > > Dear List: > > The back end has a password. Opening a recordset is no problem. But > when I open a bound form I get the invalid password error because I > obviously haven't told the form what the password is. How do I do > that? The password is already in a global variable - if that helps. > > MTIA, > > Rocky Smolin From Jim.Hale at FleetPride.com Tue Jul 18 14:00:05 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 18 Jul 2006 14:00:05 -0500 Subject: [AccessD] Import more than 255 characters from Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB0@corp-es01.fleetpride.com> The fastest way is to link to the Excel sheet from within Access. The Excel sheet will show up as a table. Then write a query to populate or create the desired Access table. The query will recognize the Excel "field" as a memo field. HTH Jim Hale -----Original Message----- From: ewaldt at gdls.com [mailto:ewaldt at gdls.com] Sent: Tuesday, July 18, 2006 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Import more than 255 characters from Excel I have a memo field in an Access table, and it receives data from an imported Excel sheet. Unfortunately, the import cuts the length of the imported data to 255, since Access automatically considers it a Text field. Is there a way around this? I use the very simple line: DoCmd.TransferSpreadsheet acImport, 8, "Import01", strFileStuff, False, "InputData" I tried defining the table, "Import01", as filled with Memos; no difference. Any help? I really need to import more than 255 characters. Is there a setting in here somewhere? The spreadsheet is too complex to export to a .CSV file, BTW. Also, "InputData" here is a named range. TIA. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From max at sherman.org.uk Tue Jul 18 15:07:18 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 18 Jul 2006 21:07:18 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aSEbicA Message-ID: <001401c6aaa5$c6a44d20$e26b1152@Server> Hi Gustav, 1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a web based Server. I can reply to these emails using Outlook and SMTP. I can also send these replies using CDOSYS (based on Marty's program) thus AVOIDING using Outlook and it's absurd security (which I bypass using ClickYes) but this is s.l.o.w. for large email groupings. 2. Within Outlook I can Set up an IMAP Email Account to retrieve email from a web based Server (web mail). I can reply to these emails from within Outlook which will also synchronize the emails with those sitting on the web server (web mail). What I CANNOT DO and what I would like to do is to send IMAP based emails without using Outlook and the reason is that there is nowhere within Marty's program to tell it to use SSL (which is a requirement of the server hosting the web mail) or to tell it which ports to use. I hope the above clarifies my needs. I apologize to all for any confusion and regret not having explained it properly in the first place. It would appear that there is no easy/cheap option here. Thanks Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 18 July 2006 18:47 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jul 18 15:30:39 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 13:30:39 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> References: <001401c6a994$abebd050$e26b1152@Server> <44BBF22A.1000101@shaw.ca> <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> Message-ID: <44BD44EF.1070304@shaw.ca> It really does happen with one of the bigger ISP's in Canada, with Shaw Cable, at least for Residential accounts. Haven't checked if Business accounts get access to a special server to get around this.. http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/ServiceDetails.htm half way down. "Note: For security reasons, POP3 and SMTP services cannot be accessed from non-Shaw Internet connections. However, Shaw email services can be accessed from any Internet connection using webmail.shaw.ca." In other words if you have a PDA or laptop with wireless internet access, you have to use a WebMail site to get and send email, no SMTP or POP3. You have to be behind a cable modem inside Shaw's domain to use SMTP or Pop3. Shaw is primarily a cable TV company, so they are not keen on phone access. They do have it available though. If you are wondering if your ISP does something like this, look through the forums at http://www.dslreports.com Stuart McLachlan wrote: >On 17 Jul 2006 at 13:25, MartyConnelly wrote: > > > >>One big problem is recent ISP security restrictions. >> Some cable ISP's will not allow an IP from outside their >>domain to access a POP3 server, >> >> > >I've seen this with SMTP, but never with POP3. Who is doing this? >What is the rationale for it? > > > >>POP3 access wont work at all with DSL or dial-up connections. >> >> > >Huh? If that were true, most internet subscribers world wide would not >have access to their email! > > > >>Some ISP's don't allow any connection at all. >> >> >> > >I can see it know: > >I'd like to sign up for an email account >OK, that'll be $10 per month, thanks > >Here's my money, how do I connect to my mailbox? >Oh, you want a connection? That requires our Connection Account which is >$100 per month. With our $10 account, you get an email address, but there >is no way to read the mail that is put in it. > > > > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Jul 18 15:56:38 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 13:56:38 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <002701c6aa8d$5b68bfe0$e26b1152@Server> References: <002701c6aa8d$5b68bfe0$e26b1152@Server> Message-ID: <44BD4B06.5040508@shaw.ca> If you want to turn on SSL with the CDO code you got. in the configuration section With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With just add this line .Item(strschema & "smtpusessl") = True 'Use SSL for the connection ( True or False) More examples here. http://www.paulsadowski.com/WSH/cdo.htm#LoadFromFile Max Home wrote: >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 17 July 2006 21:25 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >I don't remember using any POP3 in code, >it is a different protocol than SMTP. >Perhaps you could repost the code. > >One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their >domain to access a POP3 server, >POP3 access wont work at all with DSL or dial-up connections. >Some ISP's don't allow any connection at all. > >To check yours, you can try to access POP3 via Telnet >Try it on rarely used Email account. > >You could try this to get into POP3 port 110 > but it may take 10 minutes to activate. > >telnet shawmail.vc.shawcable.net 110 > >Then use valid commands eg. 'user', >'pass', 'list', 'top', & 'quit and maybe "RETR" > >Here are some old samples of VB code >to get at POP3. Pretty basic and they might not >handle file attachments etc. They generally all >use Win Sockets. > >Microsoft Access Email FAQ >http://www.granite.ab.ca/access/email.htm > >Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book >Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. >ISBN: 1-55558-212-5 > >http://www.winsite.com/bin/Info?500000022279 > >or Access email via winsock.dll in German >This only sends email via SMTP or POP3 server >http://www.freeaccess.de/downloaddetails.asp?id=19 > >processing mail from a pop3 mailbox a semi freebie dll > http://www.interlog.com/~tcharron/getmail.html > > >Articles on using WinSockets in VB >http://www.vbip.com/winsock-api/ >http://www.vbip.com/winsock-api/connect/connect-01.asp > > > > >Max Home wrote: > > > >>Hi Marty, >>Don't know if this is possible, but within your program you have it set up >>to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >>the question that is in the Outlook Advanced Tab = "This Server Requires an >>Encrypted Connection (SSL)" that is present in Outlook from where it works >>fine. >> >>It would be nice if I could use it to send emails via the domain as it were >>webmail. I can do it using Outlook, but would prefer to miss out Outlook >> >> >if > > >>possible. >> >>Can you advise please? >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >>Sent: 13 July 2006 19:31 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDOSYS >> >>Great reply. Thanks for all the pointers, Marty >> >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: 13 July 2006 19:10 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] CDOSYS >> >>CDOSYS does not allow to read e-mail, only to send them. >>While CDOSYS doesn't allow you to pull mail via POP3 or >>IMAP4, it can load a raw MIME message as stream >>for example from an .EML file saved to your hard disc. >>This can get complicated really quickly . So it is possible >>but I can think of better ways of spending the summer. >> >>Or you could use a dotNet DLL to call POP3 via tcpconnection class >>See 8.13 >>http://www.microsoft.com/mspress/books/sampchap/6436a.asp >> >>Pop3 controls callable from Access; a lot out there generally work >>through sockets >> >>Freebies >> >>ZaksPop3 Java based. >>http://www.zaks.demon.co.uk/code/cpts/pop/index.html >> >>Commercial >>http://www.quiksoft.com/newsletter/issue003/ >> >>GETMAIL for Windows free for personal use >> >>http://www.interlog.com/~tcharron/getmail.html >> >>Max Home wrote: >> >> >> >> >> >>>Hi, Marty Connelly, >>> >>>You kindly posted some code for using CDOSYS to send Emails. On the >>> >>> >example > > >>>form, you had some fields for receiving emails via Pop3. I was wondering >>>Marty if you (or anybody) had any code for these options and also if it >>>could handle IMapi accounts from a web mail account? >>> >>>Any help would be appreciated. >>> >>>Regards >>>Max >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Tue Jul 18 15:59:22 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 18 Jul 2006 20:59:22 +0000 Subject: [AccessD] Import Large delimited file with special characters In-Reply-To: <44BD44EF.1070304@shaw.ca> Message-ID: Hello All, I've been back and forth with this issue. I think some here helped me with this years ago. Importing a large delimited text file...that has a text/memo/blob field. I'm running into CR or LF in the blob. Is there a way to remove these characters...I seem to remember someone telling a way to loop through and replace these characters...but I can't find it. Any have ideas? Thanks, Mark From DWUTKA at marlow.com Tue Jul 18 16:09:36 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 18 Jul 2006 16:09:36 -0500 Subject: [AccessD] Import Large delimited file with special character s Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A365@main2.marlow.com> The Replace() function?? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, July 18, 2006 3:59 PM To: accessd at databaseadvisors.com Subject: [AccessD] Import Large delimited file with special characters Hello All, I've been back and forth with this issue. I think some here helped me with this years ago. Importing a large delimited text file...that has a text/memo/blob field. I'm running into CR or LF in the blob. Is there a way to remove these characters...I seem to remember someone telling a way to loop through and replace these characters...but I can't find it. Any have ideas? Thanks, Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jul 18 16:09:17 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 14:09:17 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <002701c6aa8d$5b68bfe0$e26b1152@Server> References: <002701c6aa8d$5b68bfe0$e26b1152@Server> Message-ID: <44BD4DFD.9010904@shaw.ca> I guess a little analogy is needed. SMTP is equivalent to a postal worker, carrying a letter from point to point, making sure it gets put into the right mailbag, flown to the right city, and so on -- everything from the first postbox to the time it reaches your apartment mailbox in the foyer. POP3 is like sending your kid down with the mailbox key to collect your mail from the foyer. IMAP is an improvement on POP3. It means you can leave your messages on their server OR download them to your computer. This is great if you are short on disk space or need to check your mail from multiple locations. You can set up any email client (i.e. Outlook Express, Pine, etc.) to check the account or you can use the web-based version when you are away from home. IMAP also allows storage in heirchical folders. see http://www.imap.org By the way some POP3 servers enforce automatic deletion of messages once downloaded, there is a command to stop this but it may not be activated. eg. Google's POP3 service is not RFC compliant which means as soon as you read a message from it, not matter what you do, that message will disappear from the message queue. I can't wait for the confusion to start on IMAP and MAPI ; Max Home wrote: >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 17 July 2006 21:25 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >I don't remember using any POP3 in code, >it is a different protocol than SMTP. >Perhaps you could repost the code. > >One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their >domain to access a POP3 server, >POP3 access wont work at all with DSL or dial-up connections. >Some ISP's don't allow any connection at all. > >To check yours, you can try to access POP3 via Telnet >Try it on rarely used Email account. > >You could try this to get into POP3 port 110 > but it may take 10 minutes to activate. > >telnet shawmail.vc.shawcable.net 110 > >Then use valid commands eg. 'user', >'pass', 'list', 'top', & 'quit and maybe "RETR" > >Here are some old samples of VB code >to get at POP3. Pretty basic and they might not >handle file attachments etc. They generally all >use Win Sockets. > >Microsoft Access Email FAQ >http://www.granite.ab.ca/access/email.htm > >Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book >Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. >ISBN: 1-55558-212-5 > >http://www.winsite.com/bin/Info?500000022279 > >or Access email via winsock.dll in German >This only sends email via SMTP or POP3 server >http://www.freeaccess.de/downloaddetails.asp?id=19 > >processing mail from a pop3 mailbox a semi freebie dll > http://www.interlog.com/~tcharron/getmail.html > > >Articles on using WinSockets in VB >http://www.vbip.com/winsock-api/ >http://www.vbip.com/winsock-api/connect/connect-01.asp > > > > >Max Home wrote: > > > >>Hi Marty, >>Don't know if this is possible, but within your program you have it set up >>to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >>the question that is in the Outlook Advanced Tab = "This Server Requires an >>Encrypted Connection (SSL)" that is present in Outlook from where it works >>fine. >> >>It would be nice if I could use it to send emails via the domain as it were >>webmail. I can do it using Outlook, but would prefer to miss out Outlook >> >> >if > > >>possible. >> >>Can you advise please? >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >>Sent: 13 July 2006 19:31 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDOSYS >> >>Great reply. Thanks for all the pointers, Marty >> >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: 13 July 2006 19:10 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] CDOSYS >> >>CDOSYS does not allow to read e-mail, only to send them. >>While CDOSYS doesn't allow you to pull mail via POP3 or >>IMAP4, it can load a raw MIME message as stream >>for example from an .EML file saved to your hard disc. >>This can get complicated really quickly . So it is possible >>but I can think of better ways of spending the summer. >> >>Or you could use a dotNet DLL to call POP3 via tcpconnection class >>See 8.13 >>http://www.microsoft.com/mspress/books/sampchap/6436a.asp >> >>Pop3 controls callable from Access; a lot out there generally work >>through sockets >> >>Freebies >> >>ZaksPop3 Java based. >>http://www.zaks.demon.co.uk/code/cpts/pop/index.html >> >>Commercial >>http://www.quiksoft.com/newsletter/issue003/ >> >>GETMAIL for Windows free for personal use >> >>http://www.interlog.com/~tcharron/getmail.html >> >>Max Home wrote: >> >> >> >> >> >>>Hi, Marty Connelly, >>> >>>You kindly posted some code for using CDOSYS to send Emails. On the >>> >>> >example > > >>>form, you had some fields for receiving emails via Pop3. I was wondering >>>Marty if you (or anybody) had any code for these options and also if it >>>could handle IMapi accounts from a web mail account? >>> >>>Any help would be appreciated. >>> >>>Regards >>>Max >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Tue Jul 18 16:35:17 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 18 Jul 2006 21:35:17 +0000 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A365@main2.marlow.com> Message-ID: Thanks Drew, ....but the issue would be 'How do you tell the right from the wrong? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 16:09:36 -0500 > >The Replace() function?? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Tuesday, July 18, 2006 3:59 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Import Large delimited file with special characters > >Hello All, > >I've been back and forth with this issue. I think some here helped me with >this years ago. Importing a large delimited text file...that has a >text/memo/blob field. I'm running into CR or LF in the blob. Is there a >way to remove these characters...I seem to remember someone telling a way >to > >loop through and replace these characters...but I can't find it. > >Any have ideas? > >Thanks, > >Mark > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From max at sherman.org.uk Tue Jul 18 16:46:24 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 18 Jul 2006 22:46:24 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aSkcScA Message-ID: <001f01c6aab3$9edf9ac0$e26b1152@Server> Ummmm. What is the difference between imap and mapi? Thought it was just a missplepping . I must confess (as if you haven't guessed, I am totally confused as to why CDOSYS does not support the imap requirements - Outlook does, but I don't want to use it if possible. Regards Max Ps. Googlemail.com allows you to leave it on their server. Just tick the box accordingly. This is a great enhancement over gmail.com imo. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 18 July 2006 22:09 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS I guess a little analogy is needed. SMTP is equivalent to a postal worker, carrying a letter from point to point, making sure it gets put into the right mailbag, flown to the right city, and so on -- everything from the first postbox to the time it reaches your apartment mailbox in the foyer. POP3 is like sending your kid down with the mailbox key to collect your mail from the foyer. IMAP is an improvement on POP3. It means you can leave your messages on their server OR download them to your computer. This is great if you are short on disk space or need to check your mail from multiple locations. You can set up any email client (i.e. Outlook Express, Pine, etc.) to check the account or you can use the web-based version when you are away from home. IMAP also allows storage in heirchical folders. see http://www.imap.org By the way some POP3 servers enforce automatic deletion of messages once downloaded, there is a command to stop this but it may not be activated. eg. Google's POP3 service is not RFC compliant which means as soon as you read a message from it, not matter what you do, that message will disappear from the message queue. I can't wait for the confusion to start on IMAP and MAPI ; Max Home wrote: >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 17 July 2006 21:25 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >I don't remember using any POP3 in code, >it is a different protocol than SMTP. >Perhaps you could repost the code. > >One big problem is recent ISP security restrictions. > Some cable ISP's will not allow an IP from outside their >domain to access a POP3 server, >POP3 access wont work at all with DSL or dial-up connections. >Some ISP's don't allow any connection at all. > >To check yours, you can try to access POP3 via Telnet >Try it on rarely used Email account. > >You could try this to get into POP3 port 110 > but it may take 10 minutes to activate. > >telnet shawmail.vc.shawcable.net 110 > >Then use valid commands eg. 'user', >'pass', 'list', 'top', & 'quit and maybe "RETR" > >Here are some old samples of VB code >to get at POP3. Pretty basic and they might not >handle file attachments etc. They generally all >use Win Sockets. > >Microsoft Access Email FAQ >http://www.granite.ab.ca/access/email.htm > >Programmer's Toolkit (VB/Winsock) for Internet Mail VB 5 code from book >Programmer's Guide to Internet Mail by John Rhoton, Digital Press 1999. >ISBN: 1-55558-212-5 > >http://www.winsite.com/bin/Info?500000022279 > >or Access email via winsock.dll in German >This only sends email via SMTP or POP3 server >http://www.freeaccess.de/downloaddetails.asp?id=19 > >processing mail from a pop3 mailbox a semi freebie dll > http://www.interlog.com/~tcharron/getmail.html > > >Articles on using WinSockets in VB >http://www.vbip.com/winsock-api/ >http://www.vbip.com/winsock-api/connect/connect-01.asp > > > > >Max Home wrote: > > > >>Hi Marty, >>Don't know if this is possible, but within your program you have it set up >>to use Pop3. Can it also handle Imap? Currently there is nowhere to enter >>the question that is in the Outlook Advanced Tab = "This Server Requires an >>Encrypted Connection (SSL)" that is present in Outlook from where it works >>fine. >> >>It would be nice if I could use it to send emails via the domain as it were >>webmail. I can do it using Outlook, but would prefer to miss out Outlook >> >> >if > > >>possible. >> >>Can you advise please? >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home >>Sent: 13 July 2006 19:31 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDOSYS >> >>Great reply. Thanks for all the pointers, Marty >> >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: 13 July 2006 19:10 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] CDOSYS >> >>CDOSYS does not allow to read e-mail, only to send them. >>While CDOSYS doesn't allow you to pull mail via POP3 or >>IMAP4, it can load a raw MIME message as stream >>for example from an .EML file saved to your hard disc. >>This can get complicated really quickly . So it is possible >>but I can think of better ways of spending the summer. >> >>Or you could use a dotNet DLL to call POP3 via tcpconnection class >>See 8.13 >>http://www.microsoft.com/mspress/books/sampchap/6436a.asp >> >>Pop3 controls callable from Access; a lot out there generally work >>through sockets >> >>Freebies >> >>ZaksPop3 Java based. >>http://www.zaks.demon.co.uk/code/cpts/pop/index.html >> >>Commercial >>http://www.quiksoft.com/newsletter/issue003/ >> >>GETMAIL for Windows free for personal use >> >>http://www.interlog.com/~tcharron/getmail.html >> >>Max Home wrote: >> >> >> >> >> >>>Hi, Marty Connelly, >>> >>>You kindly posted some code for using CDOSYS to send Emails. On the >>> >>> >example > > >>>form, you had some fields for receiving emails via Pop3. I was wondering >>>Marty if you (or anybody) had any code for these options and also if it >>>could handle IMapi accounts from a web mail account? >>> >>>Any help would be appreciated. >>> >>>Regards >>>Max >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Jul 18 16:54:04 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 19 Jul 2006 07:54:04 +1000 Subject: [AccessD] CDOSYS In-Reply-To: <44BD44EF.1070304@shaw.ca> References: <001401c6a994$abebd050$e26b1152@Server>, <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg>, <44BD44EF.1070304@shaw.ca> Message-ID: <44BDE51C.3758.4338F91@stuart.lexacorp.com.pg> On 18 Jul 2006 at 13:30, MartyConnelly wrote: > It really does happen with one of the bigger ISP's in Canada, with Shaw > Cable, at least for Residential accounts. Haven't checked if Business > accounts get access to a special server to get around this.. > > http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/Serv > iceDetails.htm > > half way down. > "Note: For security reasons, POP3 and SMTP services cannot be accessed from > non-Shaw Internet connections. However, Shaw email services can be accessed > from any Internet connection using webmail.shaw.ca." > > In other words if you have a PDA or laptop with wireless internet access, > you have to use a WebMail site to get and send email, no SMTP or POP3. You > have to be behind a cable modem inside Shaw's domain to use SMTP or Pop3. > > Shaw is primarily a cable TV company, so they are not keen on phone access. > They do have it available though. > If I was in Canada, I'd certainly not use Shaw :-) -- Stuart From stuart at lexacorp.com.pg Tue Jul 18 17:10:36 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 19 Jul 2006 08:10:36 +1000 Subject: [AccessD] CDOSYS In-Reply-To: <44BD4DFD.9010904@shaw.ca> References: <002701c6aa8d$5b68bfe0$e26b1152@Server>, <44BD4DFD.9010904@shaw.ca> Message-ID: <44BDE8FC.11700.442B281@stuart.lexacorp.com.pg> On 18 Jul 2006 at 14:09, MartyConnelly wrote: > By the way some POP3 servers enforce automatic deletion of messages once > downloaded, there is a command to stop this but it may not be activated. eg. Not quite. The way a POP3 session is supposed to work is that the server MUST NOT delete a message unless. 1. It receives a DELE command on that message and 2. It receives a QUIT instruction at the end of the POP3 session. However RFC 1939 specifically makes allowance for site policies such as "messages may only be downloaded once from the server, and are deleted after this has been accomplished." There is no provision in the RFC for this sort of thing to be a user switched option. In this case, they still should note be deleted unless the session is properly terminated with a QUIT command, so if you could set up your mail client not to issue s QUIT or you always broke the connection before the session was complete, you could theoretically get around the site policy .... > I can't wait for the confusion to start on IMAP and MAPI ; VBG -- Stuart From martyconnelly at shaw.ca Tue Jul 18 17:19:09 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 15:19:09 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <44BDE51C.3758.4338F91@stuart.lexacorp.com.pg> References: <001401c6a994$abebd050$e26b1152@Server> <44BC9618.6758.4B52D6@stuart.lexacorp.com.pg> <44BD44EF.1070304@shaw.ca> <44BDE51C.3758.4338F91@stuart.lexacorp.com.pg> Message-ID: <44BD5E5D.9030301@shaw.ca> It is only $24.95 a month for 5-7 mbps download speeds assuming you are already getting cable tv. Stuart McLachlan wrote: >On 18 Jul 2006 at 13:30, MartyConnelly wrote: > > > >>It really does happen with one of the bigger ISP's in Canada, with Shaw >>Cable, at least for Residential accounts. Haven't checked if Business >>accounts get access to a special server to get around this.. >> >>http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/Serv >>iceDetails.htm >> >>half way down. >>"Note: For security reasons, POP3 and SMTP services cannot be accessed from >>non-Shaw Internet connections. However, Shaw email services can be accessed >>from any Internet connection using webmail.shaw.ca." >> >>In other words if you have a PDA or laptop with wireless internet access, >>you have to use a WebMail site to get and send email, no SMTP or POP3. You >>have to be behind a cable modem inside Shaw's domain to use SMTP or Pop3. >> >>Shaw is primarily a cable TV company, so they are not keen on phone access. >>They do have it available though. >> >> >> > >If I was in Canada, I'd certainly not use Shaw :-) > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Jul 18 17:25:46 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Jul 2006 15:25:46 -0700 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: References: Message-ID: <44BD5FEA.1070102@shaw.ca> strAddress =Replace (strAddress, Chr(13) & Chr(10), "") or if you want a space strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") Mark A Matte wrote: >Thanks Drew, > >....but the issue would be 'How do you tell the right from the wrong? > >Thanks, > >Mark > > > > >>From: DWUTKA at marlow.com >>Reply-To: Access Developers discussion and problem >>solving >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] Import Large delimited file with special character s >>Date: Tue, 18 Jul 2006 16:09:36 -0500 >> >>The Replace() function?? >> >>Drew >> >>-----Original Message----- >>From: Mark A Matte [mailto:markamatte at hotmail.com] >>Sent: Tuesday, July 18, 2006 3:59 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Import Large delimited file with special characters >> >>Hello All, >> >>I've been back and forth with this issue. I think some here helped me with >>this years ago. Importing a large delimited text file...that has a >>text/memo/blob field. I'm running into CR or LF in the blob. Is there a >>way to remove these characters...I seem to remember someone telling a way >>to >> >>loop through and replace these characters...but I can't find it. >> >>Any have ideas? >> >>Thanks, >> >>Mark >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From connie.kamrowski at dpi.nsw.gov.au Tue Jul 18 19:40:19 2006 From: connie.kamrowski at dpi.nsw.gov.au (connie.kamrowski at dpi.nsw.gov.au) Date: Wed, 19 Jul 2006 10:40:19 +1000 Subject: [AccessD] Citrix and project In-Reply-To: Message-ID: Folks, I have an application which is deployed on a Citrix Metaframe server. When some of the users enter the application it gives a Project or Library not found error on startup. But only for some of the users. Any ideas? Interestingly if a user who can use it on one machine logs in on another it gives the error, even though Citrix should not be looking at the local machine. Regards, Connie Kamrowski Senior Software Support Analyst Information Technology NSW Department of Primary Industries Orange Ph: 02 6391 3250 Fax: 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation. From wdhindman at dejpolsystems.com Tue Jul 18 19:48:08 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 18 Jul 2006 20:48:08 -0400 Subject: [AccessD] Citrix and project References: Message-ID: <000301c6aacd$01a1b3f0$6e9ba545@50NM721> ...is your citrix installed with multiple user directories on the server? ...that would explain your symptoms. William ----- Original Message ----- From: To: Sent: Tuesday, July 18, 2006 8:40 PM Subject: [AccessD] Citrix and project > Folks, > > I have an application which is deployed on a Citrix Metaframe server. When > some of the users enter the application it gives a Project or Library not > found error on startup. But only for some of the users. Any ideas? > > Interestingly if a user who can use it on one machine logs in on another > it gives the error, even though Citrix should not be looking at the local > machine. > > Regards, > > Connie Kamrowski > > Senior Software Support Analyst > Information Technology > NSW Department of Primary Industries > Orange > > Ph: 02 6391 3250 > Fax: 02 6391 3290 > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient, please > delete it and notify the sender. Views expressed in this message are those > of the individual sender, and are not necessarily the views of their > organisation. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dajomigo at tpg.com.au Tue Jul 18 23:57:12 2006 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Wed, 19 Jul 2006 14:57:12 +1000 Subject: [AccessD] Check box field on continuous form In-Reply-To: References: Message-ID: <6.2.1.2.2.20060719125518.043efda0@mail.tpg.com.au> I am working on a database for a video library. I am having some difficulty with a form for recording over-the-phone movie renewals. i have included a field in the table (tblHires) to show if the movie is to be renewed (this is a Yes/No field type) and the form has a subform set as a continuous form. The subform is based on the following query: SELECT tblHires.HireID, tblHires.member, tblHires.title, tblHires.outDate, tblHires.dueDate, tblHires.over, tblHires.RentalFee, tblTitles.name, IIf((Date()-tblHires!dueDate)>1,(Date()-tblHires!dueDate)*tblRentalType!LateFeeRate,0) AS ChargesDue, tblHires.DateReturned, IIf(tblHires!dueDate>Date(),False,True) AS RenewStatus, tblHires.Renew, tblRentalType.DaysDueBack, tblRentalType.NewRelease, tblRentalType.RentalFee AS DefaultRentalFee FROM (tblRentalType INNER JOIN tblTitles ON tblRentalType.RentalTypeID = tblTitles.RentalTypeID) INNER JOIN tblHires ON tblTitles.tapeNumber = tblHires.title WHERE (((tblHires.member)=[Forms]![frmHire_New_Members_Extend]![cboSelectMember]) AND ((tblHires.DateReturned) Is Null)); I want the Renew field to be true for all titles that may need to be renewed (that is: not yet returned and dueDate Message-ID: Check the paths on your references. They must be valid when the user is logged in under Citrix. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of connie.kamrowski at dpi.nsw.gov.au Sent: Tuesday, July 18, 2006 8:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Citrix and project Folks, I have an application which is deployed on a Citrix Metaframe server. When some of the users enter the application it gives a Project or Library not found error on startup. But only for some of the users. Any ideas? Interestingly if a user who can use it on one machine logs in on another it gives the error, even though Citrix should not be looking at the local machine. Regards, Connie Kamrowski Senior Software Support Analyst Information Technology NSW Department of Primary Industries Orange Ph: 02 6391 3250 Fax: 02 6391 3290 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Wed Jul 19 07:08:29 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 19 Jul 2006 08:08:29 -0400 Subject: [AccessD] Accepting Objects In-Reply-To: Message-ID: On a user submission form, I want the user to be able to place a copy of whatever object they want onto the form. That is, if they have a picture, Excel workbook, etc. for documentation, they should be able to copy it and paste it into a box on the form. I thought I remembered doing this in past years, but it's evading me now. Any help would be appreciated. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From prosoft6 at hotmail.com Wed Jul 19 07:09:07 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 08:09:07 -0400 Subject: [AccessD] OT: VPN Connection to another site In-Reply-To: Message-ID: Wondering if anyone has found a way around this..........have checked with local IT people who are very knowledgeable and they tell me that they have not. Have a client who is connecting to several sites to collect info. Their ip address of their server happens to be the same as the ip address of the server they are connecting to. This causes a problem because they cannot keep both la ocal connnection and a vpn connection open due to the ip address conflict. Has anyone run into this, and if so, how did you solve it? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From bheid at appdevgrp.com Wed Jul 19 08:53:12 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 19 Jul 2006 09:53:12 -0400 Subject: [AccessD] [SPAM SUSPECT] Check box field on continuous form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE3C1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356E5@ADGSERVER> David, Why not run an update query when opening the form (or even once when the program starts) that updates this field based upon the current date. That way, you can just display it as is. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Wednesday, July 19, 2006 12:57 AM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] [AccessD] Check box field on continuous form Importance: Low I am working on a database for a video library. I am having some difficulty with a form for recording over-the-phone movie renewals. i have included a field in the table (tblHires) to show if the movie is to be renewed (this is a Yes/No field type) and the form has a subform set as a continuous form. The subform is based on the following query: SELECT tblHires.HireID, tblHires.member, tblHires.title, tblHires.outDate, tblHires.dueDate, tblHires.over, tblHires.RentalFee, tblTitles.name, IIf((Date()-tblHires!dueDate)>1,(Date()-tblHires!dueDate)*tblRentalType!Late FeeRate,0) AS ChargesDue, tblHires.DateReturned, IIf(tblHires!dueDate>Date(),False,True) AS RenewStatus, tblHires.Renew, tblRentalType.DaysDueBack, tblRentalType.NewRelease, tblRentalType.RentalFee AS DefaultRentalFee FROM (tblRentalType INNER JOIN tblTitles ON tblRentalType.RentalTypeID = tblTitles.RentalTypeID) INNER JOIN tblHires ON tblTitles.tapeNumber = tblHires.title WHERE (((tblHires.member)=[Forms]![frmHire_New_Members_Extend]![cboSelectMember]) AND ((tblHires.DateReturned) Is Null)); I want the Renew field to be true for all titles that may need to be renewed (that is: not yet returned and dueDate Someone has to change their IP address. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 7:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: VPN Connection to another site Wondering if anyone has found a way around this..........have checked with local IT people who are very knowledgeable and they tell me that they have not. Have a client who is connecting to several sites to collect info. Their ip address of their server happens to be the same as the ip address of the server they are connecting to. This causes a problem because they cannot keep both la ocal connnection and a vpn connection open due to the ip address conflict. Has anyone run into this, and if so, how did you solve it? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Jul 19 10:14:04 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Jul 2006 17:14:04 +0200 Subject: [AccessD] CDOSYS Message-ID: Hi Max First, forget anything about MAPI ... they are only joking and yes, e-mail handling can be quite confusing. Then, SMTP is really what you need. The only but important issue you may experience is, that many corporations block outgoing mail from workstations. In those cases you'll need to go through the corporate SMTP server - not hard but not automatically set up for you. Again, the Chilkat component may do much of the dirty work for you: http://www.chilkatsoft.com/email-activex.asp It is not free (about USD 100) but it will save you hours of hard work. CDOSYS is free and already installed on most Windows machines but its way of handling mail in an ADO style is hard to comprehend and requires twice as much code as for any decent control of which Chilkat is one. Note that sent SMTP e-mail is never stored except at the final destination. If the sender wish to save a copy (like most e-mail clients do as default), it is up to the sender (the e-mail client) to do this. A very simple method is to bcc a copy to a "Sent" account. /gustav >>> max at sherman.org.uk 18-07-2006 22:07:18 >>> Hi Gustav, 1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a web based Server. I can reply to these emails using Outlook and SMTP. I can also send these replies using CDOSYS (based on Marty's program) thus AVOIDING using Outlook and it's absurd security (which I bypass using ClickYes) but this is s.l.o.w. for large email groupings. 2. Within Outlook I can Set up an IMAP Email Account to retrieve email from a web based Server (web mail). I can reply to these emails from within Outlook which will also synchronize the emails with those sitting on the web server (web mail). What I CANNOT DO and what I would like to do is to send IMAP based emails without using Outlook and the reason is that there is nowhere within Marty's program to tell it to use SSL (which is a requirement of the server hosting the web mail) or to tell it which ports to use. I hope the above clarifies my needs. I apologize to all for any confusion and regret not having explained it properly in the first place. It would appear that there is no easy/cheap option here. Thanks Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 18 July 2006 18:47 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max From cfoust at infostatsystems.com Wed Jul 19 10:21:12 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Jul 2006 08:21:12 -0700 Subject: [AccessD] Accepting Objects In-Reply-To: Message-ID: Are you talking about storing the object in the database or just storing a link to it? You can use a frame control to hold the object. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, July 19, 2006 5:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Accepting Objects On a user submission form, I want the user to be able to place a copy of whatever object they want onto the form. That is, if they have a picture, Excel workbook, etc. for documentation, they should be able to copy it and paste it into a box on the form. I thought I remembered doing this in past years, but it's evading me now. Any help would be appreciated. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Jul 19 10:24:54 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 19 Jul 2006 15:24:54 +0000 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <44BD5FEA.1070102@shaw.ca> Message-ID: Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 19 10:29:25 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 19 Jul 2006 08:29:25 -0700 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: Message-ID: Search for two of them together and replace them with one. That will clear out any extras. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 19, 2006 8:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import Large delimited file with special character s Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Jul 19 11:11:30 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 19 Jul 2006 12:11:30 -0400 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE44D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356E9@ADGSERVER> Or, you could use replace to get rid of them all, then use replace to replace each "." with "." & vbcrlf. This should work unless there are other periods in the text. Alternatively, do a find on each crlf, then check the character before the found crlf and see if it is a period, if it is, then skip the deletion of the crlf. Air code: i=instr(1,str,vbcrlf) do while i<>0 if i<>1 then 'if crlf is not the 1st chars if mid$(str,i-1)<>"." then str=left$(str,i-1) & right$(str,len(str)-i-1) 'I think the -1 will work end if else str=right$(str,len(str)-2) 'get all but 2st 2 chars since crlf at front end if i=instr(i,str,vbcrlf) loop Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, July 19, 2006 11:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Import Large delimited file with special character s Search for two of them together and replace them with one. That will clear out any extras. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 19, 2006 8:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import Large delimited file with special character s Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Jul 19 11:24:53 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 19 Jul 2006 12:24:53 -0400 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE45E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356EA@ADGSERVER> if mid$(str,i-1)<>"." then should read if mid$(str,i-1,1)<>"." then Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, July 19, 2006 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Import Large delimited file with special character s Or, you could use replace to get rid of them all, then use replace to replace each "." with "." & vbcrlf. This should work unless there are other periods in the text. Alternatively, do a find on each crlf, then check the character before the found crlf and see if it is a period, if it is, then skip the deletion of the crlf. Air code: i=instr(1,str,vbcrlf) do while i<>0 if i<>1 then 'if crlf is not the 1st chars if mid$(str,i-1)<>"." then str=left$(str,i-1) & right$(str,len(str)-i-1) 'I think the -1 will work end if else str=right$(str,len(str)-2) 'get all but 2st 2 chars since crlf at front end if i=instr(i,str,vbcrlf) loop Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, July 19, 2006 11:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Import Large delimited file with special character s Search for two of them together and replace them with one. That will clear out any extras. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 19, 2006 8:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import Large delimited file with special character s Thanks Marty...but not all of the CR and LF need to be replaced. There still needs to be one at the end of each line. >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Import Large delimited file with special character s >Date: Tue, 18 Jul 2006 15:25:46 -0700 > > strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >or if you want a space > strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") > >Mark A Matte wrote: > > >Thanks Drew, > > > >....but the issue would be 'How do you tell the right from the wrong? > > > >Thanks, > > > >Mark > > > > > > > > > >>From: DWUTKA at marlow.com > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: accessd at databaseadvisors.com > >>Subject: Re: [AccessD] Import Large delimited file with special >character s > >>Date: Tue, 18 Jul 2006 16:09:36 -0500 > >> > >>The Replace() function?? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Tuesday, July 18, 2006 3:59 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Import Large delimited file with special characters > >> > >>Hello All, > >> > >>I've been back and forth with this issue. I think some here helped me >with > >>this years ago. Importing a large delimited text file...that has a > >>text/memo/blob field. I'm running into CR or LF in the blob. Is there >a > >>way to remove these characters...I seem to remember someone telling a >way > >>to > >> > >>loop through and replace these characters...but I can't find it. > >> > >>Any have ideas? > >> > >>Thanks, > >> > >>Mark > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Jul 19 11:56:12 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 12:56:12 -0400 Subject: [AccessD] OT: VPN Connection to another site In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A39C@main2.marlow.com> Message-ID: I cant believe that there isn't a way around this. Drew, you are the fourth person I have asked. Hmmmmmm Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From max at sherman.org.uk Wed Jul 19 11:58:49 2006 From: max at sherman.org.uk (Max Home) Date: Wed, 19 Jul 2006 17:58:49 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQkfycA Message-ID: <004001c6ab54$9c350200$e26b1152@Server> Thank you Gustav, Would you know where I can get any documentation on CDOSYS. All I can seem to find are snippets of code but no overview or documentation. If it comes pre-installed with the OS, then presumably somebody at MS thought it might be needed but forget to let the un-Intelligentsia how to use it?? Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 July 2006 16:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max First, forget anything about MAPI ... they are only joking and yes, e-mail handling can be quite confusing. Then, SMTP is really what you need. The only but important issue you may experience is, that many corporations block outgoing mail from workstations. In those cases you'll need to go through the corporate SMTP server - not hard but not automatically set up for you. Again, the Chilkat component may do much of the dirty work for you: http://www.chilkatsoft.com/email-activex.asp It is not free (about USD 100) but it will save you hours of hard work. CDOSYS is free and already installed on most Windows machines but its way of handling mail in an ADO style is hard to comprehend and requires twice as much code as for any decent control of which Chilkat is one. Note that sent SMTP e-mail is never stored except at the final destination. If the sender wish to save a copy (like most e-mail clients do as default), it is up to the sender (the e-mail client) to do this. A very simple method is to bcc a copy to a "Sent" account. /gustav >>> max at sherman.org.uk 18-07-2006 22:07:18 >>> Hi Gustav, 1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a web based Server. I can reply to these emails using Outlook and SMTP. I can also send these replies using CDOSYS (based on Marty's program) thus AVOIDING using Outlook and it's absurd security (which I bypass using ClickYes) but this is s.l.o.w. for large email groupings. 2. Within Outlook I can Set up an IMAP Email Account to retrieve email from a web based Server (web mail). I can reply to these emails from within Outlook which will also synchronize the emails with those sitting on the web server (web mail). What I CANNOT DO and what I would like to do is to send IMAP based emails without using Outlook and the reason is that there is nowhere within Marty's program to tell it to use SSL (which is a requirement of the server hosting the web mail) or to tell it which ports to use. I hope the above clarifies my needs. I apologize to all for any confusion and regret not having explained it properly in the first place. It would appear that there is no easy/cheap option here. Thanks Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 18 July 2006 18:47 To: accessd at databaseadvisors.com Subject: Re: [AccessD] CDOSYS Hi Max That did cause if not problems then confusion. And it still does. IMAP is for retrieving mail from a mail server, SMTP is for sending mail. Further, you can use an installed Outlook to send mail without bothering about SMTP and other mail configuration, but if you wish to bypass or ignore Outlook you need to send with SMTP via your corporate/hosted/in-house mail server or via your ISP's mail server, or directly to the receiver's mail server. >>> max at sherman.org.uk 18-07-2006 19:12:26 >>> Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't caused you (and others) any problems. It sends email via SMTP and I would like to send it via IMAP so that it appears to come as if from the webmailer without having to go through Outlook (I can do it via Outlook with no problem) but not from within your program. Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Wed Jul 19 13:05:55 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 19 Jul 2006 14:05:55 -0400 Subject: [AccessD] VPN Connection to another site Message-ID: <1153332355.44be748389152@webmail.highstream.net> Julie, Come on, think about it. The idea of ip addresses are for them to be unique. Work around the stupid use of a duplicate, why? They need to change the IP address so they are not using the same one on 2 different servers and get on with life. Brick Wall Bang on brick wall with head to knock down OR Walk around brick wall Do the first one and all you will end up with is a bloody forehead and a bad headache. The second one is much easier on the body. :-) Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting accessd-request at databaseadvisors.com: > Date: Wed, 19 Jul 2006 12:56:12 -0400 > From: "Julie Reardon-Taylor" > Subject: Re: [AccessD] OT: VPN Connection to another site > To: accessd at databaseadvisors.com > Message-ID: > Content-Type: text/plain; format=flowed > > I cant believe that there isn't a way around this. Drew, you are the fourth > person I have asked. Hmmmmmm > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business From prosoft6 at hotmail.com Wed Jul 19 13:08:16 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 14:08:16 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <1153332355.44be748389152@webmail.highstream.net> Message-ID: No. That's not the point. The vpn is connecting to another business. The network may conflict again with another client. Am I then to change the ip's all over again? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From prosoft6 at hotmail.com Wed Jul 19 13:09:43 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 14:09:43 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <1153332355.44be748389152@webmail.highstream.net> Message-ID: You are missing the point Stewart. This office connections to many different clients. When they pick up a new client, how do I know that the new clients ip addresses won't conflict. I will find a way around this and let you know how to do it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From martyconnelly at shaw.ca Wed Jul 19 13:34:16 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Jul 2006 11:34:16 -0700 Subject: [AccessD] Import Large delimited file with special character s In-Reply-To: References: Message-ID: <44BE7B28.5030905@shaw.ca> I don't know what generated the original text but I am just wondering if you have a mixture of hard and soft carriage returns. This is just a stab in the dark A hard return vbcrlf is like a word paragraph mark. to enter via Access on a form you press Ctrl Enter, A soft return would appear as a black rectangle when displayed on a form in a memo field. you might want to check if you have vbCrLf = chr(13)+ chr(10) or vbCr = chr(13) UPDATE tblMemo SET tblMemo.TestMemo = Replace ([TestMemo],Chr(13) & Chr(10),"***"); then UPDATE tblMemo SET tblMemo.TestMemo = Replace ([TestMemo],Chr(13),"$$$"); Mark A Matte wrote: >Thanks Marty...but not all of the CR and LF need to be replaced. There >still needs to be one at the end of each line. > > > > > > >>From: MartyConnelly >>Reply-To: Access Developers discussion and problem >>solving >>To: Access Developers discussion and problem >>solving >>Subject: Re: [AccessD] Import Large delimited file with special character s >>Date: Tue, 18 Jul 2006 15:25:46 -0700 >> >> strAddress =Replace (strAddress, Chr(13) & Chr(10), "") >>or if you want a space >> strAddress =Replace (strAddress, Chr(13) & Chr(10), " ") >> >>Mark A Matte wrote: >> >> >> >>>Thanks Drew, >>> >>>....but the issue would be 'How do you tell the right from the wrong? >>> >>>Thanks, >>> >>>Mark >>> >>> >>> >>> >>> >>> >>>>From: DWUTKA at marlow.com >>>>Reply-To: Access Developers discussion and problem >>>>solving >>>>To: accessd at databaseadvisors.com >>>>Subject: Re: [AccessD] Import Large delimited file with special >>>> >>>> >>character s >> >> >>>>Date: Tue, 18 Jul 2006 16:09:36 -0500 >>>> >>>>The Replace() function?? >>>> >>>>Drew >>>> >>>>-----Original Message----- >>>>From: Mark A Matte [mailto:markamatte at hotmail.com] >>>>Sent: Tuesday, July 18, 2006 3:59 PM >>>>To: accessd at databaseadvisors.com >>>>Subject: [AccessD] Import Large delimited file with special characters >>>> >>>>Hello All, >>>> >>>>I've been back and forth with this issue. I think some here helped me >>>> >>>> >>with >> >> >>>>this years ago. Importing a large delimited text file...that has a >>>>text/memo/blob field. I'm running into CR or LF in the blob. Is there >>>> >>>> >>a >> >> >>>>way to remove these characters...I seem to remember someone telling a >>>> >>>> >>way >> >> >>>>to >>>> >>>>loop through and replace these characters...but I can't find it. >>>> >>>>Any have ideas? >>>> >>>>Thanks, >>>> >>>>Mark >>>> >>>> >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From darsant at gmail.com Wed Jul 19 13:42:29 2006 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 19 Jul 2006 13:42:29 -0500 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <1153332355.44be748389152@webmail.highstream.net> Message-ID: <53c8e05a0607191142w29768601yda756d8320ec9251@mail.gmail.com> The short answer is: Change the business IP address to a non-common unused subnet. Otherwise you'll continue to have conflicts. But there are enough subnets in the private range that if you avoid the common router subnets, you'll eliminate 99.9% of your conflicts. Go with 192.168.214.X The long answer: You could technically build your own router that would spoof the IP Addresses from the host network. It would reroute external --> internal packets to a fake unused subnet, so the client would see your computers as the fake address. In return, it would spoof the external IP addresses while inside your network to some unused fake subnet. So to a client, a computer at 192.168.1.100 may appear as 10.0.10.100. However, once it hits the router it would properly adjust the packet. To your network, a client computer woudl appear as 10.0.12.100. However, once it hit the router it would adjusted to 192.168.1.100 for the client and routed properly. However, this is severely overkill and would require a large time investment, and still be prone to breaking if anyone connected from the unused subnets. Unless your clients want to talk to each other through VPN from your office, it's silly not to change your internal IPs to something rarely used, and then deal with the edge case when it comes up (if ever). Pick from any of the below: Start 192.168.0.0 - 192.168.255.255 172.16.0.0 - 172.31.255.255 10.0.0.0 - 10.255.255.255 Although I'd avoid 192.168.0.X and 192.168.1.X because they are the defaults on just about anything. How about you set up your network as 192.168.214.X? I only get 16 hits on google for that subnet range, and only 3 newsgroup entries, so it seems highly unused. Josh On 7/19/06, Julie Reardon-Taylor wrote: > No. That's not the point. The vpn is connecting to another business. The > network may conflict again with another client. Am I then to change the > ip's all over again? -- "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From martyconnelly at shaw.ca Wed Jul 19 13:44:22 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Jul 2006 11:44:22 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <004001c6ab54$9c350200$e26b1152@Server> References: <004001c6ab54$9c350200$e26b1152@Server> Message-ID: <44BE7D86.5010902@shaw.ca> Microsoft Collaboration Data Objects 2.0 CDOSys http://support.microsoft.com/?scid=ph;en-us;6384 and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_techsel_tech_1.asp However you have to grok the various flavours of CDO, I think you only want to use CDOSys Relationship between 1.x CDO Libraries and CDOSYS.DLL http://support.microsoft.com/?kbid=195683 Why? CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement for CDO (1.x), they can be used on the same system concurrently, if required. If a program or script needs to work with messaging objects using Microsoft Exchange Server as well as the SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, 1.21) Library, the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) Library, and the CDO for Windows 2000 (CDOSYS) Library. An application running on an Automation controller such as Visual Basic can call all these libraries and coordinate their activities. Max Home wrote: >Thank you Gustav, >Would you know where I can get any documentation on CDOSYS. All I can seem >to find are snippets of code but no overview or documentation. If it comes >pre-installed with the OS, then presumably somebody at MS thought it might >be needed but forget to let the un-Intelligentsia how to use it?? > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 19 July 2006 16:14 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >First, forget anything about MAPI ... they are only joking and yes, e-mail >handling can be quite confusing. > >Then, SMTP is really what you need. The only but important issue you may >experience is, that many corporations block outgoing mail from workstations. >In those cases you'll need to go through the corporate SMTP server - not >hard but not automatically set up for you. > >Again, the Chilkat component may do much of the dirty work for you: > >http://www.chilkatsoft.com/email-activex.asp > >It is not free (about USD 100) but it will save you hours of hard work. >CDOSYS is free and already installed on most Windows machines but its way of >handling mail in an ADO style is hard to comprehend and requires twice as >much code as for any decent control of which Chilkat is one. > >Note that sent SMTP e-mail is never stored except at the final destination. >If the sender wish to save a copy (like most e-mail clients do as default), >it is up to the sender (the e-mail client) to do this. A very simple method >is to bcc a copy to a "Sent" account. > >/gustav > > > >>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>> >>>> >Hi Gustav, > > >1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a >web based Server. I can reply to these emails using Outlook and SMTP. I can >also send these replies using CDOSYS (based on Marty's program) thus >AVOIDING using Outlook and it's absurd security (which I bypass using >ClickYes) but this is s.l.o.w. for large email groupings. > >2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >a web based Server (web mail). I can reply to these emails from within >Outlook which will also synchronize the emails with those sitting on the web >server (web mail). What I CANNOT DO and what I would like to do is to send >IMAP based emails without using Outlook and the reason is that there is >nowhere within Marty's program to tell it to use SSL (which is a requirement >of the server hosting the web mail) or to tell it which ports to use. > >I hope the above clarifies my needs. I apologize to all for any confusion >and regret not having explained it properly in the first place. It would >appear that there is no easy/cheap option here. > >Thanks > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 18 July 2006 18:47 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >That did cause if not problems then confusion. > >And it still does. IMAP is for retrieving mail from a mail server, SMTP is >for sending mail. Further, you can use an installed Outlook to send mail >without bothering about SMTP and other mail configuration, but if you wish >to bypass or ignore Outlook you need to send with SMTP via your >corporate/hosted/in-house mail server or via your ISP's mail server, or >directly to the receiver's mail server. > > > >>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>> >>>> >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max > > > -- Marty Connelly Victoria, B.C. Canada From prosoft6 at hotmail.com Wed Jul 19 13:52:55 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 19 Jul 2006 14:52:55 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <53c8e05a0607191142w29768601yda756d8320ec9251@mail.gmail.com> Message-ID: Thanks Josh. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From Patricia.O'Connor at otda.state.ny.us Wed Jul 19 15:55:20 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 19 Jul 2006 16:55:20 -0400 Subject: [AccessD] Oracle number changes to Decimal in Access 2k & 2003 In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB0@corp-es01.fleetpride.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D4@EXCNYSM0A1AI.nysemail.nyenet> When you look at the table in ORACLE PL/SQL the datatype is number but when you look at the description in Access it says number with size as DECIMAL. The precision and scale I assume is determined by whether oracle has it with decimals. Below is a comparison Name ORACLE ACCESS Access Type Type size Precision scale ---------------------- ------- -------- ------- --------- ----- RECORD_ID NUMBER(9) Number DECIMAL 9 0 AREA_CD VARCHAR2(2) Text 2 - - CHECK_SEQ_NBR NUMBER(8) Number DECIMAL 8 0 COST_AMT NUMBER(8,2) Number DECIMAL 8 2 ADJUSTED_RECORD_ID NUMBER(9) Number DECIMAL 9 0 RECIPIENT_FEE_AMT NUMBER(6,2) Number DECIMAL 6 2 REPORT_FROM_MONTH_NBR DATE Number Date/Time - - RECORD_LINE_NBR NUMBER(2) Number DECIMAL 2 0 I link to ORACLE 9 and 10G tables using ORACLE ODBC. Errors occur from this difference. Example export to txt file. Since the data is linked with read only permission, I have to copy data to an access table then change the access size to long integer or double then I can export the data. Also in the registry I have 3 HOMEx\nls_lang items. Should these all be the same? If so, which one is correct? HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG is set to WE8MSWIN1252 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG is to "AMERICAN_AMERICA.WE8ISO8859P1 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME3\NLS_LANG to "AMERICAN_AMERICA.WE8ISO8859P1 Would this cause some of the problem above? Is there anything we are supposed to do to fix this change? Thank you ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From DWUTKA at marlow.com Wed Jul 19 16:03:55 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Jul 2006 16:03:55 -0500 Subject: [AccessD] OT: VPN Connection to another site Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A40B@MARLOW_MAIN2.marlow.com> It's not that there isn't a way around it, Josh just posted a method, but the work arounds are nightmares compared to just simply changing your address range. We used to be 192.168.0 and .1. It was a pain, because lots of people had problems from home, since most home 'networks' use 192.168.0.x as a default. If someone just dialed in though, it was fine, because they only had their external address. I ended up switching my home network to 192.168.2.x, so I could VPN in when I needed too. Now our system is in the 10.10 range, so things are much easier. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 11:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: VPN Connection to another site I cant believe that there isn't a way around this. Drew, you are the fourth person I have asked. Hmmmmmm Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Jul 19 16:37:33 2006 From: max at sherman.org.uk (Max Home) Date: Wed, 19 Jul 2006 22:37:33 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQEhScA Message-ID: <000d01c6ab7b$8c8b3be0$e26b1152@Server> Marty, How do you know all this. One clever guy (Gustav too and many others on this site - just brilliant!). Thanks I will now read (and try to understand) it. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 19 July 2006 19:44 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS Microsoft Collaboration Data Objects 2.0 CDOSys http://support.microsoft.com/?scid=ph;en-us;6384 and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_ techsel_tech_1.asp However you have to grok the various flavours of CDO, I think you only want to use CDOSys Relationship between 1.x CDO Libraries and CDOSYS.DLL http://support.microsoft.com/?kbid=195683 Why? CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement for CDO (1.x), they can be used on the same system concurrently, if required. If a program or script needs to work with messaging objects using Microsoft Exchange Server as well as the SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, 1.21) Library, the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) Library, and the CDO for Windows 2000 (CDOSYS) Library. An application running on an Automation controller such as Visual Basic can call all these libraries and coordinate their activities. Max Home wrote: >Thank you Gustav, >Would you know where I can get any documentation on CDOSYS. All I can seem >to find are snippets of code but no overview or documentation. If it comes >pre-installed with the OS, then presumably somebody at MS thought it might >be needed but forget to let the un-Intelligentsia how to use it?? > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 19 July 2006 16:14 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >First, forget anything about MAPI ... they are only joking and yes, e-mail >handling can be quite confusing. > >Then, SMTP is really what you need. The only but important issue you may >experience is, that many corporations block outgoing mail from workstations. >In those cases you'll need to go through the corporate SMTP server - not >hard but not automatically set up for you. > >Again, the Chilkat component may do much of the dirty work for you: > >http://www.chilkatsoft.com/email-activex.asp > >It is not free (about USD 100) but it will save you hours of hard work. >CDOSYS is free and already installed on most Windows machines but its way of >handling mail in an ADO style is hard to comprehend and requires twice as >much code as for any decent control of which Chilkat is one. > >Note that sent SMTP e-mail is never stored except at the final destination. >If the sender wish to save a copy (like most e-mail clients do as default), >it is up to the sender (the e-mail client) to do this. A very simple method >is to bcc a copy to a "Sent" account. > >/gustav > > > >>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>> >>>> >Hi Gustav, > > >1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from a >web based Server. I can reply to these emails using Outlook and SMTP. I can >also send these replies using CDOSYS (based on Marty's program) thus >AVOIDING using Outlook and it's absurd security (which I bypass using >ClickYes) but this is s.l.o.w. for large email groupings. > >2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >a web based Server (web mail). I can reply to these emails from within >Outlook which will also synchronize the emails with those sitting on the web >server (web mail). What I CANNOT DO and what I would like to do is to send >IMAP based emails without using Outlook and the reason is that there is >nowhere within Marty's program to tell it to use SSL (which is a requirement >of the server hosting the web mail) or to tell it which ports to use. > >I hope the above clarifies my needs. I apologize to all for any confusion >and regret not having explained it properly in the first place. It would >appear that there is no easy/cheap option here. > >Thanks > >Regards >Max >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: 18 July 2006 18:47 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] CDOSYS > >Hi Max > >That did cause if not problems then confusion. > >And it still does. IMAP is for retrieving mail from a mail server, SMTP is >for sending mail. Further, you can use an installed Outlook to send mail >without bothering about SMTP and other mail configuration, but if you wish >to bypass or ignore Outlook you need to send with SMTP via your >corporate/hosted/in-house mail server or via your ISP's mail server, or >directly to the receiver's mail server. > > > >>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>> >>>> >Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >caused you (and others) any problems. >It sends email via SMTP and I would like to send it via IMAP so that it >appears to come as if from the webmailer without having to go through >Outlook (I can do it via Outlook with no problem) but not from within your >program. > > >Regards >Max > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jul 19 16:47:23 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Jul 2006 16:47:23 -0500 Subject: [AccessD] VPN Connection to another site Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A417@MARLOW_MAIN2.marlow.com> Was this to me? What is the IP address of the servers in question? I'm guessing either 192.168.0.x or 10.10.0.x (maybe 192.168.1.x or 10.10.1.x). Those are very common. Setup an odd range, and the odds of having conflicts reduce immensely. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 1:08 PM To: rl_stewart at highstream.net; accessd at databaseadvisors.com Subject: Re: [AccessD] VPN Connection to another site No. That's not the point. The vpn is connecting to another business. The network may conflict again with another client. Am I then to change the ip's all over again? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Jul 19 17:20:10 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Jul 2006 15:20:10 -0700 Subject: [AccessD] CDOSYS In-Reply-To: <000d01c6ab7b$8c8b3be0$e26b1152@Server> References: <000d01c6ab7b$8c8b3be0$e26b1152@Server> Message-ID: <44BEB01A.9080701@shaw.ca> I cheat. I use Google Desktop Search. It indexes all the files I have squirreled away and various url's I have visited over the years. It means, I can lookup stuff in 10 seconds. Just remember a lot of the CDO version stuff on the net was written for NT and Win98 etc. and may no longer be applicable. Max Home wrote: >Marty, How do you know all this. One clever guy (Gustav too and many >others on this site - just brilliant!). > >Thanks I will now read (and try to understand) it. > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 19 July 2006 19:44 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >Microsoft Collaboration Data Objects 2.0 CDOSys >http://support.microsoft.com/?scid=ph;en-us;6384 >and >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_ >techsel_tech_1.asp > >However you have to grok the various flavours of CDO, I think you >only want to use CDOSys > >Relationship between 1.x CDO Libraries and CDOSYS.DLL >http://support.microsoft.com/?kbid=195683 > >Why? >CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement >for CDO (1.x), >they can be used on the same system concurrently, if required. If a >program or script needs >to work with messaging objects using Microsoft Exchange Server as well >as the >SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, >1.21) Library, >the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) >Library, >and the CDO for Windows 2000 (CDOSYS) Library. An application running on an >Automation controller such as Visual Basic can call all these libraries >and coordinate their activities. > > > > >Max Home wrote: > > > >>Thank you Gustav, >>Would you know where I can get any documentation on CDOSYS. All I can seem >>to find are snippets of code but no overview or documentation. If it comes >>pre-installed with the OS, then presumably somebody at MS thought it might >>be needed but forget to let the un-Intelligentsia how to use it?? >> >>Regards >>Max >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 19 July 2006 16:14 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>First, forget anything about MAPI ... they are only joking and yes, e-mail >>handling can be quite confusing. >> >>Then, SMTP is really what you need. The only but important issue you may >>experience is, that many corporations block outgoing mail from >> >> >workstations. > > >>In those cases you'll need to go through the corporate SMTP server - not >>hard but not automatically set up for you. >> >>Again, the Chilkat component may do much of the dirty work for you: >> >>http://www.chilkatsoft.com/email-activex.asp >> >>It is not free (about USD 100) but it will save you hours of hard work. >>CDOSYS is free and already installed on most Windows machines but its way >> >> >of > > >>handling mail in an ADO style is hard to comprehend and requires twice as >>much code as for any decent control of which Chilkat is one. >> >>Note that sent SMTP e-mail is never stored except at the final destination. >>If the sender wish to save a copy (like most e-mail clients do as default), >>it is up to the sender (the e-mail client) to do this. A very simple method >>is to bcc a copy to a "Sent" account. >> >>/gustav >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>>> >>>>> >>>>> >>>>> >>Hi Gustav, >> >> >>1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from >> >> >a > > >>web based Server. I can reply to these emails using Outlook and SMTP. I can >>also send these replies using CDOSYS (based on Marty's program) thus >>AVOIDING using Outlook and it's absurd security (which I bypass using >>ClickYes) but this is s.l.o.w. for large email groupings. >> >>2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >>a web based Server (web mail). I can reply to these emails from within >>Outlook which will also synchronize the emails with those sitting on the >> >> >web > > >>server (web mail). What I CANNOT DO and what I would like to do is to send >>IMAP based emails without using Outlook and the reason is that there is >>nowhere within Marty's program to tell it to use SSL (which is a >> >> >requirement > > >>of the server hosting the web mail) or to tell it which ports to use. >> >>I hope the above clarifies my needs. I apologize to all for any confusion >>and regret not having explained it properly in the first place. It would >>appear that there is no easy/cheap option here. >> >>Thanks >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 18 July 2006 18:47 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>That did cause if not problems then confusion. >> >>And it still does. IMAP is for retrieving mail from a mail server, SMTP is >>for sending mail. Further, you can use an installed Outlook to send mail >>without bothering about SMTP and other mail configuration, but if you wish >>to bypass or ignore Outlook you need to send with SMTP via your >>corporate/hosted/in-house mail server or via your ISP's mail server, or >>directly to the receiver's mail server. >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>>> >>>>> >>>>> >>>>> >>Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >>caused you (and others) any problems. >>It sends email via SMTP and I would like to send it via IMAP so that it >>appears to come as if from the webmailer without having to go through >>Outlook (I can do it via Outlook with no problem) but not from within your >>program. >> >> >>Regards >>Max >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From kp at sdsonline.net Wed Jul 19 19:14:16 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Thu, 20 Jul 2006 10:14:16 +1000 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com><000e01c6a9fc$f734e750$6601a8c0@office> <002301c6aa0a$fdfc19b0$6e9ba545@50NM721> Message-ID: <000c01c6ab91$707f8210$6501a8c0@office> Thanks for that link William. It looks like there are 2 paths to go down if using a pda or handheld device: either use a Pocket PC system (and use software like 'Data on the run' as you say) or go with a Palm type device with PalmOS which has its own hotsynch logic. Both systems appear to hotsynch table data when connected back to the PC. The difficulty is understanding the format in which my client will view his data on the road. Presumably he would see table views or specific queries hot synched - he couldn't see the forms as designed in my desktop mde file. But that might be OK - maybe the pda would allow to create some forms in its software to create a more user friendly pda interface? Speed seems to also be an issue with some reviews saying that any tables where record numbers exceed 5,00 just should not be considered for a pda. I have 2 clients now that I am investigating this for now: a) tradesman who has his PC in the office but would like to take the entire app on the road. 1 user b) Commercial cleaning company, 6 sales staff on the road who need access to the data on a new database I am creating in Access. Both clients like the idea of the pda because it is less cumbersome than the tablet or laptop and as you say, it gives them some functionality they are used to. I notice that in looking into this there are quite a few Access developers specialising in this area. If anyone has an opinion on PocketPC vs. Palm, could they jump in? And any knowledge on if my client was to buy a Palm or PocketPC and import from/hotsynch to a mdb file from a desktop, what possibilities are there for presentation of that data? (ie. forms etc.) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, July 18, 2006 11:39 AM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? http://www.biomobility.com/dotr4.htm ...you might want to look into pda's a bit more ...this will sync with your desktop Access app and give your client a lot of functionality on the road ...plus its got good reviews in the forums. William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Monday, July 17, 2006 7:58 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > So the difference is in the 'swivel' screen and pen technology? I think > they come with a keyboard anyway, don't they? What size/brand is it Drew? > > Kath > ----- Original Message ----- > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Sent: Tuesday, July 18, 2006 2:03 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > We just got a tablet PC in. It's just a laptop with a screen that can be > 'repositioned'. Runs everything a normal laptop would. > > Drew > > -----Original Message----- > From: Kath Pelletti [mailto:kp at sdsonline.net] > Sent: Sunday, July 16, 2006 7:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > Thanks Stuart - it looks quite interesting. But I guess that as a first > generation thing, they seems to have a few flaws. The battery life (2.5 > hours) doesn't sound too good. But I would love to have a play with one > of > these. > > Wondering whether anyone on the list has actually used an Access mde on a > Windows tablet PC instead? Otherwise I may just suggest that he go for a > small laptop. > > Kath > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Friday, July 14, 2006 1:44 PM > Subject: Re: [AccessD] Mobile Access with an mde > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 19 19:55:02 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 19 Jul 2006 20:55:02 -0400 Subject: [AccessD] Mobile Access with an mde - Windows tablet? References: <17724746D360394AA3BFE5B8D40A9C1BD7A236@main2.marlow.com><000e01c6a9fc$f734e750$6601a8c0@office><002301c6aa0a$fdfc19b0$6e9ba545@50NM721> <000c01c6ab91$707f8210$6501a8c0@office> Message-ID: <010a01c6ab97$231f67f0$6e9ba545@50NM721> 1) as long as you're dealing with an access db, I'd go with a Win OS pda ...besides which, Palm isn't looking all that well financially now that the heavy hitters have moved into its bailiwick. 2) ...looks as if at least some of the apps let you build forms to display the data on the pda's ...I've not looked but I'd think that Citrix (or even Terminal Server) would have something that would cure the data quantity problems for you ...your pda app would essentially become a remote video monitor for specially designed forms in your access app running on a Citrix/TS server (think small box, nothing special) ...but like I said, that's just free wheeling ...I've not looked in that direction myself. William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 19, 2006 8:14 PM Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > Thanks for that link William. It looks like there are 2 paths to go down > if using a pda or handheld device: either use a Pocket PC system (and use > software like 'Data on the run' as you say) or go with a Palm type device > with PalmOS which has its own hotsynch logic. Both systems appear to > hotsynch table data when connected back to the PC. > > The difficulty is understanding the format in which my client will view > his data on the road. Presumably he would see table views or specific > queries hot synched - he couldn't see the forms as designed in my desktop > mde file. But that might be OK - maybe the pda would allow to create some > forms in its software to create a more user friendly pda interface? > > Speed seems to also be an issue with some reviews saying that any tables > where record numbers exceed 5,00 just should not be considered for a pda. > > I have 2 clients now that I am investigating this for now: > > a) tradesman who has his PC in the office but would like to take the > entire app on the road. 1 user > b) Commercial cleaning company, 6 sales staff on the road who need access > to the data on a new database I am creating in Access. > > Both clients like the idea of the pda because it is less cumbersome than > the tablet or laptop and as you say, it gives them some functionality they > are used to. > > I notice that in looking into this there are quite a few Access developers > specialising in this area. > > If anyone has an opinion on PocketPC vs. Palm, could they jump in? And any > knowledge on if my client was to buy a Palm or PocketPC and import > from/hotsynch to a mdb file from a desktop, what possibilities are there > for presentation of that data? (ie. forms etc.) > > Kath > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Tuesday, July 18, 2006 11:39 AM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > http://www.biomobility.com/dotr4.htm > > ...you might want to look into pda's a bit more ...this will sync with > your > desktop Access app and give your client a lot of functionality on the > road > ...plus its got good reviews in the forums. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: "Access Developers discussion and problem solving" > > Sent: Monday, July 17, 2006 7:58 PM > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > > So the difference is in the 'swivel' screen and pen technology? I think > > they come with a keyboard anyway, don't they? What size/brand is it > Drew? > > > > Kath > > ----- Original Message ----- > > From: DWUTKA at marlow.com > > To: accessd at databaseadvisors.com > > Sent: Tuesday, July 18, 2006 2:03 AM > > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > > > > We just got a tablet PC in. It's just a laptop with a screen that can > be > > 'repositioned'. Runs everything a normal laptop would. > > > > Drew > > > > -----Original Message----- > > From: Kath Pelletti [mailto:kp at sdsonline.net] > > Sent: Sunday, July 16, 2006 7:37 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Mobile Access with an mde - Windows tablet? > > > > Thanks Stuart - it looks quite interesting. But I guess that as a > first > > generation thing, they seems to have a few flaws. The battery life > (2.5 > > hours) doesn't sound too good. But I would love to have a play with > one > > of > > these. > > > > Wondering whether anyone on the list has actually used an Access mde > on a > > Windows tablet PC instead? Otherwise I may just suggest that he go > for a > > small laptop. > > > > Kath > > ----- Original Message ----- > > From: Stuart McLachlan > > To: Access Developers discussion and problem solving > > Sent: Friday, July 14, 2006 1:44 PM > > Subject: Re: [AccessD] Mobile Access with an mde > > > > > > On 13 Jul 2006 at 23:35, William Hindman wrote: > > > > > ...why not a windows tablet pc? ...runs an Ak23 mdb just fine. > > > > > > > Isn't the new buzz phrase ultra-mobile PC (UMPC) ? > > > > http://msdn.microsoft.com/windowsvista/prodinfo/mobilepc/umpc/ > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at fsmail.net Thu Jul 20 06:17:13 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 20 Jul 2006 13:17:13 +0200 (CEST) Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Message-ID: <21425994.1153394233353.JavaMail.www@wwinf3201> To all, Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. Can anyone help me on this with sample code or point me to a website. Thanks in advance Paul Hartland From shamil at users.mns.ru Thu Jul 20 06:36:29 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 20 Jul 2006 15:36:29 +0400 Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls References: <21425994.1153394233353.JavaMail.www@wwinf3201> Message-ID: <003801c6abf0$cc14be10$6701a8c0@VERSAILLES> Paul, On Runtime in VB6 there is a Global.Forms collection (or just Forms), which has the references to the currently loaded forms. Every form has Controls collection, every compound control has its own Controls collection... HTH, Shamil ----- Original Message ----- From: To: "accessd" Sent: Thursday, July 20, 2006 3:17 PM Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls > To all, > > Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. > > Can anyone help me on this with sample code or point me to a website. > > Thanks in advance > > Paul Hartland > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Thu Jul 20 06:48:28 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Jul 2006 07:48:28 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A417@MARLOW_MAIN2.marlow.com> Message-ID: << Setup an odd range, and the odds of having conflicts reduce immensely.>> Your right. I set mine to 192.168.190.x and haven't had a conflict in 10 years. And if their on a DHCP setup, changing wouldn't take more then 15 minutes or so at most. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, July 19, 2006 5:47 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VPN Connection to another site Was this to me? What is the IP address of the servers in question? I'm guessing either 192.168.0.x or 10.10.0.x (maybe 192.168.1.x or 10.10.1.x). Those are very common. Setup an odd range, and the odds of having conflicts reduce immensely. Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Wednesday, July 19, 2006 1:08 PM To: rl_stewart at highstream.net; accessd at databaseadvisors.com Subject: Re: [AccessD] VPN Connection to another site No. That's not the point. The vpn is connecting to another business. The network may conflict again with another client. Am I then to change the ip's all over again? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Jul 20 07:01:05 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 20 Jul 2006 22:01:05 +1000 Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A80E@ddi-01.DDI.local> Hi Paul, Not much traffic because VB6 is on the way out. If you can't find anything in google then I think you are out of luck. #1 VB doesn't have a Forms collection like Access does. You could create a collection of forms but you would need to add them manually... And if your going to do that then theres really no need ;-))) Scratch #1 #2 Vb controls are not usually bound. It is possible using the 'data controls' but back when they were introduced the Hard core programmers scoffed at binding controls so not many people used em. Now in .Net everything is bound...lol I'll assume that your controls are bound and have data in the DataField property. No controls collection I'm afraid either. Control arrays yes, but doubt that will help you... What I would do is open the frm file for each form and parse the text looking for DataField. Or I would give up :-) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, 20 July 2006 9:17 PM To: accessd Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Importance: High To all, Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. Can anyone help me on this with sample code or point me to a website. Thanks in advance Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Jul 20 07:12:47 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 20 Jul 2006 22:12:47 +1000 Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A80F@ddi-01.DDI.local> Damn, I hate being SO wrong... lol Glad I don't do much VB6 anymore. Cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, 20 July 2006 10:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - VB6 Loop Through All Forms & Controls Hi Paul, Not much traffic because VB6 is on the way out. If you can't find anything in google then I think you are out of luck. #1 VB doesn't have a Forms collection like Access does. You could create a collection of forms but you would need to add them manually... And if your going to do that then theres really no need ;-))) Scratch #1 #2 Vb controls are not usually bound. It is possible using the 'data controls' but back when they were introduced the Hard core programmers scoffed at binding controls so not many people used em. Now in .Net everything is bound...lol I'll assume that your controls are bound and have data in the DataField property. No controls collection I'm afraid either. Control arrays yes, but doubt that will help you... What I would do is open the frm file for each form and parse the text looking for DataField. Or I would give up :-) cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, 20 July 2006 9:17 PM To: accessd Subject: [AccessD] OT - VB6 Loop Through All Forms & Controls Importance: High To all, Don't seem to be getting many messages through from the VB group for some reason which is why I have posted this question here. I have a VB6 app, with lots of forms and lots of contols on each form. What I want to do is write a quick function that will loop through every form and every control on that form and return the data field that the control is using. Can anyone help me on this with sample code or point me to a website. Thanks in advance Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jul 20 08:07:32 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Jul 2006 23:07:32 +1000 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <17724746D360394AA3BFE5B8D40A9C1BD7A417@MARLOW_MAIN2.marlow.com>, Message-ID: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg> On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart From garykjos at gmail.com Thu Jul 20 08:22:31 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 20 Jul 2006 08:22:31 -0500 Subject: [AccessD] Oracle number changes to Decimal in Access 2k & 2003 In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D4@EXCNYSM0A1AI.nysemail.nyenet> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB0@corp-es01.fleetpride.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D4@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: Are you using a Make Table query to copy the Oracle Data out? You could predefine a table in the Access Database and then do an Append query instead and then the numeric fields will have the format you are looking for. Or you could have a query for the Oracle tables that uses a ReformattedFieldName:CLng([fieldname]) in it to conver to Long or CDbl to convert to Double and then use that query as the source to your make table or append or the export to text. Good luck, GK On 7/19/06, O'Connor, Patricia (OTDA) wrote: > When you look at the table in ORACLE PL/SQL the datatype is number but > when you look at the description in Access it says number with size as > DECIMAL. The precision and scale I assume is determined by whether > oracle has it with decimals. Below is a comparison > > Name ORACLE ACCESS Access > Type Type size > Precision scale > ---------------------- ------- -------- ------- --------- > ----- > RECORD_ID NUMBER(9) Number DECIMAL 9 > 0 > AREA_CD VARCHAR2(2) Text 2 > - - > CHECK_SEQ_NBR NUMBER(8) Number DECIMAL 8 > 0 > COST_AMT NUMBER(8,2) Number DECIMAL 8 > 2 > ADJUSTED_RECORD_ID NUMBER(9) Number DECIMAL 9 > 0 > RECIPIENT_FEE_AMT NUMBER(6,2) Number DECIMAL 6 > 2 > REPORT_FROM_MONTH_NBR DATE Number Date/Time - > - > RECORD_LINE_NBR NUMBER(2) Number DECIMAL 2 > 0 > > I link to ORACLE 9 and 10G tables using ORACLE ODBC. > Errors occur from this difference. Example export to txt file. Since the > data is linked with read only permission, I have to copy data to an > access table then change the access size to long integer or double then > I can export the data. > > Also in the registry I have 3 HOMEx\nls_lang items. Should these all > be the same? If so, which one is correct? > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG is set to WE8MSWIN1252 > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG is to > "AMERICAN_AMERICA.WE8ISO8859P1 > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME3\NLS_LANG to > "AMERICAN_AMERICA.WE8ISO8859P1 > > Would this cause some of the problem above? Is there anything we are > supposed to do to fix this change? > > Thank you > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Patricia.O'Connor at otda.state.ny.us Thu Jul 20 08:30:39 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 20 Jul 2006 09:30:39 -0400 Subject: [AccessD] Oracle number changes to Decimal in Access 2k & 2003 In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26D6@EXCNYSM0A1AI.nysemail.nyenet> I have made access tables from my queries and either changed the DataType/Size after or while creating. I was trying to find a way correct to set it up so someone did not have to do more than simple procedures. Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, July 20, 2006 09:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Oracle number changes to Decimal in > Access 2k & 2003 > > Are you using a Make Table query to copy the Oracle Data out? > You could predefine a table in the Access Database and then > do an Append query instead and then the numeric fields will > have the format you are looking for. Or you could have a > query for the Oracle tables that uses a > ReformattedFieldName:CLng([fieldname]) in it to conver to > Long or CDbl to convert to Double and then use that query as > the source to your make table or append or the export to text. > > Good luck, > > GK > > On 7/19/06, O'Connor, Patricia (OTDA) > wrote: > > When you look at the table in ORACLE PL/SQL the datatype is > number but > > when you look at the description in Access it says number > with size as > > DECIMAL. The precision and scale I assume is determined by whether > > oracle has it with decimals. Below is a comparison > > > > Name ORACLE ACCESS Access > > Type Type size > > Precision scale > > ---------------------- ------- -------- ------- --------- > > ----- > > RECORD_ID NUMBER(9) Number DECIMAL 9 > > 0 > > AREA_CD VARCHAR2(2) Text 2 > > - - > > CHECK_SEQ_NBR NUMBER(8) Number DECIMAL 8 > > 0 > > COST_AMT NUMBER(8,2) Number DECIMAL 8 > > 2 > > ADJUSTED_RECORD_ID NUMBER(9) Number DECIMAL 9 > > 0 > > RECIPIENT_FEE_AMT NUMBER(6,2) Number DECIMAL 6 > > 2 > > REPORT_FROM_MONTH_NBR DATE Number Date/Time - > > - > > RECORD_LINE_NBR NUMBER(2) Number DECIMAL 2 > > 0 > > > > I link to ORACLE 9 and 10G tables using ORACLE ODBC. > > Errors occur from this difference. Example export to txt > file. Since > > the data is linked with read only permission, I have to > copy data to > > an access table then change the access size to long integer > or double > > then I can export the data. > > > > Also in the registry I have 3 HOMEx\nls_lang items. > Should these all > > be the same? If so, which one is correct? > > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG is set to > > WE8MSWIN1252 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG is to > > "AMERICAN_AMERICA.WE8ISO8859P1 > > HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME3\NLS_LANG to > > "AMERICAN_AMERICA.WE8ISO8859P1 > > > > Would this cause some of the problem above? Is there > anything we are > > supposed to do to fix this change? > > > > Thank you > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It > is intended only for the addressee. If you received this > e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use > this e-mail or its attachments. Please notify the sender > immediately by reply e-mail and delete the e-mail from your system. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > 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 rusty.hammond at cpiqpc.com Thu Jul 20 08:48:25 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 20 Jul 2006 08:48:25 -0500 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another si te Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8912@cpixchng-1.cpiqpc.net> Stuart, On your Linksys router I thought I had the same issue, but under the Router IP section, you can change the Local IP Address of the router. If you do that, then the DHCP Address range will change to match the local IP address. If you can't change the local IP address of the router then you need to load the latest firmware or get a newer router because this has been available on Linksys routers for a few years now. HTH Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 20, 2006 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VPN Connection to another site On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart -- 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 Jim.Hale at FleetPride.com Thu Jul 20 09:05:39 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 20 Jul 2006 09:05:39 -0500 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another s i te Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDB9@corp-es01.fleetpride.com> Same here. I have linksys vpn routers that keep the connection open between my home network and warehouse. I did have to change the local IP address of the warehouse router so it wasn't the same as the home router and all works well. Jim Hale -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Thursday, July 20, 2006 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Linkdys router, was VPN Connection to another si te Stuart, On your Linksys router I thought I had the same issue, but under the Router IP section, you can change the Local IP Address of the router. If you do that, then the DHCP Address range will change to match the local IP address. If you can't change the local IP address of the router then you need to load the latest firmware or get a newer router because this has been available on Linksys routers for a few years now. HTH Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 20, 2006 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VPN Connection to another site On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jimdettman at earthlink.net Thu Jul 20 09:18:11 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 20 Jul 2006 10:18:11 -0400 Subject: [AccessD] VPN Connection to another site In-Reply-To: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg> Message-ID: <> I haven't seen a router yet that is hardwired to use a specific subnet (kind of defeats the purpose of being a router). Your missing something. <> This is one of the reason I said 15 minutes or so. The printers would need to be change by hand if their static. Changing the DHCP server should take only a matter of minutes. Glad you brought that point up. I should have mentioned it... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, July 20, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VPN Connection to another site On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > << Setup an odd range, and the odds of having conflicts > reduce immensely.>> > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > 10 years. > > And if their on a DHCP setup, changing wouldn't take more then 15 > minutes or so at most. As long as you DHCP server can handle it. We've been running a D-Link WAP/Router on a project network at a site I'm currently working on. It acts as a DHCP server - we have a couple of printers and a couple of workstations on static IPs and the rest using 192.168.100.xxx served up by the WAP. It's been paying up so the suppliers came in with a replace. They brought in a Linksys today to replace it. When they went to set up the DHCP server, on it, it turned out to be hard coded to use 192.168.1.xxx. Unfortunately, I'm using two network cards on my workstation there so that I can interface with both the project network and the primary client network - which uses 192.168.1.xxx :-( -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Thu Jul 20 11:17:55 2006 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 20 Jul 2006 11:17:55 -0500 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg> Message-ID: <53c8e05a0607200917o3c2adbd7t6bce7eeba1f1f875@mail.gmail.com> They have routers now that you can assign certain MAC addresses to a static address via DHCP. Next time you have to do this, you may want to see if your router supports it. Makes any IP changes a lot easier as you then only have to work with the router's configuration instead of that and each individual static machine. Josh On 7/20/06, Jim Dettman wrote: > This is one of the reason I said 15 minutes or so. The printers would > need to be change by hand if their static. Changing the DHCP server should > take only a matter of minutes. > > Glad you brought that point up. I should have mentioned it... > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Thursday, July 20, 2006 9:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VPN Connection to another site > > On 20 Jul 2006 at 7:48, Jim Dettman wrote: > > > > > << Setup an odd range, and the odds of having conflicts > > reduce immensely.>> > > > > Your right. I set mine to 192.168.190.x and haven't had a conflict in > > 10 years. > > > > And if their on a DHCP setup, changing wouldn't take more then 15 > > minutes or so at most. > > As long as you DHCP server can handle it. > > We've been running a D-Link WAP/Router on a project network at a site I'm > currently working on. It acts as a DHCP server - we have a couple of > printers and a couple of workstations on static IPs and the rest using > 192.168.100.xxx served up by the WAP. > > It's been paying up so the suppliers came in with a replace. They brought > in a Linksys today to replace it. When they went to set up the DHCP server, > on it, it turned out to be hard coded to use 192.168.1.xxx. > > Unfortunately, I'm using two network cards on my workstation there so that > I can interface with both the project network and the primary client > network - which uses 192.168.1.xxx :-( > > > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From max at sherman.org.uk Thu Jul 20 13:08:27 2006 From: max at sherman.org.uk (Max Home) Date: Thu, 20 Jul 2006 19:08:27 +0100 Subject: [AccessD] CDOSYS In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aREhicA Message-ID: <000301c6ac27$85ba02e0$e26b1152@Server> Well that's ok. I wouldn't call that cheating. I would call it clever! Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: 19 July 2006 23:20 To: Access Developers discussion and problem solving Subject: Re: [AccessD] CDOSYS I cheat. I use Google Desktop Search. It indexes all the files I have squirreled away and various url's I have visited over the years. It means, I can lookup stuff in 10 seconds. Just remember a lot of the CDO version stuff on the net was written for NT and Win98 etc. and may no longer be applicable. Max Home wrote: >Marty, How do you know all this. One clever guy (Gustav too and many >others on this site - just brilliant!). > >Thanks I will now read (and try to understand) it. > >Regards >Max > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: 19 July 2006 19:44 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CDOSYS > >Microsoft Collaboration Data Objects 2.0 CDOSys >http://support.microsoft.com/?scid=ph;en-us;6384 >and >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/ _ >techsel_tech_1.asp > >However you have to grok the various flavours of CDO, I think you >only want to use CDOSys > >Relationship between 1.x CDO Libraries and CDOSYS.DLL >http://support.microsoft.com/?kbid=195683 > >Why? >CDOSYS is not a direct replacement for CDONTS (1.x) nor a replacement >for CDO (1.x), >they can be used on the same system concurrently, if required. If a >program or script needs >to work with messaging objects using Microsoft Exchange Server as well >as the >SMTP and NNTP protocols, it can simultaneously access the CDO (1.1, 1.2, >1.21) Library, >the CDO (1.1, 1.2, 1.21) Rendering Library version, the CDONTS (1.x) >Library, >and the CDO for Windows 2000 (CDOSYS) Library. An application running on an >Automation controller such as Visual Basic can call all these libraries >and coordinate their activities. > > > > >Max Home wrote: > > > >>Thank you Gustav, >>Would you know where I can get any documentation on CDOSYS. All I can seem >>to find are snippets of code but no overview or documentation. If it comes >>pre-installed with the OS, then presumably somebody at MS thought it might >>be needed but forget to let the un-Intelligentsia how to use it?? >> >>Regards >>Max >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 19 July 2006 16:14 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>First, forget anything about MAPI ... they are only joking and yes, e-mail >>handling can be quite confusing. >> >>Then, SMTP is really what you need. The only but important issue you may >>experience is, that many corporations block outgoing mail from >> >> >workstations. > > >>In those cases you'll need to go through the corporate SMTP server - not >>hard but not automatically set up for you. >> >>Again, the Chilkat component may do much of the dirty work for you: >> >>http://www.chilkatsoft.com/email-activex.asp >> >>It is not free (about USD 100) but it will save you hours of hard work. >>CDOSYS is free and already installed on most Windows machines but its way >> >> >of > > >>handling mail in an ADO style is hard to comprehend and requires twice as >>much code as for any decent control of which Chilkat is one. >> >>Note that sent SMTP e-mail is never stored except at the final destination. >>If the sender wish to save a copy (like most e-mail clients do as default), >>it is up to the sender (the e-mail client) to do this. A very simple method >>is to bcc a copy to a "Sent" account. >> >>/gustav >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 22:07:18 >>> >>>>> >>>>> >>>>> >>>>> >>Hi Gustav, >> >> >>1. Within Outlook I can Set up a Pop3 Email Account to retrieve email from >> >> >a > > >>web based Server. I can reply to these emails using Outlook and SMTP. I can >>also send these replies using CDOSYS (based on Marty's program) thus >>AVOIDING using Outlook and it's absurd security (which I bypass using >>ClickYes) but this is s.l.o.w. for large email groupings. >> >>2. Within Outlook I can Set up an IMAP Email Account to retrieve email from >>a web based Server (web mail). I can reply to these emails from within >>Outlook which will also synchronize the emails with those sitting on the >> >> >web > > >>server (web mail). What I CANNOT DO and what I would like to do is to send >>IMAP based emails without using Outlook and the reason is that there is >>nowhere within Marty's program to tell it to use SSL (which is a >> >> >requirement > > >>of the server hosting the web mail) or to tell it which ports to use. >> >>I hope the above clarifies my needs. I apologize to all for any confusion >>and regret not having explained it properly in the first place. It would >>appear that there is no easy/cheap option here. >> >>Thanks >> >>Regards >>Max >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: 18 July 2006 18:47 >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] CDOSYS >> >>Hi Max >> >>That did cause if not problems then confusion. >> >>And it still does. IMAP is for retrieving mail from a mail server, SMTP is >>for sending mail. Further, you can use an installed Outlook to send mail >>without bothering about SMTP and other mail configuration, but if you wish >>to bypass or ignore Outlook you need to send with SMTP via your >>corporate/hosted/in-house mail server or via your ISP's mail server, or >>directly to the receiver's mail server. >> >> >> >> >> >>>>>max at sherman.org.uk 18-07-2006 19:12:26 >>> >>>>> >>>>> >>>>> >>>>> >>Marty, I am so sorry. I meant to say SMTP not Pop3. I hope this hasn't >>caused you (and others) any problems. >>It sends email via SMTP and I would like to send it via IMAP so that it >>appears to come as if from the webmailer without having to go through >>Outlook (I can do it via Outlook with no problem) but not from within your >>program. >> >> >>Regards >>Max >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Jul 20 16:30:46 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Jul 2006 07:30:46 +1000 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another si te In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8912@cpixchng-1.cpiqpc.net> References: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8912@cpixchng-1.cpiqpc.net> Message-ID: <44C082A6.30689.E6AE1E7@stuart.lexacorp.com.pg> On 20 Jul 2006 at 8:48, rusty.hammond at cpiqpc.com wrote: > Stuart, > > On your Linksys router I thought I had the same issue, but under the Router > IP section, you can change the Local IP Address of the router. If you do > that, then the DHCP Address range will change to match the local IP address. They did that, and although the local address was 192.168.100.1, the DHCP range still showed 192.168.1.____ under start address and only had the option to enter up to 253 as the number of avaiable addresses. > > If you can't change the local IP address of the router then you need to load > the latest firmware or get a newer router because this has been available on > Linksys routers for a few years now. Yep, probably the supplier trying to sell us old stock that they have had lying around :-) -- Stuart From stuart at lexacorp.com.pg Thu Jul 20 16:36:05 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 21 Jul 2006 07:36:05 +1000 Subject: [AccessD] VPN Connection to another site In-Reply-To: References: <44C00CB4.28400.C9E2B66@stuart.lexacorp.com.pg>, Message-ID: <44C083E5.27362.E6FC1E4@stuart.lexacorp.com.pg> On 20 Jul 2006 at 10:18, Jim Dettman wrote: > > < in a Linksys today to replace it. When they went to set up the DHCP server, > on it, it turned out to be hard coded to use 192.168.1.xxx. >> > > I haven't seen a router yet that is hardwired to use a specific subnet > (kind of defeats the purpose of being a router). Your missing something. > Possibly, I didn't spend much time on it - I'm not responsible for this network, I just "stickybeaked" the supplier's two techs (yep, they sent out *two* guys to replace a SOHO type WAP/Router) when my network connection went down and I found these guys changing the WAP/Router. Initially, they were all set to pack up and go and hadn't even set it up as a DHCP server (typical of the levels of service in a country like this) -- Stuart From rusty.hammond at cpiqpc.com Thu Jul 20 16:46:09 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 20 Jul 2006 16:46:09 -0500 Subject: [AccessD] OT: Linkdys router, was VPN Connection to another s i te Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8918@cpixchng-1.cpiqpc.net> You might check the linksys website. It could just be a firmware upgrade that will take care of it (should be a free download). Be sure to back up up the settings of the router or do screen shots of the settings before uploading the new firmware. If you need any help feel free to e-mail me offline. Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, July 20, 2006 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Linkdys router, was VPN Connection to another si te On 20 Jul 2006 at 8:48, rusty.hammond at cpiqpc.com wrote: > Stuart, > > On your Linksys router I thought I had the same issue, but under the Router > IP section, you can change the Local IP Address of the router. If you do > that, then the DHCP Address range will change to match the local IP address. They did that, and although the local address was 192.168.100.1, the DHCP range still showed 192.168.1.____ under start address and only had the option to enter up to 253 as the number of avaiable addresses. > > If you can't change the local IP address of the router then you need to load > the latest firmware or get a newer router because this has been available on > Linksys routers for a few years now. Yep, probably the supplier trying to sell us old stock that they have had lying around :-) -- Stuart -- 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 max at sherman.org.uk Fri Jul 21 02:06:47 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 21 Jul 2006 08:06:47 +0100 Subject: [AccessD] SOT:Home Link to Work Network In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQklicA Message-ID: <001201c6ac94$3c91c040$e26b1152@Server> Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max From bheid at appdevgrp.com Fri Jul 21 06:08:33 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Jul 2006 07:08:33 -0400 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE669@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D356FB@ADGSERVER> Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max From max at sherman.org.uk Fri Jul 21 06:56:38 2006 From: max at sherman.org.uk (Max Home) Date: Fri, 21 Jul 2006 12:56:38 +0100 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aREmycA Message-ID: <000f01c6acbc$ba1b2c90$e26b1152@Server> Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: 21 July 2006 12:09 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Jul 21 07:33:28 2006 From: JHewson at karta.com (Jim Hewson) Date: Fri, 21 Jul 2006 07:33:28 -0500 Subject: [AccessD] What Causes Database Strange Behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C622C@karta-exc-int.Karta.com> A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim From Gustav at cactus.dk Fri Jul 21 07:40:34 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Jul 2006 14:40:34 +0200 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Message-ID: Hi Max Read up the very recent thread: "VPN Connection to another site" /gustav >>> max at sherman.org.uk 21-07-2006 13:56:38 >>> Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. From bheid at appdevgrp.com Fri Jul 21 07:56:35 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Jul 2006 08:56:35 -0400 Subject: [AccessD] [SPAM SUSPECT] What Causes Database Strange Behavior In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE695@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35702@ADGSERVER> Jim, I'm not sure what is causing your problem, but best practices say to have the FE installed locally on each user's pc. Maybe this is causing your issue. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 8:33 AM To: AccessD Subject: [SPAM SUSPECT] [AccessD] What Causes Database Strange Behavior Importance: Low A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim From rusty.hammond at cpiqpc.com Fri Jul 21 09:37:32 2006 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 21 Jul 2006 09:37:32 -0500 Subject: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F8919@cpixchng-1.cpiqpc.net> Max, If you need to connect from your gateway pc to other computers on the network, there's remote desktop that's built in to Windows XP. If you don't have Windows XP there are other open source programs like RealVNC (www.realvnc.com) that should work for you. Something you might look into is www.logmein.com. We use it to connect to work pc's from home. They have a free version that doesn't allow printing or file transfers to the remote pc. Very similar to www.gotomypc.com. If you just need to connect to your work computer and take control of it like your sitting in front of it, then it works great. There's another free one out there that many of the list users use but for the life of me I can't rememember what it is. HTH, Rusty -----Original Message----- From: Max Home [mailto:max at sherman.org.uk] Sent: Friday, July 21, 2006 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: 21 July 2006 12:09 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max ********************************************************************** 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 bheid at appdevgrp.com Fri Jul 21 09:50:23 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 21 Jul 2006 10:50:23 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: [SPAM SUSPECT] SOT:Home Link to Work Network In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DEE6D7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35706@ADGSERVER> Remote desktop comes with XP, you can download the client for 98/2000/etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Friday, July 21, 2006 10:38 AM To: accessd at databaseadvisors.com Subject: [SPAM SUSPECT] Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Importance: Low Max, If you need to connect from your gateway pc to other computers on the network, there's remote desktop that's built in to Windows XP. If you don't have Windows XP there are other open source programs like RealVNC (www.realvnc.com) that should work for you. Something you might look into is www.logmein.com. We use it to connect to work pc's from home. They have a free version that doesn't allow printing or file transfers to the remote pc. Very similar to www.gotomypc.com. If you just need to connect to your work computer and take control of it like your sitting in front of it, then it works great. There's another free one out there that many of the list users use but for the life of me I can't rememember what it is. HTH, Rusty -----Original Message----- From: Max Home [mailto:max at sherman.org.uk] Sent: Friday, July 21, 2006 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Hi Bobby, Yes they all have Real VNC running but their IP addresses are in the range 192... and I cannot connect directly to them. When I connect from my work pc to my home pc and then go home and look at the logs, it shows an IP address which if I dial back into (so to speak) resolves to the Gateway pc on the lan - not to my actual pc at work. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: 21 July 2006 12:09 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [SPAM SUSPECT] SOT:Home Link to Work Network Well, there is always remote desktop and remote assistance (from your home machine or office machine). Or you could have a RealVNC server running on their PCs so that you can connect directly to them. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Home Sent: Friday, July 21, 2006 3:07 AM To: 'Access Developers discussion and problem solving' Subject: [SPAM SUSPECT] [AccessD] SOT:Home Link to Work Network Importance: Low Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max ********************************************************************** 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 cfoust at infostatsystems.com Fri Jul 21 10:10:08 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 21 Jul 2006 08:10:08 -0700 Subject: [AccessD] What Causes Database Strange Behavior In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C044C622C@karta-exc-int.Karta.com> Message-ID: If your users all use a shared front end written in A2k but open it with different versions of Access, I'm not surprised you're getting some odd results. Give them individual front ends and save yourself some headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 5:33 AM To: AccessD Subject: [AccessD] What Causes Database Strange Behavior A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jul 21 05:28:48 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Jul 2006 12:28:48 +0200 Subject: [AccessD] SOT:Home Link to Work Network Message-ID: Hi Max You can install a remote control program like VNC (free) or NetOp (buy) on the workstation in question, or use a service like this: http://www.logmein.com which runs surprisingly well from a browser like Internet Explorer. /gustav >>> max at sherman.org.uk 21-07-2006 09:06:47 >>> Hi All, slightly off topic but related to Access. Given the knowledge you lot obviously have, I wonder if somebody could help me a problem I have had for some time. I have an Access MDB (FE and BE) running on a peer to peer network at work. The peer lan IP addresses are all in the range 192.x.x.x Sometimes when I am working from home, I get a call to say that user xyz has got problem with their database. >From home I can connect to the gateway pc using RealVNC on my home pc and work pc. The gateway has two lan cards. One connected to the Internet and one used for the lan. However, what this does is allow me to take control of the gateway pc as if I was sitting in front of it. I can, via windows explorer wander over the lan to the other pc on the network but only within the windows explorer limitations. What I cannot do is run an application from their pc. I can run an app from the gateway pc but that doesn't help me with the user that is having a problem with their Access MDB. Is there any way I can get control of the user's pc as if I was sitting in front of it? If you can help, it would be appreciated. Regards Max From Patricia.O'Connor at otda.state.ny.us Fri Jul 21 11:30:46 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 21 Jul 2006 12:30:46 -0400 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DB@EXCNYSM0A1AI.nysemail.nyenet> Someone in my office wants to print several tables like they appear in the relationships. The problem is that a few are big and end up with a scroll bar so the entire table doesn't get printed. Is there a way to get it to totally print? Is there another way besides dataflow diagram or if not do you know of a freeware DFD that would be easy to use? I would probably use oracle Pl/sql DESC then copy the result to excel, word, or powerpoint. BTW I can't use DESC via the Access passthru. Is there a special way to get this Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From Patricia.O'Connor at otda.state.ny.us Fri Jul 21 12:43:28 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 21 Jul 2006 13:43:28 -0400 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DC@EXCNYSM0A1AI.nysemail.nyenet> Someone in my office wants to print several tables like they appear in the relationships. The problem is that a few are big and end up with a scroll bar so the entire table doesn't get printed. Is there a way to get it to totally print? Is there another way besides dataflow diagram or if not do you know of a freeware DFD that would be easy to use? I would probably use oracle Pl/sql DESC then copy the result to excel, word, or powerpoint. BTW I can't use DESC via the Access passthru. Is there a special way to get this Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From martyconnelly at shaw.ca Fri Jul 21 13:23:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 21 Jul 2006 11:23:36 -0700 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DC@EXCNYSM0A1AI.nysemail.nyenet> References: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DC@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <44C11BA8.1080704@shaw.ca> You may have to use this to make multiple views of relationships http://www.lebans.com/saverelationshipview.htm From Allen Brownes notes One more suggestion: if you have a large database with too many tables to fit on screen, Stephen Lebans has a utility to save multiple relationship views, and load them again later. With this extended printout combined with his multiple relationships view, you will be able to stay on top of your database. Relationship Report with extended field information If you need to print field info as well http://allenbrowne.com/AppRelReport.html O'Connor, Patricia (OTDA) wrote: >Someone in my office wants to print several tables like they appear in >the relationships. The problem is that a few are big and end up with a >scroll bar so the entire table doesn't get printed. Is there a way to >get it to totally print? > >Is there another way besides dataflow diagram or if not do you know of a >freeware DFD that would be easy to use? > >I would probably use oracle Pl/sql DESC then copy the result to excel, >word, or powerpoint. BTW I can't use DESC via the Access passthru. Is >there a special way to get this > >Thanks >************************************************** >* Patricia O'Connor >* Associate Computer Programmer Analyst >* OTDA - BDMA >* (W) mailto:Patricia.O'Connor at otda.state.ny.us >* (w) mailto:aa1160 at nysemail.state.ny.us >************************************************** >-------------------------------------------------------- >This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. > > -- Marty Connelly Victoria, B.C. Canada From Patricia.O'Connor at otda.state.ny.us Fri Jul 21 15:18:09 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 21 Jul 2006 16:18:09 -0400 Subject: [AccessD] Ot - Print Full table descriptions as in relationship In-Reply-To: <44C11BA8.1080704@shaw.ca> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8016B26DD@EXCNYSM0A1AI.nysemail.nyenet> Marty Thank you I appreciate your help. They both look very interesting and useful. I downloaded and copied both. Now I just have to figure out how I can get them to work. First on Access2k then Acc2003. Have you used the one from Allen Brownes? I set up the module and tried use both in the intermediate window and a form but I can not get it to complete. The tables are linked from Oracle and it times out. I need to find where I can set the ODBC time out to 6000 for it to run - so far no luck. SO I tried to set up a form with the command button as described in the documentation but keep getting errors. Do you have an example of the code for the form? Thanks again for you help - have a great weekend ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > MartyConnelly > Sent: Friday, July 21, 2006 02:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Ot - Print Full table descriptions as > in relationship > > > You may have to use this to make multiple views of relationships > > http://www.lebans.com/saverelationshipview.htm > > From Allen Brownes notes > One more suggestion: if you have a large database with too > many tables to fit on screen, Stephen Lebans has a utility > to save multiple relationship views, and load them again > later. With this extended printout combined with his multiple > relationships view, you will be able to stay on top of your database. > > Relationship Report with extended field information If you > need to print field info as well > > http://allenbrowne.com/AppRelReport.html > > O'Connor, Patricia (OTDA) wrote: > > >Someone in my office wants to print several tables like they > appear in > >the relationships. The problem is that a few are big and end > up with a > >scroll bar so the entire table doesn't get printed. Is there > a way to > >get it to totally print? > > > >Is there another way besides dataflow diagram or if not do > you know of > >a freeware DFD that would be easy to use? > > > >I would probably use oracle Pl/sql DESC then copy the result > to excel, > >word, or powerpoint. BTW I can't use DESC via the Access > passthru. Is > >there a special way to get this > > > >Thanks > >************************************************** > >* Patricia O'Connor > >* Associate Computer Programmer Analyst > >* OTDA - BDMA > >* (W) mailto:Patricia.O'Connor at otda.state.ny.us > >* (w) mailto:aa1160 at nysemail.state.ny.us > >************************************************** > >-------------------------------------------------------- > >This e-mail, including any attachments, may be confidential, > privileged or otherwise legally protected. It is intended > only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do > not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply > e-mail and delete the e-mail from your system. > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ewaldt at gdls.com Sat Jul 22 13:52:22 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Sat, 22 Jul 2006 14:52:22 -0400 Subject: [AccessD] Creating a database via code In-Reply-To: Message-ID: I need to be able to create a database and export some objects (tables, queries, forms) to it, all via code from within Access. I know you can create a database via code from within Oracle, but can't seem to find out how within Access. Can this be done simply with SQL? Does it require ADO/DAO? TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From ewaldt at gdls.com Sat Jul 22 14:11:03 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Sat, 22 Jul 2006 15:11:03 -0400 Subject: [AccessD] Creating a database via code In-Reply-To: Message-ID: I found it in VBA help. Sorry; I think I was probably in general Access help when I first looked, so I could not find it. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From newsgrps at dalyn.co.nz Sun Jul 23 14:21:24 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 24 Jul 2006 07:21:24 +1200 Subject: [AccessD] Access 97 Report paper Size property Message-ID: <7.0.1.0.0.20060724071220.01ab9c90@dalyn.co.nz> I am wanting to loop through all reports to find out what the paper size property is set to. Does anyone have any code that will do this? This is what I have so far: Dim strList As String Dim x As Integer For x = CurrentDb.Containers!Reports.Documents.Count - 1 To 0 Step -1 'Add paper size details here 'strList = CurrentDb.Containers!Reports.Documents(x).Name & {paper size} ";" & strList Next MsgBox strList From dajomigo at tpg.com.au Sun Jul 23 17:23:32 2006 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Mon, 24 Jul 2006 08:23:32 +1000 Subject: [AccessD] [SPAM SUSPECT] Check box field on continuous form In-Reply-To: <916187228923D311A6FE00A0CC3FAA30D356E5@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30DEE3C1@ADGSERVER> <916187228923D311A6FE00A0CC3FAA30D356E5@ADGSERVER> Message-ID: <6.2.1.2.2.20060724082107.01f0f5a8@mail.tpg.com.au> Bobby Sorry to take so long to reply. I have been absolutely flat out and couldn't even try your solution which worked perfectly. Thank you very much. David At 11:53 PM 19/07/2006, you wrote: >David, > >Why not run an update query when opening the form (or even once when the >program starts) that updates this field based upon the current date. That >way, you can just display it as is. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne >Gould >Sent: Wednesday, July 19, 2006 12:57 AM >To: Access Developers discussion and problem solving >Subject: [SPAM SUSPECT] [AccessD] Check box field on continuous form >Importance: Low > > >I am working on a database for a video library. I am having some difficulty >with a form for recording over-the-phone movie renewals. i have included a >field in the table (tblHires) to show if the movie is to be renewed (this >is a Yes/No field type) and the form has a subform set as a continuous form. > >The subform is based on the following query: > >SELECT tblHires.HireID, tblHires.member, tblHires.title, tblHires.outDate, >tblHires.dueDate, tblHires.over, tblHires.RentalFee, tblTitles.name, >IIf((Date()-tblHires!dueDate)>1,(Date()-tblHires!dueDate)*tblRentalType!Late >FeeRate,0) >AS ChargesDue, tblHires.DateReturned, >IIf(tblHires!dueDate>Date(),False,True) AS RenewStatus, tblHires.Renew, >tblRentalType.DaysDueBack, tblRentalType.NewRelease, >tblRentalType.RentalFee AS DefaultRentalFee >FROM (tblRentalType INNER JOIN tblTitles ON tblRentalType.RentalTypeID = >tblTitles.RentalTypeID) INNER JOIN tblHires ON tblTitles.tapeNumber = >tblHires.title >WHERE >(((tblHires.member)=[Forms]![frmHire_New_Members_Extend]![cboSelectMember]) >AND ((tblHires.DateReturned) Is Null)); > >I want the Renew field to be true for all titles that may need to be >renewed (that is: not yet returned and dueDateall movies on hire. > >I have managed to show the field as described above but it is then not >updatable. Alternatively, I can show the field as it is in the table and >then update it. > >Is it possible to have it work both ways? The status of this field is then >to be used to record the new hire transactions. > >TIA > >David Gould > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Jul 23 17:59:09 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 24 Jul 2006 10:59:09 +1200 Subject: [AccessD] Access 97 Report paper Size property In-Reply-To: <7.0.1.0.0.20060724071220.01ab9c90@dalyn.co.nz> References: <7.0.1.0.0.20060724071220.01ab9c90@dalyn.co.nz> Message-ID: <7.0.1.0.0.20060724105542.01c708a0@dalyn.co.nz> Solved it with the help of Microsoft article http://support.microsoft.com/kb/q129748/ At 24/07/2006, you wrote: >I am wanting to loop through all reports to find out what the paper >size property is set to. Does anyone have any code that will do >this? This is what I have so far: > >Dim strList As String >Dim x As Integer >For x = CurrentDb.Containers!Reports.Documents.Count - 1 To 0 Step -1 > 'Add paper size details here > 'strList = CurrentDb.Containers!Reports.Documents(x).Name & >{paper size} ";" & strList >Next >MsgBox strList > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ewaldt at gdls.com Mon Jul 24 07:16:08 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Mon, 24 Jul 2006 08:16:08 -0400 Subject: [AccessD] Set references programmatically Message-ID: I create smaller databases from a main one so that I can send out the smaller ones to users. I export forms, queries, and appropriate subsets of tables. I also export a startup macro and a VBA function for the startup macro to run. Now for the problem. The VBA function uses DAO, and I need to make sure the user will have DAO referred to. How do I do that programmatically? Specifically, I am looking for "Microsoft DAO 3.6 Object Library". TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From rlavsa at tigg.com Mon Jul 24 07:44:04 2006 From: rlavsa at tigg.com (Richard Lavsa) Date: Mon, 24 Jul 2006 08:44:04 -0400 Subject: [AccessD] Quotation Database structure question Message-ID: Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich From JHewson at karta.com Mon Jul 24 08:06:57 2006 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Jul 2006 08:06:57 -0500 Subject: [AccessD] What Causes Database Strange Behavior Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C044C6371@karta-exc-int.Karta.com> Thanks Charlotte and Bobby for responding. Further investigation indicated that I was the only person having difficulty with the database. Most of the users had copied the front end to their machines and were not having any problems. I, on-the-other-hand, was having difficulty with several databases that were not even remotely connected. One database was using ODBC to SQL Server with very few forms - and it was closing before I could get it open. Regardless of the version of Access I used to open them, they still would not function correctly. One database gave me an error message when I opened it up in A2K, then wanted to know if I wanted to report it to Microsoft. I finally (after several attempts) reported it. I was given KB article 323203: ACC2000: Access 2000 Unexpectedly Quits When You Run Code to Open an Object. Essentially, it states the references need to be refreshed. The other key sentence was the CAUSE statement. "The database was created in MS Access 2002, but the database is now in the Access 2000 File Format, and you are working in Access 2000." Refreshing the references helped some but did not completely fix the problem. In a whirlwind of activity trying to get this resolved, I was finally directed to the Update site. I did the Check for Office Updates and found I needed several. Some for each version of office I had on my machine. I did the updates and the problem went away... Thanks. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, July 21, 2006 10:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] What Causes Database Strange Behavior If your users all use a shared front end written in A2k but open it with different versions of Access, I'm not surprised you're getting some odd results. Give them individual front ends and save yourself some headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 5:33 AM To: AccessD Subject: [AccessD] What Causes Database Strange Behavior A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, 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 bchacc at san.rr.com Mon Jul 24 08:21:41 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 24 Jul 2006 06:21:41 -0700 Subject: [AccessD] Quotation Database structure question In-Reply-To: References: Message-ID: <44C4C965.5020706@san.rr.com> I'd start with the outputs. Ask them to dummy up reports or look at the spreadsheets they're currently using to organize and use the information. The problem is one of categories, because apparently they want to extract (filter) and/or sort on different material characteristics. The output defines the data. Given that chances are that they don't really know or haven't analyzed, or don't want to put in the design time analyzing exactly how they want the information organized, I'd also design this app with several user defined fields which populate combo boxes and which combo boxes have Not In List procedures so they can do some of their own organizing and build their own characteristic lists - give them kind of an open framework. Rocky Richard Lavsa wrote: > Hello all, > > I have a question on how to build a piece of my application. > > The piece I am having trouble trying to put together is as follows. > > Our engineers call out and get prices on material (aluminum, steel, > Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle > Iron, etc.. ) So what they ask me to put together is a database that > they can enter all this information into, and pull out information as > needed. It sounded like an easy task at first. > > I started to lay it out and realized that even though these are all > "components" to whatever it is they are building, they may have > different characteristics to maintain in the database.. This is my > biggest hang-up... how do I make a Component table be able to take into > account all the various characteristics for such different pieces. > > For instance... > FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = > (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, > Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you > have your Pipe and Pipe Fittings Pipe can be made from various > materials, lengths, and thicknesses Pipe fittings can as well not to > mention there are elbows, T's, Y's, etc etc... > > ... > > So in summary.. What I'm trying to build at this point is a way to > record what the engineers received from various vendors and date it. > Organize it in such a fashion they can pick and choose based on > previous information gathered or based on updated data entered into > the system and put together a quick quote for a customer. This will > end up as a collaboration tool as well since some of the engineers may > call the same vendor asking for the same if not similar items. > > I simply don't know what the best approach is in organizing all these > Parts. They start off as a part, but they all have such different > characteristics to record, I don't know where to begin. > > Any help would be greatly appreciated. > > TIA, > Rich > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bheid at appdevgrp.com Mon Jul 24 08:34:27 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Jul 2006 09:34:27 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: What Causes Database Strange Behavior In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DFB2F1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D3571A@ADGSERVER> Glad to hear you're going now. I hate it when a bunch of things conspire against me like that. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Monday, July 24, 2006 9:07 AM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] Re: [AccessD] What Causes Database Strange Behavior Importance: Low Thanks Charlotte and Bobby for responding. Further investigation indicated that I was the only person having difficulty with the database. Most of the users had copied the front end to their machines and were not having any problems. I, on-the-other-hand, was having difficulty with several databases that were not even remotely connected. One database was using ODBC to SQL Server with very few forms - and it was closing before I could get it open. Regardless of the version of Access I used to open them, they still would not function correctly. One database gave me an error message when I opened it up in A2K, then wanted to know if I wanted to report it to Microsoft. I finally (after several attempts) reported it. I was given KB article 323203: ACC2000: Access 2000 Unexpectedly Quits When You Run Code to Open an Object. Essentially, it states the references need to be refreshed. The other key sentence was the CAUSE statement. "The database was created in MS Access 2002, but the database is now in the Access 2000 File Format, and you are working in Access 2000." Refreshing the references helped some but did not completely fix the problem. In a whirlwind of activity trying to get this resolved, I was finally directed to the Update site. I did the Check for Office Updates and found I needed several. Some for each version of office I had on my machine. I did the updates and the problem went away... Thanks. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, July 21, 2006 10:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] What Causes Database Strange Behavior If your users all use a shared front end written in A2k but open it with different versions of Access, I'm not surprised you're getting some odd results. Give them individual front ends and save yourself some headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, July 21, 2006 5:33 AM To: AccessD Subject: [AccessD] What Causes Database Strange Behavior A2K BE, users access it with A2K, AXP and A2003. Both reside in the same directory on a common mapped network drive. Usually there are two or three users accessing it at the same time... rarely does the user count go above five. Problem: Yesterday, the database started closing without warning. Bypassing the opening script the FE opens as expected. Either opening the Main form or attempting to access the code, the entire database would shut down. I did a compact and repair (both FE and BE), I decompiled and recompiled, nothing seemed to work. I finally created a blank container and imported all objects and relinked the tables. It seems to be working correctly. I have no idea why this happened. What would cause this strange behavior? I would like to see if the old file can be fixed, as a learning tool, if nothing else. Thanks, Jim From Gustav at cactus.dk Mon Jul 24 10:34:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Jul 2006 17:34:45 +0200 Subject: [AccessD] Set references programmatically Message-ID: Hi Thomas Here's one method: ' Include in Declarations: ' Length of GUID string per definition. Private Const clngGUID As Long = 38 Type GuidDefinition Guid As String * clngGUID Major As Integer Minor As Integer End Type ' Functions: Public Function RefAddDao() As Boolean Dim typGuid As GuidDefinition With typGuid ' GUID for DAO. Don't specify version to add the latest. .Guid = "{00025E01-0000-0000-C000-000000000046}" End With RefAddDao = ReferenceAddFromGuid(typGuid) End Function Public Function ReferenceAddFromGuid(ByRef typGuid As GuidDefinition) As Boolean ' Add a reference from its GUID and verify it. ' ' 2001-08-20. Cactus Data ApS, CPH. ' Reference Guid not registered or registered with a lower version. Const clngErrorGuidNotRegistered As Long = -2147319779 Dim ref As Reference Dim booSuccess As Boolean On Error Resume Next With typGuid References.AddFromGuid .Guid, .Major, .Minor End With If Not Err = clngErrorGuidNotRegistered Then ' The reference is registered but it may have been tampered with. ' Find it and check that it is not broken. For Each ref In References With ref If .BuiltIn = True Then ' no need to study built in references. ElseIf .Guid = typGuid.Guid Then ' This is the added reference. booSuccess = Not IsBroken97(ref) If booSuccess = True Then ' Return actual GUID version. typGuid.Major = .Major typGuid.Minor = .Minor End If End If End With Next End If Set ref = Nothing ReferenceAddFromGuid = booSuccess End Function Public Function IsBroken97(ByVal ref As Access.Reference) As Boolean ' Alternative method to check if a reference is broken ' as the IsBroken property cannot be used in Access97. ' ' 2000-03-19. Gustav Brock. Cactus Data ApS. ' Refer to this article at Microsoft Technet: ' ' Article ID: Q186720 ' ' The information in this article applies to: ' Microsoft Access 97 ' ' SYMPTOMS ' In Microsoft Access, IsBroken is a property of the References collection. ' The Microsoft Access Help topic on the Isbroken property states the following: ' ' The IsBroken property returns a Boolean value indicating whether a ' Reference object points to a valid reference in the Windows Registry. ' ' Although this statement is correct, to receive this Boolean value ' you must trap for errors that are generated by the broken reference. ' Also, the IsBroken property becomes True only when the file being referenced ' is deleted and the Microsoft Windows Recycle Bin is emptied. ' This article details the steps necessary to receive the Boolean value. Dim booRefOK As Boolean On Error GoTo Err_IsBroken97 If Len(Dir(ref.FullPath, vbNormal)) > 0 Then booRefOK = Not ref.IsBroken End If Exit_IsBroken97: IsBroken97 = Not booRefOK Exit Function Err_IsBroken97: ' Ignore non existing servers, drives, and paths. Resume Exit_IsBroken97 End Function /gustav >>> ewaldt at gdls.com 24-07-2006 14:16:08 >>> I create smaller databases from a main one so that I can send out the smaller ones to users. I export forms, queries, and appropriate subsets of tables. I also export a startup macro and a VBA function for the startup macro to run. Now for the problem. The VBA function uses DAO, and I need to make sure the user will have DAO referred to. How do I do that programmatically? Specifically, I am looking for "Microsoft DAO 3.6 Object Library". TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 From cfoust at infostatsystems.com Mon Jul 24 10:36:26 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Jul 2006 08:36:26 -0700 Subject: [AccessD] Set references programmatically In-Reply-To: Message-ID: The simplest approach would be to create a template database from scratch and set the references you need. Then just use a copy of that as the container for the objects you export. The references are part of the database object. You can set references in code, but it is a finicky operation that I avoid like the plague. Actually, what you're doing sounds like a good candidate for partial replication, although that has its own set of headaches. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, July 24, 2006 5:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Set references programmatically I create smaller databases from a main one so that I can send out the smaller ones to users. I export forms, queries, and appropriate subsets of tables. I also export a startup macro and a VBA function for the startup macro to run. Now for the problem. The VBA function uses DAO, and I need to make sure the user will have DAO referred to. How do I do that programmatically? Specifically, I am looking for "Microsoft DAO 3.6 Object Library". TIA, Thomas F. Ewald FCS Database Manager General Dynamics Land Systems (586) 276-1256 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Jul 24 10:56:32 2006 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 24 Jul 2006 11:56:32 -0400 Subject: [AccessD] Quotation Database structure question In-Reply-To: Message-ID: <000201c6af39$bd12a430$2f01a8c0@dorismanning> Richard, I have a similar situation where I work. We have production shop order forms that have some common elements (project, quantity, item name, department, etc) but the actual details of the order are different depending on whether it's a graphic or something that needs to be fabricated. What I did was set up individual tables to hold the non-common information and used the PK of the common element table as the FK to the non-common tables. >From an interface standpoint, you could use a mainform-subform approach to show the appropriate subform of non-common information based on the component type selected on the mainform record. Doris Manning Database Administrator Hargrove Inc. From DWUTKA at marlow.com Mon Jul 24 11:53:49 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 24 Jul 2006 11:53:49 -0500 Subject: [AccessD] Quotation Database structure question Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A643@MARLOW_MAIN2.marlow.com> I created a product database for our company. Our website uses it. We have several 'types' of products, and I didn't want things hard coded, so I created a database where the people that control the data can create new products and put it in the system. Here is a screen shot of the relationships: http://www.marlow.com/productdbrelations.bmp there are a few tables that are off on the side, but those are strictly for the shopping cart itself. A little explanation: tblProducts is the main table, the ProductID is an Autonumber in that table. It has fields that are specific to every product, no matter what it is. The key field (in importance) is the GenericType field. I goofed when designing this, because I didn't use that term throughout the whole project, and didn't catch that I wasn't doing that until I was pretty deep into it. What does the GenericType field do? It tells the system what kind of product it is. GenericTypes are defined in tblSpecificationHeader (with a name, the GenericType field is a number field that matches the ListID (AutoNumber)). The specs for that product are then listed in tblSpecificationDetails. Each spec has the ListID (to relate it to a 'generic type'). Then have a name, units, (Our website has a glossary in it, so the Glossary ID matches the glossary terms to appropriate specs (for instance, some of our products are TECs (Thermo Electric Coolers, and DeltaT is a spec, and a glossary term, so when the website displays a product, if it has a matching glossary term for the spec, it shows up as a tool tip on the website. Then there are product types, and sub types. In our particular case, our subtypes are categories based on our customer base (DSP (Defense Space and Photonics), Commercial, Medical, etc.), and the types are more specific product types. For example, our Generic Types are 'standard coolers', 'accessories', and 'TTRS'. Our product types are identical for accessories and ttrs, but standard coolers have many product types (MI coolers, AT coolers, DT coolers, XLT coolers, etc.) I'll try to explain this in a little less technical terms. Each product has a 'generic type'. For instance, a centrifugal pump and a positive displacement pump are both pumps. So they would both have a GenericType 'Pump' (which would have it's own ID (ListID in my database)). The specs for a pump might be GPM, Type, PowerUsage, etc. Each spec for a pump would be listed in the SpecDetails table. Ooops, almost forgot. There are a few tables missing from the relationships. tblDateData, tblLongData, tblDoubleData, tblTextData and tblCurrencyData. They are identical tables, with SpecID (Long Integer), ProductID (Long Integer) and Data (data type matching the table, ie, Long Integer for tblLongData. Now, you might want to make a few modifications to my design. For example, my Product Specs are hard linked to a generic type. You may want to put this link in a many to many table, ie, a ListID and SpecID table, so that the same spec may relate to multiple generic types. (So if you have Manufacturer in many generic types, you can list all products, regardless of generic type, for a specific manufacturer. That may apply to all products though (so it may be put in tblProducts), but something like PowerUsage may only apply to certain generic types, so that might be a better example). Hope this helps. Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 24, 2006 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Quotation Database structure question Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jul 24 11:55:10 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Jul 2006 09:55:10 -0700 Subject: [AccessD] Set references programmatically In-Reply-To: References: Message-ID: <44C4FB6E.5070308@shaw.ca> Here is a quick method for use on startup. Function DAO_OK() As Boolean Dim varDBE As Variant On Error Resume Next If Access.Application.SysCmd(acSysCmdAccessVer) = "8.0" Then Set varDBE = VBA.CreateObject("DAO.DBEngine.35") Else Set varDBE = VBA.CreateObject("DAO.DBEngine.36") End If DAO_OK = (Err.Number = 0) End Function But remember when doing this checking at startup the code must be disambiguated untill you have verified all the correct references are there. In other words all function calls must be fully expressed so that no dll checking is done by the p-code because if not you will fail on a reference check Maybe a 429 error? For example even MsgBox must be VBA.MsgBox or CreateObject must be VBA.CreateObject. You may also have to reregister DAO 3.6 as registration can be lost occassionally. I have never checked but even this reregistration may cough on fully locked down systems. This method is useful in MDE's but you cannot add a reference in an MDE. Re-Register DAO http://www.trigeminal.com/code/RegisterDao.bas Adding a reference with VBA Dim ref As Access.Reference 'may want to do a VBA.Dir to verify existance of file ref.AddFromFile "C:\path to my dll ocx etc" Some other notes and urls that might be helpful http://www.accessmvp.com/djsteele/AccessReferenceErrors.html http://allenbrowne.com/ser-38.html Explanation of VBA code disambiguation http://www.trigeminal.com/usenet/usenet026.asp About how Access searches for reference libraries What order access uses to search for references http://office.microsoft.com/en-ca/assistance/HP030797131033.aspx http://support.microsoft.com/kb/q296205/ http://support.microsoft.com/kb/q189366/ Subject: INFO: How to guarantee that references will work in your applications Micheal Kaplan http://www.trigeminal.com/usenet/usenet026.asp?1033 Sub CheckReferences() 'courtsey Paul Overway Dim ref As Access.Reference Dim intResponse As Integer Dim blnMissing As Boolean Dim strURL As String Dim strBAD As String Dim strMSG As String On Error Resume Next For Each ref In Access.Application.References If ref.IsBroken Then strBAD = vbCrLf & vbTab & ref.FullPath & " " blnMissing = True End If Next If DAO_OK() = False Then VBA.MsgBox "One or more DAO files is missing, corrupt, or not registered." _ & vbCrLf & vbCrLf & _ "This error may result from an incomplete or failed installation" & _ " of Microsoft Access and/or its components " & _ "and will prevent the software from functioning properly." & _ vbCrLf & vbCrLf & "Please see articles 296205, 319841, or " & _ "319844 in Microsoft's Knowledge Base at support.microsoft.com." _ , vbApplicationModal + vbCritical + vbOKOnly, _ " DAO Reference Error" Access.Application.DoCmd.Quit End If If blnMissing Then strMSG = "The following referenced files are missing or corrupt and " & _ "will prevent the software from functioning properly:" _ & vbCrLf & strBAD Access.Application.DoCmd.Quit Else 'Refs OK...safe to run other code Access.Application.Run "NextStartUpRoutine" End If End Sub Function DAO_OK() As Boolean Dim varDBE As Variant On Error Resume Next If Access.Application.SysCmd(acSysCmdAccessVer) = "8.0" Then Set varDBE = VBA.CreateObject("DAO.DBEngine.35") Else Set varDBE = VBA.CreateObject("DAO.DBEngine.36") End If DAO_OK = (Err.Number = 0) End Function ' This is useful as you cannot always see the full path name ' of a reference in the Access add reference window ' One day they might make it scrollable ' hasn't happened in 4 versions. Public Function GetRefs() '==================================================================== ' Name: GetRefs ' Purpose: Get a list of the current database references ' ' Author: Arvin Meyer ' Date: April 10, 1999 ' Comment: ' '==================================================================== On Error GoTo Err_GetRefs Dim i As Integer For i = 1 To Application.References.Count Debug.Print Application.References(i).FullPath Next i Exit_GetRefs: Exit Function Err_GetRefs: Debug.Print "Missing Reference" Resume Next End Function ewaldt at gdls.com wrote: >I create smaller databases from a main one so that I can send out the >smaller ones to users. I export forms, queries, and appropriate subsets of >tables. I also export a startup macro and a VBA function for the startup >macro to run. Now for the problem. > >The VBA function uses DAO, and I need to make sure the user will have DAO >referred to. How do I do that programmatically? Specifically, I am looking >for "Microsoft DAO 3.6 Object Library". > >TIA, > >Thomas F. Ewald >FCS Database Manager >General Dynamics Land Systems >(586) 276-1256 > > > -- Marty Connelly Victoria, B.C. Canada From askolits at ot.com Mon Jul 24 14:57:46 2006 From: askolits at ot.com (John Skolits) Date: Mon, 24 Jul 2006 15:57:46 -0400 Subject: [AccessD] Number of a specific characters in a string Message-ID: <007a01c6af5b$728aedb0$6401a8c0@LaptopXP> I'm sure I could write some code for this, but is there a function that returns the occurrences of a specific character within a string. Ie: If the string is strSTRING = " Hello how are you, today" And I put it in a function called NumOfSpecifcChar() where the firsts argument is the string and the second the string value to search for. integerValue = NumOfSpecifcChar (strSTRING, "o") It would return a '4' From DWUTKA at marlow.com Mon Jul 24 16:06:39 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 24 Jul 2006 16:06:39 -0500 Subject: [AccessD] Number of a specific characters in a string Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A6B2@MARLOW_MAIN2.marlow.com> Don't know of a default function to do this, however, you could make one with just a few lines in a function: Function NumOfSpecificChar(strText as String, strCharacter as string) As Long Dim strTemp as string strTemp=Replace(strText,strCharacter,"") NumOfSpecificChar=(Len(strText)-Len(strTemp))/Len(strCharacter) End Function Drew -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, July 24, 2006 2:58 PM To: accessD at databaseadvisors.com Subject: [AccessD] Number of a specific characters in a string I'm sure I could write some code for this, but is there a function that returns the occurrences of a specific character within a string. Ie: If the string is strSTRING = " Hello how are you, today" And I put it in a function called NumOfSpecifcChar() where the firsts argument is the string and the second the string value to search for. integerValue = NumOfSpecifcChar (strSTRING, "o") It would return a '4' -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Mon Jul 24 16:23:31 2006 From: askolits at ot.com (John Skolits) Date: Mon, 24 Jul 2006 17:23:31 -0400 Subject: [AccessD] Number of a specific characters in a string In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A6B2@MARLOW_MAIN2.marlow.com> Message-ID: <008601c6af67$6ca85020$6401a8c0@LaptopXP> Very Clever! Thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, July 24, 2006 5:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Number of a specific characters in a string Don't know of a default function to do this, however, you could make one with just a few lines in a function: Function NumOfSpecificChar(strText as String, strCharacter as string) As Long Dim strTemp as string strTemp=Replace(strText,strCharacter,"") NumOfSpecificChar=(Len(strText)-Len(strTemp))/Len(strCharacter) End Function Drew -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Monday, July 24, 2006 2:58 PM To: accessD at databaseadvisors.com Subject: [AccessD] Number of a specific characters in a string I'm sure I could write some code for this, but is there a function that returns the occurrences of a specific character within a string. Ie: If the string is strSTRING = " Hello how are you, today" And I put it in a function called NumOfSpecifcChar() where the firsts argument is the string and the second the string value to search for. integerValue = NumOfSpecifcChar (strSTRING, "o") It would return a '4' -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Jul 24 18:02:23 2006 From: robert at servicexp.com (Robert) Date: Mon, 24 Jul 2006 19:02:23 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <008601c6af67$6ca85020$6401a8c0@LaptopXP> Message-ID: <000001c6af75$3bb240d0$6501a8c0@roberts> I have been struggling with this problem for more then year and half, looks like it may finally have been resolved. I was able to get the patch and so far (3 weeks now) not one of these errors... I was receiving this error on at least a daily basis; most of the time several times during the day.... Pulled most of my hair out thinking it was something in my design... Thought you guys may want to know.. http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf Robert From garykjos at gmail.com Mon Jul 24 21:17:20 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 24 Jul 2006 21:17:20 -0500 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <000001c6af75$3bb240d0$6501a8c0@roberts> References: <008601c6af67$6ca85020$6401a8c0@LaptopXP> <000001c6af75$3bb240d0$6501a8c0@roberts> Message-ID: Wow, great news Robert. Thanks for sharing it. GK On 7/24/06, Robert wrote: > > I have been struggling with this problem for more then year and half, looks > like it may finally have been resolved. I was able to get the patch and so > far (3 weeks now) not one of these errors... I was receiving this error on > at least a daily basis; most of the time several times during the day.... > Pulled most of my hair out thinking it was something in my design... > > Thought you guys may want to know.. > > http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf > > Robert > > -- > 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 martyconnelly at shaw.ca Mon Jul 24 23:22:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Jul 2006 21:22:36 -0700 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: References: <008601c6af67$6ca85020$6401a8c0@LaptopXP> <000001c6af75$3bb240d0$6501a8c0@roberts> Message-ID: <44C59C8C.5060604@shaw.ca> Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch and so >>far (3 weeks now) not one of these errors... I was receiving this error on >>at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada From Patricia.O'Connor at otda.state.ny.us Wed Jul 26 06:45:04 2006 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 26 Jul 2006 07:45:04 -0400 Subject: [AccessD] OT TEST IGNORE References: <000001c6af75$3bb240d0$6501a8c0@roberts> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE838CA83@EXCNYSM0A1AI.nysemail.nyenet> Testing to see if I will receive ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From john at winhaven.net Wed Jul 26 10:10:03 2006 From: john at winhaven.net (John Bartow) Date: Wed, 26 Jul 2006 10:10:03 -0500 Subject: [AccessD] just checking - please ignore Message-ID: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> just checking - please ignore From carbonnb at gmail.com Wed Jul 26 10:13:51 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 26 Jul 2006 11:13:51 -0400 Subject: [AccessD] just checking - please ignore In-Reply-To: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> References: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> Message-ID: On 7/26/06, John Bartow wrote: > just checking - please ignore Make the check payable to: Bryan Carbonnell :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lembit.dbamail at t-online.de Wed Jul 26 10:39:28 2006 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Wed, 26 Jul 2006 17:39:28 +0200 Subject: [AccessD] just checking - please ignore References: <016801c6b0c5$93329750$6502a8c0@ScuzzPaq> Message-ID: <003101c6b0c9$ae5f3cf0$1400a8c0@v1000> ok, ignored Lembit ----- Original Message ----- From: "John Bartow" To: "_DBA-Access" Sent: Wednesday, July 26, 2006 5:10 PM Subject: [AccessD] just checking - please ignore > just checking - please ignore > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 25.07.2006 > > From JRojas at tnco-inc.com Wed Jul 26 12:17:48 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 26 Jul 2006 13:17:48 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDCFF@ex2k3.corp.tnco-inc.com> Hello, Does anyone know of a place where I can purchase Visual Studio 2005 Pro UPGRADE for a good price? So far the cheapest I found was $550. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From bill_Patten at earthlink.net Wed Jul 26 12:30:54 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Wed, 26 Jul 2006 10:30:54 -0700 Subject: [AccessD] OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDCFF@ex2k3.corp.tnco-inc.com> Message-ID: <001c01c6b0d9$3feff4c0$6401a8c0@BPCS> Joe I got it from Amazon Dot Com for 493.59 Did a Google search and picked one. Bill ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 10:17 AM Subject: [AccessD] OT: Visual Studio 2005 Pro Hello, Does anyone know of a place where I can purchase Visual Studio 2005 Pro UPGRADE for a good price? So far the cheapest I found was $550. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jul 26 13:56:02 2006 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 26 Jul 2006 14:56:02 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro Message-ID: http://www.jaggerswholesale.com/servlet/the-429082/Visual-Studio-Pro-200 5/Detail $506, try searching Froogle on "Visual Studio Pro 2005" Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas > Sent: Wednesday, July 26, 2006 1:18 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Visual Studio 2005 Pro > > Hello, > > Does anyone know of a place where I can purchase Visual > Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From markamatte at hotmail.com Wed Jul 26 14:34:20 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 26 Jul 2006 19:34:20 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte From wdhindman at dejpolsystems.com Wed Jul 26 14:36:15 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 26 Jul 2006 15:36:15 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDCFF@ex2k3.corp.tnco-inc.com> Message-ID: <003101c6b0ea$c314bd70$6466a8c0@50NM721> ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Jul 26 15:04:00 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 26 Jul 2006 15:04:00 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A895@MARLOW_MAIN2.marlow.com> Hmmm, a little tough to do that. Access User Level security can lock users out of objects, including tables, however, that means they can't get to them at all. I believe if a user has read rights, they still can't 'link' the table, not absolutely sure about that, have to check. But if they can read the data from the table in a form, they will be able to open the table in the database window. If reading doesn't allowing linking, you could always hide the DB window (or hide the access window). That would prevent the user from getting to the tables directly in the database. Even if read-only permissions don't allow a user to link, it still wouldn't be perfect, you'd be able to view the data with ADO/DAO code still.... Just curious, what's the actual goal here? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Jul 26 15:08:38 2006 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Wed, 26 Jul 2006 16:08:38 -0400 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A895@MARLOW_MAIN2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD7A895@MARLOW_MAIN2.marlow.com> Message-ID: <200607262008.k6QK8uS16758@databaseadvisors.com> The quick and dirty might be to just hide the tables and disable the shortcut keys unhide function or the toolbar. >>> 07/26/06 4:04 PM >>> Hmmm, a little tough to do that. Access User Level security can lock users out of objects, including tables, however, that means they can't get to them at all. I believe if a user has read rights, they still can't 'link' the table, not absolutely sure about that, have to check. But if they can read the data from the table in a form, they will be able to open the table in the database window. If reading doesn't allowing linking, you could always hide the DB window (or hide the access window). That would prevent the user from getting to the tables directly in the database. Even if read-only permissions don't allow a user to link, it still wouldn't be perfect, you'd be able to view the data with ADO/DAO code still.... Just curious, what's the actual goal here? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 26 15:20:11 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Jul 2006 13:20:11 -0700 Subject: [AccessD] OT: Visual Studio 2005 Pro In-Reply-To: <003101c6b0ea$c314bd70$6466a8c0@50NM721> Message-ID: However, the EULA requires you to remove all that software from your system if you're no longer eligible and are dropped from the program, i.e., you don't develop and MS based commercial product in the next year or so. We have the program here in our office and we're being granted some leeway because our new product isn't quite out the door yet, but I buy my own retail versions at home. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 26, 2006 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Visual Studio 2005 Pro ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jul 26 15:27:17 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 26 Jul 2006 15:27:17 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A8AC@MARLOW_MAIN2.marlow.com> Won't prevent linked tables though....that's why I'm curious what the actual goal is, there may be another way to 'protect' whatever he's trying to protect. Drew -----Original Message----- From: RANDALL R ANTHONY [mailto:RRANTHON at sentara.com] Sent: Wednesday, July 26, 2006 3:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? The quick and dirty might be to just hide the tables and disable the shortcut keys unhide function or the toolbar. >>> 07/26/06 4:04 PM >>> Hmmm, a little tough to do that. Access User Level security can lock users out of objects, including tables, however, that means they can't get to them at all. I believe if a user has read rights, they still can't 'link' the table, not absolutely sure about that, have to check. But if they can read the data from the table in a form, they will be able to open the table in the database window. If reading doesn't allowing linking, you could always hide the DB window (or hide the access window). That would prevent the user from getting to the tables directly in the database. Even if read-only permissions don't allow a user to link, it still wouldn't be perfect, you'd be able to view the data with ADO/DAO code still.... Just curious, what's the actual goal here? Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Jul 26 15:29:01 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 26 Jul 2006 20:29:01 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <200607262008.k6QK8uS16758@databaseadvisors.com> Message-ID: Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Jul 26 15:33:58 2006 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Wed, 26 Jul 2006 16:33:58 -0400 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: References: <200607262008.k6QK8uS16758@databaseadvisors.com> Message-ID: <200607262034.k6QKY7S22886@databaseadvisors.com> Ah, that's right, it could still be linked via another db. >>> "Mark A Matte" 07/26/06 4:29 PM >>> Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jul 26 15:50:48 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 26 Jul 2006 15:50:48 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A8BF@MARLOW_MAIN2.marlow.com> Ah, two other options for you. Only send them a snapshot of the report. Or, a better method, would be to create a web based report, that they could view 'live'. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, July 26, 2006 3:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Jul 26 15:53:48 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Jul 2006 15:53:48 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDF8@corp-es01.fleetpride.com> From an Excel (or Word)workbook download the data from Access into a "report" in Excel or Word. The user doesn't need to know or care about Access and will only have access to the downloaded data. Just a thought. Jim Hale -----Original Message----- From: RANDALL R ANTHONY [mailto:RRANTHON at sentara.com] Sent: Wednesday, July 26, 2006 3:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Ah, that's right, it could still be linked via another db. >>> "Mark A Matte" 07/26/06 4:29 PM >>> Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Donald.A.McGillivray at sprint.com Wed Jul 26 15:58:07 2006 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Wed, 26 Jul 2006 15:58:07 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: Hi Mark, This may not be a suitable option in your case, but I used to use Crystal Reports to create encapsulated reports from an Access database. (A looong time ago - Access 2.0 and one of the earliest versions of Crystal.) As I recall, Crystal would allow you to create and save a report along with its data source embedded, so you could deliver it lock, stock, and barrel to a recipient, with no need to allow access to the original data source. It even allowed drilling down on summarized report data. I don't know how secure the underlying data was, but it may be worth a look-see. As I said, that was a long time ago, but this was such a cool feature that it's likely that it still exists in Crystal. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Wednesday, July 26, 2006 1:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Ah, that's right, it could still be linked via another db. >>> "Mark A Matte" 07/26/06 4:29 PM >>> Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Jul 26 16:03:15 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 26 Jul 2006 17:03:15 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <44C59C8C.5060604@shaw.ca> Message-ID: More like you did something stupid.... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 25, 2006 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch and so >>far (3 weeks now) not one of these errors... I was receiving this error on >>at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.pdf >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Jul 26 16:03:15 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 26 Jul 2006 17:03:15 -0400 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Mark, <> A. Don't use Access. B. Use user level security with two different workgroup files. 1. Secure your database completely as normal. 2. Make sure that all permissions to tables are revoked for the Users group and the Admin user). 3. Grant full permissions to the Admin user and the Users group for all the objects you want everyone to be able to use. 4. Distribute your application using the default workgroup information file. Since there is no password assigned to the Admin user in the default system.mda/mdw, everyone logs on as Admin and they have only those permissions you have assigned the Admin user and the Users group. For tables, you'll leave off all the permissions and then the only access to the tables would be through queries with the RWOP (run with owner permissions) to true. This achieves the first objective, but not the second. They simply will not have access to the tables. You'd have to give them your secure workgroup for them to be able to get at the tables directly. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 26, 2006 3:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Secure a DB...kinda? Hello All, I would like to do 'something' with access...I want to be able to send out an MDB or MDE...and no matter who opens it...no password required...but if someone were to try and link or get to the tables...a password would be required? I could do this with a FE/BE scenario...but this is not an option. Any ideas? Thanks, Mark A. Matte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jul 26 16:06:41 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Jul 2006 14:06:41 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Well, if you want to get really creative, I've got a sample called NoTables at http://www.rogersaccesslibrary.com/OtherLibraries.asp#Foust,%20Charlotte but it does require a separate, unlinked back end. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, July 26, 2006 1:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Hiding the tables does not prevent linking. I'm not sure I can even do this...but the solution I've been asked to provide is a way for someone to view a report...not have access to the data...just view the report...this way no searching is allowed. I can do part of this by have a form at startup that turns off the bypass...gets rid of ALL menus and shortcuts...and opens the report...this however does not prevent them linking to the data from another db. Any ideas? Thanks, Mark P.S...as for the reason why...lets just say there is a reason there are so many lawyer jokes. >From: "RANDALL R ANTHONY" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 16:08:38 -0400 > >The quick and dirty might be to just hide the tables and disable the >shortcut keys unhide function or the toolbar. > > >>> 07/26/06 4:04 PM >>> >Hmmm, a little tough to do that. Access User Level security can lock >users >out of objects, including tables, however, that means they can't get to >them >at all. I believe if a user has read rights, they still can't 'link' >the >table, not absolutely sure about that, have to check. But if they can >read >the data from the table in a form, they will be able to open the table >in >the database window. > >If reading doesn't allowing linking, you could always hide the DB >window (or >hide the access window). That would prevent the user from getting to >the >tables directly in the database. > >Even if read-only permissions don't allow a user to link, it still >wouldn't >be perfect, you'd be able to view the data with ADO/DAO code still.... > >Just curious, what's the actual goal here? > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, July 26, 2006 2:34 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Secure a DB...kinda? > >Hello All, > >I would like to do 'something' with access...I want to be able to send >out >an MDB or MDE...and no matter who opens it...no password required...but >if >someone were to try and link or get to the tables...a password would be > >required? > >I could do this with a FE/BE scenario...but this is not an option. > >Any ideas? > >Thanks, > >Mark A. Matte > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 26 16:07:10 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 26 Jul 2006 17:07:10 -0400 Subject: [AccessD] Secure a DB...kinda? References: Message-ID: <00a601c6b0f7$76b85380$6466a8c0@50NM721> ...can you open it only in a runtime mde? ...have your autoinit check the access path first ...if its not a runtime, shut it down? ...never had a reason to try that but I do check to see if I'm in a runtime environment and do things based upon the return. William ----- Original Message ----- From: "Mark A Matte" To: Sent: Wednesday, July 26, 2006 4:29 PM Subject: Re: [AccessD] Secure a DB...kinda? > Hiding the tables does not prevent linking. > > I'm not sure I can even do this...but the solution I've been asked to > provide is a way for someone to view a report...not have access to the > data...just view the report...this way no searching is allowed. I can do > part of this by have a form at startup that turns off the bypass...gets > rid > of ALL menus and shortcuts...and opens the report...this however does not > prevent them linking to the data from another db. > > Any ideas? > > Thanks, > > Mark > > P.S...as for the reason why...lets just say there is a reason there are so > many lawyer jokes. > > >>From: "RANDALL R ANTHONY" >>Reply-To: Access Developers discussion and problem >>solving >>To: >>Subject: Re: [AccessD] Secure a DB...kinda? >>Date: Wed, 26 Jul 2006 16:08:38 -0400 >> >>The quick and dirty might be to just hide the tables and disable the >>shortcut keys unhide function or the toolbar. >> >> >>> 07/26/06 4:04 PM >>> >>Hmmm, a little tough to do that. Access User Level security can lock >>users >>out of objects, including tables, however, that means they can't get to >>them >>at all. I believe if a user has read rights, they still can't 'link' >>the >>table, not absolutely sure about that, have to check. But if they can >>read >>the data from the table in a form, they will be able to open the table >>in >>the database window. >> >>If reading doesn't allowing linking, you could always hide the DB >>window (or >>hide the access window). That would prevent the user from getting to >>the >>tables directly in the database. >> >>Even if read-only permissions don't allow a user to link, it still >>wouldn't >>be perfect, you'd be able to view the data with ADO/DAO code still.... >> >>Just curious, what's the actual goal here? >> >>Drew >> >>-----Original Message----- >>From: Mark A Matte [mailto:markamatte at hotmail.com] >>Sent: Wednesday, July 26, 2006 2:34 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Secure a DB...kinda? >> >>Hello All, >> >>I would like to do 'something' with access...I want to be able to send >>out >>an MDB or MDE...and no matter who opens it...no password required...but >>if >>someone were to try and link or get to the tables...a password would be >> >>required? >> >>I could do this with a FE/BE scenario...but this is not an option. >> >>Any ideas? >> >>Thanks, >> >>Mark A. Matte >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Wed Jul 26 16:21:29 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 26 Jul 2006 21:21:29 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <00a601c6b0f7$76b85380$6466a8c0@50NM721> Message-ID: Thanks to Everyone for the feedback... Whatever my final solution ends up being...it can only be 1 file...and not an installation. Is anyone familiar with the Command-Line Arguments on the Advanced tab of OPTIONS...this almost looks like what I need...but I can't get it to work...I might be misunderstanding the function...but I think it is supposed to do exactly what I need. Any thoughts? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:07:10 -0400 > >...can you open it only in a runtime mde? ...have your autoinit check the >access path first ...if its not a runtime, shut it down? ...never had a >reason to try that but I do check to see if I'm in a runtime environment >and >do things based upon the return. > >William > >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, July 26, 2006 4:29 PM >Subject: Re: [AccessD] Secure a DB...kinda? > > > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > data...just view the report...this way no searching is allowed. I can >do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does >not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are >so > > many lawyer jokes. > > > > > >>From: "RANDALL R ANTHONY" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Secure a DB...kinda? > >>Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >>The quick and dirty might be to just hide the tables and disable the > >>shortcut keys unhide function or the toolbar. > >> > >> >>> 07/26/06 4:04 PM >>> > >>Hmmm, a little tough to do that. Access User Level security can lock > >>users > >>out of objects, including tables, however, that means they can't get to > >>them > >>at all. I believe if a user has read rights, they still can't 'link' > >>the > >>table, not absolutely sure about that, have to check. But if they can > >>read > >>the data from the table in a form, they will be able to open the table > >>in > >>the database window. > >> > >>If reading doesn't allowing linking, you could always hide the DB > >>window (or > >>hide the access window). That would prevent the user from getting to > >>the > >>tables directly in the database. > >> > >>Even if read-only permissions don't allow a user to link, it still > >>wouldn't > >>be perfect, you'd be able to view the data with ADO/DAO code still.... > >> > >>Just curious, what's the actual goal here? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Wednesday, July 26, 2006 2:34 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Secure a DB...kinda? > >> > >>Hello All, > >> > >>I would like to do 'something' with access...I want to be able to send > >>out > >>an MDB or MDE...and no matter who opens it...no password required...but > >>if > >>someone were to try and link or get to the tables...a password would be > >> > >>required? > >> > >>I could do this with a FE/BE scenario...but this is not an option. > >> > >>Any ideas? > >> > >>Thanks, > >> > >>Mark A. Matte > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Jul 26 17:08:56 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 26 Jul 2006 18:08:56 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro References: Message-ID: <012501c6b100$17a95ed0$6466a8c0@50NM721> ...they are VERY liberal in extending your membership. I also have my own copies of anything I need personally ..but there is a LOT of stuff in there that is nice to play with/learn that I'd not have otherwise gotten ...plus the free cals makes running a home grown test bed much easier. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 4:20 PM Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > However, the EULA requires you to remove all that software from your > system if you're no longer eligible and are dropped from the program, > i.e., you don't develop and MS based commercial product in the next year > or so. We have the program here in our office and we're being granted > some leeway because our new product isn't quite out the door yet, but I > buy my own retail versions at home. > > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, July 26, 2006 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > > ...cheapest damn thing to do Joe is register in the MS Partner program > (free), give them a URL that says you use/develop MS products/software > ...does NOT have to be much ...and then sign a pledge that says you > INTEND to develop an MS based commercial product within a year. > > ...that qualifies you for the Empower ISV program which gives you just > about everything they make with four quarterly updates ...including VS > 2005 Pro w/10 cals ...all for $375.00. > > ...takes only a little time to meet their quals (they are NOT demanding) > and then you're on to the best software buy you can get anywhere ...take > a look at their partner site ...they make it really easy. > > William > > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, July 26, 2006 1:17 PM > Subject: [AccessD] OT: Visual Studio 2005 Pro > > >> Hello, >> >> Does anyone know of a place where I can purchase Visual Studio 2005 > Pro >> UPGRADE for a good price? >> >> So far the cheapest I found was $550. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max at sherman.org.uk Wed Jul 26 17:10:10 2006 From: max at sherman.org.uk (Max Home) Date: Wed, 26 Jul 2006 23:10:10 +0100 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aQkzicA Message-ID: <000601c6b100$441808e0$e26b1152@Server> Why don't you just export the report (any format you want, .doc, .snp, etc) and the shut the db down straight away. (you can even email it direct from the db and then shut it down. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: 26 July 2006 22:21 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Thanks to Everyone for the feedback... Whatever my final solution ends up being...it can only be 1 file...and not an installation. Is anyone familiar with the Command-Line Arguments on the Advanced tab of OPTIONS...this almost looks like what I need...but I can't get it to work...I might be misunderstanding the function...but I think it is supposed to do exactly what I need. Any thoughts? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:07:10 -0400 > >...can you open it only in a runtime mde? ...have your autoinit check the >access path first ...if its not a runtime, shut it down? ...never had a >reason to try that but I do check to see if I'm in a runtime environment >and >do things based upon the return. > >William > >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, July 26, 2006 4:29 PM >Subject: Re: [AccessD] Secure a DB...kinda? > > > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > data...just view the report...this way no searching is allowed. I can >do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does >not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are >so > > many lawyer jokes. > > > > > >>From: "RANDALL R ANTHONY" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Secure a DB...kinda? > >>Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >>The quick and dirty might be to just hide the tables and disable the > >>shortcut keys unhide function or the toolbar. > >> > >> >>> 07/26/06 4:04 PM >>> > >>Hmmm, a little tough to do that. Access User Level security can lock > >>users > >>out of objects, including tables, however, that means they can't get to > >>them > >>at all. I believe if a user has read rights, they still can't 'link' > >>the > >>table, not absolutely sure about that, have to check. But if they can > >>read > >>the data from the table in a form, they will be able to open the table > >>in > >>the database window. > >> > >>If reading doesn't allowing linking, you could always hide the DB > >>window (or > >>hide the access window). That would prevent the user from getting to > >>the > >>tables directly in the database. > >> > >>Even if read-only permissions don't allow a user to link, it still > >>wouldn't > >>be perfect, you'd be able to view the data with ADO/DAO code still.... > >> > >>Just curious, what's the actual goal here? > >> > >>Drew > >> > >>-----Original Message----- > >>From: Mark A Matte [mailto:markamatte at hotmail.com] > >>Sent: Wednesday, July 26, 2006 2:34 PM > >>To: accessd at databaseadvisors.com > >>Subject: [AccessD] Secure a DB...kinda? > >> > >>Hello All, > >> > >>I would like to do 'something' with access...I want to be able to send > >>out > >>an MDB or MDE...and no matter who opens it...no password required...but > >>if > >>someone were to try and link or get to the tables...a password would be > >> > >>required? > >> > >>I could do this with a FE/BE scenario...but this is not an option. > >> > >>Any ideas? > >> > >>Thanks, > >> > >>Mark A. Matte > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Wed Jul 26 18:49:29 2006 From: robert at servicexp.com (Robert) Date: Wed, 26 Jul 2006 19:49:29 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: Message-ID: <000001c6b10e$23164b80$6501a8c0@roberts> Hehehe, Provoked: Meaning problem in my code structure or design. As Jim said .....Something stupid (usually) Unprovoked: Meaning problem occurring with sound code structure or design. The battle that I have had with this problem has provoked me to..... Well I leave it at that..... :-) I thought the title very catchy.... ;-) Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, July 26, 2006 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? More like you did something stupid.... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 25, 2006 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch >>and so far (3 weeks now) not one of these errors... I was receiving >>this error on at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.p >>df >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Jul 26 19:20:01 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Jul 2006 17:20:01 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: References: Message-ID: <44C806B1.9030200@san.rr.com> How about a separate front end with just the report in question? Make that front end an mde and turn off the database window, bypass key, etc., etc.? Rocky Mark A Matte wrote: > Hiding the tables does not prevent linking. > > I'm not sure I can even do this...but the solution I've been asked to > provide is a way for someone to view a report...not have access to the > data...just view the report...this way no searching is allowed. I can do > part of this by have a form at startup that turns off the bypass...gets rid > of ALL menus and shortcuts...and opens the report...this however does not > prevent them linking to the data from another db. > > Any ideas? > > Thanks, > > Mark > > P.S...as for the reason why...lets just say there is a reason there are so > many lawyer jokes. > > > >> From: "RANDALL R ANTHONY" >> Reply-To: Access Developers discussion and problem >> solving >> To: >> Subject: Re: [AccessD] Secure a DB...kinda? >> Date: Wed, 26 Jul 2006 16:08:38 -0400 >> >> The quick and dirty might be to just hide the tables and disable the >> shortcut keys unhide function or the toolbar. >> >> >>>>> 07/26/06 4:04 PM >>> >>>>> >> Hmmm, a little tough to do that. Access User Level security can lock >> users >> out of objects, including tables, however, that means they can't get to >> them >> at all. I believe if a user has read rights, they still can't 'link' >> the >> table, not absolutely sure about that, have to check. But if they can >> read >> the data from the table in a form, they will be able to open the table >> in >> the database window. >> >> If reading doesn't allowing linking, you could always hide the DB >> window (or >> hide the access window). That would prevent the user from getting to >> the >> tables directly in the database. >> >> Even if read-only permissions don't allow a user to link, it still >> wouldn't >> be perfect, you'd be able to view the data with ADO/DAO code still.... >> >> Just curious, what's the actual goal here? >> >> Drew >> >> -----Original Message----- >> From: Mark A Matte [mailto:markamatte at hotmail.com] >> Sent: Wednesday, July 26, 2006 2:34 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Secure a DB...kinda? >> >> Hello All, >> >> I would like to do 'something' with access...I want to be able to send >> out >> an MDB or MDE...and no matter who opens it...no password required...but >> if >> someone were to try and link or get to the tables...a password would be >> >> required? >> >> I could do this with a FE/BE scenario...but this is not an option. >> >> Any ideas? >> >> Thanks, >> >> Mark A. Matte >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From bchacc at san.rr.com Wed Jul 26 19:21:19 2006 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Jul 2006 17:21:19 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <200607262034.k6QKY7S22886@databaseadvisors.com> References: <200607262008.k6QK8uS16758@databaseadvisors.com> <200607262034.k6QKY7S22886@databaseadvisors.com> Message-ID: <44C806FF.6020202@san.rr.com> But now you're talking about real deliberate mischief instead of just curiosity or error. Is this a problem in this environment? Rocky RANDALL R ANTHONY wrote: > Ah, that's right, it could still be linked via another db. > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> >>>> > Hiding the tables does not prevent linking. > > I'm not sure I can even do this...but the solution I've been asked to > provide is a way for someone to view a report...not have access to the > > data...just view the report...this way no searching is allowed. I can > do > part of this by have a form at startup that turns off the bypass...gets > rid > of ALL menus and shortcuts...and opens the report...this however does > not > prevent them linking to the data from another db. > > Any ideas? > > Thanks, > > Mark > > P.S...as for the reason why...lets just say there is a reason there are > so > many lawyer jokes. > > > >> From: "RANDALL R ANTHONY" >> Reply-To: Access Developers discussion and problem >> solving >> To: >> Subject: Re: [AccessD] Secure a DB...kinda? >> Date: Wed, 26 Jul 2006 16:08:38 -0400 >> >> The quick and dirty might be to just hide the tables and disable the >> shortcut keys unhide function or the toolbar. >> >> >>>>> 07/26/06 4:04 PM >>> >>>>> >> Hmmm, a little tough to do that. Access User Level security can >> > lock > >> users >> out of objects, including tables, however, that means they can't get >> > to > >> them >> at all. I believe if a user has read rights, they still can't 'link' >> the >> table, not absolutely sure about that, have to check. But if they >> > can > >> read >> the data from the table in a form, they will be able to open the >> > table > >> in >> the database window. >> >> If reading doesn't allowing linking, you could always hide the DB >> window (or >> hide the access window). That would prevent the user from getting to >> the >> tables directly in the database. >> >> Even if read-only permissions don't allow a user to link, it still >> wouldn't >> be perfect, you'd be able to view the data with ADO/DAO code >> > still.... > >> Just curious, what's the actual goal here? >> >> Drew >> >> -----Original Message----- >> From: Mark A Matte [mailto:markamatte at hotmail.com] >> Sent: Wednesday, July 26, 2006 2:34 PM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Secure a DB...kinda? >> >> Hello All, >> >> I would like to do 'something' with access...I want to be able to >> > send > >> out >> an MDB or MDE...and no matter who opens it...no password >> > required...but > >> if >> someone were to try and link or get to the tables...a password would >> > be > >> required? >> >> I could do this with a FE/BE scenario...but this is not an option. >> >> Any ideas? >> >> Thanks, >> >> Mark A. Matte >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From jimdettman at earthlink.net Thu Jul 27 05:19:33 2006 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 27 Jul 2006 06:19:33 -0400 Subject: [AccessD] Unprovoked ERROR 3197 fixed....?? In-Reply-To: <000001c6b10e$23164b80$6501a8c0@roberts> Message-ID: Ah just to make sure were clear...don't take that personally. When I said "you", I meant all developers in general. And a year and a half on this would have driven me crazy as well. But you got a nice result. Now you know 100% for sure that it was a bug. Excellent work for sticking with it... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 26, 2006 7:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Hehehe, Provoked: Meaning problem in my code structure or design. As Jim said .....Something stupid (usually) Unprovoked: Meaning problem occurring with sound code structure or design. The battle that I have had with this problem has provoked me to..... Well I leave it at that..... :-) I thought the title very catchy.... ;-) Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, July 26, 2006 5:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? More like you did something stupid.... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, July 25, 2006 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unprovoked ERROR 3197 fixed....?? Although it does make you wonder what a provoked error is. Prodding it with a stick? Gary Kjos wrote: >Wow, great news Robert. Thanks for sharing it. > >GK > >On 7/24/06, Robert wrote: > > >>I have been struggling with this problem for more then year and half, looks >>like it may finally have been resolved. I was able to get the patch >>and so far (3 weeks now) not one of these errors... I was receiving >>this error on at least a daily basis; most of the time several times during the day.... >>Pulled most of my hair out thinking it was something in my design... >> >>Thought you guys may want to know.. >> >>http://www.databasecreations.com/pdf/JET%20Error%20Issues%20Resolved.p >>df >> >>Robert >> >>- >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jul 27 07:40:31 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 27 Jul 2006 08:40:31 -0400 Subject: [AccessD] OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD03@ex2k3.corp.tnco-inc.com> Thanks William, This sounds great...however...I would only be using it for in-house projects. It sounds like I could meet the qualifications but would have an issue when the year is up. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 26, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Visual Studio 2005 Pro ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Jul 27 08:00:29 2006 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 27 Jul 2006 09:00:29 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro In-Reply-To: <916187228923D311A6FE00A0CC3FAA30DFB61C@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30D35744@ADGSERVER> William, What when you say "INTEND to develop an MS based commercial product within a year", are you talking about any software that you will sell? Or does it have to be something that is marketed or something like that? Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Thursday, July 27, 2006 8:41 AM To: Access Developers discussion and problem solving Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro Importance: Low Thanks William, This sounds great...however...I would only be using it for in-house projects. It sounds like I could meet the qualifications but would have an issue when the year is up. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, July 26, 2006 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Visual Studio 2005 Pro ...cheapest damn thing to do Joe is register in the MS Partner program (free), give them a URL that says you use/develop MS products/software ...does NOT have to be much ...and then sign a pledge that says you INTEND to develop an MS based commercial product within a year. ...that qualifies you for the Empower ISV program which gives you just about everything they make with four quarterly updates ...including VS 2005 Pro w/10 cals ...all for $375.00. ...takes only a little time to meet their quals (they are NOT demanding) and then you're on to the best software buy you can get anywhere ...take a look at their partner site ...they make it really easy. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 26, 2006 1:17 PM Subject: [AccessD] OT: Visual Studio 2005 Pro > Hello, > > Does anyone know of a place where I can purchase Visual Studio 2005 Pro > UPGRADE for a good price? > > So far the cheapest I found was $550. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Jul 27 09:03:48 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 27 Jul 2006 10:03:48 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro References: <916187228923D311A6FE00A0CC3FAA30D35744@ADGSERVER> Message-ID: <002301c6b185$7c07a3c0$6466a8c0@50NM721> ...almost any app that could be packaged for resale to another company or individual. William ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, July 27, 2006 9:00 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > William, > > What when you say "INTEND to develop an MS based commercial product within > a > year", are you talking about any software that you will sell? Or does it > have to be something that is marketed or something like that? > > Thanks, > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas > Sent: Thursday, July 27, 2006 8:41 AM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro > Importance: Low > > > Thanks William, > > This sounds great...however...I would only be using it for in-house > projects. It sounds like I could meet the qualifications but would have > an issue when the year is up. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, July 26, 2006 3:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > > ...cheapest damn thing to do Joe is register in the MS Partner program > (free), give them a URL that says you use/develop MS products/software > ...does NOT have to be much ...and then sign a pledge that says you > INTEND > to develop an MS based commercial product within a year. > > ...that qualifies you for the Empower ISV program which gives you just > about > everything they make with four quarterly updates ...including VS 2005 > Pro > w/10 cals ...all for $375.00. > > ...takes only a little time to meet their quals (they are NOT demanding) > and > then you're on to the best software buy you can get anywhere ...take a > look > at their partner site ...they make it really easy. > > William > > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, July 26, 2006 1:17 PM > Subject: [AccessD] OT: Visual Studio 2005 Pro > > >> Hello, >> >> Does anyone know of a place where I can purchase Visual Studio 2005 > Pro >> UPGRADE for a good price? >> >> So far the cheapest I found was $550. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Thu Jul 27 09:22:49 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 14:22:49 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <44C806FF.6020202@san.rr.com> Message-ID: Its just what the lawyer was asking for...I gave them a tool to view a large number of records...he wanted to share the info with other lawyers...but did not want them to have the functionality he had. His request was 'No searching' and 'No exporting'...just reading. And it had to be provided in a single file...No FE/BE...no install. I wasn't sure anything like this was possible...so thought I'd ask. Anyone know what the "Command-Line Arguments" setting is for on the ADVANCED tab of OPTIONS? Thanks, Mark A. Matte >From: Rocky Smolin - Beach Access Software >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:21:19 -0700 > >But now you're talking about real deliberate mischief instead of just >curiosity or error. Is this a problem in this environment? > >Rocky > > >RANDALL R ANTHONY wrote: > > Ah, that's right, it could still be linked via another db. > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > >>>> > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > > > data...just view the report...this way no searching is allowed. I can > > do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does > > not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are > > so > > many lawyer jokes. > > > > > > > >> From: "RANDALL R ANTHONY" > >> Reply-To: Access Developers discussion and problem > >> solving > >> To: > >> Subject: Re: [AccessD] Secure a DB...kinda? > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >> The quick and dirty might be to just hide the tables and disable the > >> shortcut keys unhide function or the toolbar. > >> > >> > >>>>> 07/26/06 4:04 PM >>> > >>>>> > >> Hmmm, a little tough to do that. Access User Level security can > >> > > lock > > > >> users > >> out of objects, including tables, however, that means they can't get > >> > > to > > > >> them > >> at all. I believe if a user has read rights, they still can't 'link' > >> the > >> table, not absolutely sure about that, have to check. But if they > >> > > can > > > >> read > >> the data from the table in a form, they will be able to open the > >> > > table > > > >> in > >> the database window. > >> > >> If reading doesn't allowing linking, you could always hide the DB > >> window (or > >> hide the access window). That would prevent the user from getting to > >> the > >> tables directly in the database. > >> > >> Even if read-only permissions don't allow a user to link, it still > >> wouldn't > >> be perfect, you'd be able to view the data with ADO/DAO code > >> > > still.... > > > >> Just curious, what's the actual goal here? > >> > >> Drew > >> > >> -----Original Message----- > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > >> Sent: Wednesday, July 26, 2006 2:34 PM > >> To: accessd at databaseadvisors.com > >> Subject: [AccessD] Secure a DB...kinda? > >> > >> Hello All, > >> > >> I would like to do 'something' with access...I want to be able to > >> > > send > > > >> out > >> an MDB or MDE...and no matter who opens it...no password > >> > > required...but > > > >> if > >> someone were to try and link or get to the tables...a password would > >> > > be > > > >> required? > >> > >> I could do this with a FE/BE scenario...but this is not an option. > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Mark A. Matte > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > >-- >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Jul 27 09:42:10 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Jul 2006 09:42:10 -0500 Subject: [AccessD] Web Designer position Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDDFF@corp-es01.fleetpride.com> My company ($500MM sales, 160 retail locations) is looking for a heavy duty web designer with Access experience. We are mostly an AS400 shop without layers of bureaucracy on the PC side. Corporate headquarters has only 25 people including the officers and IT staff so whomever succeeds in this position will definitely be noticed. Anyone who is interested please send me a request offline and I will send the job criteria. We are based in The Woodlands Tx which is 30 mi north of downtown Houston. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Thu Jul 27 09:42:36 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 07:42:36 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: It's there to hard code a value you can return with the Command() function. If you pass in a command line argument using /cmd, you can also read that with the Command() function. The value returned is a variant, not a string. If you pass it in from a command line, it has to be the last option on the command line. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 7:23 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Its just what the lawyer was asking for...I gave them a tool to view a large number of records...he wanted to share the info with other lawyers...but did not want them to have the functionality he had. His request was 'No searching' and 'No exporting'...just reading. And it had to be provided in a single file...No FE/BE...no install. I wasn't sure anything like this was possible...so thought I'd ask. Anyone know what the "Command-Line Arguments" setting is for on the ADVANCED tab of OPTIONS? Thanks, Mark A. Matte >From: Rocky Smolin - Beach Access Software >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:21:19 -0700 > >But now you're talking about real deliberate mischief instead of just >curiosity or error. Is this a problem in this environment? > >Rocky > > >RANDALL R ANTHONY wrote: > > Ah, that's right, it could still be linked via another db. > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > >>>> > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked > > to provide is a way for someone to view a report...not have access > > to the > > > > data...just view the report...this way no searching is allowed. I > > can do part of this by have a form at startup that turns off the > > bypass...gets rid of ALL menus and shortcuts...and opens the > > report...this however does not prevent them linking to the data from > > another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there > > are so many lawyer jokes. > > > > > > > >> From: "RANDALL R ANTHONY" > >> Reply-To: Access Developers discussion and problem > >> solving > >> To: > >> Subject: Re: [AccessD] Secure a DB...kinda? > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >> The quick and dirty might be to just hide the tables and disable > >> the shortcut keys unhide function or the toolbar. > >> > >> > >>>>> 07/26/06 4:04 PM >>> > >>>>> > >> Hmmm, a little tough to do that. Access User Level security can > >> > > lock > > > >> users > >> out of objects, including tables, however, that means they can't > >> get > >> > > to > > > >> them > >> at all. I believe if a user has read rights, they still can't 'link' > >> the > >> table, not absolutely sure about that, have to check. But if they > >> > > can > > > >> read > >> the data from the table in a form, they will be able to open the > >> > > table > > > >> in > >> the database window. > >> > >> If reading doesn't allowing linking, you could always hide the DB > >> window (or hide the access window). That would prevent the user > >> from getting to the tables directly in the database. > >> > >> Even if read-only permissions don't allow a user to link, it still > >> wouldn't be perfect, you'd be able to view the data with ADO/DAO > >> code > >> > > still.... > > > >> Just curious, what's the actual goal here? > >> > >> Drew > >> > >> -----Original Message----- > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > >> Sent: Wednesday, July 26, 2006 2:34 PM > >> To: accessd at databaseadvisors.com > >> Subject: [AccessD] Secure a DB...kinda? > >> > >> Hello All, > >> > >> I would like to do 'something' with access...I want to be able to > >> > > send > > > >> out > >> an MDB or MDE...and no matter who opens it...no password > >> > > required...but > > > >> if > >> someone were to try and link or get to the tables...a password > >> would > >> > > be > > > >> required? > >> > >> I could do this with a FE/BE scenario...but this is not an option. > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Mark A. Matte > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > >-- >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Jul 27 09:57:20 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 14:57:20 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: ok...all the help files and articles imply that I can use the following in this setting: /pwd My question is what does /pwd in the Command-Line Arguments setting on the ADVANCED tab of OPTIONS do? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 07:42:36 -0700 > >It's there to hard code a value you can return with the Command() >function. If you pass in a command line argument using /cmd, you can >also read that with the Command() function. The value returned is a >variant, not a string. If you pass it in from a command line, it has >to be the last option on the command line. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large number of records...he wanted to share the info with other >lawyers...but did not want them to have the functionality he had. His >request was 'No searching' and 'No exporting'...just reading. And it >had to be provided in a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > to provide is a way for someone to view a report...not have access > > > to the > > > > > > data...just view the report...this way no searching is allowed. I > > > can do part of this by have a form at startup that turns off the > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > report...this however does not prevent them linking to the data from > > > > another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason there > > > are so many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable > > >> the shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't > > >> get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't >'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or hide the access window). That would prevent the user > > >> from getting to the tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it still > > >> wouldn't be perfect, you'd be able to view the data with ADO/DAO > > >> code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password > > >> would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 27 10:20:05 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 08:20:05 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: It automates passing in the password for Access security, not a database password or code password. We build shortcuts for our users that open the application to the correct settings without their having to deal with a login dialog. If they open the database from Access without the password, they get dumped out or the face a login dialog, depending on which workgroup they point at. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 7:57 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? ok...all the help files and articles imply that I can use the following in this setting: /pwd My question is what does /pwd in the Command-Line Arguments setting on the ADVANCED tab of OPTIONS do? Thanks, Mark >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 07:42:36 -0700 > >It's there to hard code a value you can return with the Command() >function. If you pass in a command line argument using /cmd, you can >also read that with the Command() function. The value returned is a >variant, not a string. If you pass it in from a command line, it has >to be the last option on the command line. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large number of records...he wanted to share the info with other >lawyers...but did not want them to have the functionality he had. His >request was 'No searching' and 'No exporting'...just reading. And it >had to be provided in a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > to provide is a way for someone to view a report...not have access > > > to the > > > > > > data...just view the report...this way no searching is allowed. I > > > can do part of this by have a form at startup that turns off the > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > report...this however does not prevent them linking to the data > > > from > > > > another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason > > > there are so many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable > > >> the shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't > > >> get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't >'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if > > >> they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or hide the access window). That would prevent the user > > >> from getting to the tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it > > >> still wouldn't be perfect, you'd be able to view the data with > > >> ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password > > >> would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jul 27 10:34:20 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 27 Jul 2006 11:34:20 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD04@ex2k3.corp.tnco-inc.com> So are there requirements for the sale? For example, could I build a basic web service and sell it to my employer for $10? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, July 27, 2006 10:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro ...almost any app that could be packaged for resale to another company or individual. William ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, July 27, 2006 9:00 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > William, > > What when you say "INTEND to develop an MS based commercial product within > a > year", are you talking about any software that you will sell? Or does it > have to be something that is marketed or something like that? > > Thanks, > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas > Sent: Thursday, July 27, 2006 8:41 AM > To: Access Developers discussion and problem solving > Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro > Importance: Low > > > Thanks William, > > This sounds great...however...I would only be using it for in-house > projects. It sounds like I could meet the qualifications but would have > an issue when the year is up. > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, July 26, 2006 3:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Visual Studio 2005 Pro > > ...cheapest damn thing to do Joe is register in the MS Partner program > (free), give them a URL that says you use/develop MS products/software > ...does NOT have to be much ...and then sign a pledge that says you > INTEND > to develop an MS based commercial product within a year. > > ...that qualifies you for the Empower ISV program which gives you just > about > everything they make with four quarterly updates ...including VS 2005 > Pro > w/10 cals ...all for $375.00. > > ...takes only a little time to meet their quals (they are NOT demanding) > and > then you're on to the best software buy you can get anywhere ...take a > look > at their partner site ...they make it really easy. > > William > > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, July 26, 2006 1:17 PM > Subject: [AccessD] OT: Visual Studio 2005 Pro > > >> Hello, >> >> Does anyone know of a place where I can purchase Visual Studio 2005 > Pro >> UPGRADE for a good price? >> >> So far the cheapest I found was $550. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Jul 27 10:36:03 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 15:36:03 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: Thanks Charlotte, Thats kinda what I found in my searching...so if I run the user level security wizard(already done)...and my user is 'mark' and password is 'test'...What do I put in the Command-Lione Arguments box(syntax)??? ....and most things I've read talk about shortcuts...is this solution dependant on creating a shortcut? ....and If I understand this...this would be a way for me to have an MDB file that can launch...without user entering or even knowing the password...but would prevent someone from linking to the tables without the pwd? Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 08:20:05 -0700 > >It automates passing in the password for Access security, not a database >password or code password. We build shortcuts for our users that open >the application to the correct settings without their having to deal >with a login dialog. If they open the database from Access without the >password, they get dumped out or the face a login dialog, depending on >which workgroup they point at. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:57 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >ok...all the help files and articles imply that I can use the following >in this setting: /pwd > >My question is what does /pwd in the Command-Line Arguments >setting on the ADVANCED tab of OPTIONS do? > >Thanks, > >Mark > > > >From: "Charlotte Foust" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Thu, 27 Jul 2006 07:42:36 -0700 > > > >It's there to hard code a value you can return with the Command() > >function. If you pass in a command line argument using /cmd, you can > >also read that with the Command() function. The value returned is a > >variant, not a string. If you pass it in from a command line, it has > >to be the last option on the command line. > > > > > >Charlotte Foust > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Thursday, July 27, 2006 7:23 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Secure a DB...kinda? > > > >Its just what the lawyer was asking for...I gave them a tool to view a > >large number of records...he wanted to share the info with other > >lawyers...but did not want them to have the functionality he had. His > >request was 'No searching' and 'No exporting'...just reading. And it > >had to be provided in a single file...No FE/BE...no install. > > > >I wasn't sure anything like this was possible...so thought I'd ask. > > > >Anyone know what the "Command-Line Arguments" setting is for on the > >ADVANCED tab of OPTIONS? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Rocky Smolin - Beach Access Software > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: Access Developers discussion and problem > > >solving > > >Subject: Re: [AccessD] Secure a DB...kinda? > > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > > > >But now you're talking about real deliberate mischief instead of just > > > >curiosity or error. Is this a problem in this environment? > > > > > >Rocky > > > > > > > > >RANDALL R ANTHONY wrote: > > > > Ah, that's right, it could still be linked via another db. > > > > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > > >>>> > > > > Hiding the tables does not prevent linking. > > > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > > > to provide is a way for someone to view a report...not have access > > > > > to the > > > > > > > > data...just view the report...this way no searching is allowed. I > > > > > can do part of this by have a form at startup that turns off the > > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > > report...this however does not prevent them linking to the data > > > > from > > > > > > another db. > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > > > > > Mark > > > > > > > > P.S...as for the reason why...lets just say there is a reason > > > > there are so many lawyer jokes. > > > > > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > > >> Reply-To: Access Developers discussion and problem > > > >> solving > > > >> To: > > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > > >> > > > >> The quick and dirty might be to just hide the tables and disable > > > >> the shortcut keys unhide function or the toolbar. > > > >> > > > >> > > > >>>>> 07/26/06 4:04 PM >>> > > > >>>>> > > > >> Hmmm, a little tough to do that. Access User Level security can > > > >> > > > > lock > > > > > > > >> users > > > >> out of objects, including tables, however, that means they can't > > > >> get > > > >> > > > > to > > > > > > > >> them > > > >> at all. I believe if a user has read rights, they still can't > >'link' > > > >> the > > > >> table, not absolutely sure about that, have to check. But if > > > >> they > > > >> > > > > can > > > > > > > >> read > > > >> the data from the table in a form, they will be able to open the > > > >> > > > > table > > > > > > > >> in > > > >> the database window. > > > >> > > > >> If reading doesn't allowing linking, you could always hide the DB > > > > >> window (or hide the access window). That would prevent the user > > > >> from getting to the tables directly in the database. > > > >> > > > >> Even if read-only permissions don't allow a user to link, it > > > >> still wouldn't be perfect, you'd be able to view the data with > > > >> ADO/DAO code > > > >> > > > > still.... > > > > > > > >> Just curious, what's the actual goal here? > > > >> > > > >> Drew > > > >> > > > >> -----Original Message----- > > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > > >> To: accessd at databaseadvisors.com > > > >> Subject: [AccessD] Secure a DB...kinda? > > > >> > > > >> Hello All, > > > >> > > > >> I would like to do 'something' with access...I want to be able to > > > >> > > > > send > > > > > > > >> out > > > >> an MDB or MDE...and no matter who opens it...no password > > > >> > > > > required...but > > > > > > > >> if > > > >> someone were to try and link or get to the tables...a password > > > >> would > > > >> > > > > be > > > > > > > >> required? > > > >> > > > >> I could do this with a FE/BE scenario...but this is not an >option. > > > >> > > > >> Any ideas? > > > >> > > > >> Thanks, > > > >> > > > >> Mark A. Matte > > > >> > > > >> > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> > > > > > > > > > > > > > > > > > >-- > > >Rocky Smolin > > >Beach Access Software > > >858-259-4334 > > >www.e-z-mrp.com > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jul 27 10:36:27 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 27 Jul 2006 10:36:27 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> I believe a snapshot format does this, however, and this should be kept in mind, no matter what format you put it in, if the data is there, and they can print it, Office 2003 comes with OCR (Optical Character Recognition) capabilities, so it wouldn't be very hard for them to take anything (electronic or scanned) and turn it into another format. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Thursday, July 27, 2006 9:23 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Its just what the lawyer was asking for...I gave them a tool to view a large number of records...he wanted to share the info with other lawyers...but did not want them to have the functionality he had. His request was 'No searching' and 'No exporting'...just reading. And it had to be provided in a single file...No FE/BE...no install. I wasn't sure anything like this was possible...so thought I'd ask. Anyone know what the "Command-Line Arguments" setting is for on the ADVANCED tab of OPTIONS? Thanks, Mark A. Matte >From: Rocky Smolin - Beach Access Software >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Wed, 26 Jul 2006 17:21:19 -0700 > >But now you're talking about real deliberate mischief instead of just >curiosity or error. Is this a problem in this environment? > >Rocky > > >RANDALL R ANTHONY wrote: > > Ah, that's right, it could still be linked via another db. > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > >>>> > > Hiding the tables does not prevent linking. > > > > I'm not sure I can even do this...but the solution I've been asked to > > provide is a way for someone to view a report...not have access to the > > > > data...just view the report...this way no searching is allowed. I can > > do > > part of this by have a form at startup that turns off the bypass...gets > > rid > > of ALL menus and shortcuts...and opens the report...this however does > > not > > prevent them linking to the data from another db. > > > > Any ideas? > > > > Thanks, > > > > Mark > > > > P.S...as for the reason why...lets just say there is a reason there are > > so > > many lawyer jokes. > > > > > > > >> From: "RANDALL R ANTHONY" > >> Reply-To: Access Developers discussion and problem > >> solving > >> To: > >> Subject: Re: [AccessD] Secure a DB...kinda? > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > >> > >> The quick and dirty might be to just hide the tables and disable the > >> shortcut keys unhide function or the toolbar. > >> > >> > >>>>> 07/26/06 4:04 PM >>> > >>>>> > >> Hmmm, a little tough to do that. Access User Level security can > >> > > lock > > > >> users > >> out of objects, including tables, however, that means they can't get > >> > > to > > > >> them > >> at all. I believe if a user has read rights, they still can't 'link' > >> the > >> table, not absolutely sure about that, have to check. But if they > >> > > can > > > >> read > >> the data from the table in a form, they will be able to open the > >> > > table > > > >> in > >> the database window. > >> > >> If reading doesn't allowing linking, you could always hide the DB > >> window (or > >> hide the access window). That would prevent the user from getting to > >> the > >> tables directly in the database. > >> > >> Even if read-only permissions don't allow a user to link, it still > >> wouldn't > >> be perfect, you'd be able to view the data with ADO/DAO code > >> > > still.... > > > >> Just curious, what's the actual goal here? > >> > >> Drew > >> > >> -----Original Message----- > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > >> Sent: Wednesday, July 26, 2006 2:34 PM > >> To: accessd at databaseadvisors.com > >> Subject: [AccessD] Secure a DB...kinda? > >> > >> Hello All, > >> > >> I would like to do 'something' with access...I want to be able to > >> > > send > > > >> out > >> an MDB or MDE...and no matter who opens it...no password > >> > > required...but > > > >> if > >> someone were to try and link or get to the tables...a password would > >> > > be > > > >> required? > >> > >> I could do this with a FE/BE scenario...but this is not an option. > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Mark A. Matte > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > >-- >Rocky Smolin >Beach Access Software >858-259-4334 >www.e-z-mrp.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Jul 27 10:52:50 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 27 Jul 2006 11:52:50 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDD04@ex2k3.corp.tnco-inc.com> Message-ID: <009301c6b194$b7910ad0$6466a8c0@50NM721> ...you don't have to prove a sale Joe ...just that you are developing something you hope to market ...whether to the general market or a vertical one doesn't matter. ...as the year expires they'll ask if you need to renew ...and if you show you are still working on it, they'll go along ...or you can show them a new product you're working on ...they're not trying to punish anyone, just make more applications available that makes their products more desirable to the genera public ...and in the meantime, keep the developer community locked into their product line ...its a win-win imnsho if you already use their products. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 11:34 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > So are there requirements for the sale? > For example, could I build a basic web service and sell it to my > employer for $10? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...almost any app that could be packaged for resale to another company > or > individual. > > William > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, July 27, 2006 9:00 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> William, >> >> What when you say "INTEND to develop an MS based commercial product > within >> a >> year", are you talking about any software that you will sell? Or does > it >> have to be something that is marketed or something like that? >> >> Thanks, >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >> Sent: Thursday, July 27, 2006 8:41 AM >> To: Access Developers discussion and problem solving >> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >> Importance: Low >> >> >> Thanks William, >> >> This sounds great...however...I would only be using it for in-house >> projects. It sounds like I could meet the qualifications but would > have >> an issue when the year is up. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, July 26, 2006 3:36 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >> >> ...cheapest damn thing to do Joe is register in the MS Partner program >> (free), give them a URL that says you use/develop MS products/software >> ...does NOT have to be much ...and then sign a pledge that says you >> INTEND >> to develop an MS based commercial product within a year. >> >> ...that qualifies you for the Empower ISV program which gives you just >> about >> everything they make with four quarterly updates ...including VS 2005 >> Pro >> w/10 cals ...all for $375.00. >> >> ...takes only a little time to meet their quals (they are NOT > demanding) >> and >> then you're on to the best software buy you can get anywhere ...take a >> look >> at their partner site ...they make it really easy. >> >> William >> >> ----- Original Message ----- >> From: "Joe Rojas" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, July 26, 2006 1:17 PM >> Subject: [AccessD] OT: Visual Studio 2005 Pro >> >> >>> Hello, >>> >>> Does anyone know of a place where I can purchase Visual Studio 2005 >> Pro >>> UPGRADE for a good price? >>> >>> So far the cheapest I found was $550. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Thu Jul 27 11:10:38 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 27 Jul 2006 16:10:38 +0000 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> Message-ID: I ran user security on that db...now every db I open asks for a logon...how can I stop this? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 10:36:27 -0500 > >I believe a snapshot format does this, however, and this should be kept in >mind, no matter what format you put it in, if the data is there, and they >can print it, Office 2003 comes with OCR (Optical Character Recognition) >capabilities, so it wouldn't be very hard for them to take anything >(electronic or scanned) and turn it into another format. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Thursday, July 27, 2006 9:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large > >number of records...he wanted to share the info with other lawyers...but >did > >not want them to have the functionality he had. His request was 'No >searching' and 'No exporting'...just reading. And it had to be provided in >a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED > >tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked to > > > provide is a way for someone to view a report...not have access to the > > > > > > data...just view the report...this way no searching is allowed. I can > > > do > > > part of this by have a form at startup that turns off the >bypass...gets > > > rid > > > of ALL menus and shortcuts...and opens the report...this however does > > > not > > > prevent them linking to the data from another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason there >are > > > so > > > many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable the > > >> shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't 'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or > > >> hide the access window). That would prevent the user from getting to > > >> the > > >> tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it still > > >> wouldn't > > >> be perfect, you'd be able to view the data with ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jul 27 11:23:24 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 27 Jul 2006 11:23:24 -0500 Subject: [AccessD] Secure a DB...kinda? Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7A95B@MARLOW_MAIN2.marlow.com> You have to switch the workgroup back to the system.mdw. Now, if you 'added' security to the system.mdw, you need to make a new workgroup, and replace system.mdw with it. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Thursday, July 27, 2006 11:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? I ran user security on that db...now every db I open asks for a logon...how can I stop this? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 10:36:27 -0500 > >I believe a snapshot format does this, however, and this should be kept in >mind, no matter what format you put it in, if the data is there, and they >can print it, Office 2003 comes with OCR (Optical Character Recognition) >capabilities, so it wouldn't be very hard for them to take anything >(electronic or scanned) and turn it into another format. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Thursday, July 27, 2006 9:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large > >number of records...he wanted to share the info with other lawyers...but >did > >not want them to have the functionality he had. His request was 'No >searching' and 'No exporting'...just reading. And it had to be provided in >a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED > >tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked to > > > provide is a way for someone to view a report...not have access to the > > > > > > data...just view the report...this way no searching is allowed. I can > > > do > > > part of this by have a form at startup that turns off the >bypass...gets > > > rid > > > of ALL menus and shortcuts...and opens the report...this however does > > > not > > > prevent them linking to the data from another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason there >are > > > so > > > many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable the > > >> shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't 'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or > > >> hide the access window). That would prevent the user from getting to > > >> the > > >> tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it still > > >> wouldn't > > >> be perfect, you'd be able to view the data with ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 27 11:28:40 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 09:28:40 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: The login depends on your mdw file. When you secured the db, did you create a new, secured mdw with some name besides system.mdw? If not, you're in trouble. If you did, just join the system.mdw and the dialog will go away. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 9:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? I ran user security on that db...now every db I open asks for a logon...how can I stop this? Thanks, Mark >From: DWUTKA at marlow.com >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 10:36:27 -0500 > >I believe a snapshot format does this, however, and this should be kept >in mind, no matter what format you put it in, if the data is there, and >they can print it, Office 2003 comes with OCR (Optical Character >Recognition) capabilities, so it wouldn't be very hard for them to take >anything (electronic or scanned) and turn it into another format. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Thursday, July 27, 2006 9:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >Its just what the lawyer was asking for...I gave them a tool to view a >large > >number of records...he wanted to share the info with other >lawyers...but did > >not want them to have the functionality he had. His request was 'No >searching' and 'No exporting'...just reading. And it had to be >provided in a single file...No FE/BE...no install. > >I wasn't sure anything like this was possible...so thought I'd ask. > >Anyone know what the "Command-Line Arguments" setting is for on the >ADVANCED > >tab of OPTIONS? > >Thanks, > >Mark A. Matte > > > >From: Rocky Smolin - Beach Access Software > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > >But now you're talking about real deliberate mischief instead of just > >curiosity or error. Is this a problem in this environment? > > > >Rocky > > > > > >RANDALL R ANTHONY wrote: > > > Ah, that's right, it could still be linked via another db. > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > >>>> > > > Hiding the tables does not prevent linking. > > > > > > I'm not sure I can even do this...but the solution I've been asked > > > to provide is a way for someone to view a report...not have access > > > to the > > > > > > data...just view the report...this way no searching is allowed. I > > > can do part of this by have a form at startup that turns off the >bypass...gets > > > rid > > > of ALL menus and shortcuts...and opens the report...this however > > > does not prevent them linking to the data from another db. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Mark > > > > > > P.S...as for the reason why...lets just say there is a reason > > > there >are > > > so > > > many lawyer jokes. > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > >> Reply-To: Access Developers discussion and problem > > >> solving > > >> To: > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > >> > > >> The quick and dirty might be to just hide the tables and disable > > >> the shortcut keys unhide function or the toolbar. > > >> > > >> > > >>>>> 07/26/06 4:04 PM >>> > > >>>>> > > >> Hmmm, a little tough to do that. Access User Level security can > > >> > > > lock > > > > > >> users > > >> out of objects, including tables, however, that means they can't > > >> get > > >> > > > to > > > > > >> them > > >> at all. I believe if a user has read rights, they still can't 'link' > > >> the > > >> table, not absolutely sure about that, have to check. But if > > >> they > > >> > > > can > > > > > >> read > > >> the data from the table in a form, they will be able to open the > > >> > > > table > > > > > >> in > > >> the database window. > > >> > > >> If reading doesn't allowing linking, you could always hide the DB > > >> window (or hide the access window). That would prevent the user > > >> from getting to the tables directly in the database. > > >> > > >> Even if read-only permissions don't allow a user to link, it > > >> still wouldn't be perfect, you'd be able to view the data with > > >> ADO/DAO code > > >> > > > still.... > > > > > >> Just curious, what's the actual goal here? > > >> > > >> Drew > > >> > > >> -----Original Message----- > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > >> To: accessd at databaseadvisors.com > > >> Subject: [AccessD] Secure a DB...kinda? > > >> > > >> Hello All, > > >> > > >> I would like to do 'something' with access...I want to be able to > > >> > > > send > > > > > >> out > > >> an MDB or MDE...and no matter who opens it...no password > > >> > > > required...but > > > > > >> if > > >> someone were to try and link or get to the tables...a password > > >> would > > >> > > > be > > > > > >> required? > > >> > > >> I could do this with a FE/BE scenario...but this is not an option. > > >> > > >> Any ideas? > > >> > > >> Thanks, > > >> > > >> Mark A. Matte > > >> > > >> > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> -- > > >> AccessD mailing list > > >> AccessD at databaseadvisors.com > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > >> Website: http://www.databaseadvisors.com > > >> > > > > > > > > > > > > >-- > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jul 27 11:35:53 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Jul 2006 09:35:53 -0700 Subject: [AccessD] Secure a DB...kinda? In-Reply-To: Message-ID: You don't. You use a shortcut from the desktop to launch the app and use the /user and /pwd command line arguments to pass in mark and test. The command line arguments box is for the equivalent of the /cmd arguments. Anything you put in the command line arguments in Options is there until overwritten. Shortcuts give you flexibility based on what user is logging in. The user can have a blank password if you wish, so all that needs entering is a user, and that can be done from the shortcut. Your mixing up passwords, a condition that Microsoft cheerfully created to cause headaches for developers. There are different kinds of passwords and they're not interchangeable. A database password is not the same as a user login password or even the same as the password you can put on your code objects. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, July 27, 2006 8:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Secure a DB...kinda? Thanks Charlotte, Thats kinda what I found in my searching...so if I run the user level security wizard(already done)...and my user is 'mark' and password is 'test'...What do I put in the Command-Lione Arguments box(syntax)??? ....and most things I've read talk about shortcuts...is this solution dependant on creating a shortcut? ....and If I understand this...this would be a way for me to have an MDB file that can launch...without user entering or even knowing the password...but would prevent someone from linking to the tables without the pwd? Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Secure a DB...kinda? >Date: Thu, 27 Jul 2006 08:20:05 -0700 > >It automates passing in the password for Access security, not a >database password or code password. We build shortcuts for our users >that open the application to the correct settings without their having >to deal with a login dialog. If they open the database from Access >without the password, they get dumped out or the face a login dialog, >depending on which workgroup they point at. > > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, July 27, 2006 7:57 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Secure a DB...kinda? > >ok...all the help files and articles imply that I can use the following >in this setting: /pwd > >My question is what does /pwd in the Command-Line Arguments >setting on the ADVANCED tab of OPTIONS do? > >Thanks, > >Mark > > > >From: "Charlotte Foust" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Secure a DB...kinda? > >Date: Thu, 27 Jul 2006 07:42:36 -0700 > > > >It's there to hard code a value you can return with the Command() > >function. If you pass in a command line argument using /cmd, you can > >also read that with the Command() function. The value returned is a > >variant, not a string. If you pass it in from a command line, it has > >to be the last option on the command line. > > > > > >Charlotte Foust > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > >Sent: Thursday, July 27, 2006 7:23 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Secure a DB...kinda? > > > >Its just what the lawyer was asking for...I gave them a tool to view > >a large number of records...he wanted to share the info with other > >lawyers...but did not want them to have the functionality he had. > >His request was 'No searching' and 'No exporting'...just reading. > >And it had to be provided in a single file...No FE/BE...no install. > > > >I wasn't sure anything like this was possible...so thought I'd ask. > > > >Anyone know what the "Command-Line Arguments" setting is for on the > >ADVANCED tab of OPTIONS? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Rocky Smolin - Beach Access Software > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: Access Developers discussion and problem > > >solving > > >Subject: Re: [AccessD] Secure a DB...kinda? > > >Date: Wed, 26 Jul 2006 17:21:19 -0700 > > > > > >But now you're talking about real deliberate mischief instead of > > >just > > > >curiosity or error. Is this a problem in this environment? > > > > > >Rocky > > > > > > > > >RANDALL R ANTHONY wrote: > > > > Ah, that's right, it could still be linked via another db. > > > > > > > > > > > >>>> "Mark A Matte" 07/26/06 4:29 PM >>> > > > >>>> > > > > Hiding the tables does not prevent linking. > > > > > > > > I'm not sure I can even do this...but the solution I've been > > > > asked > > > > > to provide is a way for someone to view a report...not have > > > > access > > > > > to the > > > > > > > > data...just view the report...this way no searching is allowed. > > > > I > > > > > can do part of this by have a form at startup that turns off the > > > > bypass...gets rid of ALL menus and shortcuts...and opens the > > > > report...this however does not prevent them linking to the data > > > > from > > > > > > another db. > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > > > > > Mark > > > > > > > > P.S...as for the reason why...lets just say there is a reason > > > > there are so many lawyer jokes. > > > > > > > > > > > > > > > >> From: "RANDALL R ANTHONY" > > > >> Reply-To: Access Developers discussion and problem > > > >> solving > > > >> To: > > > >> Subject: Re: [AccessD] Secure a DB...kinda? > > > >> Date: Wed, 26 Jul 2006 16:08:38 -0400 > > > >> > > > >> The quick and dirty might be to just hide the tables and > > > >> disable the shortcut keys unhide function or the toolbar. > > > >> > > > >> > > > >>>>> 07/26/06 4:04 PM >>> > > > >>>>> > > > >> Hmmm, a little tough to do that. Access User Level security > > > >> can > > > >> > > > > lock > > > > > > > >> users > > > >> out of objects, including tables, however, that means they > > > >> can't get > > > >> > > > > to > > > > > > > >> them > > > >> at all. I believe if a user has read rights, they still can't > >'link' > > > >> the > > > >> table, not absolutely sure about that, have to check. But if > > > >> they > > > >> > > > > can > > > > > > > >> read > > > >> the data from the table in a form, they will be able to open > > > >> the > > > >> > > > > table > > > > > > > >> in > > > >> the database window. > > > >> > > > >> If reading doesn't allowing linking, you could always hide the > > > >> DB > > > > >> window (or hide the access window). That would prevent the > > > >> user from getting to the tables directly in the database. > > > >> > > > >> Even if read-only permissions don't allow a user to link, it > > > >> still wouldn't be perfect, you'd be able to view the data with > > > >> ADO/DAO code > > > >> > > > > still.... > > > > > > > >> Just curious, what's the actual goal here? > > > >> > > > >> Drew > > > >> > > > >> -----Original Message----- > > > >> From: Mark A Matte [mailto:markamatte at hotmail.com] > > > >> Sent: Wednesday, July 26, 2006 2:34 PM > > > >> To: accessd at databaseadvisors.com > > > >> Subject: [AccessD] Secure a DB...kinda? > > > >> > > > >> Hello All, > > > >> > > > >> I would like to do 'something' with access...I want to be able > > > >> to > > > >> > > > > send > > > > > > > >> out > > > >> an MDB or MDE...and no matter who opens it...no password > > > >> > > > > required...but > > > > > > > >> if > > > >> someone were to try and link or get to the tables...a password > > > >> would > > > >> > > > > be > > > > > > > >> required? > > > >> > > > >> I could do this with a FE/BE scenario...but this is not an >option. > > > >> > > > >> Any ideas? > > > >> > > > >> Thanks, > > > >> > > > >> Mark A. Matte > > > >> > > > >> > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> -- > > > >> AccessD mailing list > > > >> AccessD at databaseadvisors.com > > > >> http://databaseadvisors.com/mailman/listinfo/accessd > > > >> Website: http://www.databaseadvisors.com > > > >> > > > > > > > > > > > > > > > > > >-- > > >Rocky Smolin > > >Beach Access Software > > >858-259-4334 > > >www.e-z-mrp.com > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jul 27 12:31:11 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 27 Jul 2006 13:31:11 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD09@ex2k3.corp.tnco-inc.com> Thanks for the info William, Just one more question. :) When you say, "...and if you show you are still working on it, they'll go along" does that mean literally showing them a project you're working on or does it just mean give them a write up or something? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, July 27, 2006 11:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro ...you don't have to prove a sale Joe ...just that you are developing something you hope to market ...whether to the general market or a vertical one doesn't matter. ...as the year expires they'll ask if you need to renew ...and if you show you are still working on it, they'll go along ...or you can show them a new product you're working on ...they're not trying to punish anyone, just make more applications available that makes their products more desirable to the genera public ...and in the meantime, keep the developer community locked into their product line ...its a win-win imnsho if you already use their products. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 11:34 AM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > So are there requirements for the sale? > For example, could I build a basic web service and sell it to my > employer for $10? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...almost any app that could be packaged for resale to another company > or > individual. > > William > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, July 27, 2006 9:00 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> William, >> >> What when you say "INTEND to develop an MS based commercial product > within >> a >> year", are you talking about any software that you will sell? Or does > it >> have to be something that is marketed or something like that? >> >> Thanks, >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >> Sent: Thursday, July 27, 2006 8:41 AM >> To: Access Developers discussion and problem solving >> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >> Importance: Low >> >> >> Thanks William, >> >> This sounds great...however...I would only be using it for in-house >> projects. It sounds like I could meet the qualifications but would > have >> an issue when the year is up. >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, July 26, 2006 3:36 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >> >> ...cheapest damn thing to do Joe is register in the MS Partner program >> (free), give them a URL that says you use/develop MS products/software >> ...does NOT have to be much ...and then sign a pledge that says you >> INTEND >> to develop an MS based commercial product within a year. >> >> ...that qualifies you for the Empower ISV program which gives you just >> about >> everything they make with four quarterly updates ...including VS 2005 >> Pro >> w/10 cals ...all for $375.00. >> >> ...takes only a little time to meet their quals (they are NOT > demanding) >> and >> then you're on to the best software buy you can get anywhere ...take a >> look >> at their partner site ...they make it really easy. >> >> William >> >> ----- Original Message ----- >> From: "Joe Rojas" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, July 26, 2006 1:17 PM >> Subject: [AccessD] OT: Visual Studio 2005 Pro >> >> >>> Hello, >>> >>> Does anyone know of a place where I can purchase Visual Studio 2005 >> Pro >>> UPGRADE for a good price? >>> >>> So far the cheapest I found was $550. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Jul 27 13:19:57 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 27 Jul 2006 14:19:57 -0400 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro References: <758E92433C4F3740B67BE4DD369AF5772EDD09@ex2k3.corp.tnco-inc.com> Message-ID: <000901c6b1a9$45098900$6466a8c0@50NM721> ...basically just tell them via e or phone ...if you're not obviously a crook, they're just trying to fill their check boxes. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 1:31 PM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > Thanks for the info William, > > Just one more question. :) > > When you say, "...and if you show you are still working on it, they'll > go along" does that mean literally showing them a project you're working > on or does it just mean give them a write up or something? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 11:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...you don't have to prove a sale Joe ...just that you are developing > something you hope to market ...whether to the general market or a > vertical > one doesn't matter. > > ...as the year expires they'll ask if you need to renew ...and if you > show > you are still working on it, they'll go along ...or you can show them a > new > product you're working on ...they're not trying to punish anyone, just > make > more applications available that makes their products more desirable to > the > genera public ...and in the meantime, keep the developer community > locked > into their product line ...its a win-win imnsho if you already use their > > products. > > William > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, July 27, 2006 11:34 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> So are there requirements for the sale? >> For example, could I build a basic web service and sell it to my >> employer for $10? >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Thursday, July 27, 2006 10:04 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> ...almost any app that could be packaged for resale to another company >> or >> individual. >> >> William >> >> ----- Original Message ----- >> From: "Bobby Heid" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Thursday, July 27, 2006 9:00 AM >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> >>> William, >>> >>> What when you say "INTEND to develop an MS based commercial product >> within >>> a >>> year", are you talking about any software that you will sell? Or > does >> it >>> have to be something that is marketed or something like that? >>> >>> Thanks, >>> Bobby >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >>> Sent: Thursday, July 27, 2006 8:41 AM >>> To: Access Developers discussion and problem solving >>> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >>> Importance: Low >>> >>> >>> Thanks William, >>> >>> This sounds great...however...I would only be using it for in-house >>> projects. It sounds like I could meet the qualifications but would >> have >>> an issue when the year is up. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Wednesday, July 26, 2006 3:36 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >>> >>> ...cheapest damn thing to do Joe is register in the MS Partner > program >>> (free), give them a URL that says you use/develop MS > products/software >>> ...does NOT have to be much ...and then sign a pledge that says you >>> INTEND >>> to develop an MS based commercial product within a year. >>> >>> ...that qualifies you for the Empower ISV program which gives you > just >>> about >>> everything they make with four quarterly updates ...including VS 2005 >>> Pro >>> w/10 cals ...all for $375.00. >>> >>> ...takes only a little time to meet their quals (they are NOT >> demanding) >>> and >>> then you're on to the best software buy you can get anywhere ...take > a >>> look >>> at their partner site ...they make it really easy. >>> >>> William >>> >>> ----- Original Message ----- >>> From: "Joe Rojas" >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Wednesday, July 26, 2006 1:17 PM >>> Subject: [AccessD] OT: Visual Studio 2005 Pro >>> >>> >>>> Hello, >>>> >>>> Does anyone know of a place where I can purchase Visual Studio 2005 >>> Pro >>>> UPGRADE for a good price? >>>> >>>> So far the cheapest I found was $550. >>>> >>>> Thanks, >>>> Joe Rojas >>>> IT Manager >>>> TNCO, Inc. >>>> 781-447-6661 x7506 >>>> jrojas at tnco-inc.com >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From karenr7 at oz.net Thu Jul 27 13:44:28 2006 From: karenr7 at oz.net (karenr7 at oz.net) Date: Thu, 27 Jul 2006 18:44:28 -0000 (GMT) Subject: [AccessD] Synchronize popup In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD7A944@MARLOW_MAIN2.marlow.com> Message-ID: <13688.128.208.81.49.1154025868.squirrel@webmail.nationwide.net> Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA From jwcolby at colbyconsulting.com Thu Jul 27 15:36:50 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 27 Jul 2006 16:36:50 -0400 Subject: [AccessD] Synchronize popup In-Reply-To: <13688.128.208.81.49.1154025868.squirrel@webmail.nationwide.net> Message-ID: <000a01c6b1bc$640d5080$647aa8c0@m6805> Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Jul 27 20:06:28 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 28 Jul 2006 11:06:28 +1000 Subject: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A850@ddi-01.DDI.local> We had to put a blurb and release date on our web site... No biggie... Hmmm, must take it down soon... Hehe We have not completed the project, yet. Its been going 2 years. Not sure what will happen when the next review comes up but I don't want to Have to buy 5 x MSDN's @ retail that's 4 sure. (20K here vs $800) I got an email from MS about 6 months ago, then a follow up saying the email was sent in error. The 1st email was approving another 12 month extension for some company.... Hehe I don't think they want to make it too hard, maybe they will crackdown sometime in the future! cheers Michael M www.ddisolutions.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, 28 July 2006 4:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro ...basically just tell them via e or phone ...if you're not obviously a crook, they're just trying to fill their check boxes. William ----- Original Message ----- From: "Joe Rojas" To: "Access Developers discussion and problem solving" Sent: Thursday, July 27, 2006 1:31 PM Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > Thanks for the info William, > > Just one more question. :) > > When you say, "...and if you show you are still working on it, they'll > go along" does that mean literally showing them a project you're working > on or does it just mean give them a write up or something? > > Thanks, > Joe Rojas > IT Manager > TNCO, Inc. > 781-447-6661 x7506 > jrojas at tnco-inc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, July 27, 2006 11:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > ...you don't have to prove a sale Joe ...just that you are developing > something you hope to market ...whether to the general market or a > vertical > one doesn't matter. > > ...as the year expires they'll ask if you need to renew ...and if you > show > you are still working on it, they'll go along ...or you can show them a > new > product you're working on ...they're not trying to punish anyone, just > make > more applications available that makes their products more desirable to > the > genera public ...and in the meantime, keep the developer community > locked > into their product line ...its a win-win imnsho if you already use their > > products. > > William > ----- Original Message ----- > From: "Joe Rojas" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, July 27, 2006 11:34 AM > Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro > > >> So are there requirements for the sale? >> For example, could I build a basic web service and sell it to my >> employer for $10? >> >> Thanks, >> Joe Rojas >> IT Manager >> TNCO, Inc. >> 781-447-6661 x7506 >> jrojas at tnco-inc.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Thursday, July 27, 2006 10:04 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> ...almost any app that could be packaged for resale to another company >> or >> individual. >> >> William >> >> ----- Original Message ----- >> From: "Bobby Heid" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Thursday, July 27, 2006 9:00 AM >> Subject: Re: [AccessD] [SPAM SUSPECT] Re: OT: Visual Studio 2005 Pro >> >> >>> William, >>> >>> What when you say "INTEND to develop an MS based commercial product >> within >>> a >>> year", are you talking about any software that you will sell? Or > does >> it >>> have to be something that is marketed or something like that? >>> >>> Thanks, >>> Bobby >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas >>> Sent: Thursday, July 27, 2006 8:41 AM >>> To: Access Developers discussion and problem solving >>> Subject: [SPAM SUSPECT] Re: [AccessD] OT: Visual Studio 2005 Pro >>> Importance: Low >>> >>> >>> Thanks William, >>> >>> This sounds great...however...I would only be using it for in-house >>> projects. It sounds like I could meet the qualifications but would >> have >>> an issue when the year is up. >>> >>> Thanks, >>> Joe Rojas >>> IT Manager >>> TNCO, Inc. >>> 781-447-6661 x7506 >>> jrojas at tnco-inc.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >>> Hindman >>> Sent: Wednesday, July 26, 2006 3:36 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] OT: Visual Studio 2005 Pro >>> >>> ...cheapest damn thing to do Joe is register in the MS Partner > program >>> (free), give them a URL that says you use/develop MS > products/software >>> ...does NOT have to be much ...and then sign a pledge that says you >>> INTEND >>> to develop an MS based commercial product within a year. >>> >>> ...that qualifies you for the Empower ISV program which gives you > just >>> about >>> everything they make with four quarterly updates ...including VS 2005 >>> Pro >>> w/10 cals ...all for $375.00. >>> >>> ...takes only a little time to meet their quals (they are NOT >> demanding) >>> and >>> then you're on to the best software buy you can get anywhere ...take > a >>> look >>> at their partner site ...they make it really easy. >>> >>> William >>> >>> ----- Original Message ----- >>> From: "Joe Rojas" >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Wednesday, July 26, 2006 1:17 PM >>> Subject: [AccessD] OT: Visual Studio 2005 Pro >>> >>> >>>> Hello, >>>> >>>> Does anyone know of a place where I can purchase Visual Studio 2005 >>> Pro >>>> UPGRADE for a good price? >>>> >>>> So far the cheapest I found was $550. >>>> >>>> Thanks, >>>> Joe Rojas >>>> IT Manager >>>> TNCO, Inc. >>>> 781-447-6661 x7506 >>>> jrojas at tnco-inc.com >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Thu Jul 27 21:29:30 2006 From: karenr7 at oz.net (Karen Rosenstiel) Date: Thu, 27 Jul 2006 19:29:30 -0700 Subject: [AccessD] Synchronize popup In-Reply-To: <000a01c6b1bc$640d5080$647aa8c0@m6805> Message-ID: <000c01c6b1ed$a813c030$6401a8c0@bigmama> Ah.....um...... JC, I don't know what you're talking about. You are way too advanced for this amateur. Actually, I get the feeling sometimes that you are too advanced for many of the PROFESSIONALS on this list. But thanks anyway. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, July 27, 2006 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will >sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jul 27 23:08:11 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 28 Jul 2006 16:08:11 +1200 Subject: [AccessD] Open Access from another Access prog Message-ID: <7.0.1.0.0.20060728155652.01b6e508@dalyn.co.nz> Group, (AccessXP) I have a database (dbMerge) that merges customers from two separate databases (dbOne and dbTwo) so that users can search one list to see which database a customer is in. The record includes the database the customer comes from and the Primary Key. I would like to be able to click on a customer's record in dbMerge and do the following: 1) Check if the Access program (dbOne or dbTwo) that the customer is in is already open in another instance of Access. Open it in a separate instance of Access if it is not (leaving dbMerge open). 2) Switch to the Access program that has the customer details. 3) Open up the customer form, then go to the customer's record. Any guidance of where I can find some code for any of these steps? From adtp at hotmail.com Thu Jul 27 23:54:03 2006 From: adtp at hotmail.com (A.D.TEJPAL) Date: Fri, 28 Jul 2006 10:24:03 +0530 Subject: [AccessD] Synchronize popup References: <000c01c6b1ed$a813c030$6401a8c0@bigmama> Message-ID: Karen, My sample db named FormsSynchronized might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Two styles are covered: (a) Two subforms (Master & Slave) (b) Two normal forms (Master & Slave) Style (b) should be pertinent to the situation mentioned by you. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Karen Rosenstiel To: 'Access Developers discussion and problem solving' Sent: Friday, July 28, 2006 07:59 Subject: Re: [AccessD] Synchronize popup Ah.....um...... JC, I don't know what you're talking about. You are way too advanced for this amateur. Actually, I get the feeling sometimes that you are too advanced for many of the PROFESSIONALS on this list. But thanks anyway. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, July 27, 2006 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will >sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA From jwcolby at colbyconsulting.com Fri Jul 28 00:26:41 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 28 Jul 2006 01:26:41 -0400 Subject: [AccessD] Synchronize popup In-Reply-To: <000c01c6b1ed$a813c030$6401a8c0@bigmama> Message-ID: <001301c6b206$68c27480$647aa8c0@m6805> Karen, This stuff really isn't that advanced. It appears that I am about to start a book on this as well as other subjects so stay tuned on that front. Anyway... The only "gotcha" in the following is that it does not work in A97 since that version cannot raise events..... Objects such as forms and controls raise events all the time. Think OnClick, OnCurrent, OnOpen. Classes can sink events as well. Your form (which is a class) sinks the OnClick of a button or other control, OnUpdate of a text box or combo, etc. If you program, then you are accustomed to handling events from controls and forms. The form class sinks events from the form itself as well as from any controls on the form. Placing code such as: '*+ custom events Declarations Public Event PostAfterUpdate() Public Event PostCurrent() In the header of a class (your form for instance) allows you to then "raise" an event - in this case an event called PostAfterUpdate or PostCurrent. I call them "Post"Current because I raise the event AFTER the current event is processed. You can call your event anything you want: '*+ custom events Declarations Public Event ColbyEvent() Public Event MailReceived() You can even define parameters '*+ custom events Declarations Public Event PostAfterUpdate(Cancel as integer) Public Event PostCurrent(MyParam as string) So... Having defined my event (informing the class that I intend to raise an event somewhere in the class) in the header, I can then RAISE my event anywhere I want to: Function SomeSpecialProcess() Some processing RaiseEvent PostAfterUpdate Some more processing End function OK so... You want to sync a popup form to a main form. By this I assume you want to cause the popup form to "move to" the same record as the main form is on, and you want it to do so even if the main form changes from one record to the next. In order to accomplish this, ONE WAY is to raise an event in the main form whenever the main form changes from one record to the next. So, in the main form, tell the form class that you intend to raise an event: '*+ custom events Declarations Public Event PostCurrent(lngMyPK) Then in the current event, raise your event. Technically you don't even have to raise an event at all since the Current event is already being raised, however doing so gives you complete control over WHEN the event is raised relative to any other processing you might do in the current event. The following is actual code (more or less) from my framework: Private Sub form_Current() 'Stop mScanParentPKVal On Error Resume Next Fltr pFltrName, mfrm!txtPKID.Value mdclsCtlCboRecSel.mFrmSyncRecSel mNewRecordCheck RaiseEvent PostCurrent MyPK End Sub As you can see, my form has a current event, which I use to perform some specific processing. I then raise my own event, "PostCurrent". Having done that, I now need to sink that event somewhere. In your case, the popup form needs to sink the event raised by the main form. In order to sink an event in a class (remember that a form's code is in a class) you need to dimension a variable "Withevents", so in the header of the POPUP FORM: Private WithEvents mfrm As Form You have just told the popup form that you will be getting a pointer to a form object, and that you will be sinking events from that object (the WithEvents keyword). So you open the form, then somehow you set the variable mfrm to point to the main form. You can do that in the OnOpen of the popup form for example: Sub Form_Open() set mfrm = forms("MyMainForm") End sub Voila, you now have a pointer to the main form contained in mfrm and because you used the WithEvents keyword when you dimensioned the variable, you can now sink events from that form. You now create an event sink in the popup form's module: Sub mfrm_PostCurrent(lngMyPK) msgbox "The main form's current event just fired and passed in the PK from the record it is displaying: " & lngMyPK End sub NOTICE that we called the event mfrm_ (the name of the variable we dimensioned in our header) and PostCurrent (the name of the event that the MAIN FORM IS RAISING!!!) You are now done. Well almost anyway... You have a form variable that is grabbing events from the main form, SPECIFIC EVENTS that you tell it to grab - by creating event sinks for exactly the events you want it to sink. All you need to do now is to use the PK of the record in the main form (which was passed in by the event) to "find" that record and move to it. Simple eh? Well, it would be if you just practice it a bit. We programmers sink events all the time. If you program it is old hat. All you need to understand now is how to raise your own events, how to get a pointer to some object which is raising events, and how to sink some particular event(s) in your own module. This is not rocket science, it is a teeny tiny extension on what we already do every day. Disclaimer: The above is "air code" compiled in the outlook editor. I can and will create a working demo tomorrow in Access and make it available. It is VERY easy to do and requires almost no code at all. In fact it takes more code to use the passed in PK to find and move to the record than all the other code combined. There are some tiny gotchas, such as the fact that a form won't close correctly if a pointer to it exists, i.e. the PopUp form has to set its pointer to the main form to nothing before the main form tries to close. More tomorrow. IN FACT there is another way to do this, which is an intermediary class which I wrote a demo for previously. I called it a message class. The process still uses raised and sunk events however. You can go to my web site: www.colbyconsulting.com , register if you haven't already, Click Example code / WithEvent Demos, and download MsgClassWithEvents.zip. This uses the above mentioned message class to send messages between forms. Enjoy. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Thursday, July 27, 2006 10:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Ah.....um...... JC, I don't know what you're talking about. You are way too advanced for this amateur. Actually, I get the feeling sometimes that you are too advanced for many of the PROFESSIONALS on this list. But thanks anyway. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, July 27, 2006 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Synchronize popup Use Withevents / Raiseevents. Raise an event in the form that is the main form, in OnCurrent. When the popup opens, dim a form variable, set it to the pointer of the main form, then build an event handler for that form. >From then on, when the main form raises it's event, the popup form will >sink the event and do whatever you want it to do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of karenr7 at oz.net Sent: Thursday, July 27, 2006 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Synchronize popup Dear gang, I am working on a database to track medical records that are sent to the wrong medical providers. Three tables: tPatient, tErrors, tChecklist. Relationships: tPatient.PatientID (PK one-to-many)-->tErrors.ErrorsID (FK one-to-one) --> tChecklist.ErrorID The main form is fPatient with fErrors as a continous subform and fChecklist as a popup to fErrors. The popup is not picking up the FK from tErrors.ErrosID. I know how to synchronize a subform within the main form, but how do I syncronize a popup to its master form, which is a subform? I want it to syncronize continually, not just on open. Thank you. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Jul 28 07:16:27 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 28 Jul 2006 08:16:27 -0400 Subject: [AccessD] VPN Connection to another site - Solved In-Reply-To: <53c8e05a0607200917o3c2adbd7t6bce7eeba1f1f875@mail.gmail.com> Message-ID: Hey, Just wanted to let you know that we did find a solution with very little work on the network side. We did not have to change any of the ip addresses. All we had to do was to create a policy on the PIX box that we were connecting to with the appropriate tables of IP's and we were off and running. Works great! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From garykjos at gmail.com Fri Jul 28 07:28:58 2006 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 28 Jul 2006 07:28:58 -0500 Subject: [AccessD] VPN Connection to another site - Solved In-Reply-To: References: <53c8e05a0607200917o3c2adbd7t6bce7eeba1f1f875@mail.gmail.com> Message-ID: Hey, great work. Thanks for sharing the solution. GK On 7/28/06, Julie Reardon-Taylor wrote: > Hey, > > Just wanted to let you know that we did find a solution with very little > work on the network side. We did not have to change any of the ip > addresses. > > All we had to do was to create a policy on the PIX box that we were > connecting to with the appropriate tables of IP's and we were off and > running. Works great! > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > > -- > 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 jmhecht at earthlink.net Sat Jul 29 11:34:14 2006 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 29 Jul 2006 09:34:14 -0700 Subject: [AccessD] I am back. Message-ID: I hope all are well. Did I miss anything big while I was away. ( besides work) Joe Hecht jmhecht at earthlink.net From RRANTHON at sentara.com Sat Jul 29 11:37:09 2006 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Sat, 29 Jul 2006 12:37:09 -0400 Subject: [AccessD] I am back. In-Reply-To: References: Message-ID: <200607291637.k6TGbQS01749@databaseadvisors.com> Youse was gone?!? Welcome back from another poor schlubb workin' on a Saturday... >>> "Joe Hecht" 07/29/06 12:34 PM >>> I hope all are well. Did I miss anything big while I was away. ( besides work) Joe Hecht jmhecht at earthlink.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Jul 29 12:59:51 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Jul 2006 10:59:51 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <200607291637.k6TGbQS01749@databaseadvisors.com> References: <200607291637.k6TGbQS01749@databaseadvisors.com> Message-ID: <44CBA217.4010408@shaw.ca> For you starving students out there. Woodyswatch has stated that there will be a $1.50 fee to download each of the Office 2007 Betas starting 6PM PST Aug 2. It might also apply to the others like One Note, Visio, MS Project To get the downloadable beta go to http://www.microsoft.com/office/preview/beta/getthebeta.mspx?showIntro=n and choose the 'Get the beta now' link. You'll need a Windows Live ID - which is just a Hotmail or Passport account under a new name. Don't forget to save your Product ID in case you don't get a Hotmail email containing it. The downloads are between 500MB for Office to 250MB for MS Project -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Sat Jul 29 17:08:54 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 08:08:54 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CBA217.4010408@shaw.ca> References: , <200607291637.k6TGbQS01749@databaseadvisors.com>, <44CBA217.4010408@shaw.ca> Message-ID: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> On 29 Jul 2006 at 10:59, MartyConnelly wrote: > For you starving students out there. > > Woodyswatch has stated that there will be a $1.50 fee to download > each of the Office 2007 Betas starting 6PM PST Aug 2. Big deal.... > The downloads are between 500MB for Office to 250MB for MS Project That would cost me between $150 and $75 in download charges. What's another $1.50? And it would be twice as much if I, like most people in PNG, was using dial- up and also paying phone connection charges (I'm one of "lucky" ones who can get a 128Kb radiolink for only $200 per month - plus of course the $0.30 per Mb ) -- Stuart From wdhindman at dejpolsystems.com Sat Jul 29 19:02:34 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 29 Jul 2006 20:02:34 -0400 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload References: , <200607291637.k6TGbQS01749@databaseadvisors.com>, <44CBA217.4010408@shaw.ca> <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> Message-ID: <003001c6b36b$768fb580$6466a8c0@50NM721> ....oowwwwweeeeeeee! :(( William ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Saturday, July 29, 2006 6:08 PM Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload > On 29 Jul 2006 at 10:59, MartyConnelly wrote: > >> For you starving students out there. >> >> Woodyswatch has stated that there will be a $1.50 fee to download >> each of the Office 2007 Betas starting 6PM PST Aug 2. > > Big deal.... > >> The downloads are between 500MB for Office to 250MB for MS Project > > That would cost me between $150 and $75 in download charges. What's > another > $1.50? > > And it would be twice as much if I, like most people in PNG, was using > dial- > up and also paying phone connection charges (I'm one of "lucky" ones who > can get a 128Kb radiolink for only $200 per month - plus of course the > $0.30 per Mb ) > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sat Jul 29 19:26:44 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 10:26:44 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload In-Reply-To: <003001c6b36b$768fb580$6466a8c0@50NM721> References: , <003001c6b36b$768fb580$6466a8c0@50NM721> Message-ID: <44CC8964.23391.29A05AFA@stuart.lexacorp.com.pg> Now ask me what I think of Microsoft Automatic Updates and the amount of data you need to regularly download to keep Windows and Office secure :-( On 29 Jul 2006 at 20:02, William Hindman wrote: > ....oowwwwweeeeeeee! :(( > > William > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, July 29, 2006 6:08 PM > Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee > todownload > > > > On 29 Jul 2006 at 10:59, MartyConnelly wrote: > > > >> For you starving students out there. > >> > >> Woodyswatch has stated that there will be a $1.50 fee to download > >> each of the Office 2007 Betas starting 6PM PST Aug 2. > > > > Big deal.... > > > >> The downloads are between 500MB for Office to 250MB for MS Project > > > > That would cost me between $150 and $75 in download charges. What's > > another > > $1.50? > > > > And it would be twice as much if I, like most people in PNG, was using > > dial- up and also paying phone connection charges (I'm one of "lucky" ones > > who can get a 128Kb radiolink for only $200 per month - plus of course the > > $0.30 per Mb ) > > > > > > > > > > > > -- > > Stuart > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From martyconnelly at shaw.ca Sat Jul 29 19:51:17 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Jul 2006 17:51:17 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> References: <200607291637.k6TGbQS01749@databaseadvisors.com> <44CBA217.4010408@shaw.ca> <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> Message-ID: <44CC0285.9090501@shaw.ca> Hey, I am out in the boonies on a Pacific Island too, but I am only 200 miles from Redmond as the crow flies. You can order a CD for $7.50- $10 AUD and a one week turnaround. You don't have access to phone upload, satellite download ? or even two-way satellite from BigPond? Their coverage footprint should go that far north. Hughes covers US, Hawaii, Mexico and parts of Canada You would get 512k/256k speeds for what you are paying. Or is there some other policy or installation glitch? http://my.bigpond.com/internetplans/broadband/satellite/2_way_plans/default.jsp Stuart McLachlan wrote: >On 29 Jul 2006 at 10:59, MartyConnelly wrote: > > > >>For you starving students out there. >> >>Woodyswatch has stated that there will be a $1.50 fee to download >>each of the Office 2007 Betas starting 6PM PST Aug 2. >> >> > >Big deal.... > > > >>The downloads are between 500MB for Office to 250MB for MS Project >> >> > >That would cost me between $150 and $75 in download charges. What's another >$1.50? > >And it would be twice as much if I, like most people in PNG, was using dial- >up and also paying phone connection charges (I'm one of "lucky" ones who >can get a 128Kb radiolink for only $200 per month - plus of course the >$0.30 per Mb ) > > > > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Jul 29 20:08:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 29 Jul 2006 21:08:57 -0400 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload In-Reply-To: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg> Message-ID: <002701c6b374$be17d910$647aa8c0@m6805> Holy crap batman, you must live in the boonies too? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, July 29, 2006 6:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload On 29 Jul 2006 at 10:59, MartyConnelly wrote: > For you starving students out there. > > Woodyswatch has stated that there will be a $1.50 fee to download each > of the Office 2007 Betas starting 6PM PST Aug 2. Big deal.... > The downloads are between 500MB for Office to 250MB for MS Project That would cost me between $150 and $75 in download charges. What's another $1.50? And it would be twice as much if I, like most people in PNG, was using dial- up and also paying phone connection charges (I'm one of "lucky" ones who can get a 128Kb radiolink for only $200 per month - plus of course the $0.30 per Mb ) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Jul 29 23:35:03 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 14:35:03 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CC0285.9090501@shaw.ca> References: , <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg>, <44CC0285.9090501@shaw.ca> Message-ID: <44CCC397.14568.E20544@stuart.lexacorp.com.pg> On 29 Jul 2006 at 17:51, MartyConnelly wrote: > You don't have access to phone upload, satellite download ? > or even two-way satellite from BigPond? Their coverage footprint > should go that far north. Hughes covers US, Hawaii, Mexico and parts of > Canada You would get 512k/256k speeds for what you are paying. Or is there > some other policy or installation glitch? > It's called Telikom. The state owned telecommunications monopoly. They won't give the spectrum licences to use satellite. Fortunately there are some moves afoot to de-regulate and hopefully things will be easier in a year or so, but at the moment, it's out of the question :-( -- Stuart From stuart at lexacorp.com.pg Sat Jul 29 23:36:55 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Jul 2006 14:36:55 +1000 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee todownload In-Reply-To: <002701c6b374$be17d910$647aa8c0@m6805> References: <44CC6916.30773.29222C9C@stuart.lexacorp.com.pg>, <002701c6b374$be17d910$647aa8c0@m6805> Message-ID: <44CCC407.26459.E3BD64@stuart.lexacorp.com.pg> On 29 Jul 2006 at 21:08, JWColby wrote: > Holy crap batman, you must live in the boonies too? > Nope, right in the middle of the capital city. If I did live in the boonies I would have *slightly* more chance of getting a licence for satellite. -- Stuart From accessd at shaw.ca Sun Jul 30 00:21:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 29 Jul 2006 22:21:58 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <44CC0285.9090501@shaw.ca> Message-ID: <0J3700CQEAW52BC0@l-daemon> Hi Marty: I would not really classify Victoria on the island as in the boonies, with a population of over 300,000 and Vancouver, 20 miles away as the crow-flies with a population of over 2,000,000... (It is amazing what you can find in Wikipedia.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, July 29, 2006 5:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download Hey, I am out in the boonies on a Pacific Island too, but I am only 200 miles from Redmond as the crow flies. You can order a CD for $7.50- $10 AUD and a one week turnaround. You don't have access to phone upload, satellite download ? or even two-way satellite from BigPond? Their coverage footprint should go that far north. Hughes covers US, Hawaii, Mexico and parts of Canada You would get 512k/256k speeds for what you are paying. Or is there some other policy or installation glitch? http://my.bigpond.com/internetplans/broadband/satellite/2_way_plans/default. jsp Stuart McLachlan wrote: >On 29 Jul 2006 at 10:59, MartyConnelly wrote: > > > >>For you starving students out there. >> >>Woodyswatch has stated that there will be a $1.50 fee to download >>each of the Office 2007 Betas starting 6PM PST Aug 2. >> >> > >Big deal.... > > > >>The downloads are between 500MB for Office to 250MB for MS Project >> >> > >That would cost me between $150 and $75 in download charges. What's another >$1.50? > >And it would be twice as much if I, like most people in PNG, was using dial- >up and also paying phone connection charges (I'm one of "lucky" ones who >can get a 128Kb radiolink for only $200 per month - plus of course the >$0.30 per Mb ) > > > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jul 30 02:37:36 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Jul 2006 00:37:36 -0700 Subject: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to download In-Reply-To: <0J3700CQEAW52BC0@l-daemon> References: <0J3700CQEAW52BC0@l-daemon> Message-ID: <44CC61C0.2050608@shaw.ca> So I exaggerate a little bit, I have an optic cable that comes ashore from US about a 1/4 mile down the beach from me, but the microwave towers to Vancouver used to fail often in winter storms until that cable came in 3 years ago. However go north about a hundred miles, it is either satellite or wireless antennas strung across mountain valleys. Most of the remote Indian communities are getting broadband and TV access via satellite dishes. These places are remote, the only way in is by plane or boat on the west coast of the island, no highways, no roads. Jim Lawrence wrote: >Hi Marty: > >I would not really classify Victoria on the island as in the boonies, with a >population of over 300,000 and Vancouver, 20 miles away as the crow-flies >with a population of over 2,000,000... (It is amazing what you can find in >Wikipedia.) > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Saturday, July 29, 2006 5:51 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OFFICE 2007 BETA to start CHARGING small fee to >download > >Hey, I am out in the boonies on a Pacific Island too, but I am only >200 miles from Redmond as the crow flies. >You can order a CD for $7.50- $10 AUD and a one week turnaround. > >You don't have access to phone upload, satellite download ? >or even two-way satellite from BigPond? Their coverage footprint >should go that far north. Hughes covers US, Hawaii, Mexico and parts of >Canada >You would get 512k/256k speeds for what you are paying. >Or is there some other policy or installation glitch? > >http://my.bigpond.com/internetplans/broadband/satellite/2_way_plans/default. >jsp > > > > > >Stuart McLachlan wrote: > > > >>On 29 Jul 2006 at 10:59, MartyConnelly wrote: >> >> >> >> >> >>>For you starving students out there. >>> >>>Woodyswatch has stated that there will be a $1.50 fee to download >>>each of the Office 2007 Betas starting 6PM PST Aug 2. >>> >>> >>> >>> >>Big deal.... >> >> >> >> >> >>>The downloads are between 500MB for Office to 250MB for MS Project >>> >>> >>> >>> >>That would cost me between $150 and $75 in download charges. What's another >> >> > > > >>$1.50? >> >>And it would be twice as much if I, like most people in PNG, was using >> >> >dial- > > >>up and also paying phone connection charges (I'm one of "lucky" ones who >>can get a 128Kb radiolink for only $200 per month - plus of course the >>$0.30 per Mb ) >> >> >> >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From robert at servicexp.com Sun Jul 30 17:37:01 2006 From: robert at servicexp.com (Robert) Date: Sun, 30 Jul 2006 18:37:01 -0400 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <44CC61C0.2050608@shaw.ca> Message-ID: <000f01c6b428$ad63fae0$6501a8c0@roberts> Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert From stuart at lexacorp.com.pg Sun Jul 30 17:53:15 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Jul 2006 08:53:15 +1000 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000f01c6b428$ad63fae0$6501a8c0@roberts> References: <44CC61C0.2050608@shaw.ca>, <000f01c6b428$ad63fae0$6501a8c0@roberts> Message-ID: <44CDC4FB.2949.6702FC79@stuart.lexacorp.com.pg> On 30 Jul 2006 at 18:37, Robert wrote: > > Does anyone have a procedure handy to Remove multiple vbCrlf From the end > of a string? > How about something like: While Right$(strInput, 2) = vbCrLf strInput = Left$(strInput, Len(strInput) - 2) Wend -- Stuart McLachlan From max at sherman.org.uk Mon Jul 31 01:24:42 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 31 Jul 2006 07:24:42 +0100 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aTE+ycA Message-ID: <000001c6b46a$03d76a60$e26b1152@Server> str = Left(str, (InStr(str, vbCrLf) - 1)) Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, July 30, 2006 11:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert -- 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 Jul 31 02:10:25 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Jul 2006 17:10:25 +1000 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000001c6b46a$03d76a60$e26b1152@Server> References: , <000001c6b46a$03d76a60$e26b1152@Server> Message-ID: <44CE3981.28343.68CA27E9@stuart.lexacorp.com.pg> On 31 Jul 2006 at 7:24, Max Home wrote: > > str = Left(str, (InStr(str, vbCrLf) - 1)) > The sample has multiple vbCrLfs embedded. This would truncate it at "Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18" > Regards > Max > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert > Sent: Sunday, July 30, 2006 11:37 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? > > > Does anyone have a procedure handy to Remove multiple vbCrlf From the end > of a string? > > String Example: > > Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 > Invoice Date: 4/27/2006 > Invoice Total: 105.79 > Customers Complaint: Replace condensate pan > > Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB > > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan From robert at servicexp.com Mon Jul 31 06:30:52 2006 From: robert at servicexp.com (Robert) Date: Mon, 31 Jul 2006 07:30:52 -0400 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <44CDC4FB.2949.6702FC79@stuart.lexacorp.com.pg> Message-ID: <000c01c6b494$c8489fc0$6501a8c0@roberts> Stuart, Works perfectly when used in a module, but when I create a function and use it in a query, the results are all messed up, almost like the data gets corrupted, all sort of weird characters. I have confirmed the data is not corrupt.. Any ideas? Thank You Very Much!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, July 30, 2006 6:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remove mulipule vbCrlf From the end of a string? On 30 Jul 2006 at 18:37, Robert wrote: > > Does anyone have a procedure handy to Remove multiple vbCrlf From the > end of a string? > How about something like: While Right$(strInput, 2) = vbCrLf strInput = Left$(strInput, Len(strInput) - 2) Wend -- Stuart McLachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlavsa at tigg.com Mon Jul 31 09:31:21 2006 From: rlavsa at tigg.com (Richard Lavsa) Date: Mon, 31 Jul 2006 10:31:21 -0400 Subject: [AccessD] Quotation Database structure question In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD7A643@MARLOW_MAIN2.marlow.com> Message-ID: Drew thanks for the screenshot.. I had the following structure in mind when I saw yours structure it reassured me that this might be the way to go. I have something similar to what you have, or at least what I believe to be a similar method to handle this issue. Basically I have tables (Components, ComponentTypes, ComponentTypeTemplate, ComponentValues) ComponentType (Define a new type ex.(FAN, PUMP, Blower, etc) -------------- CompTypeId Type TypeDesc ComponentTypeTemplate (Build specs for each type) --------------------- ComponentTypeTempId CompTypeId TypeSpecification ComponentValues (store a value for each Type and Spec) --------------- ComponentID ComponentTypeTempID CompTypeID (don't need this but did it for quicker queries) SpecValue Components (Stores the basic info for the new component which includes, Type, Price, QuoteDate came in from Vendor, and vendor) ---------- ComponentID CompTypeId ComponentDesc VendorPartNo UnitPrice VendorID DateOfPrice Relationships.. Components 1 to Many ComponentValues (field: ComponentID) ComponentType 1 to Many Components (field: CompTypeID) ComponentType 1 to Many ComponentTypeTemplate (field: compTypeID) ComponentType 1 to Many ComponentValues (field: CompTypeID) ComponentTypeTemplate 1 to Many ComponentValues (field: compTypeTempID) Ok, so now all the data entry forms are built, and this all appears to be working correctly. Now I'm down to building the Estimate itself. So I have Estimate_Header with your basic header information, and then the Estimate_Details. The Details will have Components, the quantity, Price,..... So my new delima is how do I display this data driven metadata type system so that I can show the TypeSpec field from the ComponentTypeTemplate as RowHeaders in a ComponentSelection form for the Estimate Details section. Feasable I know how to do this in a Crosstab query, however I cannot display a raw query in a form (or can I and I just don't know how). I tried the PivotTable view in a form, but it adds totals for every level you enter in the row Data portion of the grid.. Any tips/tricks would be greatly appreciated on how to display this data that is in a table, and show it as row header data. Currently I have a listbox, that works pretty good, however there is no sorting or column resizing capability within it or else it would be perfect for this situation as it dynamically rebuilds when a new Type is selected. Thanks in advance.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, July 24, 2006 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quotation Database structure question I created a product database for our company. Our website uses it. We have several 'types' of products, and I didn't want things hard coded, so I created a database where the people that control the data can create new products and put it in the system. Here is a screen shot of the relationships: http://www.marlow.com/productdbrelations.bmp there are a few tables that are off on the side, but those are strictly for the shopping cart itself. A little explanation: tblProducts is the main table, the ProductID is an Autonumber in that table. It has fields that are specific to every product, no matter what it is. The key field (in importance) is the GenericType field. I goofed when designing this, because I didn't use that term throughout the whole project, and didn't catch that I wasn't doing that until I was pretty deep into it. What does the GenericType field do? It tells the system what kind of product it is. GenericTypes are defined in tblSpecificationHeader (with a name, the GenericType field is a number field that matches the ListID (AutoNumber)). The specs for that product are then listed in tblSpecificationDetails. Each spec has the ListID (to relate it to a 'generic type'). Then have a name, units, (Our website has a glossary in it, so the Glossary ID matches the glossary terms to appropriate specs (for instance, some of our products are TECs (Thermo Electric Coolers, and DeltaT is a spec, and a glossary term, so when the website displays a product, if it has a matching glossary term for the spec, it shows up as a tool tip on the website. Then there are product types, and sub types. In our particular case, our subtypes are categories based on our customer base (DSP (Defense Space and Photonics), Commercial, Medical, etc.), and the types are more specific product types. For example, our Generic Types are 'standard coolers', 'accessories', and 'TTRS'. Our product types are identical for accessories and ttrs, but standard coolers have many product types (MI coolers, AT coolers, DT coolers, XLT coolers, etc.) I'll try to explain this in a little less technical terms. Each product has a 'generic type'. For instance, a centrifugal pump and a positive displacement pump are both pumps. So they would both have a GenericType 'Pump' (which would have it's own ID (ListID in my database)). The specs for a pump might be GPM, Type, PowerUsage, etc. Each spec for a pump would be listed in the SpecDetails table. Ooops, almost forgot. There are a few tables missing from the relationships. tblDateData, tblLongData, tblDoubleData, tblTextData and tblCurrencyData. They are identical tables, with SpecID (Long Integer), ProductID (Long Integer) and Data (data type matching the table, ie, Long Integer for tblLongData. Now, you might want to make a few modifications to my design. For example, my Product Specs are hard linked to a generic type. You may want to put this link in a many to many table, ie, a ListID and SpecID table, so that the same spec may relate to multiple generic types. (So if you have Manufacturer in many generic types, you can list all products, regardless of generic type, for a specific manufacturer. That may apply to all products though (so it may be put in tblProducts), but something like PowerUsage may only apply to certain generic types, so that might be a better example). Hope this helps. Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 24, 2006 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Quotation Database structure question Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich From DWUTKA at marlow.com Mon Jul 31 10:48:50 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Jul 2006 10:48:50 -0500 Subject: [AccessD] Quotation Database structure question Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD7AAD4@MARLOW_MAIN2.marlow.com> Hopefully some of the other experts can chime in here. I tend to write code centric interfaces. For example, in my products database, I have .dll's that retrieve and organize the data. The actual interface are .asp pages. In access, I would have the same classes that I have in the .dll, but everything would be unbound. Not sure if this is how you want to go... Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 31, 2006 9:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quotation Database structure question Drew thanks for the screenshot.. I had the following structure in mind when I saw yours structure it reassured me that this might be the way to go. I have something similar to what you have, or at least what I believe to be a similar method to handle this issue. Basically I have tables (Components, ComponentTypes, ComponentTypeTemplate, ComponentValues) ComponentType (Define a new type ex.(FAN, PUMP, Blower, etc) -------------- CompTypeId Type TypeDesc ComponentTypeTemplate (Build specs for each type) --------------------- ComponentTypeTempId CompTypeId TypeSpecification ComponentValues (store a value for each Type and Spec) --------------- ComponentID ComponentTypeTempID CompTypeID (don't need this but did it for quicker queries) SpecValue Components (Stores the basic info for the new component which includes, Type, Price, QuoteDate came in from Vendor, and vendor) ---------- ComponentID CompTypeId ComponentDesc VendorPartNo UnitPrice VendorID DateOfPrice Relationships.. Components 1 to Many ComponentValues (field: ComponentID) ComponentType 1 to Many Components (field: CompTypeID) ComponentType 1 to Many ComponentTypeTemplate (field: compTypeID) ComponentType 1 to Many ComponentValues (field: CompTypeID) ComponentTypeTemplate 1 to Many ComponentValues (field: compTypeTempID) Ok, so now all the data entry forms are built, and this all appears to be working correctly. Now I'm down to building the Estimate itself. So I have Estimate_Header with your basic header information, and then the Estimate_Details. The Details will have Components, the quantity, Price,..... So my new delima is how do I display this data driven metadata type system so that I can show the TypeSpec field from the ComponentTypeTemplate as RowHeaders in a ComponentSelection form for the Estimate Details section. Feasable I know how to do this in a Crosstab query, however I cannot display a raw query in a form (or can I and I just don't know how). I tried the PivotTable view in a form, but it adds totals for every level you enter in the row Data portion of the grid.. Any tips/tricks would be greatly appreciated on how to display this data that is in a table, and show it as row header data. Currently I have a listbox, that works pretty good, however there is no sorting or column resizing capability within it or else it would be perfect for this situation as it dynamically rebuilds when a new Type is selected. Thanks in advance.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, July 24, 2006 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quotation Database structure question I created a product database for our company. Our website uses it. We have several 'types' of products, and I didn't want things hard coded, so I created a database where the people that control the data can create new products and put it in the system. Here is a screen shot of the relationships: http://www.marlow.com/productdbrelations.bmp there are a few tables that are off on the side, but those are strictly for the shopping cart itself. A little explanation: tblProducts is the main table, the ProductID is an Autonumber in that table. It has fields that are specific to every product, no matter what it is. The key field (in importance) is the GenericType field. I goofed when designing this, because I didn't use that term throughout the whole project, and didn't catch that I wasn't doing that until I was pretty deep into it. What does the GenericType field do? It tells the system what kind of product it is. GenericTypes are defined in tblSpecificationHeader (with a name, the GenericType field is a number field that matches the ListID (AutoNumber)). The specs for that product are then listed in tblSpecificationDetails. Each spec has the ListID (to relate it to a 'generic type'). Then have a name, units, (Our website has a glossary in it, so the Glossary ID matches the glossary terms to appropriate specs (for instance, some of our products are TECs (Thermo Electric Coolers, and DeltaT is a spec, and a glossary term, so when the website displays a product, if it has a matching glossary term for the spec, it shows up as a tool tip on the website. Then there are product types, and sub types. In our particular case, our subtypes are categories based on our customer base (DSP (Defense Space and Photonics), Commercial, Medical, etc.), and the types are more specific product types. For example, our Generic Types are 'standard coolers', 'accessories', and 'TTRS'. Our product types are identical for accessories and ttrs, but standard coolers have many product types (MI coolers, AT coolers, DT coolers, XLT coolers, etc.) I'll try to explain this in a little less technical terms. Each product has a 'generic type'. For instance, a centrifugal pump and a positive displacement pump are both pumps. So they would both have a GenericType 'Pump' (which would have it's own ID (ListID in my database)). The specs for a pump might be GPM, Type, PowerUsage, etc. Each spec for a pump would be listed in the SpecDetails table. Ooops, almost forgot. There are a few tables missing from the relationships. tblDateData, tblLongData, tblDoubleData, tblTextData and tblCurrencyData. They are identical tables, with SpecID (Long Integer), ProductID (Long Integer) and Data (data type matching the table, ie, Long Integer for tblLongData. Now, you might want to make a few modifications to my design. For example, my Product Specs are hard linked to a generic type. You may want to put this link in a many to many table, ie, a ListID and SpecID table, so that the same spec may relate to multiple generic types. (So if you have Manufacturer in many generic types, you can list all products, regardless of generic type, for a specific manufacturer. That may apply to all products though (so it may be put in tblProducts), but something like PowerUsage may only apply to certain generic types, so that might be a better example). Hope this helps. Drew -----Original Message----- From: Richard Lavsa [mailto:rlavsa at tigg.com] Sent: Monday, July 24, 2006 7:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Quotation Database structure question Hello all, I have a question on how to build a piece of my application. The piece I am having trouble trying to put together is as follows. Our engineers call out and get prices on material (aluminum, steel, Stainless), as well as components (Fans, Blowers, Pumps, Pipe, Angle Iron, etc.. ) So what they ask me to put together is a database that they can enter all this information into, and pull out information as needed. It sounded like an easy task at first. I started to lay it out and realized that even though these are all "components" to whatever it is they are building, they may have different characteristics to maintain in the database.. This is my biggest hang-up... how do I make a Component table be able to take into account all the various characteristics for such different pieces. For instance... FAN =3D (CFM, HP, RPM, Make, Type, Model, Cost, Vendor) Pumps =3D = (Style, Make, Model, GPM, Head, Type, Size, HP, Phase, Motor, Cost, Vendor) Starters =3D (HP, NEMA Rating, Voltage, Cost, Vendor) Then you have your Pipe and Pipe Fittings Pipe can be made from various materials, lengths, and thicknesses Pipe fittings can as well not to mention there are elbows, T's, Y's, etc etc... ... So in summary.. What I'm trying to build at this point is a way to record what the engineers received from various vendors and date it. Organize it in such a fashion they can pick and choose based on previous information gathered or based on updated data entered into the system and put together a quick quote for a customer. This will end up as a collaboration tool as well since some of the engineers may call the same vendor asking for the same if not similar items. I simply don't know what the best approach is in organizing all these Parts. They start off as a part, but they all have such different characteristics to record, I don't know where to begin. Any help would be greatly appreciated. TIA, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Mon Jul 31 12:26:51 2006 From: max at sherman.org.uk (Max Home) Date: Mon, 31 Jul 2006 18:26:51 +0100 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: AAAAAFWZt4UlhGRNs4nf35oT6aRE/ycA Message-ID: <003701c6b4c6$842947e0$e26b1152@Server> Yes, didn't read your string requirements properly - sorry, my fault. Here are 2 alternatives (Using your string example). Hope they help. Regards Max Function DropDoubleVBCRLF() As String Dim str As String str = "Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18" & vbCrLf & _ "Invoice Date: 4/27/2006" & vbCrLf & _ "Invoice Total: 105.79" & vbCrLf & _ "Customers Complaint: Replace condensate pan" & vbCrLf & _ "" & vbCrLf & _ "Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB" & vbCrLf & _ "" & vbCrLf & vbCrLf & vbCrLf & vbCrLf MsgBox str & vbCrLf & Len(str) GoTo Option2 'or option1? Option1: ' Option 1 - remove all repeating doubles of vbcrlf Do While InStr(str, vbCrLf & vbCrLf) > 0 str = Replace(str, vbCrLf & vbCrLf, vbCrLf) Loop str = Left(str, (InStrRev(str, vbCrLf) - 1)) MsgBox str & vbCrLf & Len(str) GoTo done Option2: ' Option 2 - keeps embedded double of vbcrlf and trims the end. str = Trim(str) Do While Right(str, 2) = vbCrLf str = Left(str, InStrRev(str, vbCrLf) - 1) Loop MsgBox str & vbCrLf & Len(str) done: DropDoubleVBCRLF = str End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, July 31, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remove mulipule vbCrlf From the end of a string? On 31 Jul 2006 at 7:24, Max Home wrote: > > str = Left(str, (InStr(str, vbCrLf) - 1)) > The sample has multiple vbCrLfs embedded. This would truncate it at "Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18" > Regards > Max > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert > Sent: Sunday, July 30, 2006 11:37 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? > > > Does anyone have a procedure handy to Remove multiple vbCrlf From the end > of a string? > > String Example: > > Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 > Invoice Date: 4/27/2006 > Invoice Total: 105.79 > Customers Complaint: Replace condensate pan > > Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB > > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > Remove vbCrlf here > > Thanks > Robert > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Mon Jul 31 15:21:04 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Mon, 31 Jul 2006 16:21:04 -0400 Subject: [AccessD] $ Aligment in Combo Boxes Message-ID: This is driving me crazy..............my first item in a two column combo box is formatted in currency and the second is simply text. The currency will not right align! I have googled the topic and find many other questions about this problem with no answers that are simple and quick. Do I reall have to write a module to correct this? Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From cfoust at infostatsystems.com Mon Jul 31 15:41:24 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Jul 2006 13:41:24 -0700 Subject: [AccessD] $ Aligment in Combo Boxes In-Reply-To: Message-ID: The simple answer is Yes you have to write code and even then it won't line up properly. The problem is that the data in comboboxes is actually in strings and the currency format is not simply right aligned text, it leaves room for parens or a negative number indicator. Plus numbers are not a consistent width. You can call it a bug if you like, but numbers align differently from text, so it causes problems when you switch between the two. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Monday, July 31, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] $ Aligment in Combo Boxes This is driving me crazy..............my first item in a two column combo box is formatted in currency and the second is simply text. The currency will not right align! I have googled the topic and find many other questions about this problem with no answers that are simple and quick. Do I reall have to write a module to correct this? Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jul 31 16:06:54 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Jul 2006 14:06:54 -0700 Subject: [AccessD] $ Aligment in Combo Boxes In-Reply-To: Message-ID: <0J3A00LUCDB7NPT0@l-daemon> Hi Julie: This is one of the main issues with trying to format text in a combo box. The only way I know of to get it reasonably formatted is to set the font to mono-spaced and prebuild the string that is going to be presented. You might try Lebans web site with some interesting examples of combo box solutions: http://www.lebans.com/List_Combo.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Monday, July 31, 2006 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] $ Aligment in Combo Boxes This is driving me crazy..............my first item in a two column combo box is formatted in currency and the second is simply text. The currency will not right align! I have googled the topic and find many other questions about this problem with no answers that are simple and quick. Do I reall have to write a module to correct this? Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Jul 31 17:00:40 2006 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 31 Jul 2006 18:00:40 -0400 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000f01c6b428$ad63fae0$6501a8c0@roberts> Message-ID: <000501c6b4ec$c3a8a9d0$2e01a8c0@fredxp> How about string = replace(string, vbCrLf & vbCrLf, "")? This would leave one at the end of the line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, July 30, 2006 6:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Jul 31 17:04:19 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 31 Jul 2006 17:04:19 -0500 Subject: [AccessD] duplicate function names Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DDE1A@corp-es01.fleetpride.com> Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Mon Jul 31 17:06:54 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Jul 2006 15:06:54 -0700 Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? In-Reply-To: <000501c6b4ec$c3a8a9d0$2e01a8c0@fredxp> Message-ID: You would need to replace two vbcrlfs with one. That would keep replacing until you had no double carriage returns. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Monday, July 31, 2006 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Remove mulipule vbCrlf From the end of a string? How about string = replace(string, vbCrLf & vbCrLf, "")? This would leave one at the end of the line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, July 30, 2006 6:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Remove mulipule vbCrlf From the end of a string? Does anyone have a procedure handy to Remove multiple vbCrlf From the end of a string? String Example: Service Order # 67468 On a True 3 Door Prep Table M # TSSU-72-18 Invoice Date: 4/27/2006 Invoice Total: 105.79 Customers Complaint: Replace condensate pan Services/Notes Performed: Install Drain Pan & 3 Clips Tested Ok JB Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Remove vbCrlf here Thanks Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jul 31 17:18:18 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Jul 2006 15:18:18 -0700 Subject: [AccessD] duplicate function names In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DDE1A@corp-es01.fleetpride.com> Message-ID: That's one reason you usually give the routines in a code library unique names. You can also have routines with the same names in both local and public modules. The one within scope is always the one executed. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, July 31, 2006 3:04 PM To: 'Accessd (E-mail) Subject: [AccessD] duplicate function names Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Jul 31 18:10:44 2006 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Jul 2006 18:10:44 -0500 Subject: [AccessD] duplicate function names In-Reply-To: <31675925.1154383690759.JavaMail.root@sniper19> Message-ID: <003501c6b4f6$8d52b4c0$0200a8c0@danwaters> This can be useful. You might have a 'generic' function in your library, but with some installations you need to do something a little different. With the function in the main database taking preference, you don't need to change the library. Dan Waters -----Original Message----- Subject: [AccessD] duplicate function names Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale From askolits at ot.com Mon Jul 31 22:41:25 2006 From: askolits at ot.com (John Skolits) Date: Mon, 31 Jul 2006 23:41:25 -0400 Subject: [AccessD] duplicate function names In-Reply-To: <003501c6b4f6$8d52b4c0$0200a8c0@danwaters> Message-ID: <002001c6b51c$614680c0$6701a8c0@LaptopXP> Jim, I prefix all my library files with a "lbf_" (library file) prefix. This makes sure there is no confusion. You should come up with some kind of prefix of your own for library functions. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, July 31, 2006 7:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] duplicate function names This can be useful. You might have a 'generic' function in your library, but with some installations you need to do something a little different. With the function in the main database taking preference, you don't need to change the library. Dan Waters -----Original Message----- Subject: [AccessD] duplicate function names Maybe everyone but me knows this, but I just stumbled upon the fact that it is possible to have two functions with the same name coexist. If one is in a module in the current database and the other in a module in a referenced code library Access will use the function in the current database and ignore the version in the code library. Everything compiles and runs fine at least in access 2000. Whether or not this is useful or merely dangerous is a different question. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Mon Jul 31 23:07:47 2006 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 31 Jul 2006 21:07:47 -0700 Subject: [AccessD] $ Aligment in Combo Boxes (tease) In-Reply-To: Message-ID: Joe Hecht jmhecht at earthlink.net It is not a bug, it IS a random feature. Sounds like a microsoft bug to me! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com