#4 Datestamp in SaveAs dialog

Future
open
Drzewiecki T.
Interface (34)
3
2006-01-19
2004-12-04
Drzewiecki T.
No

>> Tadas7:
I'd like to suggest one feature. On SaveAs SQLTools
prompts for filename and automatically fill the field with
corresponding object name. That's great. But is it
possible to have option automatically append datestamp
to suggested filename (for example "ACCOUNTS_VIEW
20041025.sql")

Discussion

  • Drzewiecki T.
    Drzewiecki T.
    2004-12-31

    • assigned_to: nobody --> tmk_pl
     
  • Drzewiecki T.
    Drzewiecki T.
    2004-12-31

    Logged In: YES
    user_id=747155

    Method COEDocument::doSave(), function
    DoPromptFileName().

    This part of code belongs to the OpenEditor, so it will be first
    added to it.

    I think, that a good place for checkbox with this setting will
    be the tab 'Files'.

     
  • Drzewiecki T.
    Drzewiecki T.
    2005-01-07

    • assigned_to: tmk_pl --> akochetov
     
  • Drzewiecki T.
    Drzewiecki T.
    2005-01-07

    Logged In: YES
    user_id=747155

    I've just commited patch to the OE sources. Could you test it
    & move it to the SQLTools?

    How this works?
    0. create new timestamp
    1. search for the first dot
    2. compare new timestamp with part of the string before dot
    3. if they have the same structure the old timestamp is
    overwritted
    4. if they haven't the same structure - timestamp is inserted
    before the first dot

     
  • Drzewiecki T.
    Drzewiecki T.
    2005-06-23

    • assigned_to: akochetov --> tmk_pl
     
  • Drzewiecki T.
    Drzewiecki T.
    2005-06-23

    Logged In: YES
    user_id=747155

    I will add simple implementation of this feature.

     
  • Drzewiecki T.
    Drzewiecki T.
    2006-01-19

    • milestone: 452743 --> Future