Hi guys...
i got problem with multiuser programming...
Just wanna know how to use a table in multiuser environment properly....
Cause still i don't understand about FLOCK() Lock dan RLOCK(), UNLOCK(). WHen n where to put it...
I have try one....
My Scenario is that User1 has used the Table Tcustomer as a shared..... then User2 also used it, but intend Exclusive use to update (adding or maybe deleting some record) the table. got confuse with the coding...
Use tcustomer shared
If Flock('tcustomer')
**Bla... Bla
else
**Bla... Bla
endif
From there...
i got error access denied...
HOw suppose that i do with it...
please help me out..
thanks...
regards,
tut_arie
The More We give, the more we earn