Print Thread
Filling TDBLookupComboBox with QBE
#6216 03/22/04 02:42 PM
Joined: Mar 2004
Posts: 1
A
AGIS Offline OP
Member
OP Offline
Member
A
Joined: Mar 2004
Posts: 1
The QBE-Mode works fine with normal fields.
If i use a TDBLookupComboBox, i got the problem, that QBE don't show me the right entry (after the first search) in the Combo-Box.
The Combo-Box is always empty, but the DataSet & Datagrid have the correct value.

So i work:
1) 1st Search (with ComboBox set to "Yes") -> ok
2) open QBE-Mode (ComboBox shuld show "Yes" but none ist selected). In the DB-Grid i see, that QBE would search with '6', my Code for "Yes"

Does DOA not support TDBLookupComboBox with QBE ?

Re: Filling TDBLookupComboBox with QBE
#6217 03/23/04 10:15 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
If AllowOperators = True, then the combobox will not display the lookup value in QBE mode. This restriction is caused by the fact that the QBE value does not need to match the actual data type of the unerlying field. You could for example enter "> 7" in QBE mode, which no longer corresponds to a single key value.

You can still propulate the key value through the lookup control though.

If AllowOperators = False, these restrictions do not apply.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.030s Queries: 14 (0.008s) Memory: 2.4968 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-03 18:16:01 UTC
Valid HTML 5 and Valid CSS