Results 1 to 7 of 7
  1. #1
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528

    Making the combo box copy the value of field

    Hello
    Trying to Make a combo box is the process of transferring data from one field to another field based on the value of it to choose


    Click image for larger version. 

Name:	ee.JPG 
Views:	24 
Size:	46.9 KB 
ID:	15462
    Used this expression, but did not succeed

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    If PaymentMade is a field containing those values, how about using quotes:

    IIf(PaymentMade= "Cash"; [Expr3];...
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Thank you very much
    View Image
    If (PaymentMade) is (Cash)
    Move figures to be above or symmetry
    Click image for larger version. 

Name:	eee.JPG 
Views:	18 
Size:	58.7 KB 
ID:	15469

  4. #4
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Can we say pbaldy
    He thus becomes the expression
    IIf(PaymentMade= "Cash"; (sum[Expr3]= [amount]))
    Function or use Case

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I'm not clear on the goal, but perhaps:

    =Sum(IIf(PaymentMade= "Cash", [Expr3], 0))
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Thank you
    Please refer to the following link
    I put an example of facility (DB)
    https://www.accessforums.net/queries...00/index2.html

  7. #7
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Thank you
    Please refer to the following link
    I put an example of facility (DB)
    https://www.accessforums.net/queries...00/index2.html

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

Similar Threads

  1. Requery Textbox after making selection from combo box
    By Access_Novice in forum Programming
    Replies: 5
    Last Post: 01-04-2014, 04:39 PM
  2. Making a Combo Box look like a Text Box
    By EddieN1 in forum Forms
    Replies: 11
    Last Post: 07-19-2013, 12:17 AM
  3. Replies: 2
    Last Post: 03-10-2013, 01:03 AM
  4. Making Goto combo box
    By dragmn2 in forum Forms
    Replies: 0
    Last Post: 07-03-2010, 11:53 PM
  5. Making a backup copy of table or database
    By wasim_sono in forum Access
    Replies: 0
    Last Post: 03-09-2006, 05:44 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