Subject | keydesclinks |
---|---|
Author | delphmic |
Post date | 2003-05-30T14:51:08Z |
Hello,
I have 2 queries :
DETAILS with the fields "AR_Ref", "Name", "Quantity", "Price"
ARTICLES with the fields "AR_Ref", "Name", "Price"
ARTICLES is linked by keysource to DETAILS with keylinks
("AR_Ref"="AR_Ref")
a TIB_GRID with datasource set to DETAILS, and inside the grid there
is a tib_lookupcombo with datasource set to ARTICLES and displayfield
set to "AR_Ref".
in the keydesclinks of ARTICLES i have:
"Name"="Name"
"Price"="Price"
so when i select a row in the combo, it updates the "Name"
and "Price" columns of the grid.
My problem is I want to set "Quantity" to 0 at the same time.
Where to do this ? Is it possible to use constant in keydesclinks ?
thanks for help
I have 2 queries :
DETAILS with the fields "AR_Ref", "Name", "Quantity", "Price"
ARTICLES with the fields "AR_Ref", "Name", "Price"
ARTICLES is linked by keysource to DETAILS with keylinks
("AR_Ref"="AR_Ref")
a TIB_GRID with datasource set to DETAILS, and inside the grid there
is a tib_lookupcombo with datasource set to ARTICLES and displayfield
set to "AR_Ref".
in the keydesclinks of ARTICLES i have:
"Name"="Name"
"Price"="Price"
so when i select a row in the combo, it updates the "Name"
and "Price" columns of the grid.
My problem is I want to set "Quantity" to 0 at the same time.
Where to do this ? Is it possible to use constant in keydesclinks ?
thanks for help