Gossamer Forum
Home : Products : DBMan : Customization :

Discussion: $db_key

Quote Reply
Discussion: $db_key
Thx to LoisC, I figured out how to get my database to force "new" users to add a record, where subsequent visits would "not" get the Add Record prompt, :-)

However, the only way I got it to work was by changing the $db_key from the original AlumniID (counter) to the UserID.

The problem (or is it?) is that a few of my records use the same UserID, :-0. I've cautioned my alumni to "not" update any thing other then their entry, but I understand how they'd want to update their sibling off-line folks to the database, "understanding", they are ultimately responsible for updates of those siblings.

The .cfg states, "The column name for the database key. Can be any column, but it must be unique! You can't have two records with the same key value! So ... if I change to User-Id, I have multiple records with the same key value -- if I leave it as the AlumniID (counter), I can't get it force the Add AND not stop the subsequent visits from getting the Add form, :-0.

Suggestion, Comments?

JR
Subject Author Views Date
Thread Discussion: $db_key joebagodonuts 3626 Mar 14, 2000, 3:33 PM
Post Re: Discussion: $db_key
kellner 3553 Mar 15, 2000, 5:33 AM
Post Re: Discussion: $db_key
joebagodonuts 3571 Mar 18, 2000, 6:52 AM
Post Re: Discussion: $db_key
Stealth 3552 Mar 18, 2000, 8:35 AM
Post Re: Discussion: $db_key
joebagodonuts 3574 Mar 18, 2000, 11:59 AM
Post Re: Discussion: $db_key
JPDeni 3567 Mar 18, 2000, 3:08 PM
Post Re: Discussion: $db_key
joebagodonuts 3561 Mar 18, 2000, 4:28 PM
Post Re: Discussion: $db_key
JPDeni 3585 Mar 18, 2000, 4:39 PM
Post Re: Discussion: $db_key
joebagodonuts 3566 Mar 18, 2000, 5:07 PM
Post Re: Discussion: $db_key
JPDeni 3560 Mar 19, 2000, 3:18 PM
Post Re: Discussion: $db_key
joebagodonuts 3573 Mar 19, 2000, 4:11 PM
Post Re: Discussion: $db_key
anr 3572 Apr 2, 2000, 6:34 AM
Thread Re: Discussion: $db_key
LoisC 3580 Apr 2, 2000, 8:51 AM
Thread Re: Discussion: $db_key
anr 3546 Jun 15, 2000, 8:14 PM
Thread Re: Discussion: $db_key
JPDeni 3566 Jun 15, 2000, 10:09 PM
Post Re: Discussion: $db_key
anr 3512 Jul 1, 2000, 3:05 PM