Results 1 to 5 of 5
  1. #1
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Navigation Button on Field to Scroll the Record.

    Hi,

    I am using a Main form "Customer Information'' and a subform on it "KeyContacts". I don't want to use Navigation buttons on subform to scroll the records as one customer can have many Key Contacts.



    So what could be the best way to handle the sitation;

    - A Naviagtion Button on "KeyContactID" Field to scroll the records?
    - A combo box to see the list of contacts?

    Any suggestions will be appreciated.


    thanks.

    zee

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Is the subform in Datasheet or Single view?
    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
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    It is in single form view.

  4. #4
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    Please have a look at Form Snap Shot.


    One customer can have many Key Contacts, Addresses (Offices/Branches) and associations (this form is in datasheet view so no prb for that).


    I tried with one combo box to scroll the Records but it is not working also. but i will prefer a Navigation button on ContactID Field to scroll the records rather than combo box.


    please advise.

    regards.
    Attached Files Attached Files

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    An unbound combobox to select filter criteria in conjuction with a parameterized query is one method. The parameterized query would be the RecordSource for the KeyContacts subform and the parameter would be reference to the combobox.

    Review: http://datapigtechnologies.com/flash...tomfilter.html

    If it doesn't already, the combobox RowSource should be restricted to contacts related to the current customer on the main form.

    Buttons to scroll Previous/Next would involve more code. Review: https://www.accessforums.net/program...rty-30082.html
    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.

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

Similar Threads

  1. Replies: 3
    Last Post: 12-17-2011, 02:32 PM
  2. go to next record by scroll wheel
    By smahdih in forum Access
    Replies: 3
    Last Post: 10-30-2011, 05:50 PM
  3. Replies: 16
    Last Post: 06-21-2011, 09:08 AM
  4. Help on macro to scroll one record back?
    By getholdofjoru in forum Forms
    Replies: 2
    Last Post: 06-19-2010, 03:01 PM
  5. Replies: 6
    Last Post: 02-09-2010, 07:53 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