Code: Select all
product (product_id, prd_name)
price (price_id,prc_product_id,prc_value)
invoice_item (invoice_item_id, iit_price, iid_description)
But when running the lookup AB-code.
Code: Select all
nuSetFormValue( 'iit_description', noLookupRecord()->prd_name);
I then got the idea that I could create a database view, and create a browse form on that:
Code: Select all
CREATE VIEW prouct_price AS
SELECT * FROM price LEFT JOIN product ON price_id = prc_product_id
I could make this work in nuBuilder 2.
Does anyone know the trick.