Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2005

Tip: Looking for answers? Try searching our database.

Crosstab query, ADO Query, Parameters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Suawek - 20 Dec 2005 17:17 GMT
I created a crosstab query, added in the Design mode parameters and without
any problems I can open it when the form containing parameters is open. But
when I would like to start the same query using an ADO command it always
generates an error (missing parameters). Do I need to redeclare parameters if
they are available from the form?
crosstab query - qInterimSaffronCrosstabAverageIND
parameter - [Forms]![frmDatePicker]![Text63] Integer
form name - frmDatePicker

code -
rst1.Open "qInterimSaffronCrosstabAverageIND", cnn1, adOpenStatic,
adLockOptimistic, adCmdTable
(frmDatePicker open when the command is executed)

error - No value given to one or more parameters
Suawek - 20 Dec 2005 17:41 GMT
of course when I am trying to run the ADO query the form containing the
parameters is open

> I created a crosstab query, added in the Design mode parameters and without
> any problems I can open it when the form containing parameters is open. But
[quoted text clipped - 11 lines]
>
> error - No value given to one or more parameters
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.