Environment:
CE 10.0
Citrix/Windows Server 2003
VB6 SP 6
CR Viewer Control 9.0
I have a report created in the designer. One field is a long integer (example: 25200121). I create a formula field to check this value for 0. I print something different if it is zero (0).
JobDisp: IIF({..JobID}=0,"Warehouse",Cstr({..JobID}))
In the designer this displays correctly. I have the number default set to -1234 in the 'Options'). However, when I launch this report from VB6 using the Viewer, it comes out 25,200,121.00.
Questions:
1) Why does the viewer not display exactly what the designer does?
2) Can I force a mask on a numerical field embedded in a string conversion function?
I DO appreciate your feedback! Thanks.
CE 10.0
Citrix/Windows Server 2003
VB6 SP 6
CR Viewer Control 9.0
I have a report created in the designer. One field is a long integer (example: 25200121). I create a formula field to check this value for 0. I print something different if it is zero (0).
JobDisp: IIF({..JobID}=0,"Warehouse",Cstr({..JobID}))
In the designer this displays correctly. I have the number default set to -1234 in the 'Options'). However, when I launch this report from VB6 using the Viewer, it comes out 25,200,121.00.
Questions:
1) Why does the viewer not display exactly what the designer does?
2) Can I force a mask on a numerical field embedded in a string conversion function?
I DO appreciate your feedback! Thanks.