PRB: Incorrect Error Message with CursorSetProp() (143295)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b

This article was previously published under Q143295

SYMPTOMS

If there is no table in the currently selected work area, CursorSetProp('Buffering',3) returns "No table is open", which may be inaccurate.

It is possible to have dozens of tables open and still receive this error message if there is no table in the current work area. The correct error message should be, "No table is open in the current work area."

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

Run the following code:
   SET DEFAULT TO samples\data
   USE customer
   SELECT 0
   ?CursorSetProp('Buffering',3)
				

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:KB143295