If you're calling the code from an event within the form you can do "this.submit();".
Dan -----Original Message----- From: Chris Hagwood [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 17:55 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 --------------------~--> $4.98 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/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/
