Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Nilson Rishi
  Where is Nilson Rishi?
 Bangkok
 Thailand
 Nilson Rishi
 To: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
Subject: RE: CREATE CURSOR FROM aArray
Thread ID: 110223 Message ID: 110421 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Thursday, October 19, 2006 2:38:45 PM         
   



Ken,

> For this reason, I typically just go with a SELECT statement and I do not drop any tables onto the form. If I do not USE the table, obviously, I do not SET ORDER TO the table.

Do you mean, to locate a record, you do not use LOCATE FOR, but use SELECT WHERE recordid=m.ncurrentid (recordid actually is the base expression for one of the table's indexes) ?

You " do not drop any tables onto the form", in order to reduce network problem? If so, there will be update conflicts? Since no table was opened, OLDVAL() and CURVAL() will not be useful to determine conflicts. It makes update routine hard to make. Am I right? I could FLOCK() all the tables first and then do update, so there is no need to check for OLDVAL() and CURVAL(). But FLOCK() still brings down the whole table across the network, and thus reduce performance, since it requires an alias name that must be USE first,yes? I think you must have workarounds about this problem. Could you please let me know how to do it?

Regards,
Nilson

ENTIRE THREAD

CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/17/2006 5:08:05 PM
RE: CREATE CURSOR FROM aArray Posted by Borislav Borissov @ 10/17/2006 5:21:34 PM
RE: CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/18/2006 5:15:28 AM
RE: CREATE CURSOR FROM aArray Posted by Ilya Rabyy @ 10/17/2006 5:23:01 PM
RE: CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/18/2006 5:17:49 AM
RE: CREATE CURSOR FROM aArray Posted by Ken Murphy @ 10/17/2006 5:24:13 PM
RE: CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/18/2006 5:11:24 AM
RE: CREATE CURSOR FROM aArray Posted by Ken Murphy @ 10/18/2006 1:36:16 PM
RE: CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/18/2006 6:21:00 PM
RE: CREATE CURSOR FROM aArray Posted by Ken Murphy @ 10/18/2006 6:29:47 PM
RE: CREATE CURSOR FROM aArray Posted by Ilya Rabyy @ 10/18/2006 6:41:18 PM
RE: CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/19/2006 10:19:28 AM
RE: CREATE CURSOR FROM aArray Posted by Ken Murphy @ 10/19/2006 1:06:07 PM
RE: CREATE CURSOR FROM aArray Posted by Nilson Rishi @ 10/19/2006 2:38:45 PM
RE: CREATE CURSOR FROM aArray Posted by Ken Murphy @ 10/19/2006 4:20:47 PM