If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Displaying Information from one Form to Another VBA Code
Hi Everyone,
I am creating a series of pop-up forms that leads from one form to another based on a table of information related to a single item. Each single item (each Bridge Name has it's own primary key, i.e., City No.) has distinctive fields related to specific information such as Geometric Data and Traffic Data. I've already created the two forms for these two specific information items related to the Bridge Name and City_No. In the first form, Geometric Data Form, i've wrote some basic VBA code that finds the record set from the table related to the control as a Afterupdate Event when I created a Combo list, listing the City No. and Bridge Name. That event worked like a charm. ' Find the record that matches the control. Me.RecordsetClone.FindFirst "[City_No] = '" & Me![Combo2] & "'" Me.Bookmark = Me.RecordsetClone.Bookmark. On the same Geometric Data Form, I have a command button that leads to the next form, "Go To Trafic Data" from when I click on the button, it takes me to the new form called Geometric Data.. In that from I have data fields which is related to the same one Table as Geometric Traffic. My problem is I can't seem to find a way to display the information from the Table, or referencing the same single item (Bridge Name and City_No (Primiary Key) from the Geometric Data Form into the fields in the Traffic Data box. Is there any suggestions where I can do this? Any information and suggestions would be greatly appreciated, Thanks, Steve |
Thread Tools | |
Display Modes | |
|
|