SQL/VB help please

Associate
Joined
15 Jan 2011
Posts
1,838
Location
Midlands!
What have I done wrong with this SQL/VB? IT doesnt seem to work but can't pinpoint the error.

Been staring at it for 2 hours with no luck.



2vcvosi.jpg
 
What is nsSQLOps.clsMSAccess?
Are you sure the file location for you Access database is correct?
Did you populate your Access database?
 
Why does it not work? What errorsdo you get?

It just doesn't populate the list box and im not sure why. Its supposed to populate the list box with the certain data depending on what is selected in a list box.

What is nsSQLOps.clsMSAccess? Its a class linking the database to my code.
Are you sure the file location for you Access database is correct? Yes
Did you populate your Access database? Yep test data has been put in.
 
Have you tried putting a break point on ddlEventList.DataBind() and then checking if ddlEventList.DataSource is actually populated. If it isn't populated then I'd say the problem is with nsSQLOps.clsMSAccess.

Tried connecting to the Access database via OLEDB instead?
 
Have you tried putting a break point on ddlEventList.DataBind() and then checking if ddlEventList.DataSource is actually populated. If it isn't populated then I'd say the problem is with nsSQLOps.clsMSAccess.

Tried connecting to the Access database via OLEDB instead?

Not tried that but ill give it a go! Thanks
 
Back
Top Bottom