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 / Queries / March 2006

Tip: Looking for answers? Try searching our database.

query issue with parameters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seede - 31 Mar 2006 22:20 GMT
Hi
I have a combo box and when i trigger a check box, i want the to run a
different query to populate the combo box. i am doing somethign wrong in this
code not sure what as i get a syntax error

Private Sub chkAllData_Click()
cmboSymbol.RowSource = "SELECT [TradeDiary].[Symbol] FROM [TradeDiary] " & _
                       " WHERE TradeDiary.Action <> #Ignore# ORDER BY
[Symbol];"

                       

End Sub
Klatuu - 31 Mar 2006 22:30 GMT
What is #Ignore#?
The # delimiters will want to make it a date format
If you are looking for a string that is #Ignore# in the Action field, it
should be:
"#Ignore#"

> Hi
> I have a combo box and when i trigger a check box, i want the to run a
[quoted text clipped - 9 lines]
>
> End Sub
 
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.