Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't edit a text box when file is at EOF().
Message
 
To
14/07/1998 11:24:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00117164
Message ID:
00117247
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform