Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Qurey Delete/Create

Status
Not open for further replies.

greymonkey

Technical User
Jul 20, 2003
29
AU
Hi there,

i have some code:

dbs.querydefs.Delete "QryAddRegChild"
Set qdf = dbs.createquerydef("QryAddRegChild", SQLstring)

To delete the query and then create it again using a modified sql string. (SQLstring)

the trouble i am having is when the query doesn’t exist when it tries to delete it.

Dose any one know of some code to check to see if the query exist.


Also I need to get some data out of a query to form some criteria for running another query. if you know some code for that it would help out a lot.

Cheers,
GreyMonkey
:>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top