Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update works on local drive, not on a Novell network dri
Message
De
15/07/2005 12:50:25
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
15/07/2005 12:41:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01031749
Message ID:
01033088
Vues:
24
>>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?
Hi Claude,

This probably doesn't relate to your TABLEUPDATE problem, but your GOTO BOTTOM statements aren't needed because INSERT INTO will automatically insert at the end of file. Oh, and I assume your aliases in your TABLEUPDATE are enclosed in quotes?

Regards,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform