Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server Adds and Deletes wth VFP Remote Views
Message
 
À
08/03/1998 08:39:58
Scott Knight
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00083262
Message ID:
00083286
Vues:
22
>>>I have set test client server app that requires the usual add,edit, delete functions. The edit's work grate using buffering and tableupdate(). When adding a record the the remote view it does not want to add the the SQL Server Database after issueing a tableupdate(). What am I missing to make this happen ?
>>>
>>>Thanks
>>>
>>>Scott
>>Hi Scott!
>>Did you try to get result of TableUpdate() and then analize what was wrong?
>>Try something like this.
>>lcResult = TableUpdate() && Select parameters of tableupdate according your situation.
>>IF lcResult = .F. && Can not commit changes.
>>= AERROR(aErr)
>>SET STEP ON
>>* In debug mode watch what is wrong.
>>ENDIF
>>Marat.
>The array returned with one .f. element. Some additional info : I have opt. table buffering. I have two records in a grid one was changed and one was added. The changed record updates no problem. The added record will not add on the SQL Server. The delete will also delete no problem.
>
>Thanks
>
>Scott
Do you have Buffering 5, it seems to me that you have 3, that is why it changes only one record.
Marat.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform