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 / New Users / September 2005

Tip: Looking for answers? Try searching our database.

SQL Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DS - 26 Sep 2005 17:16 GMT
   
I'm trying to run this SQL statement from a listbox, OnClick Event in
Access to insert a new record into a Query and I keep getting a message
that it's not reconized.  I don't know why.....any help is appreciated.
Thanks
DS

    INSERT SalesID
     INTO SalesDetailsQ
        VALUES Forms!Buttons!List215.Column(0)
Ofer - 26 Sep 2005 18:23 GMT
Try this

INSERT INTO SalesDetailsQ ( SalesID) VALUES (Forms!Buttons!List215.Column(0))

Signature

I hope that helped
Good luck

>    
> I'm trying to run this SQL statement from a listbox, OnClick Event in
[quoted text clipped - 6 lines]
>       INTO SalesDetailsQ
>          VALUES Forms!Buttons!List215.Column(0)
 
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.