Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
TEDBTABLE.OnFilterRecord issue. |
Mon, Jul 9 2007 10:33 AM | Permanent Link |
Praveen | Hi,
Having a problem with TEDTable.OnFilterRecord. I'm migrating from DBISAM -> ELEVATEDB. Application makes use of OnFilterRecord in many places in app. case: Table.OnFilterRecord := SomeEvent() Table.First; while not Table.EOF do begin // -- something Table.Next; end. procedure SomeEvent() begin Accept := Table.FieldByName('F1').AsInteger > 1; end; Issue: Once the last record is reached in loop EOF never becomes TRUE, it keeps looping infinitely. Help!!!! Praveen A B Have A Nice Day. |
Mon, Jul 9 2007 5:41 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Praveen,
<< Having a problem with TEDTable.OnFilterRecord. I'm migrating from DBISAM -> ELEVATEDB. Application makes use of OnFilterRecord in many places in app. >> Please don't re-post questions that you've sent via email. Please see my response via email - I'm still trying to reproduce the issue. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jul 9 2007 8:17 PM | Permanent Link |
"Royke" | "Praveen" <praveenb@tpt.com> wrote in message
news:50ECC94A-054D-4FA1-B30C-B53326F359E0@news.elevatesoft.com... > Hi, > > Having a problem with TEDTable.OnFilterRecord. > I'm migrating from DBISAM -> ELEVATEDB. Application makes use of > OnFilterRecord in many places in app. > > case: > Table.OnFilterRecord := SomeEvent() > Table.First; > while not Table.EOF do > begin > // -- something > Table.Next; > end. > > procedure SomeEvent() > begin > Accept := Table.FieldByName('F1').AsInteger > 1; > end; > > Issue: Once the last record is reached in loop EOF never becomes TRUE, it > keeps looping infinitely. > > Help!!!! > > Praveen A B > Have A Nice Day. We have several instances where this happens as well when using the BDE. Probably due to some table or field event. for i := 1 to Table.Recordcount do begin Table.RecNo := i; ... end; > |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |