var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: CLose Button
When I close my form with the X in the corner it warns me about required fields missing in a new record.
I created a Close button with the wizard... but it doesn't warn me, just closes the form without saving the new record if one of the required field is missing.
Can anyone help me get the button to work just like the X?
Try this from your command button OnClick event procedure:
DoCmd.Close acForm, "", acSavePrompt
Hope this helps,
DoCmd.Close acForm, Me.Name, acSavePrompt