[Gambas-user] Gambas 2 and Databound controls
Barnett Winton
barneywinton at ...867...
Tue Nov 23 04:47:09 CET 2010
Hi all,
Could someone outline the steps required when calling a form with
Datasource ( table specified) from a parent form.
I am using Gambas 2.20 and sqlite3. OS is PCLinuxOS 2010.
Form 1 provides for table selection and then calls a table specific Form
( Form 2)
As there is no specific DB Connection info in Form 2, when Form 2 is
called ( FModesEntry.Showmodal ) I get a DB error message from Form 1
saying "unknown table :" for the selected table.
The example DB app passes the DB connection and the Result object (
which contains the table records ) to a second form which is a Viewing Form.
I want to set up the DB connection so I can access the table in a second
form.
I am guessing that the DB connection needs to be set up in Form 1, but
How ??????.
Regards,
Barnett Winton
More information about the User
mailing list