Results 1 to 9 of 9
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Pasting a formula into a properties window

    I am trying to the Ceil Inn tutorial as discussed in my previous posts. I am


    now trying to put in control source formulas. Like the one shown below on the far right.

    I used to copy and paste them into the properties window - control source. That is not working -
    frequently only part of the formula gets in. The form does not work or gives bad information.

    However, is that the only way that I know to cut and paste a formula into properties window?

    I know that on the far right on the properties windows control source is an ellipsis (...) which opens up a window I think where could can paste
    the formula in.

    Can this be done? It seems a lot easier that trying to put the formula into a tight space.

    Any help appreciated. Thanks in advance.


    Respectfully,


    Lou_Reed

    The tutorial is here:

    http://www.functionx.com/access/appl...ns/ceilinn.htm
    Text Box txtCustomerName =IIf(IsNull([AccountNumber]),"",DLookUp("LastName","Customers","AccountNumb er = '" & [AccountNumber] & "'")+', '+DLookUp("FirstName","Customers","AccountNumber = '" & [AccountNumber] & "'"))

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Yes, can paste expression into the expression builder (I seldom use the builder).

    However, be careful with copy/paste from web pages. I see an extraneous space in the expression as posted here. Will have to edit to fix "AccountNumb er".

    The entire expression might still be in the property, just as multiple lines.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    How do you use the web builder? These formulas a complicated enough to require that.

    I copy (carefully) the formula from the Ceil Inn tutorial. I then go to the properties area of the form
    and then place my cursor in the expression builder area (white area), I then right click and get ...
    nothing. No choice to copy.


    I then revert to the old method which is difficult. to do correctly.


    Any help?


    Respectfully,


    Lou_Reed

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Not web builder - expression builder opened with the ellipsis.

    Should be right click to open shortcut menu then click Paste. Works for me.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    In the Ceil Inn Occupancy Form. the formula for room use is in the Ceil Inn tutorial is;

    =[sbfOccupancies].[Form]![txtRateTotal]

    Now what is this sbfOccupancies? I mean we have an sfOccupancies form, but where did the b come from?

    The same is true for phone use:

    =[sbfOccupancies].[Form]![txtPhoneUse] , I thought it was a typo. I am not so sure now.


    Respectfully,


    Lou_Reed


    Lou_Reed

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    sbfOccupancies is the subform. Use whatever you named the subform or change your name to reflect the tutorial. We already know the tutorial is loaded with typos. Have to recognize and fix as needed.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    My NewPayment is lacking the arrows at the base to move sequentially through the input data by clicking them.

    Can I fix this or should I just build a new form. If so how to fix?

    Respectfully,

    Lou_Reed

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Set form NavigationButtons property to Yes. How did it get deactivated? It should be active by default when form is created.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I do not know how it was deactivated. It was not by me. At least not deliberately.


    Respectfully,


    Lou_Reed

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

Similar Threads

  1. Replies: 6
    Last Post: 12-03-2013, 02:59 AM
  2. Replies: 1
    Last Post: 05-13-2013, 11:27 AM
  3. Replies: 1
    Last Post: 07-13-2012, 08:50 AM
  4. properties window disappeared
    By arcademonkey in forum Access
    Replies: 4
    Last Post: 07-19-2011, 09:15 PM
  5. Copying and pasting
    By wthoffman in forum Access
    Replies: 1
    Last Post: 04-14-2010, 04:12 AM

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