Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - field too small to accept data
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

field too small to accept data

 Post Reply Post Reply
Author
cuedog View Drop Down
Groupie
Groupie
Avatar

Joined: 29 December 2001
Location: United States
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote cuedog Quote  Post ReplyReply Direct Link To This Post Topic: field too small to accept data
    Posted: 13 October 2003 at 9:32pm
Here is an easy one that I can't figure out. I have a form with an input field with a max character input of 50 and in the database(MS Access) I have a text field(50) but for some reason I keep getting this error. I have tried to input the max characters and everything works fine.

Category = Microsoft JET Database Engine
Number = 0x80040E57
Description = The field is too small to accept the amount of data you
attempted to add.  Try inserting or pasting less data.

This is a poll demo

If a foreign language is written in the input field can it input more than 50 characters?
Back to Top
vshriniwasan View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2001
Location: United States
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote vshriniwasan Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 9:44am
Try to Trim the the variable you are receiving and do a len on that. That will tell you how many char are coming through. Then try without trim and see what happens. that would give some idea of what size value coming through.
Back to Top
cuedog View Drop Down
Groupie
Groupie
Avatar

Joined: 29 December 2001
Location: United States
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote cuedog Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 4:36pm
Good idea, Thanks! Now I know another way of debugging my scripts.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.