Hi,
I am trying to have a field in one DB computed for display by a field in another DB. Before the field is computed, the forms need to be compared by the part# of the product to ensure the computed field will have the correct information that pertains to that part#.
The code I am using is as follows:
@If(Master_Op_Codes=“” & (@DbLookup(“”:“NoCache”;“”:“Program Management Database.nsf”;“(cca1)”;cca_1;“cca_1”)=Part_No);@DbLookup(“”:“NoCache”;“”:“Program Management Database.nsf”;“(cca1)”;cca_1;“op_codes_cca_1”);“”)
What I am trying to say is that if the field Master_Op_Codes is blank, and the field cca_1 in the hidden view (cca1) in the Program management database is equal to the field Part_No in the current DB. Then, return the field op_codes_cca_1 located in the program management database to the field Master_Op_Codes in the current database.
I want the Master_Op_Codes field to essentially be computed for display by the op_codes_cca_1 field. The only thing that makes each form in either database unique is the part#. Also, both DB are on the my local server as of now.
Please let me know if you can help.
Thanks,
Eric