-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
Delphi To/From
To/FromCODEGuides
Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

April Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi News / Other Topic   Print This     

Field Index

Field Index in Delphi News / Other topic (part of our Pascal and Delphi Coding group).

Quick Search: Field Index  
rt
Castel, -- UK
Can anyone explain what the following error message means, I can't seem to find anything -

"TableName: Field index out of range"

Thats enough of that. Ed.

 Posted 23 years ago (Thread Starter)
Comment Quote
About rt
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About rt

I do like my jazz and blues!


Post ID #9182, 5 replies
Thread Started 3/5/2003 6:43:00 AM
View Counter=5292
Last Reply Posted 3/20/2003 11:57:00 AM)
Location=Castel, -- UK 
Joined=26 years ago   MB Posts=687   KB Comments=1  
rt
Castel, -- UK
Actually there is no code as such that I can offer as the message is produced by simply making a table active within the Object Explorer. Which means that it could be caused by any one of a number of things.

I just wish the message would point me in a more specific direction to correct whatever it is that is causing the problem.

Thats enough of that. Ed.

 Posted 23 years ago (Thread Starter)
Comment Quote
About rt
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About rt

I do like my jazz and blues!


Post ID #9186 (Level 1.1)  Reply to 9182
Thread Started 3/5/2003 2:28:00 PM
View Counter=2
Location=Castel, -- UK 
Joined=26 years ago   MB Posts=687   KB Comments=1  
Most Recent Post
rt
Castel, -- UK
It turned out it was actually trying to access a field that had been deleted from the table, I guess this error message can be used to cover a number of situations hence it's apparent vagueness!
Thanks anyway.

Thats enough of that. Ed.

 Posted 23 years ago (Thread Starter)
Comment Quote
About rt
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About rt

I do like my jazz and blues!


Post ID #9278 (Level 1.2)  Reply to 9182
Reply Posted 3/20/2003 11:57:00 AM
Location=Castel, -- UK 
Joined=26 years ago   MB Posts=687   KB Comments=1  
Rick Carter
Cincinnati OH USA
rt, maybe you can post a few lines of the code that triggers the error.
Rick Carter
Chair, Delphi/Paradox SIG
Cincinnati PC Users Group
 Posted 23 years ago
Comment Quote
About Rick Carter
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #9185 (Level 1.3)  Reply to 9182
Reply Posted 3/5/2003 9:07:00 AM
Location=Cincinnati OH USA  
Joined=25 years ago   MB Posts=518  
Rick Carter
Cincinnati OH USA
Are you using any (possibly buggy) third party components?
Rick Carter
Chair, Delphi/Paradox SIG
Cincinnati PC Users Group
 Posted 23 years ago
Comment Quote
About Rick Carter
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #9262 (Level 1.4)  Reply to 9182
Reply Posted 3/17/2003 7:33:00 AM
Location=Cincinnati OH USA  
Joined=25 years ago   MB Posts=518  
Larry Drews
Iowa
If I recall correctly, this happens when you reference a dataset with an invalid field index or invalid field name:

qrySomething.Field[15].Value where there is no field 15

qrySomething.FieldByName('somename').Value where 'somename' is not a valid field name.
 Posted 23 years ago
Comment Quote
About Larry Drews
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry Drews
Veteran software developer specializing in Delphi/Kylix development. Currently Manager of Applications Development for a biotech company in Iowa.

Post ID #9184 (Level 1.5)  Reply to 9182
Reply Posted 3/5/2003 9:05:00 AM
Location=Iowa  
Joined=24 years ago   MB Posts=67   KB Comments=1  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1213A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #9182 Counter
5292
Since 4/2/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2026 Prestwood IT Solutions.   [Security & Privacy]