I'm running into a problem with a buffered table and a candidate index. At several points in my code I need to know if a table entry exists, so I use the indexseek function. If it does, then I 'replace' the values. If it doesn't then I insert a new record. That worked fine until I activated buffering for the table. I need to be able to TABLEREVERT if any error conditions occur during processing and TABLEUPDATE if there are no errors detected. Now when I indexseek I get a 'uniqueness of index batreqnum has been violated' error. Why would buffering cause such a problem and is there a way to handle it without generating an error?
Steve
Steve