Greetings all,
I am a Clarion Legacy man learning ABC. I would like to conditionally disallow a user from adding any more records to a file (ie. if the program is in demo mode only).
I can trap this at the Browse level fine but would like to add a secondary trap at the 'Update' level also.
Q. What ABC code should I use and at what embed point to abort the 'Update' procedure conditionally without changing the records in the file in any way and safely return to the Browse.
I have tried various methods and embed points and I can abort the 'Update' procedure OK but have since found that a blank record is added to the file. The file has no related child or parent files.
I am using Clarion 6.1
Thank you
I am a Clarion Legacy man learning ABC. I would like to conditionally disallow a user from adding any more records to a file (ie. if the program is in demo mode only).
I can trap this at the Browse level fine but would like to add a secondary trap at the 'Update' level also.
Q. What ABC code should I use and at what embed point to abort the 'Update' procedure conditionally without changing the records in the file in any way and safely return to the Browse.
I have tried various methods and embed points and I can abort the 'Update' procedure OK but have since found that a blank record is added to the file. The file has no related child or parent files.
I am using Clarion 6.1
Thank you