If the series is sorted the
unit DBChart_LocateRecord
procedure TDBChartRecordLocate.DBChart1ClickSeries(Sender: TCustomChart;
Series: TChartSeries; ValueIndex: Integer; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
// Use the bookmarks to find the database record for the clicked point...
Table1.GotoBookmark(BookMarks[ValueIndex]);
end;
don't find the correct value
LocateRecord with sorted series don't work
I have uploaded some files showing the problem (locate reco)
The files are a part of the Features demo
Jørgen
Jørgen
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jørgen,
I've already replied to your newsgroups message:
This is the expected behaviour as you ordered the series. For this to work
you should sort your table, database or grid in the same way you ordered the series or send the record number to your query.
I've already replied to your newsgroups message:
This is the expected behaviour as you ordered the series. For this to work
you should sort your table, database or grid in the same way you ordered the series or send the record number to your query.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |