Solved Default Value

Safari

Member
Local time
Today, 07:25
Joined
Jun 14, 2021
Messages
95
HI ALL

I HAVE A COMMAND I WANT WHEN I CLICK IT MAKE TEXT VALUE CONTAINS AS DEFAULT AND NOT TO CHANGE WHEN I CLOSE AND OPEN FORM AGAIN

THANKS
 
You will need to store the default value in a table.
 
is the Textbox a String?

on click event of your button, add this code:

private sub button1_click()
me!txtBoxName.DefaultValue = "'" & me!txtBoxName & "'"
end sub
 
is the Textbox a String?

on click event of your button, add this code:

private sub button1_click()
me!txtBoxName.DefaultValue = "'" & me!txtBoxName & "'"
end sub
many thanks .. 🌹🌹🌹🌹
 

Users who are viewing this thread

Back
Top Bottom