Default Value Coming from Another Value

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?
 
J

Jason

I use TextBoxA_afterupdate
if nz(TextBoxB,"") = "" and nz(TextBoxA,"") <> "" then TextBoxA = TextBoxA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top