form field population

  • Thread starter Thread starter Hilary Ratner
  • Start date Start date
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
 
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
 
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
 
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
 
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



.
 
Back
Top