Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 24th, 2008, 11:51 AM
Registered User
Join Date: Mar 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with IIF

I am having problems with getting this to work..

I have a database which allows orders to be taken.
A check box can be checked and the delivery address will be the same as the invoicing address. I used this formula:
=IIf([Delivery address same as invoicing]=Yes,[Invoicing Address 2])
however, when its not the same, i still need to type an address in.
Anyone got any ideas?

Reply With Quote
  #2 (permalink)  
Old March 25th, 2008, 06:42 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

I'm not sure what you are after here. Normally you would create a customer table, then either have a billing address and a mailing address in that table, or more commonly, an address table with a look up to the customer table, and some field that tells you whether the address is for billing or for shipping, or both.

What is the table structure you are using?

On your data entry form, when the check box is checked, you can have it disable the controls for a seperate shipping address.


Look it up at: http://wrox.books24x7.com
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iif function rohit_sant SQL Server 2000 11 December 24th, 2009 04:04 AM
IIf umeshtheone Beginning VB 6 3 June 21st, 2007 12:24 AM
Nested IIF rohit_ghosh Access 5 May 4th, 2007 09:29 AM
Help with IIF Statment Corey Access 2 December 14th, 2006 11:10 AM

All times are GMT -4. The time now is 02:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.