Newsgroups: microsoft.public.inetserver.asp.db
From: "Bob Barrows" <reb01...@NOyahoo.SPAMcom>
Date: Mon, 5 Jan 2004 19:52:24 -0500
Local: Mon, Jan 5 2004 7:52 pm
Subject: Re: Having problems with a date field
Terry Murray wrote: Sure. Open your database in Access, go to the Queries tab and create a new > Thank you Bob. Making the change worked. I am curious about the > saved parameter query. Can you explain what it is and how it works. query in Design View. Ordinarily, at this point, you would select your tables/queries from the dialog and begin creating your query. But in this case, let's use your existing sql statement. Close the Choose Tables dialog and switch to SQL View (using the toolbar button, or the right-click menu, or the View menu) Copy and paste this sql into the SQL window: SELECT count(tournId) as duplicates Run it to make sure it works. Notice that Access prompts you for the So now you've achieved the first goal of proper query design: build and Save the query as qGetDupCount. To run this query in vbscript is the height of simplicity (cn is an open You now have an open recordset containing the results returned from the cn.qNoRecords parm1, ..., parmN HTH, -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||