Forum Discussion

jeannejeanne's avatar
jeannejeanne
Qrew Cadet
8 years ago

Datetime Stamp for When Status set to a specific status.

I want to a datetime stamp from a multiple choice field when set to a specific status. I do not want to use the log edit method, i want to status to only show the last status chosen. Is this possible? This needs to be done through grid edit. I am new to QuickBase and learning as i go
  • As posted above

    Date of most recent update (this needs to be a formula date field)


    ToDate(Left(Right([my update field],"["),9))
    • jeannejeanne's avatar
      jeannejeanne
      Qrew Cadet
      struggling with this one.  i need the date stamp of the last time the multiple choice (with log edit) of "WIP" was set.  there may have been other statuses after WIP, but i need to display Date Stamp of when WIP was selected.  thanks for your help.
    • QuickBaseCoachD's avatar
      QuickBaseCoachD
      Qrew Captain
      OK, sorry, I missed the point about needing only for a particular status.

      I think that we need to go to plan B here.  Nevermind the log field. 

      I suggest using Actions. You will find that in Settings for the Table

      Set up a child table to log changes to that field in the main record.  call it Status changes for status XXX

      The Action will trigger when the record is saved and the status changes and the status is the special value.

      Then on the relationship summarize the maximum of that field and you will have the date of the most recent change.
  • The best way in terms of low tech solutions is to use a multiple choice field  with log changes enabled.

    You create formula fields to hive off the information from the most recent update and use those fields in View mode on forms and on reports.

    Here are the essential formulas.

    Parsing Append Only Fields

    so... if you have a text field set to Log Changes where the new entries act in the default manner which is to be at the bottom of the updates, here are some formuals to use to parse out the values from the most recent entry.  I am also assuming that you are logging the date and not the date and time.

    Most recent value (formula text field type)

    Trim(Right([my update field],"]"))

    Date of most recent update (this needs to be a formula date field)

    ToDate(Left(Right([my update field],"["),9))

    Who did the most recent update (formula text field type)

    Trim(NotLeft(Left(Right([my update field],"["),"]"),9))
  • Thanks, will give that a try, and yes only need the date. Is there any examples of this method?
  • I have it setting my forumla field to the last status set, but how do i get the date of the last entry for a specific status entered? thanks again!
  • thanks, actually got that working with the log field.  i am getting the date of a specific satus what is the formual to get the user name? can't seem to get that right.  this is what i am using to get date of WIP

        If(Contains([Update Status],"WIP"),
           ToDate(Left(Right(NotRight([Update Status],"WIP"),"["),9)),null)

  • To get the name of the person who did the update, it should be this.

    Who did the most recent update (formula text field type)

    Trim(NotLeft(Left(Right([my update field],"["),"]"),9))
  • At a lost.  Don't want to use forms, have a status field that has 9 choices, and will most likely be at least 7 or 8 of them as it goes through the process. for three the processes i have to store the date it was set to that specific status and for one of the status i have to record the person who set it to that specific status. I have tired log edit and using and creating a table to and using actions to put data in the table.  but with both i cannot get the specific information i need by lookup or formula to get the specific data I need.  Is this possible in grid edit?  thank you for any help or insight!
    • jeannejeanne's avatar
      jeannejeanne
      Qrew Cadet
      Think i figured out by creating a (action) table for each status, is that the best solution or is there a better way? thanks.
    • QuickBaseCoachD's avatar
      QuickBaseCoachD
      Qrew Captain
      Why can't you just use one table to have the Action write to, to record the Status changes?  Why a table per Status?
    • jeannejeanne's avatar
      jeannejeanne
      Qrew Cadet

      i wasn't able to figure out how to do a lookup from the parent table to the status table to get the date/time of a specific status