Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_ado_rds thread: Setting properties on RDS.DataSpace component objects


Message #1 by wmilne01@e... on Thu, 14 Dec 2000 15:28:22 -0000
Hello

I have been using client-side disconnected recordsets returned by RDS

DataSpace components, e.g.

	ds = new ActiveXObject('RDS.DataSpace');

	objK = ds.CreateObject('Kit.dbActions', 'http://zei02web02');



I was hoping to add a property to these components and set them from

client-side jscript e.g.



...VB Component script...

Private mvardbName As Variant 'local copy

Public Property Let dbName(vData As Variant)

    mvardbName = vData

End Property



...jscript...

	objK.dbName = 'db1';



The last line causes unspecified errors on the page, which runs ok

otherwise. Am I doing something wrong or is it not possible to use

properties on components instanciated in this way ? Any suggestions

appreciated.



Thank you



William Milne



---

You are currently subscribed to asp_ado_rds as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_ado_rds-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index