form field population

H

Hilary Ratner

To continue with my earlier issue which Suzanne solved for
me, I have yet another problem.

The data source that will be populating the form fields
has carriage returns. Therefore, when the fields are
populated, only the first paragraph from the data source
makes it into the field. Is there a way for it to
recognize and copy the carriage return and subsequent
paragraphs as well?

TIA

Hilary
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Hilary,

How are you populating the formfields?

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
H

Hilary Ratner

The data source is coming from the AS400 via a bookmark
insertion using Visual Basic. (I spoke to the developer.)
Let me know if you need anymore info.

Thanks again!

Hilary
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Hilary,

The developer is going to have to get involved in this.

The following code will insert the paragraphs represented by Paragraph1 and
Paragraph2 as separate paragraphs into the bookmark named "test"

Dim mystring As String
mystring = "Paragraph1" & vbCr & "Parapgraph2"
ActiveDocument.Bookmarks("test").Range.InsertBefore mystring


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
H

hilary ratner

Thank you very much!
-----Original Message-----
Hi Hilary,

The developer is going to have to get involved in this.

The following code will insert the paragraphs represented by Paragraph1 and
Paragraph2 as separate paragraphs into the bookmark named "test"

Dim mystring As String
mystring = "Paragraph1" & vbCr & "Parapgraph2"
ActiveDocument.Bookmarks("test").Range.InsertBefore mystring


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP



.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top