Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Conexión con bases de datos (https://www.clubdelphi.com/foros/forumdisplay.php?f=2)
-   -   Problemas al conectar SQLite con FireDAC en Delphi XE7 (https://www.clubdelphi.com/foros/showthread.php?t=90265)

JoAnCa 07-05-2016 18:11:41

Problemas al conectar SQLite con FireDAC en Delphi XE7
 
2 Archivos Adjunto(s)
Hola a todos
Estoy intentando conectar mi aplicacion con SQLite usando los componentes de FireDAC pero me da algunos errorres

Cuando hago el test de conexion en el FDConnection me responde bien y al seleccionar la tabla por primera veaz en al FDTable me muestra la lista y la puedo seleccionar y abrir en tiempo de diseño

Peeero ... cuando quise cambiar la propiedad TableName para otra tabla me lanza un error de Access violation (adjunto imagen) y en detalles me pone esto de lo que no entiendo nada

Cita:

[1180CC88]{FireDAC210.bpl} FireDAC.Comp.Client.TFDCustomConnection.CheckOnline (Line 4124, "FireDAC.Comp.Client.pas" + 1) + $0
[5005FDF3]{rtl210.bpl } System.TMonitor.Exit (Line 17415, "System.pas" + 2) + $7
[505A4B13]{vcl210.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7049, "Vcl.Graphics.pas" + 12) + $8
[505C6CF4]{vcl210.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9750, "Vcl.Controls.pas" + 3) + $6
[505C6D09]{vcl210.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9753, "Vcl.Controls.pas" + 6) + $0
(0003D85D){CnWizards_DXE7.dll} [0DA4E85D]
(0003D8C4){CnWizards_DXE7.dll} [0DA4E8C4]
(0003D975){CnWizards_DXE7.dll} [0DA4E975]
(0003B095){CnWizards_DXE7.dll} [0DA4C095]
[1180AF9A]{FireDAC210.bpl} FireDAC.Comp.Client.TFDCustomConnection.CheckActive (Line 3466, "FireDAC.Comp.Client.pas" + 1) + $2
[1180E59E]{FireDAC210.bpl} FireDAC.Comp.Client.TFDCustomConnection.DecodeObjectName (Line 4645, "FireDAC.Comp.Client.pas" + 1) + $2
[11DCBE8D]{dclFireDAC210.bpl} Firedac.Dcl.Assignds.Finalization + $8B59
[212F7527]{vclide210.bpl} IDEInspListBox.TInspListBox.ListDropDown (Line 1284, "IDEInspListBox.pas" + 9) + $12
[212ED37C]{vclide210.bpl} IDEListBtns.TListButton.DropDown (Line 676, "IDEListBtns.pas" + 5) + $A
[212ECDEA]{vclide210.bpl} IDEListBtns.TListButton.DefaultHandler (Line 496, "IDEListBtns.pas" + 13) + $4
[212ECE7E]{vclide210.bpl} IDEListBtns.TListButton.WMLButtonDown (Line 529, "IDEListBtns.pas" + 7) + $2
[5005F5E3]{rtl210.bpl } System.TObject.Dispatch (Line 16511, "System.pas" + 11) + $0
[505C2BED]{vcl210.bpl } Vcl.Controls.TControl.WndProc (Line 7232, "Vcl.Controls.pas" + 91) + $6
[505C76BA]{vcl210.bpl } Vcl.Controls.TWinControl.WndProc (Line 10038, "Vcl.Controls.pas" + 153) + $6
[50060094]{rtl210.bpl } System.TMonitor.TryEnter (Line 17596, "System.pas" + 10) + $0
[5005FDF3]{rtl210.bpl } System.TMonitor.Exit (Line 17415, "System.pas" + 2) + $7
[0DAFA900]{CnWizards_DXE7.dll} Unknown function at INITWIZARD0001 + $3DDDC
(0003D914){CnWizards_DXE7.dll} [0DA4E914]
[505C6F35]{vcl210.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9814, "Vcl.Controls.pas" + 9) + $2A
(0003D975){CnWizards_DXE7.dll} [0DA4E975]
[505C76BA]{vcl210.bpl } Vcl.Controls.TWinControl.WndProc (Line 10038, "Vcl.Controls.pas" + 153) + $6
(0003B10E){CnWizards_DXE7.dll} [0DA4C10E]
[505C6CF4]{vcl210.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9750, "Vcl.Controls.pas" + 3) + $6
[5016E214]{rtl210.bpl } System.Classes.StdWndProc (Line 16598, "System.Classes.pas" + 6) + $1
[505BD932]{vcl210.bpl } Vcl.Controls.FindControl (Line 3561, "Vcl.Controls.pas" + 6) + $9
[50716333]{vcl210.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10352, "Vcl.Forms.pas" + 23) + $1
[50716376]{vcl210.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10382, "Vcl.Forms.pas" + 1) + $4
[507166A9]{vcl210.bpl } Vcl.Forms.TApplication.Run (Line 10520, "Vcl.Forms.pas" + 26) + $3
Si borro la tabla que tiene, si me deja seleccionar otra, pero si ya tiene asignada una, al cambiarla me da el error

.

Lo otro que sucede es que en tiempo de diseño veo los datos de la tabla, pero al ejecutar cuando va a abrir la tabla, me lanza el error de que la tabla no existe (adjunto imagen del error)
No entiendo el por qué de este error si la tabla existe, de hecho, me muestra los datos en modo de diseño :confused:


La franja horaria es GMT +2. Ahora son las 22:44:39.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi