I was interested in password protecting a form, so I went to this link...
http://support.microsoft.com/support/kb/a rticles/Q179/3/71.ASP?LN=EN-US&SD=gn&FR=0&qry=q179371&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=ACC97
I substituted my form for the Northwind example, and I copied and pasted the code to make sure there was no typing error...when I click on my form I get notified of "Compile error...Automation error" and the line that is highlighted is "Dim rs As Recordset"
Can anyone tell me what I could have done wrong or what it means...I can't figure it out...
Here's the part that seems to be causing my problem:
Dim Hold As Variant
Dim tmpKey as Long
Dim I As Integer
Dim rs As Recordset
Dim db As Database
It's the last two lines that are creating havoc with my Sunday morning...
Thanks
[This message has been edited by Randix (edited 03-25-2001).]
http://support.microsoft.com/support/kb/a rticles/Q179/3/71.ASP?LN=EN-US&SD=gn&FR=0&qry=q179371&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=ACC97
I substituted my form for the Northwind example, and I copied and pasted the code to make sure there was no typing error...when I click on my form I get notified of "Compile error...Automation error" and the line that is highlighted is "Dim rs As Recordset"
Can anyone tell me what I could have done wrong or what it means...I can't figure it out...
Here's the part that seems to be causing my problem:
Dim Hold As Variant
Dim tmpKey as Long
Dim I As Integer
Dim rs As Recordset
Dim db As Database
It's the last two lines that are creating havoc with my Sunday morning...
Thanks
[This message has been edited by Randix (edited 03-25-2001).]