Before posting the question, we did check reference manual, but there is no exact example for doing that.
As for example:
We have a tables "customer" and "customer_order"
table "customer" has two fields:
Id_customer PK, Name
table "customer_order" has three fields:
Id_order PK, Id_customer, Quantity.
There exist a foreign key customer_order->customer on field Id_customer.
On the form which we are using for adding a new record to the table (OR changing existing record) "customer order" we want to type Id_customer which should be checked on the fly against table "customer" (if exist such a record).
If record doesn't exist, nothing should be shown in below Name field.
If the record exist there should be a text field below entering field which displays on the fly corresponding Name from the "customer" table.
**When you open Id_order object on gui with corresponding prefetch values from "customer" table, it works untill you change the value Id_customer and prefetch is not able to dynamicaly provide corresponding Name from table "customer".
So, the problem lies in opening object Id_order (llblgen object) and changing/checking/editing corresponding objects from "customer" table values on the fly (on GUI) without commiting anything to the database. **
Of course, we know how to do it using GUI controls and C#, but we want to use llblgen events and objects.
Can you, PLEASE, provide a simple example how to do that?
Best regards,
Andrej