Results 1 to 2 of 2
  1. #1
    Wrangler is offline Wrangler
    Windows 7 Access 2007
    Join Date
    Dec 2005
    Location
    Alabama
    Posts
    17

    Checkbox to update value

    I have an invoice form that I am trying to get to calculate frieght but only if I check a box, frieght is only charges overseas. The frieght will equal ([cost]*.03). I just dont know have to get it to do this using a check box, can any one help.

  2. #2
    Join Date
    Dec 2005
    Location
    Wilmington, DE - USA
    Posts
    275
    Add a textbox control to your form. Assuming that the checkbox is named Intl and that the base price is named Price, then use this formula as the ControlSource for your new textbox:

    =[Price]*IIf([Intl],0.03,0.00)

    For good measure, set that textbox up as Enabled=False and Locked=True.

    BTW, you would be well advised to not hard-code that international freight rate, and instead store it in a database table...

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

Similar Threads

  1. Checkbox controlling text box
    By chuckduarte in forum Forms
    Replies: 0
    Last Post: 10-21-2008, 10:45 AM
  2. checkbox
    By Suresh in forum Forms
    Replies: 0
    Last Post: 12-19-2007, 01:30 AM
  3. Make entries uneditable based on checkbox
    By acehowell in forum Programming
    Replies: 1
    Last Post: 04-19-2007, 07:54 AM
  4. easy checkbox question
    By nelsok in forum Forms
    Replies: 1
    Last Post: 06-09-2006, 05:46 PM
  5. access checkbox
    By nshack31 in forum Forms
    Replies: 1
    Last Post: 12-09-2005, 10:17 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