[solved]qt sql insert statement system not working
-
there is not db path set @broadpeak
-
So u've to set the path for db
-
why the table has been created fine.
also where to seta good path for ana pplication -
[quote author="developer" date="1353499828"]there is not db path set @broadpeak[/quote]
What? I don't understand this.
But! If the open() function can't open your database, it will open with the given name an another database in QSQLITE! See your databaseS.
-
it can open the database @broadpeek
-
even though the file does not exist, the SQLite will try to create it.
-
[quote author="developer" date="1353500452"]it can open the database @broadpeek[/quote]
Anyway, can you run (from your code) a simple SELECT on your database? Have you got a resultset?
Have you grant at all for your tables? -
ohhhhhhhhhh acutally its working with setting url a different databse opens and with just typing passwordmanager as databse name it works actaully the problem is with the table view thanks all problem solved i tried select staement and i got the result
-
it also works after selecting select() thanks all
-
Ok, set your thread to [solved] :)