Jump to content
Sign in to follow this  
grantful

Problem with fdquery when checking active

Recommended Posts

I been messing around with an fmx and SQLite app for a while all is good.

 

I was doing some fdquery work and all of the sudden when I put a check in active to do some visual design I got an error 

 

That was the other day and I happen to just close out of Delphi.

 

I open the project back up messing around and compiling in windows and all is good.

 

iI try to compile to iOS and the app just tries to launch and immediately closes out 

 

I try to compile to android and same thing.


if I uncheck the fdquery the app compiles fine on iOS and android.

 

I look in deployment and the database files are there and the external dir paths look good

 

i deleted the files and add them back and same thing.

 

 

I did do a quick app with the same SQLite database and a simple query and it runs fine on android and iOS.

 

has anyone run into this with fdquery ?

 

I do not remember the error from the other day.

It seems to be something to do with the query or the SQLite database file.

 

any help to troubleshoot this is greatly appreciated.

 

by the way I closed delphi wen I got the error and did not save changes 

so no wears error now when I tick the active box in the query

 

i do remember when I got the error from ticking the active box in the query I tried to compile and the compiler was stating it could not fin the fmx form. ( uMain )

 

 

sent from my iPhone 

 

Share this post


Link to post

For me it's the FDConnection that was active. When you activate the Query, the FdConnection was enabled also

I always change the ConnectedStoredUsage  properties of FDConnection  to false to avoid this problem.

 

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
Sign in to follow this  

×