Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update works on local drive, not on a Novell network dri
Message
From
15/07/2005 12:41:49
 
 
To
14/07/2005 14:05:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01031749
Message ID:
01033083
Views:
23
>Yes I believe you can use 'replace' along with seeks
>
>=seek(something,'thetable','theindex')
>replace something with somethingelse
>
>I believe will avoid the locks issue - if thats what you have!
>
>John

Basic structure is (obviously not the exact or the entire code)
SELECT x
BEGIN TRANSACTION
SCAN
    REPLACE a WITH b
    FOR m.i = 1 to 2
        calculate memory variables
        GOTO BOTTOM IN y
        INSERT INTO y FROM MEMVARS
        GOTO BOTTOM IN z
        INSERT INTO z FROM MEMVARS
    ENDFOR
ENDSCAN

=TABLEUPDATE(.T.,.F.,x)
=TABLEUPDATE(.T.,.F.,y)
=TABLEUPDATE(.T.,.F.,z)
END TRANSACTION
not clear where and what =seek(...) I would use here. Do I figure out what the key field is and re-seek it?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform