Subject | IB_Query doesn't select the first record. |
---|---|
Author | mmusetti70 |
Post date | 2008-09-02T12:19:02Z |
Hi !
First, I'm working with Delphi 2007.
I have a TIB_Query control that displays the contents of table ANIMAL
in a TIB_LookUpCombo (cbANI_1).
Important: I'm not using INSERT, EDIT or DELETE SQL, because is a
form for selection of reports.
Before showing the form I used the following commands:
1) cbANI_1.Clear
2) edANI_1.Clear (TIB_Edit)
I do that because I don't want the values appear in the combo.
When I dropdown the combo and I click in the first value, this value
is not accepted. But if I dropdown the combo and choose the second
value and after choose the first again then it is accepted.
I hope you undestand. Sorry my English !
Thanks,
Marcos
First, I'm working with Delphi 2007.
I have a TIB_Query control that displays the contents of table ANIMAL
in a TIB_LookUpCombo (cbANI_1).
Important: I'm not using INSERT, EDIT or DELETE SQL, because is a
form for selection of reports.
Before showing the form I used the following commands:
1) cbANI_1.Clear
2) edANI_1.Clear (TIB_Edit)
I do that because I don't want the values appear in the combo.
When I dropdown the combo and I click in the first value, this value
is not accepted. But if I dropdown the combo and choose the second
value and after choose the first again then it is accepted.
I hope you undestand. Sorry my English !
Thanks,
Marcos