PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Modifying an array
Modifying an array
Iniciado por Antonio Díaz, fev., 16 2024 3:10 AM - 1 resposta
Membro registado
71 mensagems
Popularité : +2 (2 votes)
Publicado em fevereiro, 16 2024 - 3:10 AM
Hi guys,

I have a table filled with an array of a structure variable. It works great as long as I add or delete. But this is an editable Table, so I want to "update" the array with the information typed by the user on a certain column.

I've been trying for a while with different approaches but haven't been able to. Is this possible?...

Thanks in advance.

--

Antonio Diaz
Emphasys Software, S.C.
Membro registado
80 mensagems
Publicado em abril, 21 2024 - 1:20 PM
yes it is.

i am assuming you are using a dynamic associative arrays.

myarray[tablefieldkey].fieldname = col_name[TableSelect(thetable)]

or something like that.

--
Ben Dell
Riebens Computers Pty Ltd
Southern Africa PcSoft Distributor
www.windevsa.co.za
PcSoft Sales, Support and Training