Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP ODBC Issues with triggers
Message
De
23/02/2011 08:34:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
VFP ODBC Issues with triggers
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01501434
Message ID:
01501434
Vues:
116
Hey folks,

I need some advice from someone with experience accessing VFP data using the VFP ODBC driver (the one from the VFP6 days). In a certain situation, I needed to access some tables using the ODBC driver with REMOTE VIEWS. Everything works fine, no corrupted data, no problems at all, except that now I want to add some trigger rules to the original table.

I created a custom function, and when I call the TABLEUPDATE() function to the Remote View (RV), I always get a "Trigger failed" error from the ODBC driver. I know the ODBC driver has limited commands available, so just for a test, I changed the contents of my "triggerFunction", and now all it has is a "RETURN" command inside, and to my surprise, I still get the "Trigger failed" error.

Notice that the related table does not use any of the new features from VFP9 tables, such as AutoInc, Blob, special Indexes, etc.
Accessing the native data directly, without the RV and ODBC driver, it works perfectly as desired.

Does someone have any hint to make it work?
Thanks in advance for any ideas.

Regards,

Cesar
Répondre
Fil
Voir

Click here to load this message in the networking platform