Checking Whether The Dataset Is Empty Or Not

jchellap

Member
QAD Version : QAD Enterprise Applications 2013
OpenEdge Procedure Editor : 11.3

Hi all,

I am new to Dataset. I am getting an error while running a program "Error Querying data: Null data set returned." and it seems the null data set is returned.

I want to know whether a particular dataset is empty or not. Is there any function for the same?

My sample code is like

Define temp-table x
field a as char.

define dataset ds for x.

/** Here I want to check whether the dataset ds is empty or not ** /

Thanks in advance !!!
 
Top