<< I'm not suggesting this for in program sql but in EDBManager could ? be treated as a parameter? >>
EDB uses the same VCL components as your application, so it has to use parameter names. Internally, EDB uses question marks, but that's internal, so...