A
Alex Martinez
Hello,
I am trying to join two separate tables together and update the table in my
form; unfortunately I can't seem to update the table, I can join them
without a problem.
Table 1 is called Audit Inventory
PolicyNumber (text - field size 9)
Insured (text - field size 50)
AuditComments (Memo field)
Completed (date field)
Table two is called Invoice
PolicyNumber (text - field size 9)
Complete (date field)
user_id (text field size 7)
MonthEnd (date field)
SQL statement (record source of the form)
SELECT [Audit Inventory].PolicyNumber, [Audit Inventory].Insured, [Audit
Inventory].AuditComments, [Audit Inventory].Completed, Invoice.PolicyNumber,
Invoice.Complete, Invoice.user_id, Invoice.MonthEnd
FROM [Audit Inventory] LEFT JOIN Invoice ON [Audit Inventory].PolicyNumber =
Invoice.PolicyNumber;
In my form I have the following fields [Audit Inventory].PolicyNumber,
[Audit Inventory].Insured, [Audit Inventory].AuditComments, [Audit
Inventory].Completed, Invoice.user_id, Invoice.MonthEnd. The Invoice table
is an Excel file that gets upload in the database everyday. Not a problem
easy to upload. What I want is if the PolicyNumber in the Invoice table
match with the PolicyNumber of the Audit Inventory table I want the user to
able to add notes to the [Audit Inventory].AuditComments field. Also if the
[Audit Inventory].Completed (date) is Null I want the Invoice.Complete
(date) to replace the null. Is this possible? Thank you in advance and
Happy New in advance.
I am trying to join two separate tables together and update the table in my
form; unfortunately I can't seem to update the table, I can join them
without a problem.
Table 1 is called Audit Inventory
PolicyNumber (text - field size 9)
Insured (text - field size 50)
AuditComments (Memo field)
Completed (date field)
Table two is called Invoice
PolicyNumber (text - field size 9)
Complete (date field)
user_id (text field size 7)
MonthEnd (date field)
SQL statement (record source of the form)
SELECT [Audit Inventory].PolicyNumber, [Audit Inventory].Insured, [Audit
Inventory].AuditComments, [Audit Inventory].Completed, Invoice.PolicyNumber,
Invoice.Complete, Invoice.user_id, Invoice.MonthEnd
FROM [Audit Inventory] LEFT JOIN Invoice ON [Audit Inventory].PolicyNumber =
Invoice.PolicyNumber;
In my form I have the following fields [Audit Inventory].PolicyNumber,
[Audit Inventory].Insured, [Audit Inventory].AuditComments, [Audit
Inventory].Completed, Invoice.user_id, Invoice.MonthEnd. The Invoice table
is an Excel file that gets upload in the database everyday. Not a problem
easy to upload. What I want is if the PolicyNumber in the Invoice table
match with the PolicyNumber of the Audit Inventory table I want the user to
able to add notes to the [Audit Inventory].AuditComments field. Also if the
[Audit Inventory].Completed (date) is Null I want the Invoice.Complete
(date) to replace the null. Is this possible? Thank you in advance and
Happy New in advance.