As you suggested, I have added the
table to the statement, but this did not give the result expected, the field is unchanged and still empty.
Here is how I have amended the SQL in the Display tab of the Display field in question, but there must still be some error which I don't see...:
Code: Select all
CONCAT (tab_product.pro_short_name,'-#',tab_product_manuf.pma_serial_nr)
FROM
tab_product_manuf
JOIN tab_product ON tab_product.tab_product_id = tab_product_manuf.tab_product_manuf_id
In the
Browse section of the corresponding
form, I have those statements, which yield the expected results:
Code: Select all
CONCAT (pro_short_name,'-#',pma_serial_nr)
,
and in the SQL section this
Code: Select all
SELECT
tab_product.pro_short_name,
tab_product.pro_long_name,
tab_product.pro_order_nr,
tab_product_manuf.pma_serial_nr,
tab_product_manuf.pma_product_id,
tab_product_manuf.pma_jointid,
tab_product_manuf.pma_customer_id,
tab_customer.cus_name_official,
tab_customer.cus_name_internal
FROM
tab_product
JOIN tab_product_manuf ON tab_product_manuf.pma_product_id = tab_product.tab_product_id
JOIN tab_customer ON tab_customer.tab_customer_id = tab_product_manuf.pma_customer_id
Could you see why the expected result
is displayed in the Browse View, and not in the Edit View?
Thanks in advance!
PS: in the ID field of the Object properties, I have written a "fantasy name", which I assume is okay, right?