UDF's

L

Looch

Looking for some guidance with a function,

When I try to use

Funtion CustomerFilter(rst1 as ADODB.Recordset,strField As String,
strFilter As String) as ADODB.Recordset

I get a 'Compile Error expected list or separator' error and the 'as'
in the first argument is high lighted?

Is there a reference I need to add to create functions in Access 2003?

Thanks for any help
 
A

Allen Browne

Is the problem must the missing C from FunCtion?

Otherwise, choose References on the Tools menu (in the code window), and
check the box beside:
Microsoft ActiveX Data Objects 2.1 Library
More info about references:
http://allenbrowne.com/ser-38.html
 
Top