Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
using iif to set rate value
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
babs  
View profile  
 More options Nov 9, 5:57 am
Newsgroups: microsoft.public.access
From: babs <b...@discussions.microsoft.com>
Date: Sun, 8 Nov 2009 10:57:01 -0800
Local: Mon, Nov 9 2009 5:57 am
Subject: using iif to set rate value
I have a main form called Jeff Employee Info on there are two text boxes with
rates on txtRate and one txtRate2BP (which is a second rate that could
possibly apply for some jobs - that the employee may do.

In the subform i have a check box called ckRate2bp that is set to default at
blank - and I had the Actual Rate field in the subform set to have control
source =Forms]![Jeff Employee Info]![txtRate])
and it worked
I would like to have the Actual rate in the subform be the txtrate in the
main form but if the ckRate2BP check box is checked inthe subform I want it
to be = to the txtRAte2BP on the main form

=iif([ckRate2bp]=-1,[Forms]![Jeff Employee Info]![txtRate2BP],Forms]![Jeff
Employee Info]![txtRate])

I put the above code in the control source for the actual rate field for the
subform but get Name? as a result???

not sure what is wrong?????

thanks,
barb


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Snell  
View profile  
 More options Nov 9, 8:15 am
Newsgroups: microsoft.public.access
From: "Ken Snell" <kthsneisll...@ncoomcastt.renaetl>
Date: Sun, 8 Nov 2009 16:15:18 -0500
Local: Mon, Nov 9 2009 8:15 am
Subject: Re: using iif to set rate value
What you posted has a typo in it; it's missing a [ character:

=iif([ckRate2bp]=-1,[Forms]![Jeff Employee Info]![txtRate2BP],[Forms]![Jeff
Employee Info]![txtRate])
--

        Ken Snell
http://www.accessmvp.com/KDSnell/

"babs" <b...@discussions.microsoft.com> wrote in message

news:D2908AC9-2DF4-4C52-8898-F4783CB27DDD@microsoft.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daryl S  
View profile  
 More options Nov 10, 1:06 am
Newsgroups: microsoft.public.access
From: Daryl S <Dar...@discussions.microsoft.com>
Date: Mon, 9 Nov 2009 06:06:01 -0800
Local: Tues, Nov 10 2009 1:06 am
Subject: RE: using iif to set rate value
Babs -

You are missing a left bracket.  Try this:

=iif([ckRate2bp]=-1,[Forms]![Jeff Employee Info]![txtRate2BP],[Forms]![Jeff
Employee Info]![txtRate])

--
Daryl S


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google