Jump to content
Mark Williams

FireDAC TFDQuery LoadFromStream default format

Recommended Posts

I am trying to load a TFDQuery from a memory stream using the default format.


I can do this fine from  file:

Query.LoadFromFile('c:\data.DAT', sfAuto);

If I load the same first into a stream and then call LoadFromStream I get error code 710 "Invalid Binary Storage Format". 


I have the DefaultStoreExt of the ResourceOptions for the Query's connection component set to ".DAT" and its DefaultStoreFormat to sfAuto.


Is there anything else I should be doing?


NB I have also tried setting the DefaultStoreExt without the lading period.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now