=sqlexec(nhandle,'SELECT myprocedure() from anytable where 0=1')MartinJ
>=sqlexec(nhandle,'myprocedure') >>do not work. The .dbc is open. I saw the VFP examples and I do not understand why: launching the same procedure (do myprocedure) from the command window it works.