Re: how to pass recordset object to procedures/functions?
From: JingleBEV (n_quan_at_NOSPAMyahoo.com)
Date: Fri, 9 Jul 2021 08:43:50 -0400
I am a real newbie here. can you tell me what's the difference between ADO
and ADODB? In my project I only use ADO. When do I have to use ADODB?
"Alex Dybenko" <alex@PLEASE.cemi.NO.rssi.SPAM.ru> wrote in message
> Probably you have both ADO and DAO references? try to declare recordsets
> explicity as:
> set rst=DAO.recordset
> set rst=ADODB.recordset
> Alex Dybenko (MVP)
> "JingleBEV" <n_quan@NOSPAMyahoo.com> wrote in message
> > Hi all,
> > I am trying not to use global variable to maintain data consistency.
> > procedures and functions will require to pass the recordset object for
> > processing and functions may also return the recordset object to the
> > calling
> > functions/procedures. I already tried this but keep getting error 13
> > mismatch).
> > how can I achieve it?
> > Your help is appreciated.
> > Jing.