Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

Database best practice

$
0
0

Hi,

I am trying to set an access app using a SQLite DB.

Nothing fancy:

  • Visitor comes in,
  • RFID badge read by the app,
  • Add a new record in the DB (id_people, Date and Time)

I placed the DB as a property in the app as I have 2 windows and I want to access the DB in each (one for maintenance and set up and one as UI)

My question is regarding the DB connection. Would you open the db and connect to it in the app open event or would you trigger the open and connect every time a visitor presents a badge and close afterward?

What is the best practice?

TIA,

9 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles