In the code that you have on lines 12-17 are referencing a column from your inventory recordset. The recordset does not occur until after line 73. You must move this code to be after your recordset in order to specify a column from this recordset.
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.