W
WembleyBear
Hi
I have a database with two tables, the first [called QUERIES] of which
contains details of invoices under query in our Sales Ledger. The data for
most of this table is not user-entered but is imported from our Unix accounts
package. One of the columns in this table has the imported value for the Cost
Centre ID related to that query. The second table [called COST CENTRES] just
contains the Cost Centre ID and the Cost Centre Name.
I have one form which displays the details from the first table. Where it
displays the Cost Centre ID, I would like to have a label next to it showing
the Cost Centre Name, looked up from the second table. My question is how to
do this - if the user were entering the data in that field, I would have used
a combo box with a look-up to the second table, and then use =[COST
CENTRES].Column(1) to display the cost centre name on the form. But this
information is already in the table, and all I get when I do this is #Name?
Any help would be appreciated - newbie language please.
Thank you
Martyn
Access 2000
Windows XP
I have a database with two tables, the first [called QUERIES] of which
contains details of invoices under query in our Sales Ledger. The data for
most of this table is not user-entered but is imported from our Unix accounts
package. One of the columns in this table has the imported value for the Cost
Centre ID related to that query. The second table [called COST CENTRES] just
contains the Cost Centre ID and the Cost Centre Name.
I have one form which displays the details from the first table. Where it
displays the Cost Centre ID, I would like to have a label next to it showing
the Cost Centre Name, looked up from the second table. My question is how to
do this - if the user were entering the data in that field, I would have used
a combo box with a look-up to the second table, and then use =[COST
CENTRES].Column(1) to display the cost centre name on the form. But this
information is already in the table, and all I get when I do this is #Name?
Any help would be appreciated - newbie language please.
Thank you
Martyn
Access 2000
Windows XP