Bonjour,

Je bataille avec une table contenant une colonne interrupteur, je voudrais que certains de mes interrupteurs ce grises sous condition.

J'ai fais mon code qui ne marche pas mais je ne sais pas pourquoi

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
NumLign est un entier = 1
TableSupprimeTout(TABLE_Proc)
 
REQ_ProcExist.ParamCt = gsCtAgRec
REQ_ProcExist.ParamSoc = gsSocAgRec
HExécuteRequête(REQ_ProcExist)
 
POUR TOUT REQ_ProcExist	
	NumLign = TableAjouteLigne(TABLE_Proc,REQ_ProcExist.DATE,REQ_ProcExist.COD_PROC,...
	REQ_ProcExist.LibProc,REQ_ProcExist.MONTANT,REQ_ProcExist.Theme,...
	REQ_ProcExist.NOBAIL)
 
SI REQ_ProcExist.MAJON = "O" ALORS
	TABLE_Proc.COL_sel[NumLign] .. Etat = Grisé
FIN
FIN
Help

Merci d'avance