Sorry, the complete code should read like this:
Use price shared new
if neterr()
@ say ... "Cannot open file, try later..."
else
dbappend()
if neterr()
@ say ... "soneone updating, try later..."
else
replace the fields...
endif
endif
regards,
Larry
Hi again,
The following codes in my program keep adding a new blank record when someone in the network have FLOCK to the database,
----------------------------------
Use price shared new
dbappend()
if neterr()
@ say ... "soneone updating, try later..."
else
replace the fields...
endif...
Hi, Jock
As you mention, the only solution (I think) in clipper is using 2 dimen array. But we lost readability that we have to use index nunmber to represent a field.
But in Pascal(which I had learnt 10 years ago), it is very easy to represent an entire table.
For example in Pascal:
Local...
Thanks for the reply guys, it is a great place for non-professional like me to get help.
Actually, it was my fault. I guess the variable init is incorrect. Now, I fix it and it is working fine now.
Here is the whole line:
M_PAX_NAME[I] := space(25)
@ M_T_ROW+I, 2 get M_PAX_NAME[I] picture...
Hi, programers
I need a small help regarding scrolling with GET command.
One of my memory variable is 25 char length. Due to space limitation on the screen, I wanted to do a prompt imput for this variable with 10 char spaces (but still let user input upto 25 char by scrolling to the left), so I...
Rob,
Thanks for the advise. I was looking for a way to make Dbase VI style multi tags in a single index file. I thought Clipper does not have it, cause I just did not pay attention to the documentation, I guess.
Wow! I have to rewrite the whole program to use dbfcdx, that will keep me busy for...
Hi, Jock,
Your are right, I am using DBFNTX.
I am rewriting the PACK procedure with different approach, lets see what the result.
If it still fail, then your method is a good one: just pack the dbfs without the NTXs and then recreat the NTXs afterward. I will post the result of what I found...
Thanks Rob for the quick reply.
As your advise, I may have to rewrite a stand alone program to do just packing, hopefully it will work.
Yes, I did have the exclusive lock before packing. In that procedure, it open the first dbf with exclusive lock, if it is sucesful, then continue open the...
Hi, about 8 years ago, I have wrote a Clipper program using Clipper 5.01 for my own company. At time time I used Rmake, and Rtlink. It contained 4 DBFs and around 10 indexes. The largest DBF file contained around 200 thousand records. The program has a procedure for packing all files and it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.