invokes a FORMS-style dialog box with which a user may edit individual entries in a selection set or apply edits to the entire set.
[CURSOR/GLOBAL] - the CURSOR option enables browsing and editing individual entries in a selection set; the GLOBAL option applies values to the entire set.
{item...item} - one or more items which will be displayed in the update form. If no items are specified, all the items for the selected feature will be listed.
&r cursor declare forms &r cursor forms relate veg.landform muntnumb ordered &r eforms cursor type type_txt #parent &r cursor forms remove restoreselThe reason for this is that EFORMS has no way to query the current join environment. If EFORMS is used as part of a larger application, it would be up to that application to store the JOIN environment and supply it as above.
The maximum number of items which may be specified is 9. The sum of the item names, when delimited by spaces and commas, must not exceed 80 characters.
Item definitions are stored beginning at SML variable 501, and item values begin at 601. Thus the maximum number of items supported by the EFORMS dialog box is 100. The code may be altered to change this number, though care should be taken not to collide with the cursor stacks.
JOIN.SML
&extract -1 -1 1 &goto false &if &eq %-1 OFF &sv 71 "%-1 %-2 %-3" &goto end &label false &sv 71 OFF &label end JOIN %71 &returnCFORMS.SML
&r cursor declare forms &goto false &if &eq %71 OFF &r cursor forms relate %71 &label false &r eforms cursor %-1 %-2 %-3 %-4 %-5 %-6 %-7 %-8 %-9 &r cursor forms remove restoresel &returnGFORMS.SML
&r eforms global %-1 %-2 %-3 %-4 %-5 %-6 %-7 %-8 %-9 &returnIn this case, "&r JOIN OFF" should be performed at the beginning of a session to set variable 71 to OFF. This may also be done in the ARCEDITW startup script -- see "Customizing PC ARC/INFO 3.5.X" for further information.
The following dialog joins the labels to VEG.LANDFORM and brings up the EFORMS CURSOR dialog box:
&r join veg.landform muntnumb ordered &r cforms
Pressing the ">>" button brings up the next record. Note the activation of the "<<" button to return to the previous record.