Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle error 1585 (RECORD CONFLICT)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00473966
Message ID:
00473987
Vues:
21
Why not use the grid control for data editing? When you use '-1' as a columns count in grid, it shows exactly all columns as browse window. You have, however, to make your own routine to store grid layout and restore it again, while browse window does this automatically in most cases. Anyway, grid have a significant pay-off - better control.

>We have an
>
>on error do onerror with error(), message(), lineno(), ....
>
>We have a form with optimistic row buffering.
>
>We sumilate a conflict in two ways:
>
>1. We click on the Next button (skip) to advance to the next record
>2. We use the arrow key or mouse to go to the next record.
>
>The error handler runs fine in the first case, but in the second case the default FoxPro error show up (with the error, OK, Revert, Help options)
>
>How can we be sure that the error handler runs in either case or in a browse mode also ?
>
>Any suggestions ??
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform