What can I do?
Paolo
Your request is very unusual..<G> I would start by looking up a
method something like "resetPending...??"
Question, why would you want to overwrite changes made by someone
else??? If they do the same to you, then nothing will ever change in your
database.
John...
+++++++++++++++++++++++
TeamB are volunteer helpers. Please do not email replies or questions.
Post or reply only on this newsgroup. Thank you.
=======================
Wido
--
==========================================================================
WTJ. Riezebos, w.rie...@genimen.com
Genimen BV, www.genimen.com
==========================================================================
John B. Moore (TeamB) <71333...@compuserve.com> wrote in message
news:VA.000006e...@microps-215.microps.com...
Sure, no problem. You just have to realize that it is SO unusual that
the tools don't directly support this idea. But of course with a lot of
programming, you can do anything..<G>
> BTW, what have I to do with resetPending?
Look it up.. There are a number of methods for reseting the Pending
Status in DataExpress. It is these methods that you will need to do what
you want.. I'll look'm up for you, but I don't have time right now..
John..
I did not interpret his question that way.. I took it to mean he wanted
tos save all rows.. maybe I have missunderstood the question..
Well, I completely misunderstood you, my apologies..
I can suggest two workarounds.. and I will see if I can get this in as a
suggestion to control this behavior. Right now the behavior is to resolve only
those columns that have changed. My guess is that is saves bandwidth and therefore
keeps the performance up.. (something folks are always complaining about as
well..<G>)
1) As suggested by someone already, upon departing the record touch each field
by overwriting the same value..etc..
2) Create a custom resolver...
One thing is curious, the normal resolver behavior is to throw an error whenever
the target record has changed in any way. You are not seeing this..??? Normally
this would then trigger the UpdateError event and allow you to handle this issue
there.
Paolo
The "fix" is in the resolver.. the default resolver is what is not doing what you
want.. It's not that complicated. I will though pass your request on (don't hold your
breath on a "fix" for this version since you are the only person I'm aware of that has
requested this "feature"), but in the mean time check out my web site at www.microps.com
and select the "Papers, FAQ.." page and there is a paper I did for last years conference
on building resolvers. It's all laid out for you, paint by numbers..<G>
There's another workaround you can think of.
- Once you want to save the user who last modified something, how about
creating an extra table with the columns:
1. datetime stamp (suck it from the server, of course!)
2. user ID or user name
3. name of modified columns
(1 + 2 as the primary key)
So, everytime someone modifies and attempt to save it a new row in this new
table will be added and the datetimestamp, user id and columns will be saved
creating though, a kind of spool for a later investigation or whatever...
I guess ir helps!
Regards,
Gilberto Beltrao