PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Creating a class based on a table
Creating a class based on a table
Iniciado por guest, 22,abr. 2015 14:11 - 2 respuestas
Publicado el 22,abril 2015 - 14:11
WD15

HI,

Is there a way of creating a class based on an HFCS table without having to type in every data field as a member?

Cheers
Reg
Publicado el 22,abril 2015 - 14:38
Hi Reg,

Two options:

1) go via the UML path in WX

2) You can download my WX-Framework here.
In the WD version there is a Class Generator that generates the class based on the fields in a query...
Theoretically you could extract this code to do the same for a table.

Cheers,

Peter H.
Publicado el 22,abril 2015 - 15:06
I'll take a look, many thanks for the reply.