i created a close button using a command button wizard. i selected "close form" under form operations....it closes the form alright BUT::
1) when i enter duplicate values in fields which should not accept duplicate values, i then press close form (per say), it doesnt recognise this error and report it to me.
2) on the other hand, if i enter duplicate values in fields which should accept duplicate values, then i press the "X" button, or the record navigation buttons to go to the next record or previous record it correctly recognises this.
The onclick() event automatically generated a code when i used a wizard.....
how can i make it behave just like when i press "X" or record navigation buttons. cheers. :-)