I
iccsi
I would like to do something depends on option button user click in
the case statment like following:
Select Case MyTool
Case 1: if fmeMode = 1 then
Set qdTool = CurrentDb.QueryDefs("SP1 ")
elseif fmeMode = 2 then
Set qdTool = CurrentDb.QueryDefs("SP2")
end if
but I got compiled error.
I just wonder can I have if statment in the case statement?
If not, are there any work around?
Your information is great appreciated,
the case statment like following:
Select Case MyTool
Case 1: if fmeMode = 1 then
Set qdTool = CurrentDb.QueryDefs("SP1 ")
elseif fmeMode = 2 then
Set qdTool = CurrentDb.QueryDefs("SP2")
end if
but I got compiled error.
I just wonder can I have if statment in the case statement?
If not, are there any work around?
Your information is great appreciated,