Just found by chance on the internet https://lists.gambas-basic.org/pipermai ... 56722.html the answer. The correct command is:
--> FMain.Controls["DataComboView1"].Table
Obviously Me doesn't support this.
Search found 75 matches
- Tuesday 26th January 2021 2:35pm
- Forum: General
- Topic: Referring controls with $variables
- Replies: 2
- Views: 2461
- Tuesday 26th January 2021 2:21pm
- Forum: General
- Topic: Referring controls with $variables
- Replies: 2
- Views: 2461
Referring controls with $variables
The situation: I placed a textbox control in the main form. The Tag of the textbox gets the name of another control in the same form. --> TextBox.Tag="DataComboView1" When I try the following commands the compiler throws an error: --> Print Me(TextBox.Tag).Table --> Print ("DataComboV...
- Tuesday 26th January 2021 1:59pm
- Forum: Component
- Topic: gb.db - database component, simple search form?
- Replies: 8
- Views: 7475
Re: gb.db - database component, simple search form?
Appreciate your suggestions. I checked immediately but unfortunately, it doesn't work as DataComboView controls do not have a .Max method like GridView. The compiler throws an error message.
Other ideas?
Other ideas?
- Tuesday 26th January 2021 12:58pm
- Forum: Component
- Topic: gb.db - database component, simple search form?
- Replies: 8
- Views: 7475
Re: gb.db - database component, simple search form?
Thank you. Before I started with Gambas I had a look into all database examples I could find. What I am actually looking for is a general solution for a form based search. After thinking a while about this problem I try to code a general approach in order to re-use the code in other applications. Si...
- Sunday 24th January 2021 8:44pm
- Forum: Component
- Topic: gb.db - database component, simple search form?
- Replies: 8
- Views: 7475
gb.db - database component, simple search form?
Hi all, I am new here and the very first post regarding the database component in Gambas gb.db. In the past I was using MS-Access every now and then for simple DB-driven apps. Now I try to get the first project in Gambas with a simple sqlite3 database for photo lenses. There are only 3 tables at the...