I create a test form with aDataset[1,1] as a property. However,
oServer = CREATEOBJECT('VFPServer.GetData', This)
This line generates an "unspecified OLE Error" What could be the problem? Also, is this a VFP-to-VFP only solution or can I do this from other (e.g. VB) client apps? Thanks.>*-- aDataset[1,1] need to be a property of the form/class
>oServer = CREATEOBJECT('VFPServer.GetData', This)
>
>In the VFPServer DLL's Init:
>
>LPARAMETERS toParent
>SELECT * FROM inventory WHERE styleno='177' INTO ARRAY toParent.aDataset
>
>loReturn = NewObject("MyClass", "MyLib")
>loReturn.AddProperty("aDataSet[1, 1]")
>SELECT * FROM inventory WHERE styleno='177' INTO ARRAY loReturn.aDataset
>RETURN loReturn
It's "my" world. You're just living in it.