Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with data entry in my form
Message
From
08/06/2004 21:23:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with data entry in my form
Miscellaneous
Thread ID:
00911493
Message ID:
00911493
Views:
46
i have 4 textboxes in my form whose controlsource are leave.empno, leave.type, leave.frdate and leave.todate.

i also have an ADD button with append blank. i have a separate SAVE button which does the =tableupdate(.t.)

leave.type is 1 character so when i enter say "X" cursor moves on leave.frdate.

if say for example i have entered "X" when i should have entered "Y", i use the up arrow key to move cursor to leave.type.

cursor moves but my problem is when i do this, value of leave.type changes to the first record of the table leave. if i press up arrow key again, leave.empno changes to the first record of the table leave again.

how can i avoid this? should i just trap the up arrow key? but i want my users to be able to move in the textboxes while in the append mode using the arrow keys.

pls advise. TIA.
Next
Reply
Map
View

Click here to load this message in the networking platform