Focal Point
cyntex for a values starting with 45%

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2281081262

December 18, 2007, 10:44 AM
vkrugman
cyntex for a values starting with 45%
Please let me know what AN I doing wrong?
I need get records where DELNUMB is missing OR DELNUMB starts with '45....'. It's A10 field.
When I do it separetly, it works. In this case, I'm getting only records where DELNUMB starts not with 45

----------------------------------------
PRINT
DELNUMB AS 'PO'
WHERE DELNUMB EQ '.'
OR EDIT(DELNUMB,'99$$$$$$$$') NE '45'
END


Valeriya

WebFOCUS 764 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows 2000
December 18, 2007, 10:53 AM
Fernando
Lera,

Try:

WHERE (DELNUMB IS MISSING) OR (DELNUMB LIKE '45%');

Fernando

P.S. If you example works quickly enough, you could change the NE '45' to EQ '45'.


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
December 18, 2007, 10:54 AM
TryFocus
quote:
PRINT
DELNUMB AS 'PO'
WHERE DELNUMB EQ '.'
OR EDIT(DELNUMB,'99$$$$$$$$') NE '45'
END


Try this Code
quote:

PRINT
DELNUMB AS 'PO'
WHERE DELNUMB LIKE '45%' OR '.'
END



Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
December 18, 2007, 11:00 AM
vkrugman
THANKS YOU!


Valeriya

WebFOCUS 764 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows 2000