String Comparison

greeshma

Member
Hi All,

I am trying to get print job status of a selected printer using WMI.

My printer is not connected to system and printjob's can be viewed from start-> device and printers -> see what's printing.
There jobstatus is displaying blank. But in my program it returns value "?".
I tried compare it with "?" "". Comparison fails . Any other way to do comparison.
Code is attached.I am using progress version 11.3.
 

Attachments

  • syntax3.cls
    2.4 KB · Views: 5

tamhas

ProgressTalk.com Sponsor
? is ABL for unknown value. Not a null string, but a string to which no value has been assigned.
 
Top