HI
I have an unbound Field with a phone number input mask
I need to check and see if the field is empty so I can set the cusor postion to the begining. if the field has any thing in it then I don't want to set the cursor postion
I have tried various adaptations of the following code with no luck
I'm using the onclick event at this time
if trim(me.phonelookup & "") = "" then
me.phonelookup.selstart =1
endif
if I remove the input mask it works fine
any Ideas?
I have an unbound Field with a phone number input mask
I need to check and see if the field is empty so I can set the cusor postion to the begining. if the field has any thing in it then I don't want to set the cursor postion
I have tried various adaptations of the following code with no luck
I'm using the onclick event at this time
if trim(me.phonelookup & "") = "" then
me.phonelookup.selstart =1
endif
if I remove the input mask it works fine
any Ideas?