×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Show Completed Vs. Pending Projects in a View

Show Completed Vs. Pending Projects in a View

Show Completed Vs. Pending Projects in a View

(OP)
HI,  I’m still new and self taught to Notes design and this is the first post for me, so go easy.

I have an activity db that I want to build a view to show Completed and Pending activities.  Everything worked great until the users started entering future dates for projects.  (Ex.  ProjED 12/31/02.)

My initial way to determine pending vs. completed was the absence of an ProjED on the form.  Now I need to determine if the ProjED is in the future or past before I can determine Pending vs. Completed.

I tried the following code, and received this message:  
Comparison Operators must be supplied the same data type

Today := @Today;
PED := Project_End_Date;

@If(PED =< Today  ; "Complete" ; "Pending")

I do not know how to proceed.

Can anyone help?

RE: Show Completed Vs. Pending Projects in a View

Have you tried using LotusScript instead of Formula Language?  Or using a hidden field and basing the view on the contents of that field?

Good Luck,

leslie

RE: Show Completed Vs. Pending Projects in a View

(OP)
I don't currently have the skills to do that with LotusScript.  I wouldn't know where to start.  About the hidden field, I can do that.  I just did not think about it.

Thanks,

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close