PRB: Error Passing Multiple Parameters to DataToClip Method (156177)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q156177 SYMPTOMS
A syntax error occurs when attempting to pass more than one parameter to
the DataToClip method of a Visual FoxPro application object from a
Microsoft Excel module.
CAUSE
The DataToClip method must be called as a command rather than a function in
order to pass multiple parameters.
WORKAROUND
Use the following syntax to pass parameters to the DataToClip method:
oObject.DataToClip lpvarWrkArea:=cCursorName,
lpvarNumRows:=nNumRows, lpvarClipFormat:=nFormat
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | KB156177 |
---|
|