Results 1 to 3 of 3
  1. #1
    Mounds is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Posts
    22

    Mutli record button on form.


    I'll try and paint as clear a picture as I can for who may be able to help on this one. I have a form setup in a tabular style. The form draws orders from a query that fall into certain parameters. The order numbers get listed down a left hand column. I have placed a command button called "GotoOrder" that I would like for the user to be able to click and it sends the user to another form for the selected order. I don't know how to make it so the button I push selects the corresponding order since they are all coming from the Order table. I'm not sure if this is making sense. I'd love some help if I could get some. It's been driving me in circles for a couple days now. I'll try adn load some screen shots if I can.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    what you want to do is get a pointer somewhere. for instance, a listbox with order ids in it would work fine. then, you open the form and write the listbox value into the filter code, e.g. - the WHERE clause argument in the docmd command. that's all there is to it. but you need a target to point to first. without that, there's no way to do it, obviously.

    there is also no issue with opening a form twice with the same recordsource, just for viewing purposed. you can open as many as you want, as I have witnessed.

  3. #3
    Mounds is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Posts
    22
    Thanks a lot. The list box works, and I think I'll have to call that good enough. Cause as you said with out a pointer nothing will work.

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

Similar Threads

  1. Mutli-valued fields in reports
    By austinboy_1998 in forum Reports
    Replies: 1
    Last Post: 04-25-2011, 01:36 PM
  2. Replies: 10
    Last Post: 03-21-2011, 02:46 PM
  3. Replies: 1
    Last Post: 03-04-2011, 08:53 AM
  4. Replies: 6
    Last Post: 02-09-2010, 07:53 AM
  5. Replies: 3
    Last Post: 01-14-2010, 08:32 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