mandatory & record locking using client server architecture

Hi
I want a program of employee database locking with mendatory & record locking using client server architecture .there are two type of clients one which has all permissions of read/write called supervisor & another can only read the file.employee data base should contain
1) name
2)ID
3)BU
4)Sal
5)time stamp(last modified)

10 PRINT "I WILL READ THE SITE GUIDELINES"
20 GOTO 10

HTH