Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connect to remove database
Message
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 9 SP2
Divers
Thread ID:
01494335
Message ID:
01494744
Vues:
41
Sorry for the confusion, I think should follow Dragan's advice and consult Help before I extend my own :)

>>Hi
>>
>>Please see code below:
>>
>>
>>
>>upit="select * from reembolso"
>>IF lnHandle > 0
>>  rez=SQLEXEC(lnHandle, upit, "ctable1")
>>    
>>    
>>    = MESSAGEBOX(rez)     &&  results 1
>>    
>>
>> cSQL = "update reembolso (nome = 'test' )  "
>>rp = SQLEXEC(lnHandle, cSQL)
>>
>>= MESSAGEBOX(rp)          &&      results -1
>>
>>  BROWSE
>>
>>
>>
>>
>>By result -1 means it failed to replace data ?
>>
>>Any idea of the reason ?
>>
>>
>>Moises
>
>Why do you have ()? If you try Update Reembolso set Nome = 'test' will it work?
>
>Get exact error with aerror() function.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform