|
-
February 17th, 2000, 07:43 PM
#1
Problems using ADO control
I'm using the MS ADO control for database operations from VB6 to SQL Server.
I want to set the CommandType property of the ADO control to adCmdText at the form load event.
Now based on the different button clicks, I want to query the database varying the filter conditions and bring the values to the recordset so that I can scroll thru the ADO control.Whenever I try to change the filter
conditions using the filter property of the ADO control. It always shows recordcount = 0.I check for BOF & EOF which is always true because no records are selected at the form load time because of the filter conditions.
allthough records are there in the database.What could be the problem.
Any alternate solutions,( but i want to Keep ADO control only)
Thanks in advance.
-
March 3rd, 2000, 04:03 PM
#2
Re: Problems using ADO control
I think i read something saying this
With an ADODC you got to have a binded control ON the form.
Exemple you have to have text1.datatfiled= MyField
Or, at least one control got to be binded
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|