I have a secondary index entitled "Corporation Name". The database has an AutoNumber primary key, but the Corporation Name field has to also be unique. I have created a form for data entry for all the needed information; however, I am encountering a small obstacle. I want the FOCUS to immediately go to the "Corporation Name" field. Before moving to the next field, I want to make sure its:
a) not null or empty
b) unique
If not, I want to display a little message in the status bar saying you cannot proceed without a valid Corporation Name, and then I want to prevent the user from moving to any other field (except clicking the "Done" button perhaps). This will prevent any errors with refreshes or newrecords.
Please let me know the methods to do this - I'm a Corel Paradox user who switched over recently, so be kind =P
a) not null or empty
b) unique
If not, I want to display a little message in the status bar saying you cannot proceed without a valid Corporation Name, and then I want to prevent the user from moving to any other field (except clicking the "Done" button perhaps). This will prevent any errors with refreshes or newrecords.
Please let me know the methods to do this - I'm a Corel Paradox user who switched over recently, so be kind =P