A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Displaying Information from one Form to Another VBA Code



 
 
Thread Tools Display Modes
  #1  
Old April 12th, 2010, 04:53 PM posted to microsoft.public.access.forms
Steve_BridgeGuy
external usenet poster
 
Posts: 1
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.