GetData( datastore customdict, string filter, string column, ref any values[] ) return long- Syntax 2

Store the value(s) of the specified column of a custom Data Dictionary for entries corresponding to the filter expression given into specified variable by ref.

It will return the number of corresponding entries, zero if none is corresponding or -1 if an error occurs.


datastore lds_student
any la_lastname[]
long ll_rc, ll_i
string ls_cadets
ll_rc = #.GetData( lds_student, "birthdate between 01/01/2000 and 31/12/2002", "lastname", la_lastname ) 
if ll_rc = -1 then return -1
for ll_i = 1 to ll_rc
 ls_cadet += ls_lastname[ll_i]+","

Last edited Oct 27, 2015 at 8:55 PM by domangep, version 2