Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null Value error while updating table
Message
De
12/10/2012 20:44:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01554883
Message ID:
01554931
Vues:
38
>>>>>Is it a typo? You put ID.grno instead of ID1.grno
>>>>>
>>>>>Also check if you have rules or triggers in PS1 table.
>>>>>
>>>>Thanks, it was typo when I simplified the UPDATE statement. NO rules or triggers in the tables.
>>>
>>>The statement looks OK to me - are you sure you're updating the table you are thinking you're updating? Could it be another table included into exe or somewhere else in the path?
>>>
>>>You may also try using replace command instead.
>>
>>I updated the right table, because when I ignored the error message, the data is there.
>>Yes, I can use the replace command.
>>Thanks
>
>It could have also been a bug in VFP, but even if it is, there is no chances it will be corrected.

So it looks like I need to change the code and use REPLACE.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform