TOPIC: How to use keycontrol?
#1634
How to use keycontrol? 9 Months, 1 Week ago
In the Manual about keycontrol, there are an examples:

but, I don't understand, where to place the next scripts

#(Key "tables" field: "table")

Anybody can I help me?, Thanks!!!
 
 
#1635
Re:How to use keycontrol? 9 Months, 1 Week ago
Normally we would put this as the Control in a Field_ definition.

Field_myfield

Field_string
{
Control: (Key "tables" field: "table")
}

You can also put it directly in a screen layout, but then you normally need to specify the field name:

#(Key "tables" field: "table" name: "myfield")

Have you looked at Using IdControl in the Users Manual? It is similar.

Note: If you use a Field_ definition, normally you do NOT want the KeyControl on the "master" table so you need to rename the field in the query.
 
 
andrew
 
#1639
Re:How to use keycontrol? 9 Months, 1 Week ago
OK. Thank you very much!!!