The first item on the form frmMonth that you select is a combo box selecting which month it is. From there people type in their activity for the month in the boxes below... This works fine, and I had the startup options set to open this form automatically.
I decided that it would be a good idea to add a switchboard with option to run some reports so the users could run them when they wanted to. I designed the forms, setup the query criteria (with some help from fellow tek-tips member), and all of that portion works fine.
On the switchboard the first item is "data entry." You click on this and the form frmMonth opens; this was form that used to be set in startup options (it's now the switchboard form). The user selects a month from the combo box, and now it says...
"Run-time error '3021':
No current record.
When I click on debug it takes me to frmMonth, the combo box for the month, and the afterupdate event, and this line is highlighted.
Me.Bookmark = rs.Bookmark
What's strange is, if I just close the switchboard, everything works fine. Is there any reason why this is happening? I'm clueless... Did a compact & repair and that changed nothing.
-Nate
I decided that it would be a good idea to add a switchboard with option to run some reports so the users could run them when they wanted to. I designed the forms, setup the query criteria (with some help from fellow tek-tips member), and all of that portion works fine.
On the switchboard the first item is "data entry." You click on this and the form frmMonth opens; this was form that used to be set in startup options (it's now the switchboard form). The user selects a month from the combo box, and now it says...
"Run-time error '3021':
No current record.
When I click on debug it takes me to frmMonth, the combo box for the month, and the afterupdate event, and this line is highlighted.
Me.Bookmark = rs.Bookmark
What's strange is, if I just close the switchboard, everything works fine. Is there any reason why this is happening? I'm clueless... Did a compact & repair and that changed nothing.
-Nate