Topic: ONLY ComboBox can have its ForeignKey

The Properties of TexBox and ComboBox is different, why ONLY ComboBox can have a ForeignKey
I want to make TextBox link with ForeignKey and its FieldName, It's possible?

2 (edited by derek 2021-01-26 11:28:38)

Re: ONLY ComboBox can have its ForeignKey

Yes, it's possible.
However, to use an edit field, you must know the key to the related record (which is unlikely) or you could enter a descriptor of the related record but this would then need to be converted into the key of the related record using a script (always assuming that your descriptor has been entered properly (correct spelling, correct case, extra coding to check for input errors etc)).
The bigger question is WHY you would want to use an edit field rather than a combobox?  It's more work for the programmer, less easy for the user and resource inefficient;  to all intents and purposes, it's impractical.
Derek.