Thanks for your advice Mr.craigsboyd,
But it will show all field in grid.
here i mean :
with that classform, i create 2 forms :
FromName :FormA
Table :TableA (Kode,Name,Address,phone,email)
Field use: Kode,Name,phone,email
FromName :FormB
Table :TableB (Kode,Name,Address,phone,email)
Field use: Kode,Name,Address
in the gridclass i put 3 propertyclass,
the function is for selecting fields to show in grid.
ALias (C) = Table Name
maxField (N) = How much columns in grid
FieldUse (C) = Fields use in columns
eg:
In grid in FormA i put:
ALias= TableA
maxField = 4
FieldUse = Kode,Name,phone,email
********************************
So how to fill the field selected into the grid.
Thanks for all supports.