Date and Time Widget

  • Last update:December 01, 2020
  • I. Overview

    The Date widget is specially added to query date and time.

    II. Steps

    1. Drag the widget

    1) Click on the Date widget and drag it into the parameter pane. The widget name defaults to dateEditor0.

    2) You are allowed to change the widget name. The widget name is used to bind the widget to a certain parameter. Specifically, the widget will be bound to a parameter when they have the same name. In the Preview mode, the values selected with the widget will be passed to the parameter.


    2. Disable the widget

    1) Check [Enabled]. In the Preview mode, you are allowed to check the options the widget displays.

    2) Uncheck [Enabled]. In the Preview mode, the widget has a shallow color and you are not allowed to check the options the widget displays.


    3. Hide the widget

    1) Check [Visible]. In the Preview mode, the widget is visible.

    2) Uncheck [Visible]. In the Preview mode, the widget is not visible.


    4. Widget value: String

    1) Widget value refers to the option selected by default in the Preview mode, which can be string, field or formula.

    2) If the widget value is set to string, you can select the year/month/date in the drop-down box.


    5. Widget value: Formula

    1) Select [Formula] as the widget value. Click on the [=] and a Formula Definition window pops up. Input the following formula in the text box: TODAY()-1

    2) Preview.


    6. Widget value: Field

    1) Select [Field] as the widget value.

    2) Select the dataset [ds1] and the field [SIGNDATE].

    3) Preview.


    7. Format: Date

    1) The default Date format is yyyy-MM-dd.

    2) Click the widget and choose yyyy-MM in the option list.


    8. Format: Time

    1) The default Time format is yyyy-MM-dd HH:mm:ss.

    2) Click the widget and choose HH:mm:ss in the option list.


    9. Start date and end date

    1) You can set a date range in the widget. Upon setting, dates earlier than the Start Date and later than the End Date are in gray, suggesting they are not optional.

    2) Options include None, Date, Formula.


    10. Font size

    1) You are allowed to change the font size.

    2) The font size is 12 by default.


    11. Return value type: Date

    1) If you set to return a Date value, the return value will be display in the Date format that has already been set in the cell.

    2) As shown in the figure below, there are two Date formats: yyyy-MM-dd and yyyy/MM/dd. Dates in both formats can be queried from databases.


    12. Return value type: String

    1) If you set to return a Date value, the return value will be display in the Date format that has already been set in the cell.

    2) As shown in the figure below, there are two Date formats: yyyy-MM-dd and yyyy/MM/dd. yyyy-MM-dd is the default format. Dates in the default format can be queried from databases.


    13. Allow returning a null

    1) If [Allow Null] is checked, it allows you to make a query without displaying any option.

    2) In the Preview mode, no option is checked and no error tip pops up after clicking on Query.


    14. Not allow returning a null

    1) If [Allow Null] is unchecked, select at least one option for query.

    2) In the Preview mode, no option is checked and an error tip pops up on the right side of the browser window after clicking on Query.


    15. Allow edit

    1) If [Allow Edit] is checked, after clicking the drop-down box you are allowed to input values for fuzzy query.

    2) If [Allow Edit] is unchecked, after clicking the drop-down box you are not allowed to input any value.


    16. Widget position

    1) Widget position refers to the coordinates of the widget in the parameter pane.

    2) Manually input the widget coordinates or directly drag the widget to any position at your option.


    17. Widget size

    1) To resize the widget, put your cursor onto a border line and the cursor will change into a streamlined arrow, then click and drag.

    2) Directly input the width and height of the widget.


    Attachment List


    Theme: Parameter
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy