MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [data]



******    message to minivend-users from Larry Leszczynski <larryl@furph.com>     ******

Hi Andreas -

> doing a "[data base="userdb" field="haendler" value="1"]" in order to write
> into the userdb in the field "haendler" the value "1" does give this error
> message:
> 
> Runtime error: gdbm store returned -1, errno 2, key "k" at
> /home/mvend/lib/Vend/Table/GDBM.pm line 222.

The key is the code for the database record to which the value
corresponds.  For instance, to access the description of a product whose
code is "abc123":

   [data base="products" key="abc123" field="description"]

It would not make sense to access the description field without knowing
which item it was the description of.  Likewise you need to specify which
login ID the haendler value belongs to.  So if you are trying to set the
value of the "haendler" field to "1" for a user login named "andreas", do
this: 

   [data base="userdb" key="andreas" field="haendler" value="1"]


Larry Leszczynski
larryl@furph.com
--
  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
info@furph.com	   http://www.furph.com		734-513-7759 (FAX)

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: