Page 1 of 2

HOW TO: A database of tips and tricks

PostPosted: Wed Jan 07, 2004 12:11 am
by aklodner
Hey gang,
Here's a little tips and tricks file I've been putting together. It contains some how to tips and also shows off some of Servoy's built in features that one might miss. It also shows a technique I use for data driven navigation.

This file works on Windows. If you need a Mac version, feel free to drop me a line. It has to do with Firebird, not Servoy. To use this, drop the TSG_Tips.gdb into the database folder and create a FireBird named connection called 'tips_n_tricks'.

I hope to have regular updates to this as well. I'd be interested in any feedback as well.

Enjoy
Adam
=============
Adam Klodner
The Support Group, Inc.
aklodner@supportgroup.com

PostPosted: Wed Jan 07, 2004 12:59 am
by DFehrenbach
I understood the "drop the TSG_Tips.gdb into the database folder", but could you please be a little more specific about " create a Firebird connection..." instruction. My only experience is importing solutions that have been exported. :?

PostPosted: Wed Jan 07, 2004 4:40 am
by aklodner
No problem. Launch Servoy, go to the Edit menu -> Preferences. Then, go to the DB Servers tab. At the bottom of the dialog box, click on the drop down menu and select FireBird. This will pull up defaults for connecting to a FireBird database. In the Server name area, type in 'tips_n_tricks' (without quotes). In the Database Sever URL, replace <database_name>.gdb with TSG_Tips.gdb. And that's it. I've included a screenshot of what it should look like.

Best,
Adam

PostPosted: Wed Jan 07, 2004 4:29 pm
by DFehrenbach
:cry:
O.K. I seem to have set up the server properly. but there is no solution set up in the Repository. How do I get the solution to be included in the list?

PostPosted: Wed Jan 07, 2004 4:33 pm
by DFehrenbach
:oops:
Never mind! I got it now! I have to import the Servoy101 solution. Thanks for your help!

PostPosted: Wed Jan 07, 2004 4:34 pm
by aklodner
Cool. Now, you want to open the Repository, under the File Menu. When that dialog comes up, click on the Import button. Then, navigate to the file called Sevoy101v3.servoy. This is the solution part of the system, whereas TSG_Tips.gdb is the database part. After that, you should get the solution imported message and you should be all set.

PostPosted: Wed Jan 07, 2004 4:47 pm
by DFehrenbach
Bob's your uncle! :lol:
Thanks Adam. Super Job!

PostPosted: Wed Jan 07, 2004 7:15 pm
by Harry Catharell
Hi Adam,

Out of curisosity, I did try to use this on Mac OS X 10.3 and received the following error on setting up the database connection :

org.firebirdsql.jdbc.FBSQLException: Resource Exception. unsupported on-disk structure for file /Applications/Servoy/database/TSG_TIPS.gdb; found 2560, support 10
Reason: unsupported on-disk structure for file /Applications/Servoy/database/TSG_TIPS.gdb; found 2560, support 10

If you have a Mac version then I would like a copy.

Thanks in advance....

PostPosted: Thu Jan 08, 2004 6:55 pm
by david
VERY cool file! Many thanks.

- david

Mac Version yet?

PostPosted: Sun May 23, 2004 11:49 pm
by joel@studiosuite.com
Any hopes for that mac version?

PostPosted: Mon May 24, 2004 8:31 pm
by Jan Blok
Maybe Adam could post the solution again with sample data export option enabled, this whould make it platform independend.

PostPosted: Thu Jun 03, 2004 1:52 pm
by Harry Catharell
I found a copy of a Mac version.

Adam has given his consent to post it here.

I imported it and created the tables within the CRM solution.

I exported it with sample data.

Hope that it works for you all !

Harry

PostPosted: Thu Jun 10, 2004 9:54 pm
by uwgenetics
Harry Catharell wrote:I found a copy of a Mac version.

Adam has given his consent to post it here.

I imported it and created the tables within the CRM solution.

I exported it with sample data.

Hope that it works for you all !

Harry


Where is this file located?

PostPosted: Thu Jun 10, 2004 10:29 pm
by pbakker
It's attached to the reply just before yours....

Click the download...

Paul

PostPosted: Tue Jul 27, 2004 2:57 pm
by gstein
Adam,

I followed your instructions but get the following error:

org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to complete network request to host "localhost".
Reason: Unable to complete network request to host "localhost".

What should I do?