I am having 2 issues, both acting very randomly, and for the most part
I dont get this message on most computers, but I have had a couple
computers get either issue 1, or issue 2.
Issue #1: I have a module that has a function that starts as:
Function setFormColors(frm As Form)
This function takes a form and looks through its objects and if
certain object names meet a certain critera (such as start with lblBD)
do a certain action (like make the label bold).
Then in each forms code I have:
Private Sub Form_Load()
setFormColors Me
End Sub
The computers that dont like it, are telling me that setFormColors Me
is having a type mismatch error. I wish I knew why since this call
DOES work on 90% of computers.
Issue #2: I am having some computers give a 'enter parameter value'
message when a customer closes one or more certain forms. One of the
close button's codes follows:
Private Sub cmdClose_Click()
On Error GoTo Err_cmdClose_Click
If IsNull(Me.Discount) Then
Me.Discount = 0
End If
DoCmd.DoMenuItem A_FORMBAR, A_FILE, A_SAVERECORD
DoCmd.Close acDefault, frmJob
Exit Sub
Err_cmdClose_Click:
MsgBox Err.Description
End Sub
Please let me know if anyone knows what is going on. Thanks so much.
I started developing this program when Access first came out, and SOME
forms havent been changed in their calls. I now develop in Access XP.
This program works on a lot of computers, so I am stumped why a
couple computers are having issues.
Thanks for your help.
-Phil Seguin