Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate() question.
Message
From
07/12/2002 10:59:44
 
 
To
06/12/2002 23:00:38
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00730577
Message ID:
00730622
Views:
8
Holden,

What OS on the workstations?

What OS for the file serving machine?

How many workstations active at one time?

What else runs at the same time on the machine serving the files?

What about the network itself... cabling?... collisions?


>Hi to all!
>
>i am using table buffering enabled with my free tables. the following
>are my basic code :
>
>*Form Load() event
>set multilocks on
>=cursorsetprop("buffering",5,"salesHdr")
>=cursorsetprop("buffering",5,"salesDtl")
>
>*Save Button-Click()
>SELECT SalesHdr
>DO WHILE .T.
> IF TABLEUPDATE(.T.)
> EXIT
> ELSE
> messagebox("Error in updating table" , MSGOK_LOC)
> ENDIF
>ENDDO
>WAIT CLEAR
>SELECT SalesDtl
>DO WHILE .T.
> IF TABLEUPDATE(.T.)
> EXIT
> ELSE
> messagebox("Error in updating table" , MSGOK_LOC)
> ENDIF
>ENDDO
>WAIT CLEAR
>**
>
>My question :
> Why sometimes tableupdate could not commit successfully? especially in the network environment?i already did all the possibility to make the network in safe. like i issue RLOCK and UNLOCK before issuing REPLACE or any other command that need to lock a record when it issued.What are the lists of the possibility why the tableupdate(.T.) could not commit successfully?
>
>
>Hope someone can help my greatest problem.
>
>holden
Previous
Reply
Map
View

Click here to load this message in the networking platform