CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 CCS Record Update Question.

Print topic Send  topic

Author Message
Rocket

Posts: 45
Posted: 11/02/2010, 7:38 PM

Howdy all - making great headway with this bad boy. But of course, there are always questions:

1) I've gone over all the ASP Functions and Methods and was looking for an Update Method and I don't see one. I realize that I can create the SQL and call the Execute method, which works fine - am I missing something?

2) I have a situation where I want to display a Link to a Message File with the number of messages in braces like so: Messages(4). That I can do, but when a user clicks on the link Message(4), I would like to go to the messages page and display the relevenat messages, how do I do this

More info:

User ID (100) has a Project (100) and that project has (4) messages, so the user data is displayed, then on the row that each of his projects is displayed would be a link that says Messages(x). Each row (project) could have a varible number of messages (child records) for that project.

I've gone through all the examples and TUTs and nothing jumps out at me that helps to address this question.

I hope this is clear, if not I can certainly try to re-explain and provide more information.

One last question. when I create my login form (or whichever), how can I center it in the browser I've changed the Page margins, but then I get scroll bars. I know I can center using html, but was hoping that there was something in CCS to do this.

Thanks all - promise.
Thanks all,

Rocket.
View profile  Send private message
datadoit
Posted: 11/03/2010, 4:52 AM

Rocket, since you're using ASP, you may be best served by subscribing to
the ASP group and posting your question there. Also prepend or include
a signature line describing your relevent environment (ASP.Net, Win7,
IIS7, etc.) so that the forum doesn't have to make assumptions when
attempting to answer your questions.

For your first question, look in the help files for 'Custom Insert' or
'Custom Update'. That might clear up some confusion for you.

To answer the second part of your question in PHPese, you could do
something in the link control's BeforeShow event such as:

$Component->SetValue(" (" . $Component->GetValue() .
$Container->ds->f("COUNT(YourPKField)") . ")");


Rocket

Posts: 45
Posted: 11/03/2010, 7:25 AM

Thanks for the reply and pointer. I didn't post this in the ASP forum because I was more interested in Where (or if) in the manual I missed the Update Method. It just seemed odd that there was no specific method in the docs - so thanks for the pointer here, I'll play with that.

As for you second point (the PHPese...) I actually started messing with that sort of code last night and am battling thru it. Nice of you to post an example, I made the appropirate change(s) to my code and voila it is all good, a little formatting and such, but I'm on my way.

Thanks again and I'll try to post in the appropriate forum, I thought General/Other would be the correct forum for this post.

Cheers and again, thank you for the assistance :)

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