Restore Characters Per Inch prompt in text exports

Thursday 23 September 2010 @ 10:37 pm

When you export to text in Crystal Reports you are asked to provide two settings:

1) the number of lines per page

2) the characters per inch (CPI ).

When you enter the CPI in versions 9 or 10 you will see an option to store your CPI value so that you don’t have to enter it again.  This sounds handy, but once you check off  ‘do not prompt me again’  you can no longer change or even see your CPI setting.   One of my customers needed to change their CPI setting and couldn’t, so I figured that he had checked off that option at some point.  We had to comb through the registry and finally found the key that tells CR not to prompt for CPI.  We changed the value and the prompt reappeared.

So, if you ever need to reset this setting the registry key is:

HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text

or

HKEY_CURRENT_USER\Software\Crystal Decisions\9.0\Crystal Reports\Export\TextExport

You change the “PromptAgain” value from 0 to 1 and CR will now prompt you for CPI again.

Also note that this key is created at the time you put in the check mark.  It isn’t there at all before then so if you haven’t ever checked that box you won’t see it.









Leave a Reply

Jeff-Net
Recrystallize Pro

Crystal Reports Server