Android Question Problem inserting characters in RDC

Heppy

Active Member
Licensed User
Longtime User
When i insert in RDC characters that 'ó', 'ü', '|', etc, the RDC not work and not insert the string in the RBMS.

Don't returns errors.

My config. properties is:
B4X:
DriverClass=interbase.interclient.Driver
JdbcUrl=jdbc:interbase://192.168.1.105/d:/semaforos/Gestion.ib

#SQL Server
#DriverClass=net.sourceforge.jtds.jdbc.Driver
#JdbcUrl=jdbc:jtds:sqlserver://<database server ip>/<database>
User=sysdba
Password=masterkey
ServerPort=17178
#If Debug is true then this file will be reloaded on every query.
#This is useful if you need to modify the queries.
Debug=true

#commands
sql.select_inst=SELECT ID,TIPO,NUMERO,SITUACION,ZONA FROM gsituaciones
sql.select_imei=SELECT IMEI FROM IMEI WHERE IMEI=?
sql.select_totmant=Select * from mantepredef order by Fecha Desc,IDS Asc
#sql.select_sptotmant=EXECUTE PROCEDURE SPTOTMANT (?,?)
#sql.select_totmant=select * from Mantepredef tbl where EXISTS(select IDS,Max(Fecha) As Fecha from Mantepredef Group by MANTEPREDEF.IDS HAVING Fecha=tbl.fecha and IDS=Tbl.IDS)
#sql.select_totmant=select * from Mantepredef tbl where EXISTS(select IDS,Max(Fecha) As Fecha from Mantepredef Group by MANTEPREDEF.IDS HAVING mANTEPREDEF.IDS = tbl.IDS And Max(MANTEPREDEF.Fecha) = tbl.Fecha) Order by MANTEPREDEF.IDS
sql.select_totmant1=select * from Mantepredef
sql.select_mantenimiento=SELECT COUNT(*) FROM MANTEPRECERMA
sql.select_spsalidas=EXECUTE PROCEDURE SALIDAS_MAN_IU (?,?,?,?,?,?,?,?,?,?,?,?,?,?)
#sql.select_spmanteprecerma=EXECUTE PROCEDURE MANTEPRECERMA_IU(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
#sql.select_prueba=INSERT INTO PRUEBA VALUES(?)
sql.insert_mantenimento=INSERT INTO MANTEPRECERMA (IDS,FECHA,POTENCIA,SECCION,ICP,IGA,INTDIF,DIFERENCIAL,TENSION,INTENSIDAD,INTFUGA,TIERRA,INTR,INTS,INTT,SOBRETENSION,SOBRETENSIONR,MEDIDOR_TIERRA,RICP,RDIFERENCIAL,RINDICADORESLUMINOSOS,CONEXIONES,LUZARMARIO,VENTILADOR,LLAVEGUARDIA,RSOBRETENSION,RMEDIDOR_TIERRA,SEMTRANVIA,SUWAT,BALIZAS,ARMARIO,CANALIZACIONES,COLUMNAS,BACULOS,BASAMENTOS,ARQUETAS,PORTICO,INTERIOR_ARMARIO,LIMPIEZA_ARQUETAS,BATERIAS,CARACTERISTICAS,AUTONOMIA,CAMBIO,RECIBIDO,CONEXIONERZ,CONTADORERZ,INTCONTADOR,INTMAXCONT,ALIMENTACION,OBSERVACIONES,NALIMENTACION,TALIMENTACION,SALIMENTACION,EQUIPO1,EQUIPO2,EQMEDIDA1,EQMEDIDA2) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
sql.insert_mantenimento2=INSERT INTO MANTEPRECERMA (IDS,FECHA) VALUES(?,?)
sql.insert_conversion=INSERT INTO MANTEPRECERMA (IDS,FECHA,INTENSIDAD) VALUES(?,?,?)
sql.update_posicion=UPDATE GSITUACIONES SET LATITUD=?, LONGITUD=? WHERE ID=?

Any suggestions

Thanks and sorry for my english.
 
Top