Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246
    Click image for larger version. 

Name:	Product Orders.jpg 
Views:	5 
Size:	204.1 KB 
ID:	12430Click image for larger version. 

Name:	Product Orders Design.jpg 
Views:	5 
Size:	111.3 KB 
ID:	12431

  2. #17
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Well, there's one big problem if what you've shown is accurate. the choices in the combo box should be limited to the items in your PRODUCTS, *what* a client orders has nothing to do with what they *currently* have ordered. Change the combo box ROW SOURCE to a query that only shows data from your products (productID, ProductName, ProductCode)

    Your query has a bunch of null values in the product code because of the way you've constructed it so it's likely showing the 'correct' value which is null.

    I'm assuming your PRODUCTS table has a PK (autonumber) a product name and a product code, if that's the case you want your unbound control on your form to be =comboboxname.column(2) and the widths can be 0,1,0 so you never see the product code when choosing an item to fill an order.

  3. #18
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246
    i wish that you had Access 10 to help me out..now i am stuck..is there anyone that can review my DB and help me out to be sure that i am even posting the correct things that is being requested??

    becasue to be honest..I DONT KNOW IF THT IS ACCURATE! ...i am so frustrated and about to thro in the towel!

    I GIVE up!

  4. #19
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246
    i am marking this thread as solved and see if i can find another site where there is more people that have access 10 to be able to see what i doing wrong..please do not take offense of this but i need someone that can help me by doing exactly that..

    thank you for your time on this

    Stephanie

  5. #20
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    You weren't providing the correct information, nor had you done what I suggested. Enclosed is the copy of your database that you originally posted with a correctly functioning product code. Just be aware that you do NOT need to store the product code, if you are storing the product ID you can retrieve the code for any form, report, query etc.


    Database54.zip

    I only changed 2 things.

    1. Look at the difference in the ROW SOURCE for the combo box that stores the detail ID
    2. Look at the PRODUCT CODE CONTROL SOURCE, it's no longer a value from your table, it doesn't need to be if you are storing the productID

  6. #21
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246
    I thought you couldnt open this up?

    I thought i did do all this..i am looking at other DB as i saved the one you sent as DB54b..

    Thank you for your assistance in this and helping me out

    Stephanie

  7. #22
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I made all the edits described in my post #8 and the form works. The Product Code automatically displays in the textbox. However, I did not try to make code work to save the Product Code because that is not necessary.
    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.

  8. #23
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    I can't open 2010 files, I had to run all over creation to find someone that has a copy :P

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Custom ID field issue
    By ToolJob in forum Queries
    Replies: 5
    Last Post: 04-12-2013, 09:48 AM
  2. Replies: 3
    Last Post: 03-14-2012, 10:31 AM
  3. Field Is Too Small Issue
    By netchie in forum Forms
    Replies: 1
    Last Post: 09-21-2011, 12:45 PM
  4. Field Issue
    By recon2011 in forum Forms
    Replies: 14
    Last Post: 08-12-2011, 12:16 PM
  5. Replies: 0
    Last Post: 07-13-2010, 07:45 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