close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Messages Recordset

Thread began 10/06/2011 12:41 am by Sly Verano | Last modified 10/07/2011 1:28 pm by Jason Byrnes | 1877 views | 5 replies |

Sly Verano

Messages Recordset

Hello Guys,

Can you help me please, if you received a messages you can see the total messages that you

have. But when you read that message. The total of the messages you have is decreasing.

For example:

In my Inbox Messages I have (10) New Messages ... but when I read one of that (10)

messages. And When I go back to my list of messages. My total messages should be

(9)Messages because, I already read that message so it should be decreased.

(NOTE: THIS IS MESSAGES IS CAME FROM MY DATABASE TABLE,. I Used here the Recordset and Filter the Messages that the user owned)


How was that ?

Can you help me please regarding my problem ?

-------------------------------------------------------------

Thanks In advanced ....

Sign in to reply to this post

Jason ByrnesWebAssist

your message table will need a column to mark the messages as being read or not.

Set the initial value for this column to 0


when the user reads a message, you need to update the column to 1

on the page where you display the number of messages, set the recordset to only query records where the read column is equal to 0

Sign in to reply to this post

Sly Verano

Hi Jason,

How could I update that value in that column If I only used a link, should I used a form to

update the read and unread messages.

-------------------------------------------

So, You mean there are two recordsets, which is the view the unread messages which the query is = 0;

and the another recordset for the is for the read messages which the the query is = 1

Is that that what you mean ...

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

your link to the read message page will pass the message iD as a querystring parameter. use the querysting variable in the update record behavior.

Sign in to reply to this post

Sly Verano

In the DA-Single Record Update,. In the Record Fieldset , the textfield with the lightning bolt

,.. what value should I put there ?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

I dont follow your question.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...