PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → add colum in table
add colum in table
Débuté par johan van brecht, 10 jan. 2005 12:29 - 3 réponses
Posté le 10 janvier 2005 - 12:29
Hi,
Does someone know how to insert a colum in a table (par programmation) ?
Thanx !

http://www.vblsoft.com
Posté le 10 janvier 2005 - 13:40
G'day Johan
I don't think it is possible to add a column to a table by programming.
I achieve this by adding spare hidden columns into my tables at the design stage and then setting them up and making them visible as required. The tableadjust command can be used to configure some of the column attributes, but things like totals, search and sort for memory table columns must be preset in the window editor.
Regards
Al
Posté le 10 janvier 2005 - 16:47
G'day Johan
I don't think it is possible to add a column to a table by programming.
I achieve this by adding spare hidden columns into my tables at the design stage and then setting them up and making them visible as required. The tableadjust command can be used to configure some of the column attributes, but things like totals, search and sort for memory table columns must be preset in the window editor.
Regards
Al

You can do that by cloning the column.
Posté le 10 janvier 2005 - 19:40
Hi,
Does someone know how to insert a colum in a table (par programmation) ?
Thanx !

See ControlClone() in Help.