Creating Database Files using Firedac (Delphi XE7)

I have been able to get Firedac to display and edit the following file types in a simple app using FDConnection, FDTable, FDPhysSQLiteDriverLink (and others according to file type) : sdb, gdb, mdb and xls (with ODBC link and drivers). I have been able to create a SQLLite File (.sdb) from scratch and add tables using roughly:   

  FDTable1.Connection = FDConnection1; (set in form)
  FDConnection1.ResourceOptions.DefaultParamType := ptOutput;
  FDConnection1.Connected := True;
  FDTable1.TableName := Trim(Edit6.Text);

Although I get an error on CreateTable : Cannot create file "DATABASE_FILE" the process cannot access the file since it is used by another process, The SQLite File gets created, data can be entered, and the file can be later read and edited.
My question - Is this possible to create MS Access (mdb) , Interbase (gdb), MySQL, etc. files using XE7 Firedac as I can with SQLite files and DataSnap files (without Firedac) ? 
I tried similar to the above code for MS Access DriverID=MSAcc) and Interbase (DriverID=IB), but could not create a valid file. The message is : error while trying to open file, the system cannot find the file specified. This must be happening on FDConnection.Connected since the file has not yet been created. My code is questionable. How can I correct this?
Thanks for any help.
2/26/2015 9:27:06 PM
embarcadero.delphi.firemonkey 4901 articles. 4 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 43

This can be done if proper drivers are installed. Needed CreateDatabase=yes in parameters list to create gdb file.
2/27/2015 4:39:51 PM

Similar Artilces:

How to use a delphi XE3 obj file in delphi 2007?
Hi, I'm migrating an application from delphi 2007 to delphi XE3 and I would like to do it in several steps. To do this I need to use a part of my new code (XE3) in the current delphi 2007 application. So I want to use the .obj file from my XE3 file. I know I have to use the {$L 'Filename'} and I know that I have to declare the functions that I want to use in external in my D2007 project. I wanted to make an easy and simple example to see how it works with only 1 function 'hello world' compiled in obj with XE3 but I can't find the way to use it in D2007. In D200...

No File is Being Created when Using TIBOutputRawFile in Delphi XE6
I have the following procedure: procedure TForm1.Button1Click(Sender: TObject); var RawOutput: TIBOutputRawFile; FileName: string; begin RawOutput:= TIBOutputRawFile.Create; try with IBSQL1 do begin close; sql.text:= 'select * from employee'; RawOutput.FileName := 'TRANS.ibx'; BatchOutput(RawOutput); end; finally RawOutput.Free end; end; In Delphi XE6, even though this procedure is run without any exceptions, no file is being created. It created the file...

Can Delphi XE7 (Pascal) be used to create a STATIC lib for iOS?
I tried creating a package for iOS Device and compiled it but can't find any ".a" files created anywhere. Is this something that only can be done in C++, or is there a way to do this in Pascal? If so, then how is this done...that is, what do I need to do to generate a ".a" static lib for iOS with Delphi (pascal) XE7? Thanks. Jeff Jeff wrote: > I tried creating a package for iOS Device and compiled it but can't > find any ".a" files created anywhere. Is this something that only > can be done in C++, or is there a way to do th...

Delphi XE7 FireDac ODBC connecting to Quickbooks 2015 using QODBC Driver
I have a Windows 32 Application using Delphi XE7 FireDac ODBC connecting to Quickbooks 2015 version using the QODBC driver from Inuit. However, I can connect using Delphi XE6 version with FireDac ODBC driver component. When I try to connect get this error message: Read of Address in module KERNELBASE.dll Access Violation at address . I have try several things even compiling under 32bit and 64bit same error, but compiled in Delphi XE6 it works fine! Has anyone else seen this? Thanks Garnet Hello If you like, you can send test database file to Dmitry dot Arefiev at embarcadero dot co...

Using Delphi 7 and Delphi 2010
I had a project in Delphi 7. I worked on it in Delphi 2010. When I try to open the .dpr again in Delphi 7, the IDE toolbar widens across both monitors, and Delphi 7 locks up. It appears that Delphi 2010 modifies the .dpr in a way that makes Delphi 7 unable to open it again. All my forms & units appear to open fine in D7 after D2010, except for the warnings on the ExplicitHeight and ExplicitWidth properties being missing... I can easily recreate the .dpr, but is this expected behavior? Thanks. Tom Field wrote: > I had a project in Delphi 7. > > I worked o...

How to use a .dmp file for a system which crashes using a delphi app
Hi, I put this post here because I am not sure of the best location. I have been given a memory dump (.dmp) file by a client who thinks that a Delphi 7 application is causing their system to blue screen from time to time. Does anyone know how I can use this .dmp file to locate the problem in the delphi app? The build the client is using has debug symbols turned on. I have downloaded Microsoft Debugging Tools for windows and have dupmchk.exe (and kd.exe) but I would really appreciate some help with how these or any other useful tools should be used? Many thanks Ben > I have down...

delphi Win32 using delphi .NET dll
Hi, I'm trying to use a delphi.NET dll in delphi.WIN32. I am currently using CodeGear Delphi 2007 with version2(base version) of .NET I can get the dll to import into the WIN32 application the only problem is when i include things such as: "using Classes,DateUtils, SysUtils" in the .NET dll the win32 application will instantly hang when any of the dll functions are called. Any help would be great thanks. Also I have tried this example and it also crashes for me? -Braden I also found this.. "The problem is that, wehn you instal...

