Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » sql example with 2 table needed
sql example with 2 table needed [message #21018] Sun, 26 April 2009 13:24 Go to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I am looking for a minimalist sqlite/upp example containing two tables to play with. The widgets should be reduced at the minumum. It should have an example of insertion, delete and search.
I am a total beginner in this field and the reference examples are very good but too complex.
Perhaps somebody has made in the past some working test case that can be posted. It does not matter if the test case is silly or useless.

Thanks a lot,
Luigi
Re: sql example with 2 table needed [message #21020 is a reply to message #21018] Sun, 26 April 2009 19:47 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Take a look at the bazaar/SqlProblem.*
It's completely useless and ugly but it has:
- two linked tables
- two dialogs to modify things (sorry no add/delete but
it works the same way).
- default data filled on start (insert is used)
- and most of all : less than 200 lines of code (very very small)

The purpose of this example was only to show a bug that I encountered when using SqlLite3 (the bug is corrected now)



Re: sql example with 2 table needed [message #21030 is a reply to message #21020] Mon, 27 April 2009 13:53 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Didier wrote on Sun, 26 April 2009 19:47

Take a look at the bazaar/SqlProblem.*
It's completely useless and ugly but it has:
- two linked tables
- two dialogs to modify things (sorry no add/delete but
it works the same way).
- default data filled on start (insert is used)
- and most of all : less than 200 lines of code (very very small)

The purpose of this example was only to show a bug that I encountered when using SqlLite3 (the bug is corrected now)




Thank you Didier.
That is what I am looking for.
Unfortunatly I can't get your package. Can you please pm it to me?

Luigi
Re: sql example with 2 table needed [message #21035 is a reply to message #21030] Tue, 28 April 2009 00:18 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Sorry, I was mistaking

It itsn't bazaar/SqlProblem but uppdev/SqlProblem

anyway here's the code
Previous Topic: Application error under WindowsXP
Next Topic: OrderBy Descending missing
Goto Forum:
  


Current Time: Thu Mar 28 12:56:30 CET 2024

Total time taken to generate the page: 0.01136 seconds