Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jeremy Climaco
  Where is Jeremy Climaco?
 Bacolod City
 Philippines
 Jeremy Climaco
 To: Zaldy Santos
  Where is Zaldy Santos?
 Tokyo
 Japan
 Zaldy Santos
 Tags
Subject: RE: Network-based Multi-user application sample
Thread ID: 22807 Message ID: 22811 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Saturday, April 26, 2003 10:01:05 AM         
   


> Hi all!
>
> I want to create a network-based muti-user application...but I don't know the HOW TOs and the DOs & DON'Ts...
> I would be very thankful if you can give me a simple sample program maybe?
>
> Thanks,
>
> From:
> "A newbie in VFP prog'g..."

hallo!


for the very start you must open your tables in a shared environment then
1. set exclusive off
2. Tables buffering
3. Locking of table or record

ex. SELECT Table
= CURSORSETPROP('Buffering', 5, 'Table' ) && see the Buffering Methods on help
lSuccess = CURSORSETPROP('Buffering', 5, 'table' )
IF RLOCK()&& Locked or you have FLOCK() to lock the entire records
appe blan
=TABLEUPDATE(.T.,.T.,'table')
UNLOCK IN table
ELSE
&& warn user file or record is locked
ENDIF

whehehe..hope this will help ^_^

Jeremy
J² System...


COMPLETE THREAD

Network-based Multi-user application sample Posted by Zaldy Santos @ 4/26/2003 5:58:50 AM
RE: Network-based Multi-user application sample Posted by Jeremy Climaco @ 4/26/2003 10:01:05 AM