UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> Data From Other Table In Report And Looking To Another Table, Office 2010    
 
   
pwolff
post Apr 11 2012, 01:13 PM
Post #1

New Member
Posts: 10



If i have 2 tables

Table_Projects and Table_Orders

Table_Projects got fields:
Project
Number
Status

Table_Orders got fields:
Project
Order_Number

Now i have a report and all my data from Table_Orders are showed in my Report.
But i want also Data from Table_Projects in my Report, based on:

If Table_Orders.Project = Table_Projects.Project then

Table_Project.Status must be showed on the report in a Field.


So if i change my status in Table_Projects it will change also on my Report.

Can i do this with VBA when my report is starting or just add a new field in my report and add codes to it.
Go to the top of the page
 
+
 
Start new topic
Replies (1 - 1)
theDBguy
post Apr 11 2012, 01:19 PM
Post #2

Access Wiki and Forums Moderator
Posts: 48,599
From: SoCal, USA



Hi,

(IMG:style_emoticons/default/welcome2UA.gif)

I think you should be able to adjust the query that your report is based on to include the other table and the required field from it. Then, just add that additional field from the query into your report.

Just my 2 cents... (IMG:style_emoticons/default/2cents.gif)
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 19th June 2013 - 05:17 AM