Rabu, 12 Agustus 2015

Re: [MS_AccessPros] iif statement on a query

 

Liz-


Is there a table or query in the FROM clause called LocalF30026?  And does that query or table have a field called ICESL?  If not, then you'll get a parameter prompt.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)




On Aug 12, 2015, at 5:46 PM, Liz Ravenwood liz_ravenwood@beaerospace.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

Pros,  I need to use the same field various ways depending on the value of another field.

 

I'm trying this:  MaterialCost: IIf([IECOST]="A1",[LocalF30026]![ICESL],0)

 

Where [LocalF30026]![ICESL] is a valid field, but it is prompting me like it is a parameter.

 

Can't I do this?

 

If not, how do I do this?

 

Thanks.

 

Respectfully,

Liz Ravenwood

Programmer / Analyst

B/E Aerospace | Super First Class Environments

 

1851 S Pantano Road | Tucson, Arizona 85710

Office +1.520.239.4808 | Internal 814-4808

beaerospace.com

Passion to Innovate. Power to Deliver

 



This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

.

__,_._,___

Tidak ada komentar:

Posting Komentar