It is currently Sat Oct 31, 2020 11:02 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: YADA - Yet another database application
PostPosted: Mon Mar 23, 2020 7:15 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Nov 22, 2011 5:11 pm
Posts: 321
Location: Kelowna, BC, Canada
Sorry for the delay - updated zip file including the images has been posted

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

_________________
PB 5.72 on Windows 10 & OS X High Sierra


Top
 Profile  
Reply with quote  
 Post subject: Re: YADA - Yet another database application
PostPosted: Thu Jul 02, 2020 8:32 pm 
Offline
New User
New User
User avatar

Joined: Wed Jul 01, 2020 5:49 am
Posts: 5
THANK YOU C87

I WAS ABLE TO DOWNLOAD IT. MY MISTAKE. WAS CHECKING ON AN OLDER POST.

It works fine now. thanks a lot.


Top
 Profile  
Reply with quote  
 Post subject: Re: YADA - Yet another database application
PostPosted: Fri Jul 03, 2020 8:58 am 
Offline
User
User
User avatar

Joined: Mon Jul 17, 2017 7:22 am
Posts: 88
Location: Cotswolds England
Hi kpeters58, The one I remember is in the Add/Edit module - form_Contact.pbi
Nothing major but easily fixed. :)
If you have selected add a new record, add the record, then save and without closing make changes
to that new record, then click Save again. It will add another new record with those changes. So
you end up with two nearly identical records. One the original Add & one the modified Add.
All it needs is a switch from the ADD to EDIT variable after adding. I thought a good one
for anyone going through it would easily fix! Mmm, that's odd...two the same. Why is that?

Cheers, C87

_________________
If it's falling over......just remember the computer is never wrong!


Top
 Profile  
Reply with quote  
 Post subject: Re: YADA - Yet another database application
PostPosted: Wed Jul 08, 2020 11:53 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Nov 22, 2011 5:11 pm
Posts: 321
Location: Kelowna, BC, Canada
Image

Version 1.1.0 of YADA Contactmanager is now available from

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

Change log:

- Added UNIQUE constraints at the database level for: email, phone number and combination of first-& last names, address and city
- Added support for multi-language support (based on Freak's post here: https://www.purebasic.fr/english/viewtopic.php?t=26729)
YADA now supports both English & German, switchable at runtime. Effort required to add another language: Approx. 1 h.

Fixes:
- Some typos and minor tweaks

Notes:
- This release is not backwards compatible with databases generated by earlier versions. If you have one of these, simply delete it.

Enjoy!

_________________
PB 5.72 on Windows 10 & OS X High Sierra


Top
 Profile  
Reply with quote  
 Post subject: Re: YADA - Yet another database application
PostPosted: Fri Jul 10, 2020 6:50 am 
Offline
User
User
User avatar

Joined: Mon Jul 17, 2017 7:22 am
Posts: 88
Location: Cotswolds England
Hello kpeters58, Very impressed with the langauge option. Have to say I'd not have thought of doing that.
Your users may want to add the following new line 221 to form_Contact.pbi after the existing line 220 :
Code:
line
219     If DBMode = #DBMode_Insert
220         InsertRecord()
221         DBMode = #DBMODE_Edit     ;<<<<<< Add this line to prevent another record from being added by clicking [SAVE] without closing
222      Else ; #DBMode_Edit
223         UpdateRecord()
224      EndIf


Regards, C87

_________________
If it's falling over......just remember the computer is never wrong!


Top
 Profile  
Reply with quote  
 Post subject: Re: YADA - Yet another database application
PostPosted: Tue Jul 14, 2020 5:11 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Nov 22, 2011 5:11 pm
Posts: 321
Location: Kelowna, BC, Canada
C87 wrote:
Hello kpeters58, Very impressed with the langauge option. Have to say I'd not have thought of doing that.
Your users may want to add the following new line 221 to form_Contact.pbi after the existing line 220 :
Code:
line
219 &nbsp;&nbsp;&nbsp;&nbsp;If DBMode = #DBMode_Insert
220      &nbsp;&nbsp;&nbsp;InsertRecord()
221     &nbsp;&nbsp;&nbsp;&nbsp;DBMode = #DBMODE_Edit     ;<<<<<< Add this line to prevent another record from being added by clicking [SAVE] without closing
222    &nbsp;&nbsp;Else ; #DBMode_Edit
223      &nbsp;&nbsp;&nbsp;UpdateRecord()
224    &nbsp;&nbsp;EndIf


Regards, C87
C87 wrote:
Hello kpeters58, Very impressed with the langauge option. Have to say I'd not have thought of doing that.
Your users may want to add the following new line 221 to form_Contact.pbi after the existing line 220 :
Code:
line
219     If DBMode = #DBMode_Insert
220         InsertRecord()
221         DBMode = #DBMODE_Edit     ;<<<<<< Add this line to prevent another record from being added by clicking [SAVE] without closing
222      Else ; #DBMode_Edit
223         UpdateRecord()
224      EndIf


Regards, C87



Hi Will,

not a bad idea, but i would probably tie that to AppData\KeyAutoCloseContacts being #False as your suggestion is only meaningful if the contact form stays open after save.

Cheers,
Kai

_________________
PB 5.72 on Windows 10 & OS X High Sierra


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye