General information
Category:
Forms & Form designer
Hi Mike
You don't mention if you are accessing the data through a form or not.
If you are then you can do the following.
Set keypreview to .t.
Write code for the keypress event that traps for a function key.
this code should store the current value of the control to a variable and then move you onto the next field in your tab sequence.At this point it writes to the field.
Another way that gives more flexibilty would be to use 2 function keys.
And write code that provides similar functinality to Cut and Paste (which you could also use) but would be less cumbersome for large amounts of data.
first key writes contents to variable.
second key writes variable to the current field.
Hope this helps
>I have a database that has a lot of repetitive data in fields, though nothing that could be set as a default. I am thinking about adding some features to enhance data entry. Is there anyway to have a keystroke that repeats the value from the last record's field value?
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