Skip to Content
0
Apr 29, 2015 at 07:11 AM

Query - If doesn't work with is initial

19 Views

Hi,

I've problem with an if in a query.

In particular when the select field SS (special stock declared as selection criteria) hasn't values, the 2nd if doesn't work (if... SS is initial).

I've debbugged the query, the SS is empty but the program jump the 2nd if and goes directly to endif,

Where is the mistake?

Thanks and regards.

Antonio

Attachments

Code QM.JPG (63.2 kB)
SS table.JPG (45.8 kB)