The other day I learned a useful trick with ZSQL methods that I thought I would share. Normally ZSQL methods look only in the REQUEST object for their arguments. I have had an occasion though where it would be useful to pass arguments directly from the namespace just like other methods, without having to write nonsense like sqlMethod(arg1=arg1,arg2=arg2,...). I found that if you pass the ZSQL method the underscore variable (_) as an argument, it will pull its arguments from the namespace and not just REQUEST. example: <dtml-call expr="sqlMethod(_)"> I hope others of you out there find this trick beneficial as well. ===== | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `-----------------> __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/