Gossamer Forum
Home : Products : DBMan : Discussions :

adding an existing product code

Quote Reply
adding an existing product code
Hi,
Congratulations about your excelent script!

I am working on it and I would like to know how can script block adding an entry already existing in database.

For example:
dbase=(id,productname,code,price)
(1,Fanta,2154,2)
(2,Coke,2155,3)
(3,7up,2156,3)

Now, when on adding:
Name: Icetea
Code: 2156
Price: 3
>> SUBMIT

I need to block this entry because code 2156 already exists in dbase, the code correct would be 2157.

I want to make an adaptation to block all equals entries on code field

Thank you very much,
P3trus

Subject Author Views Date
Thread adding an existing product code p3trus 2789 May 5, 2001, 7:23 AM
Thread Re: adding an existing product code
Stealth 2707 May 5, 2001, 4:19 PM
Post Re: adding an existing product code
LoisC 2701 May 5, 2001, 10:05 PM