hi, ruslan how can i rewrite this querry in api way ? dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by BArt") thanks jules ------------------------------------------- Réussir dans la vie, c'est échouer au bon endroit Jean-Baptiste de Foucauld