![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
4'6"| |
|
4'6""| or |4'6''| |
#2
| |||
| |||
|
| I am creating a pipe delimited output file which will be used in a Microsoft Word Mail Merge process. In general, it all works fine, except when I have data like |4'6"| MSWord looks at double quotes ( " ) as a delimiter even though I have specified | as the delimiter - and merge chokes. The ultimate resolution is for the output file to look as follows: |4'6""| or |4'6''| Here's the problem - UniVerse BASIC will not let me do a CONVERT from " to "" or '. No matter what I do the ouput only becomes " or '. For example: CONVERT ' " ' TO ' " "' IN OUTREC ; CONVERT ' " ' TO " ' ' " IN OUTREC ; CONVERT ' " ' TO ' " ':' " ' IN OUTREC ; <- that's a Format of " under ", gok what it would do. CONVERT ' " ' TO " ' ":" ' " IN OUTREC ; <- another Format ! |
|
(note: Extra spaces between the quotes for clarity here. Not actually in program.) Also unsuccessfully tried variables in the CONVERT, and an EREPLACE function. Have a work around where I replace " with ~ and my MSWord macro changes ~ to " in the final merged doc, but would prefer to fix the data on the output side once. This change makes me compensate twice and also requires putting the MSWord change on multiple machines. Any help is greatly appreciated!!! Patty Patty - try this or something similar; EQU SQ TO \'\ EQU DQ TO \"\ CONVERT SQ TO ... CONVERT DQ TO ... Sorry for posting out here, but the U2 group won't accect my reply. Hope you get this. Tom Phillips |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |