CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Create a user message system

Print topic Send  topic

Author Message
boris

Posts: 14
Posted: 07/29/2004, 11:04 PM

I'm trying to accomplish a task where users have an internal message system to send other users a message.

The messages are held in an Access DB with From, To, Date, Subject and Message as the fields.

I have created a grid (MessagesList) and record (MessagesDetail) form using CCS so that when a user clicks a message it is displayed in the record form. Everything is fine except for one thing.

I would like the ability to Reply to a message when it is displayed in the record form but i can't figure out a way to do it. I can add a new record providing nothing is displayed in the record form but in this instance that's no good to me. By the way, the users are not able to enter any info in the To field. This would be taken from the value of the From field.

I would appreciate if anyone has any help to sort this problem out?
View profile  Send private message
Benjamin Krajmalnik
Posted: 08/01/2004, 2:32 AM

Boris,

I would approach this as follows:

Create a link called "Reply". Call a page, say, ReplyPage.ccp, with
parameters "To", using the "From" database field, and "From" using the "To"
field.

Now, in the BeforeShow for the form, you can prime the fields, such as:

YourForm.ToField.Value = CCGetParam("To")
YourForm.FromField.Value = CCGetParam("From")

Use text fields, which you can set as read only, and proceed as usual.


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.