military donut
asked on
use data from one form to use in another
Hello,
Is there a way to save an unbound form data, close that form, open the new form and put that data into the proper fields.
It contains two fields currently
Don't know even where to start. Dont want to hide the form but load it in memory? Or save it via VBA and put it in the form that way?
Is there a way to save an unbound form data, close that form, open the new form and put that data into the proper fields.
It contains two fields currently
Don't know even where to start. Dont want to hide the form but load it in memory? Or save it via VBA and put it in the form that way?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can close form A after the command to open form B
docmd.openform "B",openargs:=me.field1 & "|" & me.field2
docmd.close acform, "A"
docmd.openform "B",openargs:=me.field1 & "|" & me.field2
docmd.close acform, "A"
ASKER
I don't want to be a bother, but can you tell me how this works? Never used this before and don't know now the "|" works or the usage of it?
ASKER
This is awesome! thanks so much!
"|" is just a separator for the two fields. it can be ":", ";" etc..
ASKER