Page 3 of 3 FirstFirst 123
Results 31 to 35 of 35
  1. #31
    ramesh_ndyd is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Dec 2011
    Posts
    20

    so how can i go about it shoul i use adodb recordset to set the sourceobject willit work in that case as my sub form is dynamic based on the values of the above combo's in the form

  2. #32
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    No, I said the SourceObject must be a saved Access object (table, query, form, report). Then you can set a filter for the object. A form object will be best for this.

    Actually, I don't think you really need a subform. Check out tutorials at http://datapigtechnologies.com/AccessMain.htm especially Build a Custom Filter in Your Form in the Access Forms: Tips & Techniques section
    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. #33
    ramesh_ndyd is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Dec 2011
    Posts
    20
    thanks, got it to work with the example.

    One doubt i added the combo to the form header and the query part to the details section. How to display the data in tabular format for the details section as it will be containing around 20 record for each selection from combo

  4. #34
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You can use Continuous Form view and arrange the controls to look like Datasheet. Otherwise would have to be form/subform and the subform would be in Datasheet 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.

  5. #35
    ramesh_ndyd is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Dec 2011
    Posts
    20
    thanks for the solution

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Update Query: Modifying Data Using Top Values
    By William McKinley in forum Queries
    Replies: 1
    Last Post: 11-30-2010, 02:20 PM
  2. Replies: 3
    Last Post: 11-26-2010, 12:38 PM
  3. Replies: 7
    Last Post: 11-13-2010, 08:08 AM
  4. Query Table Values in Append Query
    By AKQTS in forum Queries
    Replies: 5
    Last Post: 11-12-2010, 03:58 PM
  5. Replies: 3
    Last Post: 06-02-2009, 09:51 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