I used it on my vb6 app and it works perfectly so when i print it via crystal reports if i filter the report comes in blank and if i print i get SMAN5x11.
You say you used it in your VB app, does that mean that you displayeed the fieeld on a form in VB?
and this "so when i print it via crystal reports if i filter the report comes in blank and if i print i get SMAN5x11." means that nothing is displayed, the report shows NO pages but if you select the print icon it prints data?
Doesn't make any sense to me.
If the report has no data, there is nothing to print, perhaps you need to rephrase this.
I would still guess that there's some oddball character involved, or a font issue.
You might try a formula of asc(right(trim({table.field}),1)) to learn what the ASCII character is for the 1/2.
If it is not what it should be, use the REPLACE function against it.
Yes, when i print it via crystal reports if i filter the report by this code with the special characters it comes in blank.
Yes, if i print i get SMAN5x11 and that means that nothing is displayed, the report shows NO pages but if you select the print icon it prints data?
no data is printed
====================================
1. i have an invoice with in it detail print SMAN5x11
2. i have a list reports that print inventory movements. When i filter with SMAN5x11½ no data is printed.
That is bizarre since it contains the same character...
It would seem that there isn't any data that matches that, since adding a C works.
What does the following return:
dim str as string
str = "{tbl_detailtrans.articulo} like 'SMAN5x11½*'
report.selectionformula = str
Thi should return everything, and I would copy and paste what in the the Database->Show SQl Query and run it to see what is being returned and to make sure it's coming across to crystal correctly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.