Interception : mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead dans /sda/2/3/tower.pcs/gf/FREEDEV/res/WD12.0/WD120Sql.php (11)
FREEDEV : Liste des code gratuits windev, webdev ou windev mobile
FREEDEV
Accueil
Les Editeurs
HF CS
WLangage
Composants
Blog
Freewares
Plan du site
Liens
Me contacter
 Les codes free de FreeDev

Comment effectuer une inversion de selection d une table ficher Multiselection ?

Voici un exemple de code :

psTable est une chaîne = "TABLE_Nom"
// Declarations
leIndice est un entier

// Zone memoire
MemCree("MemTemp")

// Memorisation des selections
POUR leIndice=1 A TableSelectOccurrence(psTable)
        MemAjoute( "MemTemp", MemOccurrence( "MemTemp")+1,TableSelect(psTable, leIndice))
FIN

// Deselection
TableSelectMoins(psTable)

// Inversion de la selection
POUR leIndice=1 A TableOccurrence(psTable)
        SI MemRecherche("MemTemp",leIndice,Faux)=-1 ALORS
                TableSelectPlus(psTable,leIndice)
        FIN
FIN

// Fin
MemSupprimeTout("MemTemp")
RECHERCHE
Code
Achetez - Vendez des photos sur fotolia
Achetez - Vendez des photos sur fotolia

**************

**************
Fotolia
Développons ensembles