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 -> General/Other

 Populate Textbox from Grid Link [SOLVED]

Print topic Send  topic

Author Message
davep

Posts: 41
Posted: 02/24/2009, 9:57 AM

Geez, I need help again... I have a grid that shows a series of link controls. I want to use the link to carry two parameters from the recordset to a record form and pre-populate two corresponding fields. The user will then complete filling out the record form and submit it to add a new record. Note that this will only be used to add records.

It seems like this should be relatively easy, but I haven't figured it out yet...

Can somebody help?

Thanks,
Dave

View profile  Send private message
geebee

Posts: 21
Posted: 02/24/2009, 1:46 PM

Hi Dave,

Have a look here, it should give you a pointer.

http://forums.yessoftware.com/posts.php?post_id=94161&s_keyword=

The only difference should be the source type would be a Datasource Column and the parameter source would be the control ID.

You would need two parameters of course.

Let me know how you get on.

Graham
View profile  Send private message
davep

Posts: 41
Posted: 02/24/2009, 11:20 PM

Quote geebee:
Hi Dave,

Have a look here, it should give you a pointer.

http://forums.yessoftware.com/posts.php?post_id=94161&s_keyword=

The only difference should be the source type would be a Datasource Column and the parameter source would be the control ID.

You would need two parameters of course.

Let me know how you get on.

Graham

Well, I added Retrieve Value for Control actions to both textboxes and pointed then to the parameter from the Link and it all worked fine... until I decided to try and stop the Tabbed View that the Grid with the Links is on from always moving back to the first tab after selecting anything. What I gather is the solution is to place an Update Panel on the tab, which I did, and it fixed that problem, but now my parameters are no longer updating the textboxes...

I'm still looking for solutions...

Thanks,
Dave
View profile  Send private message
davep

Posts: 41
Posted: 02/25/2009, 10:53 AM

Okay, so I dropped the Update Panel, which just caused problems, and inserted some Javascript in the forms onload:

if (CCGetParam("tab_step") == "")
Panel1YahooTabbedView.set('activeIndex',0);

if (CCGetParam("tab_step") == 2)
Panel1YahooTabbedView.set('activeIndex',1);

if (CCGetParam("tab_step") == 3)
Panel1YahooTabbedView.set('activeIndex',2);

I pass the parameter through links on each form, and I'm able to pass information between the forms and step through them in sequence as desired.

Thank you CodeCharge!

Dave
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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