By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,543 Members | 2,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,543 IT Pros & Developers. It's quick & easy.

Printing a record on a report depending on a record in another table

P: n/a
I basically want to, in my report, print a record out of another table
on my report depending on which one of the records in the table being
viewed matches a second record in the other table,

I have tried

Select [storeslocation].[location] from [storeslocation] where
[storeslocation].[KW] = [KW]

but this does not work, any idea how i can do it?
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
da****@allaboutgames.co.uk (Darryl Neale) wrote in message news:<bb**************************@posting.google. com>...
I basically want to, in my report, print a record out of another table
on my report depending on which one of the records in the table being
viewed matches a second record in the other table,

I have tried

Select [storeslocation].[location] from [storeslocation] where
[storeslocation].[KW] = [KW]

but this does not work, any idea how i can do it?


Try using an inner join on the location.
Nov 13 '05 #2

P: n/a
pi********@hotmail.com (Pieter Linden) wrote in message news:<bf**************************@posting.google. com>...
da****@allaboutgames.co.uk (Darryl Neale) wrote in message news:<bb**************************@posting.google. com>...
I basically want to, in my report, print a record out of another table
on my report depending on which one of the records in the table being
viewed matches a second record in the other table,

I have tried

Select [storeslocation].[location] from [storeslocation] where
[storeslocation].[KW] = [KW]

but this does not work, any idea how i can do it?


Try using an inner join on the location.


I dont understand what you mean by that, I am used to doing all my
databasing with Mysql or ISAMsql on Linux so ive had to adapt alot for
this job.

Could you explain how i do this
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.