D
David Ewer
I have a simple database which consists of a number of tables which in fact
are links to external .DBF files; several queries which I have used bring
together the tables into three logical groups; and three forms (one for each
query).
One of the forms is a "Customer Record" form which includes contact details,
sales total and targets, etc.
One of the imported tables is a list of sales invoices and I would like to
link the sales invoices to the customer record; perhaps as a subform.
The problem I have is that there is no field in the sales invoice table that
exactly matches a field in the customer record table. In the customer record
table the customer number is represented by a 5 digit alphanuemeric code (for
example A0050) whilst the transaction number in the sales invoice table is
made from a combination of customer account number and invoice number (for
example A0050 001234).
Is it possible to link the two tables by comparing the customer account
number to the first part of the transaction number; so if a transaction
number starts A0050 then link that to customer A0050?
Thanks
David
are links to external .DBF files; several queries which I have used bring
together the tables into three logical groups; and three forms (one for each
query).
One of the forms is a "Customer Record" form which includes contact details,
sales total and targets, etc.
One of the imported tables is a list of sales invoices and I would like to
link the sales invoices to the customer record; perhaps as a subform.
The problem I have is that there is no field in the sales invoice table that
exactly matches a field in the customer record table. In the customer record
table the customer number is represented by a 5 digit alphanuemeric code (for
example A0050) whilst the transaction number in the sales invoice table is
made from a combination of customer account number and invoice number (for
example A0050 001234).
Is it possible to link the two tables by comparing the customer account
number to the first part of the transaction number; so if a transaction
number starts A0050 then link that to customer A0050?
Thanks
David