CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to insert link parameters in Add Form

Print topic Send  topic

Author Message
News
Posted: 10/16/2005, 1:02 AM

In ASP, Access how to put link parameters in Add Form fields.
When give parameters in search form, it opens a new target page "insert.asp" which is Add form and link shows:
http://localhost/test/insert.asp?s_Email=admin%40hotmail%2Ecom&s_Subject=2

Now I want to insert Email and Subject values in fields i.e. Email and Subject. I think it will be done with CCGetParam() but how to get these values in the form?
Edd


Posts: 547
Posted: 10/16/2005, 1:33 AM

News,
Sorry your link is local to your PC - see "localhost" (doh!):-)

So can you please repost with more information.

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
News
Posted: 10/16/2005, 3:36 AM

I got exact value in Response.write by using following code but how to put this value in the record form. Database Field of record form is useremail.

Dim s_Email
s_Email = CCGetparam("s_UserEmail", Empty)
Function Page_BeforeShow()

'Custom Code
' -------------------------
Response.Write "this is the value of s_Email: " & s_Email
Response.End

' -------------------------
End Custom Code

End Function 'Close Page_BeforeShow
News
Posted: 10/16/2005, 3:38 AM

I got exact value in Response.write by using following code but how to put this value in the record form. Database Field of record form is useremail.

Dim s_Email
s_Email = CCGetparam("s_UserEmail", Empty)
Function Page_BeforeShow()

'Custom Code
' -------------------------
Response.Write "this is the value of s_Email: " & s_Email
Response.End

' -------------------------
End Custom Code

End Function 'Close Page_BeforeShow
News
Posted: 10/20/2005, 9:43 AM

No response ?????????
Edd


Posts: 547
Posted: 10/20/2005, 3:15 PM

On the beforeshow of each object - I assume they are text objects. You add a before show event.

Function NameOfForm_Email_BeforeShow()
NameOfForm.Email.value = CCGetparam("s_Email", Empty)
End Function

The same for the subject

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.