Gossamer Forum
Home : Products : DBMan : Customization :

2 Questions

Quote Reply
2 Questions
Question 1)
To follow on an earlier post. Is there a way to completely eliminate the authentication sequence out of db.cgi. I'd really like to not have to uid and pwd everytime I want access.

Question 2)
Is there a way to make a field a value of two ofther fields
For Example:
Field 1 = Joe
Field 2 = Hagerty
Field 3 = Hagerty, Joe

so: Field 3 = Field 2 & ", " & Field 1

And where would I put this calculation

Thanks all!

Quote Reply
Re: 2 Questions In reply to
You may want to check out the following thread:

Topic: Add record without login
http://www.gossamer-threads.com/scripts/forum/resources/Forum12/HTML/002655.html

A condensed version of this thread can be found in the FAQ noted below under the section "Administration & Setup"
titled the same: "Add record without login"

You may also want to check out this one:

"Changing auth on the fly" - this may be more what you are looking for?

2) For you second question, please visit the FAQ noted below also and check under "Working with Fields"
for the following two topics:

"Adding Fields Together"
"Adding two fields in a database"

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: 2 Questions In reply to
In Reply To:
Is there a way to completely eliminate the authentication sequence out of db.cgi.
Set $auth_no_authentication = 1; in your .cfg file.

In Reply To:
Is there a way to make a field a value of two ofther fields
In sub add_record, add

$in{'Field3'} = "$in{'Field2'}, $in{'Field1'}";

Put this right at the beginning of the subroutine.

JPD
http://www.jpdeni.com/dbman/