CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 YOU ARE .... DAYS OLD USER OF THE FORUM

Print topic Send  topic

Author Message
Tom
Posted: 03/05/2002, 2:39 AM

Message I have a problem in designing a page, in which, I want to reterive the Date of the First Record insert by a user (who logged in) in the message database like this forum(each inserted record has a field UserID and Date of Inserting record), and show on the form that "YOU ARE .... DAYS OLD USER OF THE FORUM".

There are many message posted in the messagebox (forum) during previous days by many users and they are saved in the same database table.

How I trace the date when first record was posted by the person who logged-in? and display the above message on the form.

Please Help me.

Tom
Nicole
Posted: 03/05/2002, 7:13 AM

Tom,
Date handling issue depends on db and language you use. Could you provide such information?
Common approach is to select min date value for logged in user and compare it with current date in order to get difference in days.
Tom
Posted: 03/05/2002, 9:13 PM

Dear Sir,

Thanks for reply. This is my mistake.

I am using MsAccess 2000 DB.

One Thing I also want to mention here : I want to calculate days from the first record (Message) sent in the forum by the user (Not the Sign-in date to forum).

Please Help Me.


   


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.