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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable Type - ADP

Status
Not open for further replies.

cschan80

MIS
Feb 19, 2003
4
US
I am currently using SQL Server with an ADP frontend, and am trying to get a form to return values to a parameter query.

There is some code already in place, and it looks solid. There were just some wrong variable definitions when dimensioning them. I have pasted the problem variable definitions below:

Dim qryCriteriaDef As QueryDef
Dim qdfNew As QueryDef
Dim dbsScholarship As Database
Set dbsScholarship = CurrentDb

These do not work properly...are not defined as user-defined types.

Was just wondering if anyone had any ideas what might be the right variable type for use with ADP, or if these types need to be defined.

Any help will be appreciated, thanks.

-chris
 
Hi Chris,

This is because acces project and SQL server support ADO not DAO.
if you need examples of ADO give me all your code
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top