Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating data in grid entry
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00678737
Message ID:
00678755
Views:
17
This message has been marked as the solution to the initial question of the thread.
>...how to code the valid method so it won't allow them to leave the grid line.
Hi Douglas;

Each textbox control in its respective columns, should have something as:
procedure column1.text1.valid
return thisform.myvalid
endproc

procedure columnN.text1.valid
return thisform.myvalid
endproc

procedure thisform.myvalid
if  <cond1> && your cond. here
else
    return .f.
endif
return .t.
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform