N
Noel
MS ACCESS ERROR ON OPENING A SUBFORM
1. For some records, when I click on a button to open a subform, I get an
error. It appears to happen when 1 of 3 different fields for that record is
null. These text fields in particular (First, First2, AAB Case No).
We get this error message: “Visual Basic can’t convert the data type of one
of the arguments you entered.†And further states: “You tried to run a Visual
Basic procedure that executes a method or sets a property of an objectâ€.
After clicking OK, we get an “Action Failed†dialog box showing the macro
name, condition, action name and arguments, and an error message number of
2950.
Macro Name: OpenCaseForm
Condition: True
Action: SetValue
Arguments: [Forms]![Cases]![First2].[Caption], [Forms]![Main]![First2]
2. Also of note: we recently upconverted from Access 97 – although the
problem was still present prior to the upconversion. When we open the
database we get this error message: “Your Microsoft Access database or
project contains a missing or broken reference to the file ‘dao2535.tlb’
version 3.5â€. After clicking through several of these error messages the
database opens normally. We are currently running Access 2007.
Can anyone help me with these two issues?
1. For some records, when I click on a button to open a subform, I get an
error. It appears to happen when 1 of 3 different fields for that record is
null. These text fields in particular (First, First2, AAB Case No).
We get this error message: “Visual Basic can’t convert the data type of one
of the arguments you entered.†And further states: “You tried to run a Visual
Basic procedure that executes a method or sets a property of an objectâ€.
After clicking OK, we get an “Action Failed†dialog box showing the macro
name, condition, action name and arguments, and an error message number of
2950.
Macro Name: OpenCaseForm
Condition: True
Action: SetValue
Arguments: [Forms]![Cases]![First2].[Caption], [Forms]![Main]![First2]
2. Also of note: we recently upconverted from Access 97 – although the
problem was still present prior to the upconversion. When we open the
database we get this error message: “Your Microsoft Access database or
project contains a missing or broken reference to the file ‘dao2535.tlb’
version 3.5â€. After clicking through several of these error messages the
database opens normally. We are currently running Access 2007.
Can anyone help me with these two issues?