E
enak
I am new to Access but am a very experienced vb programmer. I am using Access
2003. I have been given a database and asked to code some enhancements. I am
running into an error with the following code:
Set cnn = CurrentProject.Connection
rstApp.Open "Applicant", cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect
rstFilenum.Open "nextfilenum", cnn, adOpenKeyset, adLockOptimistic,
adCmdTableDirect
I get the error on the last line - rstFilenum.Open
Error message: Undefined function 'Mid' in expression.
Why am I getting this?
Thanks.
2003. I have been given a database and asked to code some enhancements. I am
running into an error with the following code:
Set cnn = CurrentProject.Connection
rstApp.Open "Applicant", cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect
rstFilenum.Open "nextfilenum", cnn, adOpenKeyset, adLockOptimistic,
adCmdTableDirect
I get the error on the last line - rstFilenum.Open
Error message: Undefined function 'Mid' in expression.
Why am I getting this?
Thanks.