Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Field

Status
Not open for further replies.

Jonathan212

IS-IT--Management
Oct 22, 2002
57
US
Example of Selection Criteria:
{@SurgDate} = {?Date} and
isnull({pcmprocedure.deletedon}) and
{pcmProcedure.primaryProcedure} = "Y" and
isnull({pcmcase.deletedon}) and
isnull({pcmanesthes.deletedon}) and
{pcmCase.status} = 3 and
tonumber({vw_pcxPatient.medicalRecordNumber}) in [
471823 ,
967138 ,
670587 ,
958754 ,
858620 ,
754679 ,
368877 ,
975928 ,
978406 ,
343797
]

I entered that vw_pcxPatient.medicalrecordNumber information in selection formula > record and then entered {table field} in [paste here]

Getting error message: the string is non-numeric

The medical record number is a string.

Any thoughts as per how I can resolve this error message?

Using Crystal 10.

Jonathan
 
Why are you converting it to a number? It sounds like the field might have nulls, spaces, or alpha characters in it.

You could try changing the last section to:

isnumeric({vw_pcxPatient.medicalRecordNumber}) and
tonumber({vw_pcxPatient.medicalRecordNumber}) in [
471823 ,
967138 ,
670587 ,
958754 ,
858620 ,
754679 ,
368877 ,
975928 ,
978406 ,
343797
]

-LB
 
Thank you Professor LB. Perfecto. Most appreciated, timely and extrenmely helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top