req est une chaine
idMax est un entier
req="SELECT MAX(id) as maxi FROM matable";
SQLExec("selectIDMax",req)
SQLAvance("selectIDMax")
idMax = SQLLitCol("selectIDMax",1)
SQLFerme("selectIDMax")
Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=17&topic_id=4397&post_id=18209