narotosensei
Access Neophyte
- Local time
- Today, 13:59
- Joined
- Nov 14, 2009
- Messages
- 12
This little problem has been bugging me all day. I have a form that has a listbox where you can click on buttons and change its row source to look at either reports or forms using MSysObjects. I also have 2 buttons that will either let you look at a report or look at a form. Now I have an OnLoad Event that makes sure that the listBox is in focus when you start the form, but when i click on the view form/report buttons it always has an error, but once I click on the listbox it works fine. I'm trying to set up a MsgBox that will set off if they don't have a form/report selected but I'm not sure how to go about it. Can anyone help me?