Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to update the record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00669400
Message ID:
00669418
Vues:
8
I would do something like:

set multilocks on
use userproj
= CURSORSETPROP('Buffering', 5, 'userproj')

lccom=[Update userproj set userid = ']+thisform.mastertableid+;
[' where projno = ']+thisform.text1.value+;
[' and workpkg = ']+thisform.text2.value+[']
&lccom

?tableupdate(.T.)

Regards


>I want to use the following query.
>
>Update userproj set userid = thisform.mastertableid
>where projno = thisform.text1.value
>and workpkg = thisform.text2.value
>
>Could you please tell me how i can use the above query inorder to update the records in the table.
>
>**************
>i always do this in order to create a new record.
>
>select userproj
>replace projno = thisform.text1.value
>= tableupdate(.t.,.t.)
>
>******************
>
>
>Thank you.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform