Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 issues
Message
From
07/01/2000 11:29:26
 
 
To
07/01/2000 09:14:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00314435
Message ID:
00314522
Views:
25
Hi Don,

>First, how do I control the valid event within a textbox on a form and the user wants to exit the form instead of satisfying the valid. The valid keeps firing false and preventing the form from closeing.

If you are choosing Cancel to not save, and want all valids to pass so you can revert the values, change your Cancel button's Cancel property to .T., then in your valid, the first line can be:
if lastkey() = 27
    return .t.
endif
>Second, can I use multiple fields with a combobox set as a dropdown list ? I keep getting an field error when I include more then 1 field.

Sure, what is your RecordSource and RecordSourceType? It should be MyTable.Field1,Field2 and Fields.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform