I'm getting a syntax error on the following SQL Statement. Can anybody see
something wrong here that I can't. All of the data fields are type text and
i'm using Jet 4.0 to connect to an Access 2000 backend.
INSERT INTO
Users(FNAME,LNAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP ,PHONE,FAX,EMAIL,PASSWORD)
Values ('Suzie','Smith','123 main st','Suite
2108','Orlando','fl','32804','1234567890','1234567 890','t***@test.com','TEST')
Sincerely,
Ryan Smith 4 1003
try omitting fields, one at a time, until you find the problem
"Ryan Smith" <Ry*******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com... I'm getting a syntax error on the following SQL Statement. Can anybody see something wrong here that I can't. All of the data fields are type text and i'm using Jet 4.0 to connect to an Access 2000 backend.
INSERT INTO Users(FNAME,LNAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP ,PHONE,FAX,EMAIL,PASSWORD) Values ('Suzie','Smith','123 main st','Suite 2108','Orlando','fl','32804','1234567890','1234567 890','t***@test.com','TEST')
Sincerely, Ryan Smith
Are you sure PASSWORD isn't a reserved word in Access?
If any of your columns are numbers, they don't need ' around the
values.
--
2004 and 2005 Microsoft MVP C#
Robbe Morris http://www.robbemorris.com http://www.masterado.net/home/listings.aspx
"Ryan Smith" <Ry*******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com... I'm getting a syntax error on the following SQL Statement. Can anybody see something wrong here that I can't. All of the data fields are type text and i'm using Jet 4.0 to connect to an Access 2000 backend.
INSERT INTO Users(FNAME,LNAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP ,PHONE,FAX,EMAIL,PASSWORD) Values ('Suzie','Smith','123 main st','Suite 2108','Orlando','fl','32804','1234567890','1234567 890','t***@test.com','TEST')
Sincerely, Ryan Smith
Is your zip column int or number? If so then make '32804' 32804.
"Ryan Smith" wrote: I'm getting a syntax error on the following SQL Statement. Can anybody see something wrong here that I can't. All of the data fields are type text and i'm using Jet 4.0 to connect to an Access 2000 backend.
INSERT INTO Users(FNAME,LNAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP ,PHONE,FAX,EMAIL,PASSWORD) Values ('Suzie','Smith','123 main st','Suite 2108','Orlando','fl','32804','1234567890','1234567 890','t***@test.com','TEST')
Sincerely, Ryan Smith
Copy the below text exacly as is and execute
INSERT INTO Users ( FNAME, LNAME, ADDRESS1, ADDRESS2, CITY, STATE, ZIP,
PHONE, FAX, EMAIL, PASSWORD ) Values ( '1', '1', '1', '1', '1', '1', '1',
'1', '1' ,'1', '1' ) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: rdsteph |
last post by:
I am having a lot of fun using the pyGoogle module (
http://pygoogle.sourceforge.net/ ) that uses the Google API. It is
about as easy to use as I can imagine, and it is a lot nicer than using
my...
|
by: LedZep |
last post by:
What up,
All I need to do is enter a last name in a text box, query a MSAccess
database and display the name with the corresponding columns. This is
no problem, but when there are more than one...
|
by: Ghislain Tanguay |
last post by:
I have a compiled vb.net app and I want to give the user a choice to launch
it from the start line command and pass it a parameter or not. How can I do
that in my code? Is it possible?
Ex. :...
|
by: melanieab |
last post by:
Hi,
If there's a textbox and the text entered is longer than what's visible (the
textbox length), how do you make it so that the beginning chunk of text is
visible (instead of the last part of...
|
by: Martin Bootsma |
last post by:
I have a C question, which looks very easy, but no one here seems to
know an easy answer.
I have a function "powell" (from Numerical Recipes) which takes an
argument of the type
"double...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |