Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First timer's question about using CursorAdapter Builder
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
First timer's question about using CursorAdapter Builder
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026772
Message ID:
01026772
Views:
66
I'm trying out CursorAdapters for the first time. Downloaded your VFP9 builder and created CA's for a DBC. I then set up a simple test project.

The CA's reference VFP native data.
- I set CLASSLIB to the _ca_*** class at application startup
- I used the DE builder to add an instance of the _ca in a form's DE.
used the CURSOR tab only, since the datasource and source type is
set in _cabase
- I renamed the CA "NAME" and "ALIAS" in the DataEnvironment builder
- I made sure the DBC was open and SET DATABASE TO **** in
the BeforeOpenTables method of the form
- I put a <_ca_name>.Cursorfill() in the INIT method of the form

The form's INIT code does not see the CA. I get back the message:
"OBJECT NOT FOUND".

When I reference the _ca in code, it works fine. I'm only having
trouble when I drop it on the form.

I'm sure that I'm missing something obvious. Any suggestions? I
am doing a little app where I'd really like to use CA's.
Next
Reply
Map
View

Click here to load this message in the networking platform