Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i insert a character 1

Status
Not open for further replies.

betachristopher

Programmer
Oct 25, 2006
54
0
0
US
i have a report that is pulling data from a table that contains free text information entered by users. in this free text information, i want a pipe character added after every 30 characters. any ideas?
 
Try a Formula like this:

Mid({field},1,30) & " | " & Mid({field},31,30) & " | " & Mid({field},61,30)

Replace {field} with the free text field and repeat the

"& " | " & Mid({field},61,30)" untill you reach the maximum size of the field.
 
thank you! it worked! i can't tell you how much i appreciate your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top