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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make my programs work on network env.

Status
Not open for further replies.

purwanto

Programmer
Aug 19, 2001
3
US
i have catool
so.. what's next
 
Exactly, what do you want to know?

Because the entire process of develop a network-aware program requires several steps including, data base design, RDD selection, defining record and file lock strategy, and many other aspects, and some degree of knowledge (beyond beginners) of the clipper languaje itself.

You can read the Steve Straley's book "Network programming with Clipper", also read the documentation that comes with clipper that refers to the basic topics of networking programming.
 
Thank's....actually... the only thing that stops me of making
networking program is that because i do not have networking environment
i have only one computer...
thank's for the tips anyway..
i'll keep in mind of that book
 
Hey Guys. I have a great Utility that will take your codes from a single user envirement and it will converts it to a multi-user envirement in a snap. It handles all file locking and recording lockings without you writing a single code. It is called dAnalyst. it is awesome.

Ver simple exe program I have been using it since 1992. I swear, you will never have to guess when you have to lock the records or the file in a network envirement.
Works on All Pc-Based lan from (lantastic to win2000Server, novel, pcmos (if you guys remember that)).
 
We use a very simple user function with some very simple
code lines and it has worked perfectly for many years under a Novell networking enviroment.
Just have in mind that you have to lock an entire file or
only a record depends on what you want to do, change, delete or add a new record.
We do this to lock a record:

***once you are on the record you want***
do while .t.
if rlock()
exit
endif
enddo
***so you can delete or change the record***
***to unlock ****
dbunlock()

to add a new record it's the same way but using
flock() instead of rlock().

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top