Gossamer Forum
Home : Products : DBMan : Installation :

HELP ME PLEASE!!!!!!!

Quote Reply
HELP ME PLEASE!!!!!!!
i have my feild description setup as:
%db_def =
Product => [1, 'alpha' , '40x1', '100' , '1', '', 'good'],
Description => [2, 'alpha', '80x5', '300', '1', '', 'good'],
Rating => [3, 'alpha', '0', '20', '1', 'GOOD', 'good'],
Cost => [4, 'numer' , '40', '10', '1', '', 'good'],

But when i goto add the only field that shows up is product, and it wont let me type anything in it without returning an error message saying there was to many characters in the field, what do i do??? could someone fix my field and post it on a reply for me, PLEASE????????????????
Quote Reply
Re: HELP ME PLEASE!!!!!!! In reply to
IT'S stilll not working, for some reason only the product feild shows up, and still i can't even type one letter without getting the error about too many characters, does andybody no what could be wrong? and why is only one field showing up?????? is there another configuration setting somewhere that i need to change in order to increase the number of feilds i can use?
Quote Reply
Re: HELP ME PLEASE!!!!!!! In reply to
Your fields should start with number 0 and then proceeding fields should be numbered 1 through whatever.

So, it should look like the following:

Code:
%db_def =
Product => [0, 'alpha' , '40x1', '100' , '1', '', 'good'],
Description => [1, 'alpha', '80x5', '300', '1', '', 'good'],
Rating => [2, 'alpha', '0', '20', '1', 'GOOD', 'good'],
Cost => [3, 'numer' , '40', '10', '1', '', 'good'],

Also, if your Product names are longer than 100 characters, then you need to increase the maxlength value to more than 100.

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: HELP ME PLEASE!!!!!!! In reply to
I think you have to put some '()' in this:
Quote:
%db_def = (
Product => [1, 'alpha' , '40x1', '100' , '1', '', 'good'],
Description => [2, 'alpha', '80x5', '300', '1', '', 'good'],
Rating => [3, 'alpha', '0', '20', '1', 'GOOD', 'good'],
Cost => [4, 'numer' , '40', '10', '1', '', 'good'],
);
Quote Reply
Re: HELP ME PLEASE!!!!!!! In reply to
sorry, had it posted already...

[This message has been edited by mart (edited September 04, 1999).]