Ask a Question related to ASP Database, Design and Development.
-
Krechting #1
What button do I need to open a new form
Hi All,
I need a button on my form that opens a new window.
I put in a submit button but it always returns to my first page.
And then my first page is empty.
What button do I need to go to another page (weapon_related)?
This is what I use at the moment:
'NewRecord1 Operation Method @3-0C905987
Sub Operation()
If NOT ( Visible AND FormSubmitted ) Then Exit Sub
If FormSubmitted Then
PressedButton = "Button1"
If Not IsEmpty(CCGetParam("Button1", Empty)) Then
PressedButton = "Button1"
End If
End If
session("txtWID")=request("txtWID")
Redirect = "Weapon_related.asp?" & CCGetQueryString("QueryString",
Array("ccsForm", "Button1"))
If Validate() Then
If PressedButton = "Button1" Then
If NOT Button1.OnClick() Then
Redirect = "Weapon_related.asp?" &
CCGetQueryString("QueryString", Array("ccsForm", "Button1"))
End If
End If
Else
session("txtWID")=request("txtWID")
Redirect = "Weapon_related.asp?" &
CCGetQueryString("QueryString", Array("ccsForm", "Button1"))
End If
End Sub
'End NewRecord1 Operation Method
Tnx in advance
Marco
Krechting Guest
-
Open window on button click
Hi there, in a form, here's what I want to do : <input type=button onclick= (???) is it possible to open a pop-up window with a specified... -
button to open .exe
I am having problems creating a button to open an .exe file. I've created a button with the following action script: on (release) {getURL("name... -
Button to open program
I want a button in my flash to open up a external program eg Winamp. How can I do this? -
JavaScript Access to Button in form tags (webcontrol or html button)
Hello, I have a button called LoadBtn, which exists in <form name="Form1" runat=server></form> tags. I then have javascript loaded outside of... -
Open Form from switchboard in Filter by Form mode
I have a simple application in Access 2000 which currently uses no macro's or special code. What I want to do is devise a method whereby I can... -
Jeff Cochran #2
Re: What button do I need to open a new form
On 2 Jan 2004 17:21:58 -0800, [email]m.krechting@chello.nl[/email] (Krechting) wrote:
This would be best in client-side code, using the OnClick event for>I need a button on my form that opens a new window.
>I put in a submit button but it always returns to my first page.
>And then my first page is empty.
>What button do I need to go to another page (weapon_related)?
your button. try a Javascript group for details.
Jeff
>This is what I use at the moment:
>
>'NewRecord1 Operation Method @3-0C905987
> Sub Operation()
> If NOT ( Visible AND FormSubmitted ) Then Exit Sub
>
> If FormSubmitted Then
> PressedButton = "Button1"
> If Not IsEmpty(CCGetParam("Button1", Empty)) Then
> PressedButton = "Button1"
> End If
> End If
> session("txtWID")=request("txtWID")
> Redirect = "Weapon_related.asp?" & CCGetQueryString("QueryString",
>Array("ccsForm", "Button1"))
> If Validate() Then
> If PressedButton = "Button1" Then
> If NOT Button1.OnClick() Then
> Redirect = "Weapon_related.asp?" &
>CCGetQueryString("QueryString", Array("ccsForm", "Button1"))
> End If
> End If
> Else
> session("txtWID")=request("txtWID")
> Redirect = "Weapon_related.asp?" &
>CCGetQueryString("QueryString", Array("ccsForm", "Button1"))
> End If
> End Sub
>
>'End NewRecord1 Operation Method
>
>Tnx in advance
>MarcoJeff Cochran Guest



Reply With Quote

