[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Detailed product info strategies
****** message to minivend-users from Simon B <music@labyrinth.net.au> ******
Hans-Joachim Leidinger kindly sent some guidance:
>>How do I check if a field exists in an arbitary database from a flypage?
>Try
>
>[seti dummy][data auxdb::code::[item-code]] [/seti]
>[if scratch dummy]
>There is extra information.
>[/if]
I tried this and the page displays:
[seti dummy] [/seti]
error.log suggests: Bad data 'auxdb::code::4659' '' ''
I created a fresh database with only two fields so I am fairly certain that
the database is ok...
>or try the [if-data...] tag.
[if-data auxdb code]
There is extra information.
[/if-data]
I had tried this but it also fails but have found a functional solution:
[if-data auxdb any_other_field_except_code]
There is extra information.
[/if-data]
Works great!
Thanks
(Note: minivend 3.14, BSDI, DB_File)
-
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