Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update command
Message
 
 
À
13/05/2008 13:25:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Divers
Thread ID:
01316694
Message ID:
01316696
Vues:
10
>With .NET, the sqlDataSource builder creates the Updatecommand as thus
>
>UpdateCommand="UPDATE [users] SET [username] = ?, [password] = ?, [fullname] = ?, [authlevel] = ?, [email] = ? WHERE [user_id] = ? AND [username] = ? AND [password] = ? AND [fullname] = ? AND [authlevel] = ? AND [email] = ?" >
>
>
>which doesn't seem to work with a VFP table. In this example user_id is the key field defined as an integer. The datasource is being used in combination with a formview. Triggering the update produces an error that says the Column '' (single quotes) cannot be found.
>
>Can someone advise what is needed here?
>Thanks

If you remove [] around the field names, would it work?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform