PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB19]Getting FieldNames and Types from a Class
[WB19]Getting FieldNames and Types from a Class
Iniciado por guest, 20,abr. 2015 11:10 - 1 respuesta
Publicado el 20,abril 2015 - 11:10
Hi

I have a class containing a record structure and a class collecting the data by means of a query and adding it to an array.

I want to export this array to Excel and so far no problem with that.

However I want to know the field type from the record structure i.e. is it a string, int, real or whatever. Is there a way to obtain that?

So my class is DocumentLinesRecordClass.

I have set a variable clDocumentLines is DocumentLinesRecordClass

So when I type clDocumentLines. I will see all the members of that class.

Any way to get the type from there?

Thanks in advance



Ericus Steyn
Publicado el 20,abril 2015 - 13:54
Hi Ericus

the ..type property ?

Best regards