Updating indexes

My app contains a very simple flat database that users can record data in. After the user has added a record, if a search is run on the table, the error 'Index out of date' is reported.

I thought I could get round this by adding a line saying

<tablename>.IndexDefs.Update

after the Post command when a new record is added, but it isn't making any difference.

Can anyone help?

(Sorry - I only have 40 points left)
riccohbAsked:
Who is Participating?
 
MotazConnect With a Mentor Commented:
That's a very easy problem, on creating your index check Maintained property.

Motaz
0
 
MotazCommented:
btw. What database type did you use?
0
 
riccohbAuthor Commented:
Thanks for that.

I'm using Paradox 7.
0
 
MotazCommented:
Thanks for the points:)
0
All Courses

From novice to tech pro — start learning today.