Hello,
I have a form with a listbox
control that’s taking records from another table, using an SQL expression. So i can choose a record from another table that is connected with a primary key to the form’s own table.
It’s working ok when adding a new record, but how can i achieve that when i reading back the previously added record, the listbox
has the referenced record from the other table as a listbox
active item.
So the listbox
should behave differently when adding a new item, and when i list a previously added record.
The SQL query for the listpanel:
SELECT "LocationID" || ' - ' || "Name" || ' - ' || "City" || ' - ' || "Country" || ' - ' || "Address", "Description" FROM "tbl_location"