Hi,
I have Qry1 which executes qry2 which in trun runs qry3.Now qry3 accepts 2 parameters.StartDate and EndDate to filter records from the database.How can I pass parameters to qry3 from Visual basic.I know how to pass it to qry1 but npt qry3.
Please reply ASAP.
Thanks,
Pranali.
Thanks a lot...It helped me a lot.
I also tried using Disconnected recordset and its working fine.But I am also going to try XML strings...
I changed the function from
Public Function GetCriteria(ByVal strsql As String) As ADODB.RECORDSET
to
Public Function GetCriteria(ByVal strsql As...
This is my Com component
cCriteria
Option Explicit
'Implements iCriteria
Private cn As ADODB.Connection
Public Function GetCriteria(BYVAL strsql As String) As ADODB.Recordset
On Error GoTo PROC_ERR
Dim rs As ADODB.Recordset
Dim cmd As ADODB.Command
cn.CursorLocation =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.