Page 1 of 2

YADA - Yet another database application

Posted: Sun Mar 17, 2019 11:34 pm
by kpeters58
Image


In July of last year, RobertSF posted this: viewtopic.php?f=27&t=70998

I had a look at it, and it motivated me to do another version of it, also aimed at PB beginners but using
SQLite instead.

My application is written in PB 5.70 and has only been tested under Windows 10. It should be easily adaptable
to slightly older versions of PB, and to MacOS & Linux as well.

It will automatically create its own database and populate it with sample data for immediate exploration upon the first run.

I would be remiss if I didn't thank all the friendly folks at the forums who have helped me time and again over the years - thank you!
Some of your wisdom and kindness is included in the source!

This little desktop application is not quite end-user release quality, but pretty close.

If you find something wrong with it, please post it here and I will try and fix it - time permitting. Enjoy!

You can download it here: http://www.otaksoft.com/purebasic/ContactManager.zip

Re: YADA - Yet another database application

Posted: Tue Mar 19, 2019 12:18 am
by blueb
Very nice Kai,

Clean and very intuitive, I like it. :mrgreen:

Re: YADA - Yet another database application

Posted: Tue Mar 19, 2019 8:07 pm
by Kwai chang caine
Nice !!! thanks for sharing 8)

Re: YADA - Yet another database application

Posted: Wed Mar 20, 2019 2:23 am
by kpeters58
Image


Version 1.0.1 of YADA Contactmanager is now available from

http://www.otaksoft.com/purebasic/ContactManager.zip

Change log:

- Added support for: Address, City & PostalCode
- Find function now scrolls found record into view
- Filter now highlights matches in the column used for filtering and no longer in the ID column
- Change detection in form_Config is now handled via bit flags
- Support for default export directory added
- Support for filtering all exports (XML, JSON, CSV) added

Fixes:
- Error messages: The title caption and the actual message were swapped.

Notes:
- This release is not backwards compatible with databases generated by version 1.0.0. If you have one of these, simply delete it.
- The preference item 'PropercaseNames' has been renamed to 'PropercaseStrings' since it now applies to addresses and city names
as well. Deleting an existing Contactmanager.prefs file will get rid of that redundant entry.

Enjoy!

Re: YADA - Yet another database application

Posted: Thu Apr 18, 2019 1:00 pm
by RSBasic
Nice 8)

Re: YADA - Yet another database application

Posted: Tue Oct 15, 2019 6:24 am
by mchael
Trying to download and have a look and learn from and I see the domain is expired - look forward to looking and learning from it. Thanks in advance!

Re: YADA - Yet another database application

Posted: Tue Oct 15, 2019 12:40 pm
by spikey
RSBasic sometimes squirrels away any goodies he likes the look of at:
https://www.rsbasic.de/backups/

I think this is the one you're looking for:
http://backup.rsbasic.de/?file=ContactManager.zip

Re: YADA - Yet another database application

Posted: Thu Oct 17, 2019 7:28 am
by mchael
thank you

Re: YADA - Yet another database application

Posted: Thu Oct 17, 2019 8:03 pm
by kpeters58
Domain should have auto-renewed but didn't :(

Fixed. Sorry for any inconvenience!

Re: YADA - Yet another database application

Posted: Fri Oct 18, 2019 2:47 am
by Rinzwind
Not sure whats purpose of magic line

offset = RowCount / 20 ; 20 works pretty well in initial, minimized and maximized window sizes

in form_main.pbi is for, but needs to be commented on macOS, otherwise last item will always be selected and can't select anything else.

Re: YADA - Yet another database application

Posted: Fri Oct 18, 2019 8:47 pm
by kpeters58
Rinzwind wrote:Not sure whats purpose of magic line

offset = RowCount / 20 ; 20 works pretty well in initial, minimized and maximized window sizes

in form_main.pbi is for, but needs to be commented on macOS, otherwise last item will always be selected and can't select anything else.

On Windows, with screen scaling > 100% and using the program's find functionality, the 'found' record doesn't always fully scroll into view - hence the addition of a small offset to ensure that it does. Removing it should be harmless. It looks like macOS does something not too smart when asked to scroll past the last record...??

I assume your statement is only true for locating one of the last 3 records or so? I can't see how your blanket statement could be true in all cases - unless there also is some bug involved.

Re: YADA - Yet another database application

Posted: Thu Jan 23, 2020 5:33 am
by kpeters58
I just uploaded YADA version 1.03.

Changes:

- moved variables from global namespaces to protected ones wherever possible
- fixed reported bug with exports (sometimes empty export files were generated)
- misc. small modifications
- updated year and version in copyright notices

Re: YADA - Yet another database application

Posted: Thu Jan 23, 2020 12:34 pm
by Kwai chang caine
Thanks 8)

Re: YADA - Yet another database application

Posted: Sun Feb 09, 2020 8:14 am
by dmontaine
The images directory is missing in the zip.

Re: YADA - Yet another database application

Posted: Sun Feb 09, 2020 8:50 am
by VB6_to_PBx
dmontaine wrote:The images directory is missing in the zip.
you need to download this Link to get the Folder with the Images
and then move that Image Folder as a Sub Folder of the ContactManager's Folder
http://backup.rsbasic.de/?file=ContactManager.zip

Only use the Image Folder , nothing else from the above Link
just merge it to the new version of ContactManager