var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How do I do this simple IF statement?
For my button I have already assigned Case statements which perform various tasks, but now I want something to happen before any of that happens.
So I want an IF statement which does this, I'm explaining in english terms, not in coding terms:
IF subform FRMmembers.EnoughCredit = 0 i.e. the box is not checked
Then Display Error "Booking cannot be made. Insufficient Credit"
Else carry on to the case statements
How would that be done?
Maybe something like
If Forms!MainFormName!SubFormControlName.Form!EnoughC redit = False Then
MsgBox "Booking Can Not Be Made"