Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data cannot change in server

Status
Not open for further replies.

astech

Programmer
Jul 25, 2000
59
ID
I create program and it's work in my pc,but when i post in in server the data cannot update. the server connection is good, and database path is ok.

the list is :
CURSORSETPROP('buffering',5,'tblPrice')

cxKdReal=MstCst.cKdReal
cxKdTmp=MstCst.cKdCst

SELECT tblPrice
replace ALL ckdcst WITH cxkdTmp FOR ckdcst=cxkdReal
=TABLEUPDATE(1,.T.)



Anybody can help ?
 
astech

Have you tried adding the Alias in the tableupdate?

TABLEUPDATE([nRows [, lForce]] [, cTableAlias | nWorkArea]
[, cErrorArray])



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
You should be checking the return value from your TableUpdate command. If it returns .F. it means the TableUpdate wasn't successful for some reason, and you need to check further. Read the Help topic to see how to get errors stored in an array.


-BP (Barbara Peisch)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top