main logo
Subject: Re: DBGETPROP on local views
Author: Ed Leafe
Posted: 2000/10/19 16:57:44
 
View Entire Thread
New Search


<I><FONT COLOR="#663300">I'm not sure if I'm having a FoxPro or Codebook problem here. For some reason I'm unable to access any of the properties of a local view using the DBGETPROP() method.
Say my view field is "v_ModifyTransactions.cid"
I keep getting the VFP error which says "Cannot find v_ModifyTransactions.cid in the database".
The code breaks at the following line...
lcDisplayText = DBGETPROP( "v_ModifyTransactions.cid", "View", "Comment" )</FONT></I>

When you get to that line, what is the value of DBC()? What if you add the line <code>OPEN DATABASE [database with the view]</code> before the DBGETPROP() call?
<font color="#cc0000"> ___/
/
__/
/
____/</font>
Ed Leafe
 
©2000 Ed Leafe
<-- Prior Message New Search Next Message -->