Hoy por hoy hago esto:
Code: Select all
#define ARBOL_RAMA ;
"SELECT " + ;
"d.id as c1, " + ;
"d.apellidos as c2, " + ;
"d.nombres as c3 " + ;
"FROM tbdante as d " + ;
"WHERE d.id = " + ClipValue2SQL( nId )
Code: Select all
TEXT INTO cSql
SELECT
....
ENDTEXT
gracias.