danw
committed
on 12 May 01
fixed dynmic query using new db_map command