Fx bagus ari wibowo
New Member
we have issue data inconsistency when using buffer-copy from phisics table to temp-table via AppServer.
The record that retrieved from appserver sometimes missing value.
Example:
we have 1 table named "transsales" consist of 4 fields :
transno
confirmby
confirmdate
confirmtime.
if we display the record in direct-connect environment such as progress editor the values show :
syntax:
for each transsales:
display transsales.
end.
value displayed:
transno, confirmby, confirmdate, confirmtime
1 admin 19/10/2015 10:25:16
but if we try retrieve the data from appserver using buffer-copy syntax, sometimes the value is empty but sometimes is not empty.
define temp-table tempdb
field transno as char
field confirmby as char
field confirmdate as date
field confirmtime as char.
client side:
run getdata.p on happ (output table tempdb).
server side:
getdata.p is:
empty temp-table tempdb.
find first transsales no-lock no-error.
if avail transsales then do:
create tempdb.
buffer-copy transsales to tempdb.
end.
note:
- we display the record value using field in widget in client side.
- this issue happens currently, we already implemented the system for almost 3 years.
can anyone suggest a solution for us ?
thank you..
The record that retrieved from appserver sometimes missing value.
Example:
we have 1 table named "transsales" consist of 4 fields :
transno
confirmby
confirmdate
confirmtime.
if we display the record in direct-connect environment such as progress editor the values show :
syntax:
for each transsales:
display transsales.
end.
value displayed:
transno, confirmby, confirmdate, confirmtime
1 admin 19/10/2015 10:25:16
but if we try retrieve the data from appserver using buffer-copy syntax, sometimes the value is empty but sometimes is not empty.
define temp-table tempdb
field transno as char
field confirmby as char
field confirmdate as date
field confirmtime as char.
client side:
run getdata.p on happ (output table tempdb).
server side:
getdata.p is:
empty temp-table tempdb.
find first transsales no-lock no-error.
if avail transsales then do:
create tempdb.
buffer-copy transsales to tempdb.
end.
note:
- we display the record value using field in widget in client side.
- this issue happens currently, we already implemented the system for almost 3 years.
can anyone suggest a solution for us ?
thank you..