How to save data from different pages in the same row of an SQLite table ?
I want to pass the user name from one page to another page that contains a form to fill with personal data and then add all of these information together in he the same row of my SQLite table .
But I didn't know how to do this?
SGaist Lifetime Qt Champion last edited by
What part you don't know about ?
I don't know how to keep the user name since this one has made a successful log in and then store it in my data base table with the form information .
dheerendra Qt Champions 2022 last edited by
- Try to understand how db works. How to create table, how to insert data into table. This will help you.
- You are talking about your internal logic of your program. Please try to store the your internal information(e.g who logged in ) in some variables. This is purely logic of your program.
- When you want to store the information, you need to collate all the information and the dump data to db.
I'm sure this more of programming logic question.
Thank you Dheerendra.
I know how to insert data into table and how to create a table .
OK, I will try to put my user name in a variable .