UDF's

  • Thread starter Thread starter Looch
  • Start date Start date
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top