Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error from GetNextModified(0)
Message
 
À
18/04/1999 21:14:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209504
Message ID:
00209565
Vues:
17
>>>I have a child table with table buffering 5, and put (!empty(field1) and !empty(field2)) in record validation rule. In the cancel button, I want to check IF GetNextModified(0) <> 0 to see if there is any changes or new record is added. But I found that error is returned from GetNextModified(0) when record validation is failed in the appending record.
>>>
>>>Please help...
>>>Many Thanks!
>>>
>>>Rosanna
>>Rosanna,
>>
>>I reported this behaviro to MS a while ago and was told it is by design as GetnextModified() moves the record pointer.
>
>So, there is no other command to check if incomplete record is added in a buffering 5 table??

Rosanna,

Based on your message you can simply issue a TableRevert() on that buffer in the cancel button.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform