>>>So in the "SAVE/OK" button, I shuold put validation in under the ~code~ option and add my own manual code?
>>
>>I would say it is in the Click() event of the command button. However, that Click() event might call a method in your form if you want.
>>
>>I'm leaving for Toronto now. Good luck, I'll check back tonight.
>
>Thanks for your help-- I am still progressing thru this exercise.
>I issue appen blank have the user fillin his name and he clicks on 'OK' but I am confused about using the =CURSORSETPROP("Buffering", 2)
>= TABLEUPDATE(.T.) and can't get that to work. I want to force the user to enter his name before the app proceeds.
see, when the buffering is started, =tableupdate(.t.) will update whatever changes you have done to table and =tablerev(.t.) will discard the changes. If you will issue neither of two and still made changes then when you close the file it will give you error.
So what you can do is ask the name, (may be you don't want duplicate names enetered or whatever, check the validity) and in Ok/save button issue =tableupdate(.t.) and in cancel button (=tablerev(.t.))
hope this helps
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only