On Jun 27, 2013, at 7:04 AM, Derek Atkins <[email protected]> wrote:

> Geert Janssens <[email protected]> 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


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to