Topic Options
#9929 - 10/01/07 10:03 AM Crystal Reports - Applymask
doswalt Offline
Adagio Specialist

Registered: 11/10/06
Posts: 319
Loc: AL
Suddenly I have issues formatting items numbers w/ crystal reports. I am now trying formulas as follows w/ no success:
applymask({ICW65 Company Profile.Item number format},{OEW65 Orders and Invoices Details.Item number})

{OEW65 Orders and Invoices Details.Item number}[1 to 2]&"/"&{OEW65 Orders and Invoices Details.Item number}[3 to 5]&"-"&{OEW65 Orders and Invoices Details.Item number}[6 to 8]

applymask("ll/lll-lll",{OEW65 Orders and Invoices Details.Item number})

Instead of the report running using the print tool the screen just flashes, but the reports appear fine previewing in crystal.

Any ideas to what may be happening appreciated.
Thank,

Top
#9948 - 10/02/07 07:12 PM Re: Crystal Reports - Applymask [Re: doswalt]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11324
Loc: Vancouver, BC Canada
The 'applymask' function is a special DLL that gets loaded from the C:\windows\crystal directory, something not part of Crystal Reports but something we've added. If you get errors attempting to print a report using this function, the reason is that the DLL is not getting loaded properly. I've heard one 'workaround' was to create a new report (which loads the DLLs) then print the report that uses the DLL - then it works.

Does the report run OK from the report designer, rather than from PrintTool? If so, the cause may be that the report contains a feature that is part of the Crystal Reports 8.x feature set. PrintTool by default uses the version 7.0 Crystal Reports print engine. If the engine cannot recognize the feature, it will bail and cause the 'screen flash' you described.
_________________________
Regards,
Softrak Tech Support

Top
#9949 - 10/02/07 09:40 PM Re: Crystal Reports - Applymask [Re: Softrak Support]
doswalt Offline
Adagio Specialist

Registered: 11/10/06
Posts: 319
Loc: AL
Thanks for your reply.

The reports using this function ran properly in the past and don't use any special features that I am aware of.

I have to assume something has damaged the dll in the c:\windows\crystal directory that you mention, as I have tried creating a new "simple" report to get the function to work.

Will re-installing any other module besides Crystal for Adagio replace the dll?

Thanks,

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 30 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1848 Members
5 Forums
14242 Topics
69746 Posts

Max Online: 359 @ 11/18/19 09:08 PM
May
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31