SQL Problem

D

DS

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)
 
O

Ofer

Try this

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top