K
kim.forbes
Hi,
I am a VB and VBA novice who inherited an Access Database with VB code
that suddenly doesn't work on any machine or for any backup. I've
looked at the code and to my novice eyes it seems OK. I was wondering
if there was any VB or VBA change that would make this code suddenly
break. The first error I get is:
"Duplicate Declaration for current scope"
There are the duplications:
Private Sub txtSearchVal_Change()
Dim rst, rstFill As ADODB.Recordset
Dim sqlQuery, fillQuery As String
Dim ChurchID, envYear As Integer
Dim ChurchID As Integer
Dim identifier As Variant
Dim msgOK, intPosition As Integer
Dim LastName, firstName As String
Dim idType As Integer
I see that ChurchID is a duplicate declaration; but everything worked
fine until about a month and 1/2 ago, any ideas why it suddenly isn't
working?
Thanks
I am a VB and VBA novice who inherited an Access Database with VB code
that suddenly doesn't work on any machine or for any backup. I've
looked at the code and to my novice eyes it seems OK. I was wondering
if there was any VB or VBA change that would make this code suddenly
break. The first error I get is:
"Duplicate Declaration for current scope"
There are the duplications:
Private Sub txtSearchVal_Change()
Dim rst, rstFill As ADODB.Recordset
Dim sqlQuery, fillQuery As String
Dim ChurchID, envYear As Integer
Dim ChurchID As Integer
Dim identifier As Variant
Dim msgOK, intPosition As Integer
Dim LastName, firstName As String
Dim idType As Integer
I see that ChurchID is a duplicate declaration; but everything worked
fine until about a month and 1/2 ago, any ideas why it suddenly isn't
working?
Thanks