|
Are you absolutely sure the status of the keys are NotModified! (check it
right before the update). Is it possible that any of the columns are still
set to New! (or NewModified!??), this might confuse PB if some of the other
columns are DataModified! and NotModified!....
I would execute a script right before the update that looks something like
this:
ll_cols = long(dw_1.describe("datawindow.column.count"))
do while ll_cols > 0
choose case dw_1.getItemStatus(1, ll_cols, Primary!)
case New!
messagebox("Column
" + string(ll_cols), "New!")
case NewModified!
messagebox("Column
" + string(ll_cols),
"NewModified!") case
NotModified! messagebox("Column
" + string(ll_cols),
"NotModified!") case
DataModified! messagebox("Column
" + string(ll_cols), "DataModified!") end choose ll_cols = ll_cols - 1
loop
If any pop up as New! or NewModified!, try setting the row's item status to
NotModified! right after the New!. Keep in mind also that you cannot
always go from 1 status to another status with one step. I think that
going from New! to NotModified! requires DataModified! then NotModified! (check
my facts though).
Also, check to make sure there is only 1 row and none in the delete buffer
as you expect....
D
(P.S. I didn't try to compile the above code, so there may be some
syntax issues, but it should be a good start).
|
- PFCSIG SetItemStatus Dario Schmidt
- Re: PFCSIG SetItemStatus Peter Brawley
- RE: PFCSIG SetItemStatus Dario Schmidt
- RE: PFCSIG SetItemStatus Daniel Coppersmith
- RE: PFCSIG SetItemStatus Skiffington, Bill
- Re: PFCSIG SetItemStatus Doug Oakleaf
- RE: PFCSIG SetItemStatus Anderson, Jim
