Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters to Access View
Message
From
12/07/2003 03:20:49
 
 
To
12/07/2003 01:18:13
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00809104
Message ID:
00809536
Views:
31
Thanks again Rene..

I'll try to look at again my code.

I've tried these code also and it works fine.
   Dim objCon As ADODB.Connection
   Dim objCmd As ADODB.Command
   Dim objRst As ADODB.Recordset
   
   Set objCon = New ADODB.Connection
   Set objCmd = New ADODB.Command
  
   objCon.Open ConnectionString
   objCmd.ActiveConnection = objCon
   objCmd.CommandText = "qrySALES"      ' Query Name
   objCmd.CommandType = adCmdUnknown    ' Since I'm using Access Query
                                        ' so I use adCmdUnknown
   Set objRst = objCmd.Execute(, Array("07/08/03", "07/09/03"))
   
   .... other parts of the code here...
Noel
Previous
Reply
Map
View

Click here to load this message in the networking platform