Skip to main content

Search

Search

Date Format based on Database Field

Comments

3 comments

  • Avatar
    Peter Thane

    No need for VB, you could just use Suppression. 

    Add either two text fields and place them one on top of the other, or else create a single field with two substrings and set the suppression to look at the content of your database field. In my sample below I have actually linked the two strings to the top text field and named it DF1 and then connected this to a List Box with the two formats on a Data Entry Screen. 

    Each string has a different Date Type > Format set and a different Suppression set.

     

     and at print time (on the Data Entry Screen)

     

    0
  • Avatar
    Paweł Gancarz

    Hello,
    You can make two objects and set when it has which one to print .

    For the second object you set similarly.

    Base content example.

    print preview

    Maybe this is what you need for what you are asking.

    0
  • Avatar
    Stuart Riches

    That's perfect. Just what I needed.

     

    Thanks both :)

    0

Please sign in to leave a comment.