PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Selection of the first row of a table windev.
Selection of the first row of a table windev.
Iniciado por guest, 25,mar. 2015 11:16 - 5 respuestas
Publicado el 25,marzo 2015 - 11:16
Hello,
How do I get the first row of a table in windev not be selected. Selectminus() will not work.
The table is linked to a database file.
Best regards,
Kozeta Leka
Publicado el 25,marzo 2015 - 11:44
Hello

nCurrentSubscript is int=tableselect(Table_Name)
Table_Name(TABLE_InvDet,nCurrentSubscript)
Table_Name..State=DisplayOnly
Table_Name..State=Active
TableSelectPlus(Table_Name,nCurrentSubscript)
SetFocus(Table_Name)

Biju
Publicado el 25,marzo 2015 - 12:10
TableSelectMinus(myTable) in the "End of initialization" of the table ?

Regards
Bart
Publicado el 25,marzo 2015 - 13:01
Hello,
no need


Some corrections:=>

nCurrentSubscript is int=tableselect(Table_Name)
TableSelectPlus(Table_Name,nCurrentSubscript)
Table_Name..State=DisplayOnly
Table_Name..State=Active
TableSelectPlus(Table_Name,nCurrentSubscript)
SetFocus(Table_Name)


will select (highlight the entire row)

Thanks
Biju

Biju
Publicado el 25,marzo 2015 - 16:29
Hi Biju,

The question was how not to select the row - Bart's answer should suffice :spos:
Publicado el 25,marzo 2015 - 17:14
TableSelectMinus() should work as long as you call it in the right procedure.