Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form OK in development, 'Record is out of range' at run
Message
De
12/05/1998 21:31:52
 
 
À
08/05/1998 17:14:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00098221
Message ID:
00098925
Vues:
33
>This form works ok in development, at runtime it displays 'record is out of range' error. The error generates after clicking a command button. The fun part is that it says 'In .CMDRUN.CLICK at line 0'. The form does not have any tables loaded.
>
>TIA

Most case is the record pointer has jumped to EOF but you still need to show record content. This will cause problem especially at GRID. For other controls, such as textbox, it will be disabled.

In my case, similiar when I put a command button which allow Undo Add New
record! That is, Tablerevert() on Grid adding new Orderline.

Quite problem even using refresh, the grid still show No record(s).
THis happen especially at last record and add new then Undo!
Finally, I make some tricky refresh and locate record and fix it.
But I don't think it is a good practice. >~<"
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform