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!

Loosing Controls After Upsizing from mdb to Adp

Status
Not open for further replies.

paulgenga

Programmer
Jan 8, 2004
61
KE
After upsizing my mdb to adp, The search FindFirst is sending an error message...
"Object doesnt support this property". The instruction example is as follows...

Dim rs As Object
rs.FindFirst "[ID]="&Str(Me![List0])
Me.bookmark = rs.bookmark
 
DAO is discarded in Access Project.
You have to change DAO code to ADO instead.

Dim rs As Object
rs.Find "[ID]="&Str(Me![List0])

 
Thanks Tim.
I have just seen it, Be blessed
I am also unable to include form controls on my View/Query Criterias such as Forms!MyForm!MyCotrol is there a way to get round this in ADP

Regards
Paul
 
PGENGA04, I also recently upsized my mdb to an adp. Since the queries that you are viewing in the adp are actually sql objects, using Forms!MyForm!MyCotrol will not work since sql does not recognize this format. You will instead have to declare a variable to recieve the value of MyControl, and then have your front end pass this value whenever it calls your "query".
Also, I am finding that I like editing my "queries" through SQL Query Analyser much more than through the adp file. You may want to study how it works, along with the Enterprise Manager as they are both turning out to be extremely handy.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top