G
Guest
I have 2 databases that are very similiar and I swap a specific form between
them frequently, the forms do different things based on the database they are
in.
Is there anyway I can find out the name of the database that the form is
coming from and then use an ifthenelse statement to run code
ie:
if database name = "one" then
domcd.quit
else
docmd.openform "form1"
end if
Thanks in advance
them frequently, the forms do different things based on the database they are
in.
Is there anyway I can find out the name of the database that the form is
coming from and then use an ifthenelse statement to run code
ie:
if database name = "one" then
domcd.quit
else
docmd.openform "form1"
end if
Thanks in advance