Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show the result in text box,
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00667107
Message ID:
00669819
Vues:
24
Why do you like macro substitution so much? :) You should use it only as a last resort because it makes code harder to read and maintain. Not to mention that is slow.
Update userproj ;
  set user_id = thisform.mastertableid ;
  where userid = thisform.txtuserid.value
>Hello Sergey,
>
>I am trying to use the below code to update the records in the table but i am getting the error message saying operator/operand type mismatch.
>
>user_id is a number field in the database.
>
>****************code***********************
>set multilocks on
>use userproj
>= CURSORSETPROP('Buffering', 5, 'userproj')
>
>lccom=[Update userproj set user_id = ]+thisform.mastertableid+;
>[ where userid = ']+thisform.txtuserid.value+[']
>&lccom
>
>?tableupdate(.T.)
>******************End**********************
>
>Sergey Can you please correct the above code if there is anything wrong with it.
>
>Thank you.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform