![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Thu, Aug 9 2007 1:34 AM | Permanent Link |
"Royke" | I have a tEDBTable with (say) two records, both with field 'somefield'
having value 'somevalue'. In this loop while Table1.Locate('somefield', somevalue, []) do Table1.Delete; the program goes to the Delete three times, resulting in a 'Cannot perform this operation on an empty data set.' Should I add some Refresh (or so) after the Delete (or in the AfterDelete event)? (If the table is empty to begin with, the Locate comes back False. ) RJ |
Thu, Aug 9 2007 2:57 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Roy,
<< the program goes to the Delete three times, resulting in a 'Cannot perform this operation on an empty data set.' >> We're aware of this issue and a fix will be available shortly in the next build. It only occurs with un-optimized Locates that don't use indexes. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, July 15, 2024 at 07:03 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |