Re: Sql Insert Error
- From: "Jeff" <jhoward@xxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 16:29:56 -0700
Do you have an example of the syntax that would be used in an SQL statement.
Here is my sql statement.
INSERT INTO [Temp_Import] ([Item Number],[Description]) SELECT [Access Item
Number],[Description] FROM [Cubiscan data to upload2.txt] IN "C:\Documents
and Settings\jth\Desktop\" "Text;"
The Description field is the one that is getting me.
"Bill Hannan" <wfha@xxxxxxxxxxxxx> wrote in message
news:45ae6bda$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Jeff,
Either
Set maxlength in the control you are using for input.
Or
Use leftStr in the beforepost of your ado component or when setting the
field value for a sql statement..
Bill
"Jeff" <jhoward@xxxxxxxxxxxx> wrote in message
news:45ae555a$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I am getting the message "the field is too small to accept the amount of
data you attempted to add. Try inserting or pasting less data". I really
do not want to make my text field so large just to handle a few users
incoming data that may be to large for my description field. Is there a
way around this to force it to truncate the data?
Using ADO command component and inserting into MS Access.
Thanks!
.
- Follow-Ups:
- Re: Sql Insert Error
- From: Vitali Kalinin
- Re: Sql Insert Error
- References:
- Sql Insert Error
- From: Jeff
- Re: Sql Insert Error
- From: Bill Hannan
- Sql Insert Error
- Prev by Date: Re: How to handle disconnect
- Next by Date: Re: Sql Insert Error
- Previous by thread: Re: Sql Insert Error
- Next by thread: Re: Sql Insert Error
- Index(es):
Relevant Pages
|