My presentation at the last R:Base conference uses a slightly different take on this.
The eep property for each button reads "EepFile USING 'something'" The eepfile has a variable at the top that picks up the .%1 and then runs the appropriate block of code. Set var vBlockName TEXT = .%1 The eep then runs the specific block specified in the button properties. marc schluter <[EMAIL PROTECTED]> wrote: >This should be simple but I can't seem to get it to >work. > >I have a menu form with buttons. �The eep should get >the button name, close the window, then run a command >file in a case statement. > >I see how the example works in Rrbyw4 but when I trace >my eep the var gets set to .%1 not the button name. > >I use to use SET VAR vbutton = >(CVAL'form_field_name')) �but that doesn't seem to >work. �So, I replaced that with set var VmenuOption = >.%1 but no luck so far. > >sorry about asking so many questions >marc > > > > >__________________________________ >Do you Yahoo!? >Protect your identity with Yahoo! Mail AddressGuard >http://antispam.yahoo.com/whatsnewfree > > -- Albert Berry Full Time Consultant to PSD Solutions 350 West Hubbard, Suite 210 Chicago, IL 60610 312-828-9253 Ext. 32 __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

