Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_ado_rds thread: How to save/retrieve a dictionary object using ADO


Message #1 by kfernand@w... on Sun, 11 Aug 2002 21:32:53
See whether you could help me here:
I want to save/retrieve a dictionary object created in VBScript code in a 
field of a DB table.....similar to what MS Site Server(Commerece) does for 
the OrderForm.
I know how to create the dictionary object and populate. I could save to 
DB too (insert gave an error, but getting a recordeset and adding a new 
record- then assigning the dictionary object using Set DIDN't GIVE AN 
ERROR! Whether it worked?... Only way I could test is retrieving it back.
I pulled the recordset using usual means, and use:
           Set  objDiction = rsRow("DicObject")
where rsRow is the recordset. But does not provide the populated fields in 
the dictionary object- No erros are given!
My C++ background hunched me to use type-cast, but this is VBScript.
Could anybody who done that let me know how to do this?

  Return to Index