Here is some code that should accomplish what you are trying to do. You'll need 
to create a new empty text rule and insert the following code. Make sure to 
switch out the names of your variables.

if (Field("StartDate") != Field("EndDate"))
  return  Field("StartDate") + " - " + Field("EndDate");
else
  return Field("StartDate");


Good luck!
-Lauren



-----Original Message-----
From: Ronald Zurek [mailto:[EMAIL PROTECTED]
Sent: Monday, October 01, 2007 9:08 AM
To: FusionPro Users Forum
Subject: [fusionpro] RE: Variable Store Hours



I am creating a menu and would like to accomodate different store hours for 
different people. For example, I want a field for starting day of the week and 
a field for ending day of the week. I need to use a hyphen if the two days are 
different than each other, but if the days are the same, just to list the day. 

e.g. 

if the starting day of the week is Monday 
and the ending day of the week is Thursday 

I need it to read like this: Monday - Thursday. 

If the starting day of the week and ending day of the week are both Monday...I 
want it to read: Monday 

without the hyphen. 

I am trying to use the drag and drop rule wizard, but am not having any luck. 

thank you very much 


Ron +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web 
Users! Do you have a question or lots of knowledge to share about FusionPro 
Web? If so, join our Printable Web to Print Users' Forum today! Send email to 
[EMAIL PROTECTED] to find out how! 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro 
Desktop have unlimited free email support. Contact Printable Support at [EMAIL 
PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at 
www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro 
as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- 
-- Note: All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com -- 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to