Information générale
Catégorie:
Groupes d'usagers
>>Robert,
>>I don't think many ppl ran into this problem- as VFP has better ways to handle data than
>>using
>>the SCATTER GATHER scheme
>>thus most people I know use buffering,views etc.
>>
>>Arnon
>>>
>>> I ran into something the other day with VFP5.0. I converted an older
>>> system from FP2.6 to VFP5.0.
>>> Basically several forms did the following. The sequence was as follows:
>>> 1. On form user edits field or fields.
>>> 2. Depresses command button to Save changes.
>>> 3. I issue a GATHER MEMVAR MEMO.
>>> 4. Prompt user if he would like a print of out record.
>>> 5. I select that record.
>>> 6. Issue the Report command.
>>> 7. Report shows data as it was before change was made.
>>> 8. User calls back up the record and data record reflects the changes.
>>> Found problem to be with write buffering. I had to issue the FLUSH
>>> command after the GATHER in order for the record to be updated
>>> immediately.
>>> All worked fine after this change was made.
>>> SET AUTOSAVE was on.
>>> Want to know if anyone has had similiar problem.
>>> Thanks.
>>>
>>> .
>>>
>Arnon,
> I realize that there are other methods, but the system was a direct conversion from Fox Dos 2.6, to be rewritten at a later date.
I am having similar situations, i.e.:
a- data not immediately refreshed,
b- garbage data displayed in grid (control codes, nul, etc.)
c-indexes/cdx trashed
Haven't solved any of them yet.
Dave.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement