Me vs ADO Data Control.

C

ChrisM

I'm re-posting this message in the hope that someone might be able to help
me this time.

Hi,


I have created a new VB6 app, and placed a ADODC control on the form.
I have setup the connection string of the form to my database, (The test
connection button confirms the connection is OK)
In the RecordSource Tab of the properties, I have chosen a COmmandType of
'adCmdTable' and selected a Table that contains some records in the 'Table
or Stored Procedure' dropdown.

I have then added a textbox to the form, and given it a DataSource of my
ADODC control, and selected a DataField as one of the fields in my table.

When I run the app though, There is nothing in the textbox, and my ADODC
control appears to be greyed out (It IS enabled).

Do I need to do anything in the FormLoad event to initialise tha Data
Control? The tutorials I have read don't seem to mention anything...

Any ideas what I've done wrong??

Thanks,

ChrisM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top