Mark A Matte
markamatte at hotmail.com
Thu Jun 8 10:34:24 CDT 2006
Rocky, Sorry, I think I missed something...Its been awhile since the beginning of the post...where does the criteria you are trying to add come from?...and if a user is enterring it in a form...why not point the query to the form...or what are the benefits to changing the query/?? I just confused as to why...lol...but its interesting...lol Mark A. Matte >From: "Gustav Brock" <Gustav at cactus.dk> >Reply-To: Access Developers discussion and problem >solving<accessd at databaseadvisors.com> >To: <accessd at databaseadvisors.com> >Subject: Re: [AccessD] Modifying a query >Date: Thu, 08 Jun 2006 17:18:32 +0200 > >Hi Rocky > >I would say why delete it when you wish to recreate it? Just adjust the >properties - incl. the SQL property - and you're off. >Or why create it at all? Create a temp query (use a zero length string as >query Name when you create the object), use the querydef object and forget >it when you are done. > >/gustav > > >>> bchacc at san.rr.com 08-06-2006 16:53 >>> >Jim: > >That's going to be a really handy piece of code. > >Would there be a downside, however, to using > >On Error Resume Next >(Delete Object) >On Error GoTo 0 > >I've done that before but it seem s bit like working without a net. > >Rocky > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com