Default Value Coming from Another Value

  • Thread starter Thread starter Public
  • Start date Start date
P

Public

Hi,
I want to set the default value for one of the text boxes (say TextBoxA) to
another textbox (say TextBoxB) in the same form. So, if there is a value for
TextBoxB in the underlying table, it will show up. Otherwise, TextBoxA value
will show in TextBoxB as well.

Any ideas?
 
I use TextBoxA_afterupdate
if nz(TextBoxB,"") = "" and nz(TextBoxA,"") <> "" then TextBoxA = TextBoxA
 
Back
Top