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