Help with expression

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a text box that fills in based on what info you click on in a List
Box. The thing is I don't want it to fill in unless the field next to it has
data entered.

List box is "List136
Field that gets List Box data is "Text52"
Field next to it is "Text46"

In the Text52 source box I entered =list136 if text46 is not null

Of course that didn't work but should look something like that.

Thanks - George
 
That was perfect - but I was just getting ready to enter that - yeah right.

Thanks - George


Ken Snell said:
Try this:

=IIf(Len([text46] & "")=0, Null, [list136])


--

Ken Snell
<MS ACCESS MVP>

George said:
I have a text box that fills in based on what info you click on in a List
Box. The thing is I don't want it to fill in unless the field next to it
has
data entered.

List box is "List136
Field that gets List Box data is "Text52"
Field next to it is "Text46"

In the Text52 source box I entered =list136 if text46 is not null

Of course that didn't work but should look something like that.

Thanks - George
 

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

Similar Threads

DLOOKUP - Multiple criteria 4
Need Help With Expression 7
If then Statement 7
color coding values 1
use of subform values 3
Checkbox Value 2
Passing arguments into a code based query 1
Sums 4

Back
Top