To use or not to use Delphi
Sadly, it seems to me that there is a sort of race between the two threads, for and against using Delphi in new projects, with more or less the same users posting in both threads. Arguments are fiercely debated in both camps. Borland had their own vision. As a community, now that Delphi has changed ownership I believe we should try to be more consistent, more clear, and more articulate in what we expect from Embercadero in terms of Delphi. We can contribute to keeping Delphi alive and moving in the right direction. "Laurent Cocea" schrieb: > Sadly, it seems to me that there ...

Delphi and Delphi for .Net
It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton. I would like to know is it true all .Net application is slower than Win32 native applicaiton or it is Delphi for .Net only. Your information is great appreciated, Inung On 2011-06-21 18:20:17 +0100, Inung Huang said: > It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton. > I would like to know is it true all .Net application is slower than > Win32 native applicaiton or it is Delphi for .Net only. If you are only running the code in the application once then, yes, yo...

create PDF file from delphi
Hello, Is it posible to export data from delphi as a pdf file from qreport for example or from any other object such as string grid. is there any commponents that do so ? thank you yuda yuda, On Thu, 06 May 2010 09:47:02 +0100, yuda levi wrote: > Is it posible to export data from delphi as a pdf file from qreport for > example or from any other object such as string grid. > is there any commponents that do so ? pdfFactory ( together with the info in the "Dev Kit" works for us. Since it is implemented as a printer (rather than a...

can i use delphi 2007 bpls in delphi 2009
can i use delphi 2007 bpls in delphi 2009 ? "Gaetan SIRY" skrev i meddelelsen > can i use delphi 2007 bpls in delphi 2009 ? No. -- Finn Tolderlund The compatiblity between D2006 and D2007 was unique. Normaly they can't be compatible because new version enhance/change the API. And D2009 defines String = Unicode where older version has String = Ansistring so D200x/Dx-BPL are 200% incompatible with D2009. ...

using lib .so in Delphi XE7
I needed a help, if possible ??? It is this: I have a routine written and compiled in C ++ that make data sync a bank with any SQL lite on Windows, one console TCP IP data exchange between environments. Routine name: (This routine is the client of my console) Question: How do I incorporate this routine into the Delphi XE7 and use it in my application,,,, u have a sample outside call? I know it's possible,,, so,,, do not know how beginner stuff !! Would have an example of this call? Since already thank you Thank you for Remmy tip, but most have some doubts ...

I can't creating database when i using Creat database.
I get a fail meg. like SQL error (-143)- column '@database_version' not found. Yes i think the problem can be at i have installed an ebf.......... but is it ? regards christian I had the same problem. I accidentally had 6.02 and 5.xx on my machine. My system path was finding the 5.xx libraries first, but I was running Create Database from 6.02 Sybase Central. Once I deleted the 5.xx directory and cleaned up my path the problem went away. Hope that helps. Christian Jonasson <> wrote in message news:Necypc6S$GA.98@forums.sybase....

MOVED: Use Delphi XE TLB importer in Delphi 2007? the ActiveX group: -- Craig Stuntz · Vertex Systems Corp. · Columbus, OH Delphi/InterBase Weblog : ...

Web resources about - Creating Database Files using Firedac (Delphi XE7) - embarcadero.delphi.firemonkey

Londonistan: How Britain is Creating a Terror State Within - Wikipedia, the free encyclopedia
The book encompasses a critique of multiculturalism , alleged weak policing, cultural relativism , and what Phillips calls a 'victim culture'. ...

Facebook’s Matt Kelly Describes Process Of Creating Plugin For WordPress
The plugin for WordPress launched by Facebook in June has been downloaded more than 180,000 times, and Engineer, Developer Relations Matt Kelly ...

Creating Online Ads that Drive Brand Awareness
New research shows how the creative elements of online ads impact brand awareness.

Bug - Creating a Video.Watches Action stopped working - Facebook-Entwickler
Since today executing a POST on a me/video.wacthes endpoints no longer works, it was working around 10 hours ago since then the call always returns ...

Facebook Creating Fourth-Party Privacy Rules for Facebook Connect Widget & Plugin Developers
In a recently-written post on the Facebook Developers Wiki, Facebook had added new rules for information sharing between websites that have implemented ...

The Obama campaign won by creating their own Facebook, with unique features for political campaigns.
... seen as too dangerous to nominate someone who is so thoroughly narcissistic, arrogant and dishonest. The Obama campaign won basically by creating ...

Creating A Great Startup Culture
... with any Bay Area startup these days (ping pong, beer on tap, catered lunches and Macbook Airs) – though these things are, of course, Creating ...

WIRED Creating the Nebula for iPad on the iTunes App Store
Get WIRED Creating the Nebula on the App Store. See screenshots and ratings, and read customer reviews.

Nets of freedom creating mesh networks 03.07.2013 - Flickr - Photo Sharing!
Explore Strelka Institute photo's photos on Flickr. Strelka Institute photo has uploaded 14526 photos to Flickr.

Creating the incorrigible Cartman - YouTube
"South Park" creators Trey Parker and Matt Stone were big fans of "All in the Family," a 1970s CBS sitcom. Perhaps this is why their most incorrigible ...

Resources last updated: 12/26/2015 2:11:45 PM