Look here: http://doc.4d.com/4Dv15/4D/15.1/Overview-of-SQL-Commands.300-2686189.en.html and then especially there: "Referencing 4D expressions in SQL requests"
That means, use : vfname HTH Lutz ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

