Dear All,
as I couldn't find a working solution for following problem i hope you can help me.
If a new record on form "rechnung" is created, a default value should be set for a lookup field on this form.
The ID which should be set as a default value could be found with following SQL statement:
SELECT firmendaten_id FROM firmendaten WHERE fir_default = 1
I get a result with this statement by testing the query in phpMyAdmin but I couldn't set this ID into the lookup field "rech_firma" on form "rechnung".
Any ideas how to solve this?
Thanks in advance!
BR, Oli