>I have the code for accessing SAP with Visual Basic, but I am having difficulty doing the same thing with VFP.
>
>I am able to successfully do the connection, but executing one of the "SAP.Functions" functions is not working.
>
>After running:
>fns = CreateObject("SAP.Functions")
>rfc = fns.Add("READ_TABLE")
>toptions = rfc.Tables("OPTIONS")
>
>I get an error when trying to assign something to toptions:
>toptions(1,"TEXT") = "test string"
It seems to be saying that there is a problem with the "TEXT". What happens when:
toptions(1,1)="test string" ?
Does it fail the same way?
>
>The error is: "Function argument value, type, or count is invalid."
>
>Does anyone have any experience with using "SAP.Functions" in VFP?
>
>Thanks,
>Jason
Imagination is more important than knowledge