you will likely need to use a formula to convert one of the data items to the correct type.
ie: a zip code may be stored as a text item, not a numeric, thus when you try to link it to a numeric item it will not do so unless converted in some way.
this may be done via formula within crystal or via sql/etc
You can either convert one using a formula as fisheromacse suggests and then use the formula to link to a main report to a subreport containing the other table, or use a command, where you convert the field in the join clause of the from statement.
How do I use a formula to convert one of the data items to the correct type, have the tables link to each other, and then to use that in the selection formula?
Hmm, OK, for the sake of argument let's assume that I'm trying to link a table containing the numeric field ICMXVAL.IC_OBJ_ID into my report for the text POLINE.ITEM field.
Can you guide me on how to get that done? I have used SQL queries a few years ago, so let just use the command method (if it's ok with you).
You would have to show samples of the two fields. I'm assuming that you mean the first field is a number field? What kind of database are you using? What version of CR?
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.