Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I have defined an auto-increment field in my Paradox table using an augmented field definition, however I cannot update the value. What is going wrong?

0
Posted

I have defined an auto-increment field in my Paradox table using an augmented field definition, however I cannot update the value. What is going wrong?

0

A The Paradox File Driver lets you define a Paradox AUTOINC field using an augmented field definition. This works slightly differently from using the Clarion templates to do the auto-increment in that the value is determined by the BDE run-time not the Clarion templates. However, Paradox AUTOINC values are read-only and may not be updated using the BDE. For this reason the Paradox File Driver ignores attempts to write a changed value back to the table. If the driver did not ignore such update attempts, the BDE would report an error and furthermore it would complicate the use of CLEAR() to clear the contents of the record.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.