RE: Repost - RunTime Error - Field too small
- From: "'69 Camaro" <ForwardZERO_SPAM.To.69Camaro@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 Jan 2006 12:47:02 -0800
Hi, Paul.
> Any other ideas??
1.) Verify that the text box is bound to the field you think it is.
2.) If this is a linked table, don't use the Linked Table Manager or VBA
code to relink (or refresh the link to) the table after making changes to the
table. Delete the link, then create a new link to the table in the back end.
Otherwise, Jet won't store changes to the external database in the table
link information, such as a new database password or information on the
table's structure, including added and deleted fields, changed field data
types or sizes, and the table's statistics.
3.) If all else fails, post your DLookup( ) code and example data that
Access chokes on. You may have a logic error that someone else here can help
you locate.
HTH.
Gunny
See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact info.
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.
"Paul B." wrote:
> Please see below thread....
>
>
> "Paul B." wrote:
>
> Thanks for the suggestions, tried them but no joy.
>
> Any other ideas??
>
> >
> "Ofer" wrote:
>
> What happen when you try to insert data into the field directly, and not by
> using Dlookup?
>
> Is it a link table? if so, and you changed the field size, try and relink
> the table.
>
> In the Dlookup, add left 254 and check what happen then
> Me.FieldName = Left(Dlookup(.....),254)
>
> Try compact and repair to the MDB where the table is located in.
>
> --
> \\// Live Long and Prosper \\//
> BS"D
>
> > >
> "Paul B." wrote:
>
> I am using a Dlookup statement to update a text box which is working fine
> except for some of the entries. I get an error message (below) and I cannot
> figure out what is wrong.
>
> The table field is 255 characters (I know it's too big, but for now I still
> working on it) and the forms text box is bound to the field in the table.
>
> I have tested the different text formats, and it doesn't seem to care about
> brackets, apostrophies, dashes or other symbols.
>
> It seems to die if the field has more than 30 characters.
>
> Any ideas would be appreciated...
>
> If you are interested, this is the error:
> ---------------------------------------------------------------------------------------------
>
> Run-Time error '-2147352567 (800200009)'
>
> The field is too small to accept the amount of data you attempted to add.
> Try inserting or pasting less data.
>
> -----------------------------------------------------------------------------------------------
>
.
- Follow-Ups:
- RE: Repost - RunTime Error - Field too small
- From: Paul B.
- RE: Repost - RunTime Error - Field too small
- Prev by Date: Re: Coding with varsortby and options
- Next by Date: Re: How do I get an unbound text box to populate a table?
- Previous by thread: Simulate Excel's Freeze Panes functionality
- Next by thread: RE: Repost - RunTime Error - Field too small
- Index(es):
Relevant Pages
|
Loading