Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View Caused Syntax Error
Message
De
02/01/2004 14:59:04
Shlomo Kupperman
Blumenfeld Development Group
Syosset, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
View Caused Syntax Error
Divers
Thread ID:
00863523
Message ID:
00863523
Vues:
53
Hi All,
I have a simple 1 parameter view which represents all fields from one simple table with one field as a Primary key.
I realized in my app that whenever a user change data on a grid with this view's data source I am getting "Syntax Error".
I tried to browse the view providing the correct key parameter in the IDE and it looks good (the first time), But, the minute I am changing one of the fields in the view and close it, whatever I am doing later to try to browse it or even getting out of VFP (IDE) I am getting "Syntax Error" message and don't know from where.
Here is the SQL statement for the view (the table Primary key is "KeyId").
SELECT *;
FROM jc!jcpocodt;
WHERE Jcpocodt.keyid = ?VHeaderKey;
ORDER BY Jcpocodt.costcode

In the view's Update Criteria tab all the fields are checked (the key is "keyid') and the "Send SQL Updates" "key Fields" and "SQL Update" are checked.

Any Ideas why?
TIA

shlomo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform