Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
al al is offline
external usenet poster
 
Posts: 363
Default Insert Literal in Access Table using JETSQL

I'd like to Insert values from one Access Table into another
as well as a literal string value

My statement is as follows
Say Table 2 has one field: Sales
Table 1 has two fields, Month and Sales
I'd like to insert 10 into the month field of
table1 as well as the sales value from table2

This is how my statement looks thus far.
It produces an Insert into error.

Insert into TABLE1(Month,Sales)
Select "10" as Month, Sales from Table2

Thanks in advance.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use CountIf for a literal string chadkwelch Excel Worksheet Functions 3 March 21st 10 03:45 AM
Literal based on Week end Umar Excel Worksheet Functions 5 December 26th 09 04:54 PM
Paste literal text JC Excel Programming 3 August 24th 04 07:41 PM
Is it possible to insert an Access Table object into Excel? Jake Marx[_3_] Excel Programming 6 May 5th 04 04:34 PM
Is it possible to insert an Access Table object into Excel? GJones Excel Programming 0 May 4th 04 02:35 PM


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"