PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2025 → champ ascenceur de table
champ ascenceur de table
Iniciado por planisoft, 28,jul. 2004 02:53 - 2 respuestas
Publicado el 28,julio 2004 - 02:53
Existe-t'il un moyen de simuler un clic sur le bouton ascenceur d'une table(pas
l'avance rapide mais une ligne a la fois)
Publicado el 28,julio 2004 - 11:46
"Planisoft" <planisoft@planisoft.cjb.net> wrote:


Existe-t'il un moyen de simuler un clic sur le bouton ascenceur d'une table(pas
l'avance rapide mais une ligne a la fois)

Regarde l'aide windev concernant la fonction tableposition() qui positionne
une ligne de la table en premier dans la table ... C'est presque un tableselectplus().
Publicado el 28,julio 2004 - 11:50
"Planisoft" <planisoft@planisoft.cjb.net> wrote:


Existe-t'il un moyen de simuler un clic sur le bouton ascenceur d'une table(pas
l'avance rapide mais une ligne a la fois)


Voici le code ad hoc !

// table_client est le nom de la table
// pour avancer d'une ligne dans la table à partir de la ligne sélectionnée
TableSelectPlus(Table_client,TableSelect(Table_client)+1)

// pour reculer d'une ligne dans la table à partir de la ligne sélectionnée
TableSelectPlus(Table_client,TableSelect(Table_client)-1)