Gossamer Forum
Home : Products : DBMan : Discussions :

DBMAN without Key

Quote Reply
DBMAN without Key
Hi !
Can I use a database without dbkey function ?
I want to make a table with 2 fields :
name1|ooo
name1|ppp
name2|iii
if ooo is the dbkey can I record him after the other field ?

Stéphane

Quote Reply
Re: DBMAN without Key In reply to
Hi Stéphane, you can make any field a key field as long as each entry into the key field is unique.

If the second field is the key, you can have the following, even though the name field is the same:
name|ppp
name|rrr
name|ppr
name|prr
name|prp

If the second field is the key, you cannot have the following, even though the name is unique:
name1|ppp
name2|ppp
name3|ppp


Hope this helps with your planning.
Karen

Quote Reply
Re: DBMAN without Key In reply to
Hello,
Yes, but my problem is the key field. Records are imports from other system (html pages) : a URL link like : http://147.210.91.148/cgi-bin/dbman/db.cgi?db=default&uid=default&name=&field2=yyy&add_record=1

the key is "name"...and it's empty when the link are actived.

Stéphane