Estoy creando un proyecto con una conexion SQLite
Cuando creo un query el debug me genera el siguiente mensaje
//Creacio de la select
nombre := ::oNombre:Value
pass := ::oPass:Value
cSel := "Select * from user where codigo='"+nombre+"' and
password='"+pass+"'"
oDataUser:= AppData:oSQLite:Query(cSel)
oDataUser:Open()
Mensaje del debuger
#1: SQLite Field type unknown: CHAR(10). Treated as string.
#2: SQLite Field type unknown: CHAR(40). Treated as string.
#3: SQLite Field type unknown: CHAR(10). Treated as string.
#4: SQLite Field type unknown: CHAR(20). Treated as string.
#5: SQLite Field type unknown: CHAR(50). Treated as string.
#6: SQLite Field type unknown: CHAR(10). Treated as string.
#7: SQLite Field type unknown: CHAR(1). Treated as string.
Efectivamente me aparecen la definicion de los 7 campos de la tabla pero por
que ?
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Al usar SQLITE
Al usar SQLITE
Juan José García escribió:
> Estoy creando un proyecto con una conexion SQLite
>
> Cuando creo un query el debug me genera el siguiente mensaje
>
> //Creacio de la select
> nombre := ::oNombre:Value
> pass := ::oPass:Value
> cSel := "Select * from user where codigo='"+nombre+"' and
> password='"+pass+"'"
> oDataUser:= AppData:oSQLite:Query(cSel)
> oDataUser:Open()
>
> Mensaje del debuger
> #1: SQLite Field type unknown: CHAR(10). Treated as string.
> #2: SQLite Field type unknown: CHAR(40). Treated as string.
> #3: SQLite Field type unknown: CHAR(10). Treated as string.
> #4: SQLite Field type unknown: CHAR(20). Treated as string.
> #5: SQLite Field type unknown: CHAR(50). Treated as string.
> #6: SQLite Field type unknown: CHAR(10). Treated as string.
> #7: SQLite Field type unknown: CHAR(1). Treated as string.
>
> Efectivamente me aparecen la definicion de los 7 campos de la tabla pero por
> que ?
A mi me ocurre exactamente igual, pero solo con un campo tipo CHAR(40).
> Estoy creando un proyecto con una conexion SQLite
>
> Cuando creo un query el debug me genera el siguiente mensaje
>
> //Creacio de la select
> nombre := ::oNombre:Value
> pass := ::oPass:Value
> cSel := "Select * from user where codigo='"+nombre+"' and
> password='"+pass+"'"
> oDataUser:= AppData:oSQLite:Query(cSel)
> oDataUser:Open()
>
> Mensaje del debuger
> #1: SQLite Field type unknown: CHAR(10). Treated as string.
> #2: SQLite Field type unknown: CHAR(40). Treated as string.
> #3: SQLite Field type unknown: CHAR(10). Treated as string.
> #4: SQLite Field type unknown: CHAR(20). Treated as string.
> #5: SQLite Field type unknown: CHAR(50). Treated as string.
> #6: SQLite Field type unknown: CHAR(10). Treated as string.
> #7: SQLite Field type unknown: CHAR(1). Treated as string.
>
> Efectivamente me aparecen la definicion de los 7 campos de la tabla pero por
> que ?
A mi me ocurre exactamente igual, pero solo con un campo tipo CHAR(40).