HI Guys.....
Thanks to Modules Im using a specific mdule to cope with the command to and data from a database...
I Have this sub:
This is called by the following line:
BaseDados.Get_Assinatura(Table1.Cell("Nome",Table1.SelectedRow),AssImage)
AssImage is an image control...
But this doesn't work...
Help?!?!?
Thanks to Modules Im using a specific mdule to cope with the command to and data from a database...
I Have this sub:
B4X:
Public Sub Get_Assinatura(Nome,Destino)
cmd.CommandText = "SELECT Assinatura FROM Tecnicos Where Nome='"&Nome&"'"
Data.Value = cmd.ExecuteReader
Data.ReadNextRow
Control(Destino).Image= Data.GetImage(0)
End Sub
This is called by the following line:
BaseDados.Get_Assinatura(Table1.Cell("Nome",Table1.SelectedRow),AssImage)
AssImage is an image control...
But this doesn't work...
Help?!?!?