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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot access cursoradapter cursor built from from SQL Server data 1

Status
Not open for further replies.

carolx

Programmer
Jul 22, 2003
75
JM
I am experimenting with cursoradapter. If the data source type is native I can access the cursor in the form via the dataenvironment. If I create an identical cursor (using the class builder) with data from SQL server and try to access it in the form via the dataenvironment I get the message: Alias cannot be found.
 
mybe the sql isn't working, or the connection fails. Maybe you have something in the cursoradapters autoopen() method that stops the Cursorfill() from running. Or DE has AutoOpenTables set to .F.

In any case if the Alias is missed, it's a sign, that either CursorFill never ran for some reason, or the connection or the sql fails.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top