andrimitum
Programmer
Hi all,
I am sure this is simple but it has wasted most of my day.
I have one button on my main form that depending on the results in two seperate fields on my main form will open one of three optional forms when clicked.
My three forms I want to optionally call and the criteria are:
CheckListEO when field ApprovalType = "eo"
CheckListLSTC when field ApprovalType<> "eo" and field Customer = "Prangers"
CheckListOther When ApprovalType<> "eo" and Customer <> "Prangers"
This is not my code, I am lost writing it and have tried everything I can think of so here is what I am trying to achive.
eg.
If ApprovalType = "eo" then [Forms]![CheckListEO] else, (If Customer = "Prangers" then [Forms]![CheckListLSTC] else [Forms]![CheckListOther])
Any help would be appreciated and BTW I am not a programer, I have no idea how I got that designation attached to my profile and can't seem to change it.
Andri
I am sure this is simple but it has wasted most of my day.
I have one button on my main form that depending on the results in two seperate fields on my main form will open one of three optional forms when clicked.
My three forms I want to optionally call and the criteria are:
CheckListEO when field ApprovalType = "eo"
CheckListLSTC when field ApprovalType<> "eo" and field Customer = "Prangers"
CheckListOther When ApprovalType<> "eo" and Customer <> "Prangers"
This is not my code, I am lost writing it and have tried everything I can think of so here is what I am trying to achive.
eg.
If ApprovalType = "eo" then [Forms]![CheckListEO] else, (If Customer = "Prangers" then [Forms]![CheckListLSTC] else [Forms]![CheckListOther])
Any help would be appreciated and BTW I am not a programer, I have no idea how I got that designation attached to my profile and can't seem to change it.
Andri