you need to use a join query when trying to get data from 2 tables:
your _WADApg1_gallery_images recordset is not using a join query so will not be able top properly return related data
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.