Hi 2 all
Is I am doing write
useing VFP 7.0
I am working an a multi user inventory control software
1 :- The sales invoice saves in a cursor. I append record in sales table
from cursor using This command
Append from dbf(â??cur_salesâ??)â?? && cur_sales is cursor name
Some time in very rare the sales table have not append the record from
cursor why this is happens and how to handle it.
2 :- I have a separate function which perform stock deduction I call it in
this way
SELECT cur_sales && cur_sales is cursor name
SCAN
nserial=serial
ncomp_no=comp_no
cbatch_no=batch_no
nqty=qty
nbonus=bonus
ntrad_price=trad_price
ntype=1
stock_sale(nserial,ncomp_no,cbatch_no,nqty,nbonus,ntrad_price,ntype)
ENDSCAN
&& stock_sale is a function
Is i am doing write or have some other good technique.
--
Qaiser Me