Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't edit a text box when file is at EOF().
Message
 
À
14/07/1998 11:24:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117164
Message ID:
00117247
Vues:
21
>I don't know where my head is today. Substitute the aforementioned code with:
>
>
>*** Form.Init
>SELECT table
>IF EOF('table') AND RECCOUNT('table')=0
> INSERT INTO table (field,field2) VALUES (value,value2)
> THIS.Refresh()
>ENDIF
>
>
>Sorry for the omission.

Thanks to all who replied.

John,
Thanks for the help. I did away with the bound field and am using a lookup function in the form refresh and updating the value. If the lookup table is at eof() then I set the value to spaces and if the user saves it I write the value back to the table.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform