Hi. I have 2 questions, I was going to put them in the same thread but thought it more useful to separate them.
Firstly... is there an easy way of checking which form 'referred' a user to the current one.
This is my problem, form A and form B can both cause form C to open.
When I leave form C I need to clear certain boxes on A or B, but different ones. So what I really need is an if statement like;
if lastform = A then
forms!A!box1 = Null
elseif lastform = B then
forms!B!box2 = Null
end if
docmd.close ...
can anyone help me!!
Thanks a lot,
Jordan
Firstly... is there an easy way of checking which form 'referred' a user to the current one.
This is my problem, form A and form B can both cause form C to open.
When I leave form C I need to clear certain boxes on A or B, but different ones. So what I really need is an if statement like;
if lastform = A then
forms!A!box1 = Null
elseif lastform = B then
forms!B!box2 = Null
end if
docmd.close ...
can anyone help me!!
Thanks a lot,
Jordan