Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
First timer's question about using CursorAdapter Builder
Versions des environnements
Network:
Windows 2000 Server
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement