Chris, That works, and since I am only using one form throughout my application, I can standardize my code. That helps a lot.
Thanks. Far P.S. If you have more than one form, how does the submit button know what to submit? I've never seen a multi-form example. Do you have a code snippet that shows how to do it? -----Original Message----- From: Chris Hagwood [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 12:55 PM To: [EMAIL PROTECTED] Subject: Re: [ASP] The Current Form If it's always the first form on the page, I think you can do: document.forms[0].submit I may be wrong, but that would be my guess. ----- Original Message ----- From: "The Professional Network" <[EMAIL PROTECTED]> To: " ASP Developers" <[EMAIL PROTECTED]> Sent: Monday, December 06, 2004 12:26 PM Subject: [ASP] The Current Form Does VBS have a form construct similar to VBA's "Me" such that I could do something like Document.Me.Submit Instead of Document.MyFormName.Submit TIA, Far Farley www.TheAccessWizard.com <http://www.theaccesswizard.com/> [Non-text portions of this message have been removed] --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
