Hank and everyone,
I probably don't understand something.
If you specify lLookupDescription property to be .T., then the textbox correctly shows the description, but how now can I get the ID? The textbox.value is the description.
I thought it was the only problem with the unbound textbox. But a minute ago I created bound textbox (drag the textbox from the table into the form, then choose builder). Then I specify cLookup properties for the textbox.
The form shows information OK, but the value of the textbox becomes the description now.
I can use a workaround trick, I guess, but is it supposed to behave this way? Should I read the value from the cursor's field instead?
Thanks.
If it's not broken, fix it until it is.
My Blog