Hello again, I am connecting a VB 6 form to an Access 97 Database using an ADO control.
Whenever I use the Ado properties to build a connection, it tests out fine. I first go to the properties of the text box and use the "data sources" property to select my Ado control. Then I move up to the "Data field" property, where there should be a list of fields in the bound table. When I press the drop down arrow to get the list this error appears.
"Syntax error in FROM clause"
All I can do is hit OK, no field options appear in the list.
It won't let me bind text boxes. I am not writing any sql statements so I am sure this is underlying code. I am not sure why this happens. It is not consistent.
Second question.
Can I setup two ADO controls and attach them to the same field? (each conrol has its own form) Just curious.
Whenever I use the Ado properties to build a connection, it tests out fine. I first go to the properties of the text box and use the "data sources" property to select my Ado control. Then I move up to the "Data field" property, where there should be a list of fields in the bound table. When I press the drop down arrow to get the list this error appears.
"Syntax error in FROM clause"
All I can do is hit OK, no field options appear in the list.
It won't let me bind text boxes. I am not writing any sql statements so I am sure this is underlying code. I am not sure why this happens. It is not consistent.
Second question.
Can I setup two ADO controls and attach them to the same field? (each conrol has its own form) Just curious.