Report system legacy

John Ralls jralls at ceridwen.us
Thu Jun 27 10:18:14 EDT 2013


On Jun 27, 2013, at 7:04 AM, Derek Atkins <warlord at MIT.EDU> wrote:

> Geert Janssens <janssens-geert at telenet.be> writes:
> 
>>> HOWEVER, I do think that we should only have a single saved report of
>>> the same name. I.e., if we save a Balance Sheet report it goes into
>>> Custom/Balance Sheet which is fine. But if you *resave* it, IMHO it
>>> should overwrite the previously saved Custom report of the same name.
>>> 
>> 
>> That may not be the user's real intention. Instead the user may want to
>> generate a second report based on the same base report, but using different
>> settings. So I think automatically overwriting the previously saved report may
>> result in user frustration. At the very least we should ask the user what she
>> wants to do.
> 
> I'm not sure..  Perhaps the best way to do it would be to do it similar
> to other systems and prompt the user: "Another saved report already
> exists with the name XXX.  Overwrite?  [Cancel] [OK]" This would prompt
> them to change the name if they really want two reports with the same
> name.

Alternatively, do what Macs do: append ' (n)' to the name part of the filename,
where n is a positive integer incremented as necessary.

Regards,
John Ralls




More information about the gnucash-devel mailing list