Is there a "tip of the day" type feature in AMS5?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • clientele
    Forum Member
    • Dec 2004
    • 75

    Is there a "tip of the day" type feature in AMS5?

    I did a forum search and couldnt find anything about it, thanks.
  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Hi. You could store your tips text in a table or flat text files and then call them using a date the same way we did the Valentine app... So for example you have a table with (31) tips in it, i.e.:

    tips = {"tip 1 here", "tip 2 here", "tip 3 here", "tip 4 here"};

    And then simply display them with:

    Dialog.Message("Today's Tip", tips[String.ToNumber(System.GetDate(DATE_FMT_DAY))]);

    Hope that helps... :yes

    Comment

    • clientele
      Forum Member
      • Dec 2004
      • 75

      #3
      Originally posted by Corey
      Hi. You could store your tips text in a table or flat text files and then call them using a date the same way we did the Valentine app... So for example you have a table with (31) tips in it, i.e.:

      tips = {"tip 1 here", "tip 2 here", "tip 3 here", "tip 4 here"};

      And then simply display them with:

      Dialog.Message("Today's Tip", tips[String.ToNumber(System.GetDate(DATE_FMT_DAY))]);

      Hope that helps... :yes

      Very nice Ive been on this software everyday I should of thought of that,
      thanks.

      Comment

      • Corey
        Indigo Rose Staff Alumni
        • Aug 2002
        • 9745

        #4
        That's why I love this forum. Everyday I read something in here which makes me view a given task from a new angle. :yes

        Comment

        Working...
        X