[ic] Admin/Login Bug?!

Ed LaFrance interchange-users@icdevgroup.org
Tue Feb 25 10:20:01 2003


At 03:26 PM 2/24/2003 -0800, you wrote:
>Here's a simple yes/no question.  Is there a way to set a default value for
>a field when using the Admin UI in Interchange 4.9.7 to add new items?  For
>example, I've been running into situations where a client has been
>forgetting to put a price or weight value and the item doesn't get added to
>the products table, but there is no error thrown to the page either (it gets
>written to the error log which is why I know what they are doing wrong) so
>it looks as though it went in ok even though it didn't.  It would be nice if
>I could just put a default value of 0 in there so at least they wouldn't
>have to keep entering in the same data over-and-over.
>
>Thanks,
>
>Michael Kang

AFAIK, this will no happen when you are using the built-in gdbm database, 
but rather is limited to the various SQL databases supported by 
interchange. In those cases you can go into yourcat/dbconf/your_sql_db/ and 
modify tablename.yoursql to assign a default value for a particular column 
using the Database COLUMN_DEF directive.

- Ed L.

>

===============================================================
New Media E.M.S.              Technology Solutions for Business
463 Main St., Suite D         eCommerce | Consulting | Hosting
Placerville, CA  95667        edl@newmediaems.com
(530) 622-9421                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (530) 622-9426 Fax
===============================================================