Hi
I use the field LogCommentsTXT to print the comments on my logbook.
To make it easier to see how it would look like I use "plain text" in the program.
Here is the question:
When i make a row-break, there is a clear row beetween when i print it, not just a break.
Do you know why? It look as it should be when i write it, but not when i print.
writng
"i write something here and then makes a
row-break with the return"
print
"i write something here and then makes a
row-break with the return"
/Erik
Log comments
Hi Erik
I'm not sure why this happens, I think for some reason the report designer interprets the line break wrong. But you can fix this in the designer. Use this formula instead of LogCommentsTXT:
This will change the Chr(10) & Chr(13) linebreak used by Diving Log to a simple Chr(13) linebreak. As an alternate you can use also this code:
This will keep the Chr(10) instead of Chr(13). Maybe I'll do this replacement in future directly in Diving Log, so this formula is no longer needed.
Sven
I'm not sure why this happens, I think for some reason the report designer interprets the line break wrong. But you can fix this in the designer. Use this formula instead of LogCommentsTXT:
Code: Select all
StrSubst$ (LogCommentsTXT,Chr$ (10))
Code: Select all
StrSubst$ (LogCommentsTXT,Chr$ (13))
Sven