stashwebformitems

The stashwebformitems statement takes the variables created with the GrabWebFormItems statement and assigns them to fields in the current record.


Parameters

No parameters.


Description

This statement takes the variables created with the GrabWebFormItems statement and assigns them to fields in the current record.

Here is a complete program that copies the form input into variables, then into a new record in the database.

grabwebformitems ""
addrecord
stashwebformitems

The procedure below grabs the web input into variables, then makes sure that the address, city and agent name are properly capitalized. It also removes any non-numeric characters the user entered into the # of bathrooms and age items. The pre-processed data is then entered into the database.

grabwebformitems ""
webAddress=upperword(webAddress)
webCity=upperword(webCity)
webBathrooms=striptonum(webBathrooms)
webAge=striptonum(webAge)
webAgent=upperword(webAgent)
addrecord
stashwebformitems

You can put any kind of pre-processing you want in between the grabwebformitems and stashwebformitems statements.


See Also


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0.