Assigning form info from another form.

kjohnson

Registered User.
Local time
Today, 14:25
Joined
Oct 8, 2008
Messages
31
My problem is this, I am working on a database for a post office, and I am working on a button to add a new delivery for a certain box.

I found a way to transfer the box number to the Delivery Form, but I do not know how to save it as a variable in the Delivery Form.

[Below is a Screen Shot of the Form, with Dummy Information]

So, to sum it up....

Box Number Variable from Boxes Form to Box Number Variable from Deliveries.

I am pretty new to this, so any and all help / advice is welcome. :)
And thanks in advance.


Capture.JPG
 
Like the old saying goes....."A picture is worth a thousand words".

In you case your post is missing, oh, about a thousand words :D

.
 
In the Form Code module of the OnCurrent event for the Deliveries SubForm:

myBoxVariable = Forms("BoxesFormName").BoxTextBoxName

.
 

Users who are viewing this thread

Back
Top Bottom