![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 11 to 13 of 13 total |
![]() |
Fri, Feb 21 2020 2:24 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | KimHJ
>If i have a index with the Field MyID and call the index CustomerID, then in my Delphi code I can not use IndexByName := 'MyID'; ? I'm using D2007 and EDB 2.31b12 and I don't have IndexByName, I have IndexName. If you want to refer to the field(s) that comprise an index you need to use IndexFieldNames >Maybe that is why I get Access violation sometimes? Unlikely. That's down to trying to access some object that hasn't been created or has been freed. Roy |
Fri, Feb 21 2020 1:43 PM | Permanent Link |
KimHJ Comca Systems, Inc | Roy Lambert wrote:
>>If i have a index with the Field MyID and call the index CustomerID, then in my Delphi code I can not use IndexByName := 'MyID'; ? I'm using D2007 and EDB 2.31b12 and I don't have IndexByName, I have IndexName. If you want to refer to the field(s) that comprise an index you need to use IndexFieldNames >>Maybe that is why I get Access violation sometimes? Unlikely. That's down to trying to access some object that hasn't been created or has been freed. << I meant IndexFieldNames := 'MyID'; Sorry. It looks like I have to create a index with the MyID even it's also added as a Constraint. Kim |
Sat, Feb 22 2020 2:10 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | KimHJ
In the IDE if you click on the dropdown against IndexFieldNames and IndexName what values do you get? Roy Lambert |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Thursday, July 10, 2025 at 10:36 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |