[ic] ASP like Perl

Joachim Leidinger interchange-users@interchange.redhat.com
Sun Dec 2 14:49:00 2001


Korey Gozman wrote:
> 
> Hmmm Im a little baffled as to how I would call fields from a database
> Ok, So here is my current situation
> ------------------------------------------------------------------------------
> I have this in the configuration
>         Database        table001        table001.txt    TAB
> ------------------------------------------------------------------------------
> And this later on in the configuration
>         ProductFiles   products
> ------------------------------------------------------------------------------
> And this  I have in the index.html
> @_LEFTRIGHT_TOP_@
> $Tag->data(
>          (
>           table => table001
>           field => 1009-00-0017
>           key => field2
>          )
>    )
> @_LEFTRIGHT_BOTTOM_@
> ------------------------------------------------------------------------------
> And I have this in the table001.txt
> part_number     field2
> 1009-00-0017    .040"
> ------------------------------------------------------------------------------
> 
> Thanks, Just looking for some guidance,

What do you want? 1009-00-0017 is not the name of a field! "field2" ist
not a key. It seems to me, you want

           table => table001
           field => field2
           key => 1009-00-0017

to get the value of the field "field2". Right?

Joachim


-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de