[ic] Tag->query in a usertag

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Fri Apr 19 07:53:01 2002


"Ron Phipps" <rphipps@reliant-solutions.com> writes:


[...]

> Thanks Kevin.  So the reason why $Tag->query worked in the inline perl
> was because of the tables=pricing in the perl call?  And in a usertag
> since you do not have that association already you must create a db
> object which points to the table?  Makes a lot of sense now!

If you access tables in catalog usertags via query or other means you
have to do the tables thingy:

[perl tables="pricing"]
# just a dummy
[/perl]

[price-calc-tag-made-by-ron]

Cioa
        Racke

-- 
Think of it !

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)