0

Clear Code for Button?

What is the function and code to use in a Button to clear a field? I want to click a button to clear two search fields.

8replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Are the search fields text fields? Then you can use:   textfield := null

    Like
    • Mr. K.
    • Mr_K
    • 1 yr ago
    • Reported - view

    One of the fields is a number field.

    Like
    • Mr. K.
    • Mr_K
    • 1 yr ago
    • Reported - view

    One of the fields is a number field.

    Like
  • It will also work on number fields. 

    Like
      • Admin
      • Admin.11
      • 3 mths ago
      • Reported - view

      RoSoft_Steven Rooryck Does this work on appointment fields 

      im trying  'Massage Booking' = null and it does not work

      Like
      • Admin
      • Admin.11
      • 3 mths ago
      • Reported - view

      RoSoft_Steven Rooryck just relised i forgot ":" before the = sign :=

      Like
    • Mr. K.
    • Mr_K
    • 1 yr ago
    • Reported - view

    I got it to work using this coded:

    (“Search by Type” := null) or (“Serach by Item #” := null)

    That clears or one field or both fields.

    Like
    • Mr. K.
    • Mr_K
    • 1 yr ago
    • Reported - view

    Keep in mind that this bad forum is converting single quote marks to double quote marks. Horrible.

    Like
Like Follow
  • 3 mths agoLast active
  • 8Replies
  • 663Views
  • 1 Following