00:00:00 Introdução
00:00:07 Criando botao array sort composto
00:00:18 Codigo array composto
00:01:47 Testar pagina
00:02:22 Propagandas e Video Encerramento
material_estrutura is Structure
codigo is int
nome is string
quantidade is currency
END
linha_material_estrutura is material_estrutura
array_material is array of material_estrutura
FOR EACH material
linha_material_estrutura.codigo=material.materialID
linha_material_estrutura.nome=material.nome
linha_material_estrutura.quantidade=material.quantidade // novo
array_material.Add(linha_material_estrutura)
END
ArraySort(array_material,asMember,"quantidade;nome") // novo
TABLE_tabela.DeleteAll()
FOR EACH ELEMENT stlinha OF array_material
linha is int=TABLE_tabela.AddLine()
TABLE_tabela[linha].COL_Column1=stlinha.codigo
TABLE_tabela[linha].COL_Column2=stlinha.nome
TABLE_tabela[linha].COL_Column3=stlinha.quantidade // novo
END
Indice
Indice tabela