Problems getting Started with Data Controls

New to Gambas? Post your questions here. No question is too silly or too simple.
Post Reply
allanb
Newbie
Posts: 3
Joined: Thu Apr 17, 2025 7:06 pm

Problems getting Started with Data Controls

Post by allanb »

I Open a New Graphical Project

Project Directory : /home/allanb/Documents/Gambas/Test_db

I set Components
gb.db2
gb.db2.form
gb.dbs.sqlite3
gb.settings
(will use later)

I copy a file Test.sqlite to Project Directory

I Place a DataSource1 Component on FMain.form

I create New Connection under Connections under Project
I accept Name: Connection1
I set Type: SQLite
I set Path: /home/allanb/Documents/Gambas/Test_db (clicked on ... navigated to )
I click on Database ::
It finds my test.sq lite file I select it

I click on Display metadata and Remember database structure

Click on Ok
Establishes connection I can see 2 tables with data
I connect DataSourse1 Connection to: Connection 1
Screen Print at this stage
20250427_22h46m36s_grim.png
I Click on Run Button

New Screen Print
20250427_22h59m53s_grim.png
If i copy test.sqlite file to: /home/allanb

All works

ANY IDEAS ???
You do not have the required permissions to view the files attached to this post.
Post Reply