473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Access:exporting memo field to RTF

ICU
Hi,

I have an Access 2000 app that is correctly updating a memo field in
the database from an ActiveXCTL but when I try to export that data to
a RTF the file is created but it is blank. It appears to be related to
the number of characters in that field??

Suggestions?

thanks.
Nov 12 '05 #1
3 1973
First thing to check is that any changes in your form have been saved before
the export, e.g.:
If Me.Dirty Then
Me.Dirty = False
End If

There was a problem with RTF exports under A97. Details:
http://support.microsoft.com/?id=288877

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"ICU" <km*******@hotmail.com> wrote in message
news:13**************************@posting.google.c om...

I have an Access 2000 app that is correctly updating a memo field in
the database from an ActiveXCTL but when I try to export that data to
a RTF the file is created but it is blank. It appears to be related to
the number of characters in that field??

Nov 12 '05 #2
This is the first time I see this way of saving the actual the record. So
Me.Dirty = False does the same job as Docmd.Runcommand acCmdSaveRecord ?
First thing to check is that any changes in your form have been saved before the export, e.g.:
If Me.Dirty Then
Me.Dirty = False
End If

Nov 12 '05 #3
Hi Saintor

Yes. Me.Dirty is the only reliable way to save a record in a specified form.

RunCommand acCmdSaveRecord saves in whatever form is active.

The wizard-generated DoMenuItem is also dependant on which form is active
(as well as what menus).

Me.Refresh does not generate any error if the save did not work, so is not
useful.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Saintor" <sa******@REMOVETHIShotmail.com> wrote in message
news:i%*********************@weber.videotron.net.. .
This is the first time I see this way of saving the actual the record. So
Me.Dirty = False does the same job as Docmd.Runcommand acCmdSaveRecord ?
First thing to check is that any changes in your form have been saved

before
the export, e.g.:
If Me.Dirty Then
Me.Dirty = False
End If

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hugh Welford | last post by:
Hi ... using WIN XP/ FP 2000/ IIS. I need to be able to retieve variable length (>255 characters) messages which have been saved in a memo field in an access data base on the server. I am using...
3
by: Hugh Welford | last post by:
Hi ... My application saves variable length user-generated messages in an ACCESS memo field. ASP writes these messages correctly retaining CR LF to generate new paragraphs. (have checked this in...
2
by: Vincent Lau | last post by:
Hello, I'm new on ASP and Access. I stored several lines of information in a Access memo field. I use follow ASP response.write statement to display contain of the memo field. Response.Write...
0
by: Lauren Quantrell | last post by:
I'm using this construction on an Access Memo field: .... Dim prm as ADODB.Parameter .... Set prm = cmd.createParameter("myParam", adLongVarWChar, 0, Me.myParam) cmd.Parameters.Append prm...
0
by: Lauren Quantrell | last post by:
I'm using this construction on an Access Memo field: .... Dim prm as ADODB.Parameter .... Set prm = cmd.createParameter("myParam", adLongVarWChar, 0, Me.myParam) cmd.Parameters.Append prm...
0
by: Lauren Quantrell | last post by:
It took me way too long to figure this out and I saw a lot of unanswered questions regarding how to deal with ms-Access memo fields and creating SP parameters. This is what I finally figured out...
6
by: Matt | last post by:
I'm having difficulty with trying to update a Access memo field through an SQL statement where the value I'm trying to pass is longer than 255 characters. The field is being truncated. I'm using...
3
by: M. Noroozi Eghbali | last post by:
Hi All, I used the below code to get the information from a MS Access database file: ---------------------------------------------------- bdpConnection1.Open();...
2
by: LJB | last post by:
I have an ASP that displays two MS Access memo fields in separate table cells just fine. However when I concatenate them with SQL as in "select fld1 & fld2 as temp...." to display them in one cell...
1
by: ahmed222too | last post by:
how can i check if an access field is null using VB6 these codes donot work: If rs("lemmaid").Value is null If rs("lemmaid").Value = null If rs("lemmaid").Value =""
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.