Hi I declared at module as
Option Compare Database
Dim var_part_del_participant(100) As String
Dim var_counter As Integer
Dim var_selected_records As Integer
But in i have a lot of code in a form_current sub
I keep gettting the error as variable not defined
You use the Option Explicit statement to protect your modules from having undeclared variables and to eliminate the possibility of inadvertently creating new variables when typographical errors occur. This error has the following cause and solution:
You used an Option Explicit statement to require the explicit declaration of variables, but you used a variable without declaring it.
Explicitly declare the variable, or change the spelling of the variable to match that of the intended variable.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
what should i do . I need the declaration of those variables declared as option expicit. because i using those variables in different events in the same module/. so what to do