Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
mysql++, wxwidgets, & wxformbuilder

mysql++, wxwidgets, & wxformbuilder

2006-12-23       - By dchapiesky@(protected)

 Back
Hello,
I'm disenchanted with the spotty database support in wxWidgets concerning the
linkage between the backend database and the GUI frontend.   It has an odbc
class which displays rows in a grid object but has little ability to translate
updates of the grid back to the database.
The GUI controls for database access in wxwidgets are not supported either
within the GUI builders.  (this is from my own research, and if you know of
code which links frontend and backend which is stable, please let me know...)
I really like the mySQL++ package.  I find it intuitive and easy to use. Kudos.
I am writing the mailing list to see if anyone has some advice on using mySQL++
with wxWidgets.
My pie-in-the-sky goal is to create an add-on widget to wxFormBuilder.  This
widget would gather child controls (such as those grouped on a notebook page)
and create the following:
a) the mysql++ sql_creat macro filled in with information gathered from the
fields on form
b) a wxwidgets subclass which inherits the sql_creat-ed class and associated
populate, update, & revert methods.
The higher level database "next", "previous", etc.. buttons would still be for
someone to add as they care to..  The idea is mainly to facilitate the action
of moving a row to the screen and back again.
Any ideas or opinions?
I'd also like to ask for some clarification:
If my table has 10 fields F1..F10 with F1 being the primary key,
can I create a class using sql_creat containing F1,F3,F7, & F8 as long as
I populate it with "SELECT F1,F3,F7,F8 FROM myTable;"
I believe that I should be able to but have not yet written the test code to
verify.
Thanks for your candid opinions.
Sincerely,
Daniel Chapiesky
CM Technology Services



__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____
FREE for 30 Days! - Holiday eCards from AmericanGreetings.com
http://track.juno.com/s/lc?s=197335&u=http://www.americangreetings.com/index.pd
?c=uol5637