Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eof in table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00029415
Message ID:
00029495
Vues:
30
>>>>I have a table that suddenly began opening in my forms with the record pointer at eof (reccount() + 1). All databound controls come up blank, and vcr buttons disable themselves. I can write code to move the pointer to a valid record, and everything is fine and dandy, but I shouldn't have to do this. What happened, and what can I do to fix this. Please forgive if this is an exremely basic question, but I have never had this problem before.
>>>
>>>The common reason of EOF is unsuccessful seek. Try to make SET NEAR ON and probably your problem will disappear.
>>
>>There are no seeks being issued to the table before the form is painted. I tried SET NEAR ON anyway, no dice. thanks for the suggestion though. Any other ideas? (please?)
>
>Did you try to reindex the table? Also, if no seeks being issued, so I passume you don't care what record you will open and you could just issue GO TOP in DE.Afteropentables event.

Have you added any relations to the tables in the DE? If your table is a Child table and has no record corresponding to the active Parent table you'd be at eof().

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform