What I am trying to do is in the ClassDesigner create a form that
will have on the left Horizontal sizer a grid that has my client table
information and the right side sizer will contain the related Menu
Buttons for that client in a grid. A one client to many Menu Button
labels.
The steps I am taking is very similar to the tutorial found in your
Building a Database Application Part I. I am using Ubuntu and
remembered that if you will be using Window XP you need to first use the
Add Panel to the form first. Then I:
Right Mouse Selected Sizer -> Add New Horizontal Sizer and
selected 2 slotes.
Right Mouse Selected Sizer -> Add New Vertical Sizer and
selected 2 slotes edit change Proportion = 0
Then I Right Mouse on the top Left Slot and selected
Add Controls from Data Environment
--------------------------------------------
Note: That I am running with a new clean system when I decided to
reinstall dabo. I also decided to use Dabo cxnEditor to create my own
connection called BobDBMenu.cnxml:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<connectiondefs xmlns="http://www.dabodev.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.dabodev.com conn.xsd"
xsi:noNamespaceSchemaLocation = "http://dabodev.com/schema/conn.xsd">
<connection dbtype="SQLite">
<name>BobDBMenuCon</name>
<host></host>
<database>BobDB.sqlite</database>
<user></user>
<password></password>
<port></port>
</connection>
</connectiondefs>
The database BobDBMenu.sqlite has three tables: Client, MenuButton and
ClassFormGrid that was created using SQLite Manager a Firefox Plugin
from http://sqlite-manager.googlescode.com Version: 0.3.15
-------------------------------------------- End of Note
Back to the ClassDesigner
I selected the Add Control from Data Environment and the window has
Select Data Connection
Select a Connection +----------+
| Sample |
| @ |
or +----------+
Open a Connection File | Select |
or
New Connection File | not available in Gtk |
Because New Connection not allowed I selected Open a Connection File
and selected my BobDBMenu.cnxml file. Next I selected in the Select a
Connection BobDBMenuCon in the open a connection. I don't know why in
the list there is a @ symbol?
When I selected BobDBMenuCon in the Select a Connection I hit the
Next button. That is where the problem is that when I try to select
Table there is no tables to select. There has to be a problem with
accessing the information in the Sqlite database. I was also having the
same problem when we were looking into the NOT AVAILABLE IN GTK issue.
The problem has to be in the Sqlite database. I did update the
Sqlite database to see if that would fix the problem. I think it is
better to ask for help before I get in any deep problems. This is what I
have.
Platform: GTK
Python Version: 2.5.2 on linux2
Dabo Version: Version 0.8.4; Revision 4623
UI Version: 2.8.9.1 on wxGTK (gtk2)
python-pysqlite2 version 2.4.0-2build1 Python interface to SQlite 3
sqlite version 2.8.17-4build1
sqlite3 version 3.4.2-2
python version 2.5.2-0ubuntu1
python version 2.5.2-2ubuntu4.1
Bob
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]