Forum Discussion
Does your application need the cursor to move out of that date field to actually save the value? You might need a tab or a similar action right after the date is entered.
i'm using a data loop to fill up the text boxes, the data was loaded through an excel file.
Only in this field (masked texbox) i'm inserting the data manually, i recorded the tab event when i leave the field, but it did not work field.
Thanks
- Marsha_R9 years agoChampion Level 3
Try a Focus or SetFocus on the date field right before the Tab. This will make sure that the tab is actually moving out of that particular field after you enter the data manually.
You should be able to enter the date from your Excel sheet or some other source. Is there a special reason you are doing it manually?
- rodrigotoffoli9 years agoNew Contributor
when i put the value in the field through an excel file the problem also occurs.
i've tried to use Focus but the problem occurred again.
I have a masked text box and a image button, when i click on the image button(calendar object) it inserts the value on the masked textbox, but i would like to insert this value through an excel file too- Marsha_R9 years agoChampion Level 3
Here's an old post about it:
It says if you're using SetText, try using Keys instead for making the entry.