Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: Ahsan Rana
  Where is Ahsan Rana?
 Lahore
 Pakistan
 Ahsan Rana
 Tags
Subject: RE: Data Session
Thread ID: 187111 Message ID: 188903 # Views: 3 # Ratings: 1
Version: Visual FoxPro 7 Category: Forms
Date: Tuesday, August 12, 2008 2:40:13 PM         
   


> If I use table buffering then I have to use DE where I have a problem, when I install the software other than disigned location it save and retrieve data it uses the table of DE instead of actual table.
>

form.DataEnvironments work fine for me when either the Drive:\DevFolder\theProject\TestData folder usually does not exist on a client machine at runtime, or by resetting form.DE.Cursor.Database properties programmatically at runtime.

On the other hand, you don't need necessarily a form.DE for Buffering - as an alternate way you can do it at runtime via CursorSetProp(). For instance set each alias one by one:
CURSORSETPROP("Buffering",5,'customers')
CURSORSETPROP("Buffering",5,'invoices')

Or even set it in advance for all subsequently opened aliases in the current data session:
CURSORSETPROP("Buffering",5,0)
USE whatever Shared In 0
? CURSORGETPROP("Buffering",'whatever')



hth
-Stefan

ENTIRE THREAD

Data Session Posted by Ahsan Rana @ 8/1/2008 1:09:03 PM
RE: Data Session Posted by Christof Wollenhaupt @ 8/1/2008 1:21:00 PM
RE: Data Session Posted by Marcia Akins @ 8/1/2008 2:33:09 PM
RE: Data Session Posted by Olaf Doschke @ 8/1/2008 5:28:05 PM
RE: Data Session Posted by Ahsan Rana @ 8/2/2008 3:41:50 AM
RE: Data Session Posted by Stefan Wuebbe @ 8/2/2008 8:57:00 AM
RE: Data Session Posted by Ahsan Rana @ 8/4/2008 2:27:09 PM
RE: Data Session Posted by Tamar Granor @ 8/4/2008 10:27:29 PM
RE: Data Session Posted by Stefan Wuebbe @ 8/11/2008 11:15:44 AM
RE: Data Session Posted by Srdjan (Sergio) Djordjevic @ 8/11/2008 7:59:25 PM
RE: Data Session Posted by Ahsan Rana @ 8/12/2008 2:06:46 PM
RE: Data Session Posted by Stefan Wuebbe @ 8/12/2008 2:40:13 PM
RE: Data Session Posted by Srdjan (Sergio) Djordjevic @ 8/12/2008 5:35:38 PM
RE: Data Session Posted by Ahsan Rana @ 8/13/2008 12:49:30 PM
RE: Data Session Posted by Srdjan (Sergio) Djordjevic @ 8/18/2008 2:37:52 PM