I feel like such a durr today!
On my main form [Calls] i have the following controls:- text boxes - StartDate, StartTime, CloseDate, CloseTime, Fixtime. Combo box - Status.
I have created 2 subforms - calendars that work fine for StartDate (on got focus property opens form and transfers selection to relevant text box on main form). But what I want is IF the Status is "PENDING" there would be no need to have the second calendar open (as the call is not CLOSED).
I have tried this in a conditional macro - but the macro doesnt do anything. Have also tried VBA for this using an IF, Else statement, but this seems to open the subform regardless of the text box entry........
Grrrr
I am so sure this is so easy I'm almost embarassed to post question, but I am having a huge mental block over this one.
On my main form [Calls] i have the following controls:- text boxes - StartDate, StartTime, CloseDate, CloseTime, Fixtime. Combo box - Status.
I have created 2 subforms - calendars that work fine for StartDate (on got focus property opens form and transfers selection to relevant text box on main form). But what I want is IF the Status is "PENDING" there would be no need to have the second calendar open (as the call is not CLOSED).
I have tried this in a conditional macro - but the macro doesnt do anything. Have also tried VBA for this using an IF, Else statement, but this seems to open the subform regardless of the text box entry........
Grrrr
I am so sure this is so easy I'm almost embarassed to post question, but I am having a huge mental block over this one.