Problems saving MemoText (over 255 chars) into ACCESS2000

From: David (learn2love_at_163.com)
Date: 03/12/04


Date: Fri, 12 Mar 2004 19:01:02 +0800

Hi,

I am facing the problem of saving the memo text into an Access table.

If the text in the memo is less than 255. the saving will work properly.

If the text exceeds 255 chars, the saving will get errors.

The SQL statement is:

  with ADOCommand1 do
  begin
    commandText:='Insert into City values
(:CityFName,:CityAbbrCode,:descriptions)';
    CommandType:=cmdText;
    Parameters.ParamByName('CityFname').Value:=edtCityFullName.Text;
    Parameters.ParamByName('CityAbbrCode').Value:=edtCityAbbrCode.Text;
    Parameters.ParamByName('descriptions').Value:=memDescription.Lines.Text;
    execute;
  end;

**The last field "description" in Table "city" in the ACCESS is a MEMO
field.**

How could I save text into the memo field when text is over 255 chars? Help
me please.



Relevant Pages

  • Re: Problems saving MemoText (over 255 chars) into ACCESS2000
    ... >If the text exceeds 255 chars, the saving will get errors. ... storing text> 255 characters in the memo fields. ...
    (borland.public.delphi.database.ado)
  • Re: Return after AppActivate
    ... the program being automatically shutdown at midnight every night, ... responsible for saving their own work. ... Any losses due to a ... In my company, that memo better come from the CEO himself, ...
    (microsoft.public.scripting.wsh)
  • Re: Looking to download vocie mail message(s) to my PC
    ... I have been saving and resaving some irreplaceable voice mail messages ... Starting the phone's built in memo recorder ... Playing the voicemail which the phone recorded beautifully ... I have a conector that i can hook up to the headset port on the phone and i ...
    (alt.cellular.verizon)
  • Re: Looking to download vocie mail message(s) to my PC
    ... I have been saving and resaving some irreplaceable voice mail messages ... Starting the phone's built in memo recorder ... Playing the voicemail which the phone recorded beautifully ... I have a conector that i can hook up to the headset port on the phone and i ...
    (alt.cellular.verizon)
  • Re: HELP!!! Corrupt data table
    ... The table stores only a pointer to the location where the memo field is ... Change it to a Make Table query. ... Open the new table in design view, and add the memo field. ... General tips on recovering from corruption: ...
    (microsoft.public.access.formscoding)