Knowledge Base

DOC: DBGETPROP() Returns Unexpected Value

Article ID: 134705

Article Last Modified on 2/15/2000


APPLIES TO


This article was previously published under Q134705

SUMMARY

The Help file topic for the DBGETPROP(cName, cType, cProperty) function states incorrectly that when the cType is "view" and the cProperty is "tables," the return value for the cProperty will be a comma-separated string of table names. However, the return value in Visual FoxPro is actually a string of names separated by spaces, not commas.

This documentation error has been fixed in Visual FoxPro 5.0 for Windows.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Visual FoxPro for Windows.
  2. In the Command window, enter these commands:
       CREATE DATABASE test
       CREATE TABLE t1 (Name c(20))
       CREATE TABLE t2 (Name c(20))
       CREATE TABLE t3 (Name c(20))
       CREATE SQL VIEW testvu AS SELECT * FROM t1, t2, t3
       ? DBGETPROP("testvu","view","tables")
    						
  3. Observe that the returned value shown on the upper-left area of the desktop is t1 t2 t3. The Help file states that the returned value should be t1,t2,t3.

Additional query words: 3.00 docerr VFoxWin 5.00

Keywords: kbdocfix KB134705