{"id":6012,"date":"2017-12-15T19:50:10","date_gmt":"2017-12-15T19:50:10","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6012"},"modified":"2020-07-02T09:36:52","modified_gmt":"2020-07-02T16:36:52","slug":"set-variable","status":"publish","type":"post","link":"https:\/\/minisoft.com\/support\/set-variable\/","title":{"rendered":"Set Variable"},"content":{"rendered":"<p>To set the value of a variable using a value in another variable, use Set Variable. For instance, a procedure that is running a calculation, when completed, will need to place the total into another variable. Set Variable can place the total. For a detailed example, consult the following post:\u00a0<a href=\"\/support\/index.php\/math-calculations-with-arrays\/\">Math Calculations with Arrays<\/a><\/p>\n<p>To implement Set Variable, right click the form and select Add Pre-condition Procedure &gt; Set Variable. The Procedure Properties dialog box will display. Select the variable which contains the value to add to another variable using the Use variable drop-down menu. Select OK.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6013\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1.png\" alt=\"\" width=\"363\" height=\"210\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1.png 363w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1-300x174.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1-150x87.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1-250x145.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar1-311x180.png 311w\" sizes=\"(max-width: 363px) 100vw, 363px\" \/><\/a><\/p>\n<p>The Set Variable Action dialog box will display. From the Variable drop-down menu, select the variable which will be set.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6014\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar2.png\" alt=\"\" width=\"335\" height=\"125\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar2.png 335w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar2-300x112.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar2-150x56.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2017\/12\/SetVar2-250x93.png 250w\" sizes=\"(max-width: 335px) 100vw, 335px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To set the value of a variable using a value in another variable, use Set Variable. For instance, a procedure that is running a calculation, when completed, will need to place the total into another variable. Set Variable can place the total. For a detailed example, consult the following post:\u00a0Math Calculations with Arrays To implement [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[50],"_links":{"self":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6012"}],"collection":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6012"}],"version-history":[{"count":3,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6012\/revisions"}],"predecessor-version":[{"id":8183,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6012\/revisions\/8183"}],"wp:attachment":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}