Results 1 to 2 of 2
  1. #1
    masond is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2012
    Posts
    12

    Changing iff into VBA code


    Hey guys

    How can i write the following (See below) as Vba Code ?

    Channel: IIf([Sub-Source] Is Null,[How did you hear of us],[Sub-Source])

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Try: IIf( IsNull([Sub-Source]) ,"How did you hear of us",[Sub-Source])

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Changing order by using code
    By FRAZ in forum Queries
    Replies: 4
    Last Post: 01-22-2014, 12:54 PM
  2. Replies: 1
    Last Post: 05-04-2013, 12:19 PM
  3. Changing Printers Code produces an error
    By Perceptus in forum Programming
    Replies: 4
    Last Post: 01-15-2013, 08:33 PM
  4. Replies: 8
    Last Post: 04-03-2012, 12:00 PM
  5. Replies: 4
    Last Post: 05-18-2011, 03:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums