Crystal report request to show all part_id's with product-code and an alpha character in Eng_master_id
I have a request to write a report that will return all Part_Id's that have both a product_Code and an alpha character in the Eng_Master_Id field. using the select expert how do i do this? This is what i got now and it no work:
({PART.ENGINEERING_MSTR}) LIKE '^[A-Za-z0-9]+$' and
NOT ISNULL ({PART.PRODUCT_CODE})
Crystal Reports
Last Comment
wallis34
8/22/2022 - Mon
Mike McCracken
When you say it has an ALPHA character in the Eng_Master_ID field are you saying that it not a number or that it has at least 1 character that is A-Z?
Can it have special characters? or are they alphanumeric fields (made from A-Z (either case) and 0-9)?
You can try
Not IsNumeric({PART.ENGINEERING_MSTR}) ANDNOT ISNULL ({PART.PRODUCT_CODE})
Thanks, that looks good, but there are still many records with blank product codes and actually blank engineering mstr fields. I have atached a couple screen shots please let me know if you want to see other stuff. TIA! report-01.jpg select-expert.jpg sql.rtf
Can it have special characters? or are they alphanumeric fields (made from A-Z (either case) and 0-9)?
You can try
Open in new window
mlmcc