Zeoslib x TDBcombobox Component
Moderators: gto, EgonHugeist, olehs
Zeoslib x TDBcombobox Component
Hi,
I installed the new version of zeosdbo (7.0.0-dev - 1401 + postgresql) in delphi xe2, when I use TDbLookupComboBox, the items are not located in the component when I write. Tests with TDbLookupComboBox + ado + sqlserver works well. what's the problem?
Tks.
Carlos
I installed the new version of zeosdbo (7.0.0-dev - 1401 + postgresql) in delphi xe2, when I use TDbLookupComboBox, the items are not located in the component when I write. Tests with TDbLookupComboBox + ado + sqlserver works well. what's the problem?
Tks.
Carlos
You do not have the required permissions to view the files attached to this post.
Last edited by calico on 22.06.2012, 15:11, edited 1 time in total.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
calico,
i've trued to rebuild your reported issue and i did fail with my branch:http://zeos.firmos.at/viewtopic.php?t=3427
So can you tell me which branch do ou use here? If the issue is still present then i need an example...
Michael
i've trued to rebuild your reported issue and i did fail with my branch:http://zeos.firmos.at/viewtopic.php?t=3427
So can you tell me which branch do ou use here? If the issue is still present then i need an example...
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
hello Michael
I use the version:
https://zeoslib.svn.sourceforge.net/svn ... onhugeist/
Revision 1403 is worse, not associated with the key value in the combo and the first execution error occurs "... expecting: WideString actual: String '.
I added two videos in the original post.
Tks.
I use the version:
https://zeoslib.svn.sourceforge.net/svn ... onhugeist/
Revision 1403 is worse, not associated with the key value in the combo and the first execution error occurs "... expecting: WideString actual: String '.
I added two videos in the original post.
Tks.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
calico,
i see now what you mean. Question the second TBLookupComboBox is not linked with Zeos, right?
My first impresson is that we are able to locate the values as long the char sequence is fullfilled. Which means (in my mind) we can locate a string like 'aaddee' as long the keypress is a, a, d .....
I think we have a leak here. We have to check if there are no results (Locate=False) If nothing is to find then we have to refresh the comparing values.. All the stuff is to find in the TZAbstractRODataSet.pas unit..
I'm bussy actually. Either you are patiant with that fix or you try to help me here. You've got a stroong debugger and compiler to help.
Michael
i see now what you mean. Question the second TBLookupComboBox is not linked with Zeos, right?
My first impresson is that we are able to locate the values as long the char sequence is fullfilled. Which means (in my mind) we can locate a string like 'aaddee' as long the keypress is a, a, d .....
I think we have a leak here. We have to check if there are no results (Locate=False) If nothing is to find then we have to refresh the comparing values.. All the stuff is to find in the TZAbstractRODataSet.pas unit..
I'm bussy actually. Either you are patiant with that fix or you try to help me here. You've got a stroong debugger and compiler to help.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
calico,
What happens if you presse delete after the last keypress failed? For both components?
Is it possible the you do not have to restart intyping the values with Zeos but with the ADO component? If that is true than it word be nice to have a property for that to deside how the component should behave or not?
Michael
What happens if you presse delete after the last keypress failed? For both components?
Is it possible the you do not have to restart intyping the values with Zeos but with the ADO component? If that is true than it word be nice to have a property for that to deside how the component should behave or not?
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
Michael,
if I press delete nothing happens in both components, if I press Backspace or wait a few seconds the search buffer is cleared in ADO, in zeos nothing happens, as shown in the video. Wed Remembering the latest version also does not assign value to combo with the mouse, as if the property value "DataField" the Combo was null, but the value is ok.
The version of the month 03/2012, did not specify to install for delphi XE2, used the installation directory "Delphi16" worked correctly.
Tks.
if I press delete nothing happens in both components, if I press Backspace or wait a few seconds the search buffer is cleared in ADO, in zeos nothing happens, as shown in the video. Wed Remembering the latest version also does not assign value to combo with the mouse, as if the property value "DataField" the Combo was null, but the value is ok.
The version of the month 03/2012, did not specify to install for delphi XE2, used the installation directory "Delphi16" worked correctly.
Tks.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
calico,
[s]If i have the time i'll check the reported issue. New compiler new behavior. I'll check what the older delphi/Lazarus components are doing in this case.
[/s]
Strange! it only happens in unicode mode..
Michael
[s]If i have the time i'll check the reported issue. New compiler new behavior. I'll check what the older delphi/Lazarus components are doing in this case.
[/s]
Strange! it only happens in unicode mode..
Use the svn please. 03/2012 is long ago and many fixes where done. Where did you get this version? User Miab3 and Ism helpe me for the XE2 support...The version of the month 03/2012, did not specify to install for delphi XE2, used the installation directory "Delphi16" worked correctly.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
calico,
me again. IF you do all your keypres a little bit slower it works i think? Also the buffer clearing is working. But everything is a little bit slower.. So i think the value comparing ist to slow. Can you confirm this?
me again. IF you do all your keypres a little bit slower it works i think? Also the buffer clearing is working. But everything is a little bit slower.. So i think the value comparing ist to slow. Can you confirm this?
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
EgonHugeist
But even for unicode version lookup for numeric keys work properly.
I share my current folder for DXE2 packages.
The default is built version of the "Debug, 32-bit".
By changing the options to build the remaining "Release-32-bit", "Debug-64-bit" and "Release-64-bit".
Michal Abramczyk
But even for unicode version lookup for numeric keys work properly.
I share my current folder for DXE2 packages.
The default is built version of the "Debug, 32-bit".
By changing the options to build the remaining "Release-32-bit", "Debug-64-bit" and "Release-64-bit".
Michal Abramczyk
You do not have the required permissions to view the files attached to this post.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
calico, miab3,
it's late now. I've to work tomorrow. Maybe you have some findings if i tell you the lines where the fieldcomparing happens (first impresseion but could be another issue and hard to debug because of the timer the db-unit brings with)
the vaule comparing happend in the ZDataSetUtils.pas
function CompareFieldsFromResultSet(const FieldRefs: TObjectDynArray;
const KeyValues: TZVariantDynArray; ResultSet: IZResultSet; PartialKey: Boolean;
CaseInsensitive: Boolean): Boolean;
procedure PrepareValuesForComparison(const FieldRefs: TObjectDynArray;
var DecodedKeyValues: TZVariantDynArray; ResultSet: IZResultSet;
PartialKey: Boolean; CaseInsensitive: Boolean);
each keypress calls the InternalLocate of the unit ZAbstractRODataset.pas..
@calico, with my XE it works, very slow but it works..
@Michal, i'll commit you files tomorrow.
Michael
it's late now. I've to work tomorrow. Maybe you have some findings if i tell you the lines where the fieldcomparing happens (first impresseion but could be another issue and hard to debug because of the timer the db-unit brings with)
the vaule comparing happend in the ZDataSetUtils.pas
function CompareFieldsFromResultSet(const FieldRefs: TObjectDynArray;
const KeyValues: TZVariantDynArray; ResultSet: IZResultSet; PartialKey: Boolean;
CaseInsensitive: Boolean): Boolean;
procedure PrepareValuesForComparison(const FieldRefs: TObjectDynArray;
var DecodedKeyValues: TZVariantDynArray; ResultSet: IZResultSet;
PartialKey: Boolean; CaseInsensitive: Boolean);
each keypress calls the InternalLocate of the unit ZAbstractRODataset.pas..
@calico, with my XE it works, very slow but it works..
@Michal, i'll commit you files tomorrow.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/