A = RS ("A") B = RS ("B") pingji = rs ("pingji") .... MB_CODE = Replace (MB_CODE, "$ A $", a) MB_CODE = Replace (MB_CODE, "$ B $ ", b) MB_CODE = Replace (MB_CODE," $ pingji $ ", pingji) ... Why can't I read RS (" pingji ") and other fields when using this method for HTML generation? The value is always empty, and sometimes this statement is placed in the above line may be? ? ? It's really no solution, you must create a RecordSet object EXECUTE Return RECITE Returns will lose the value when calling, I checked a lot of information, I don't know why Solution: SET RS = Server.createObject ("AdoDb.Recordset") This creation Objects, set RS = conn.exeucte (SQL), there is a problem