MiniVend Akopia Services

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

Re: databases



>Hi again...
>
>I'm using a secondary database for inventory tracking, inventory.asc.
>
>In catalog.cfg, I have the line:
>[snip]
>Database            inventory    inventory.asc     TAB
>[/snip]
>
>The database is only two columns:  code   inv
>
>When I try to pull data from that database with [data inventory::inv::[loop-code]], I _always_ get 
>a '0' back.
>

Hey, all...  I figured out a solution to my problem, so for the benefit of the list, I'm going to 
post it...

basically, I found if I use the data tag in a different way, it works.. here it is

[snip]
[data base="inventory" field="inv" key="[loop-code]"]
[/snip]

Ciao...
---
Trevor Garside
Actaeon West, Inc.
trevor@actaeon.net



Search for: Match: Format: Sort by: