IF Version(2)>0 && Cria Objecto oAPP para Passar Parametros COM set classlib to JBApplic ADDITIVE WITH oApp .cServerName='192.168.0.1' .cDatabase='TESTE' .cUserName = 'JoaoBatista' .cUserPass = 'internet' ENDWITH ENDIF DODEFAULT()Now i need to move it to a prg, like this,
If Version(2) > 0 && Cria Objecto oAPP para Passar Parametros COM set classlib to JBApplic ADDITIVE oApp = createobject('JBApplication') WITH oApp .cServerName='192.168.0.1' .cDatabase='IPLAZ' .cUserName = 'JoaoBatista' .cUserPass = 'internet' ENDWITH ENDIFand always i get the error 1429, (this is login to SQL-Server), i can't access the tables.