I have a process that I previously created local tables for and am now trying to update this process to use queries so it reflects changes in real time. When the user entered in the criteria (either lastname or ssn), I would alternate between two previously created indexes and use the FindNearest in the table. However, since I want to use the query instead, I've been looking into the AddIndex and NameIndex, but can't quite get it to work!!
Can someone show me an example of how to create an index on the fly for a query? Or another way to search a query and have the result be found and displayed in my DBGrid (I'm currently moving to that row and changing it's color).
Thanks,
Leslie
Can someone show me an example of how to create an index on the fly for a query? Or another way to search a query and have the result be found and displayed in my DBGrid (I'm currently moving to that row and changing it's color).
Thanks,
Leslie