Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETFLDSTATE Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00476533
Message ID:
00477635
Vues:
27
I kind of figured that wouldn't be enough....

well, here's an example:

I have a view that has two newly added records in it, once it hits that SETFLDSTATE() on the first record the view looks like it has hundreds of records with bad data (unreadable characters) in it. At that time, RECNO() returns 0, EOF() returns .F., BOF() returns .F.

>>Paul,
>>
>>I have this update (although I don't remember it). Actually, the problem doesn't occur until the data behavior class (cdatabehavior) tries to save. In it's Save method there is code that checks to see if the cursor is table buffered. If so, it scans through all records, checks to see if the record is being added, and if so uses SETFLDSTATE() on it's primary key to set it to a 4 (new and modified). In my case, when the first SETFLDSTATE() is issued, my cursor (view) becomes corrupted.
>>
>
> Hmm...What happens when it becomes "currupted"? I'm not exactly sure what you mean by that.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform