Colby, John
JColby at dispec.com
Tue Sep 28 10:08:09 CDT 2004
You'd be good at the acronym game! ;-) Disability Insurance Specialist. That's my sig for my user at that client (where I am currently working). I put that in when I first got here so that the employees would know who I was when they got an email from me. John W. Colby The DIS Database Guy -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, September 28, 2004 10:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? DIS - Does that mean Dad Is Satisfied? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Tuesday, September 28, 2004 9:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby <jwcolby at colbyconsulting.com> wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > <jdemarco at hudsonhealthplan.org> wrote: > > I have one for VB but it can easily be modded if you're using <A2K. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > <cfoust at infostatsystems.com> wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com