Skip to main content

Search

Search

Custom Message to user conditional print with excel

Comments

3 comments

  • Avatar
    Peter Thane

    You can create custom warnings and messages via the Actions on a Data Entry Form such as this, which displays the warning if the number entered is greater than 1. You can access the Actions via the Properties of the Data Entry Form

    0
  • Avatar
    Peter Thane

    The way I would achieve this would be:

    1. Add a Named Field on the label template but outside of the printing area. 
    2. Add a Data Entry Form that if set to appear only when your database field value equals 1. On that Form I would add only the Text Input Box that is linked to the field above and I would then configure to display the Message Box Action (see below)
    3. Back on the Template I would add a Visual Basic > Event Controlled > OnPostPrompt Script field. The Data Type of this field would be set to Date. The VB routine would be linked to database field and the Named Field from 1 above. This would add either 12 months to today's date if the database contained a 1 or whatever value in months was entered in the Input box in 2.  

    (MonthEntered was the name of the field I used in 1, above)

     

     

    0
  • Avatar
    Altivo de Almeida

    Look: the field  Enter data = 7 in form  is a date datapicker and not a number.

    not quatity months but filed date for example: 04/20/2022

    if the user select 04/20/2022 it show the message

    0

Please sign in to leave a comment.