Good day all!
I have the following situation. I have 2 text boxes with bound data to a query, and 1 textbox that is bound to nothing.
If there is no data in the "Date Sold:" box, then I would like "Text3:" to take on the characteristics of "Date Cust Moved:", that is, I need "Text3:" to say "Date Cust Moved:"
and contain the "Date Cust Moved" data.
This also needs to happen vise versa. If there is no data in the "Date Cust Moved:" box, then "Text3:" needs to take on the characteristics of "Date Sold:" and also contain the "Date Sold" data.
To make it easier, here is some basic pseudocode to help:
If Date Sold is null then
Text3.caption = "Date Sold:"
Text3.text = "Date Sold"
Else
Text3.caption = "Date Cust Moved:"
Text3.text = "Date Cust Moved"
I tried to write some VBA code like the pseudocode above, but I don't have the option of .text or .caption for the text boxes.
I hope this makes sense!
----------------------------------------
Buddha. Dharma. Sangha.
I have the following situation. I have 2 text boxes with bound data to a query, and 1 textbox that is bound to nothing.

If there is no data in the "Date Sold:" box, then I would like "Text3:" to take on the characteristics of "Date Cust Moved:", that is, I need "Text3:" to say "Date Cust Moved:"
and contain the "Date Cust Moved" data.
This also needs to happen vise versa. If there is no data in the "Date Cust Moved:" box, then "Text3:" needs to take on the characteristics of "Date Sold:" and also contain the "Date Sold" data.
To make it easier, here is some basic pseudocode to help:
If Date Sold is null then
Text3.caption = "Date Sold:"
Text3.text = "Date Sold"
Else
Text3.caption = "Date Cust Moved:"
Text3.text = "Date Cust Moved"
I tried to write some VBA code like the pseudocode above, but I don't have the option of .text or .caption for the text boxes.
I hope this makes sense!
----------------------------------------
Buddha. Dharma. Sangha.