I have not done any coding so far, and I was wondering if you simply add that statement in the properties box for the form where you would normally use the drop down box to choose Event Procedure, macro name, etc. Or, do you have to add it to the actual code?
[This message has been edited by dkirk02 (edited 05-03-2001).]
Open the form's properties box. Choose 'event procedure' for the OnOpen event. Click the elipses to the right of the OnOpen box. This will open the VB editor. Enter the command in between the "Private Sub Form_Open(Cancel As Integer)" and "End Sub" lines. That's it. Your code is saved when you save the form.