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!

*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

AR Remedy Macros

AR Remedy Macros

AR Remedy Macros

I need to set up a macro to query against the same group of 3 fields containing different values so that all results from each group are displayed at the same time. I also need to add a variable date range to this.
My code is as follows
'Status' >= "RESOLVED" AND   (  ( 'Support-Region' = "UNITED STATES" AND 'Support-Desk'  = "US-SAP" AND 'Support-Group' = "SAP CORE TEAM%" )  OR  ( 'Support-Region' = "ASIA PACIFIC" AND 'Support-Desk' = "SAP" )  OR ('Support-Region'  = "EMEA" AND 'Support-Desk' = "EMEA-SAP" )  OR  ( 'Support-Region' = "GLOBAL" AND 'Support-Desk' = "SAP" AND 'Support-Group' = "FINANCE" )  )  AND  ( '536870922' >= "$RESOLVED TICKETS START DATE$" AND '536870922' <= "$RESOLVED TICKETS ENDING DATE$ 11:59:59 PM")

When I run the code I get the following error
Format of date or time value is not recognized.: position 430   (...TS START DATE$"^ AND '536870922...) (ARERR 1590)

Can anybody help me resolve my date format problem?

RE: AR Remedy Macros

cancel this question. I found out that the error was caused because I was trying to run this before I started recording it as a macro

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