Bill,
I would do some investigating into which status is being changed (it might
not even be the datawindow you expect).
(1) If you have a second datawindow that is used for retrieval criteria
or some other display and is never meant for updating, call
of_setUpdateable(False) on it and PFC will ignore it.
(2) If you are sure the datawindow you expect is the one with the changed
status, loop through all the rows and if you find one that has a value other
than NotModified!, then search all of it's columns until you find one that
is NotModified!, then see if you are doing a setItem on it.
Your note said "It seems that the dw status isn't getting reset"... that
makes me think that you are doing something to the datawindow other than a
simple retrieve (because if you just retrieve the datawindow and nothing
else, it's statuses should all be NotModified!). Are you doing set items
anywhere?
- If you are doing a setItemStatus, are trying to change to one you cannot
go to directly? i.e. NewModified! to NotModified!
- Is a row being inserted that you didn't expect (and cannot see because
there's only room for 1 and no scroll bars?)
- Did you try cursing at it? Sometimes that helps. :)
D
----- Original Message -----
From: Skiffington, Bill <[EMAIL PROTECTED]>
To: PFC Mailing List <[EMAIL PROTECTED]>
Sent: Friday, August 06, 1999 10:39 AM
Subject: PFCSIG pfc_save
> Maybe it's because it's Friday or maybe my brain is fried, or maybe both,
> but I'm not seeing this.
> I have a window with 1 dw on it. I retrieve a record, change a column,
click
> save(call pfc_save), and the changes are saved. However, if I didn't
change
> columns before saving, I get the 'Do you want to save your changes?'
> message. It seems that the dw status isn't getting reset. I can manually
> reset the status, but I would like to do it the right way, which I'm not
> seeing... Could someone point me in the right direction.
>
>
> TIA,
> Bill
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help
pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
>
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]