Results 1 to 7 of 7
  1. #1
    Eeshan is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    5

    Desire Data Execute

    Hi,

    It is possible to execute desire data from a table which has All details, like below

    Click image for larger version. 

Name:	MasterTable.png 
Views:	8 
Size:	42.6 KB 
ID:	13097
    and want to execute only Class 5 and ExamType Annual
    Click image for larger version. 

Name:	selection.jpg 
Views:	8 
Size:	165.0 KB 
ID:	13098


    If i select under Class only 5 and ExamType Annual

    then it should execute like below table

    Click image for larger version. 

Name:	Execute.png 
Views:	7 
Size:	16.2 KB 
ID:	13099

    under access.........




    Thank You.....................

  2. #2
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176
    So you want to make a table and run a simple query?

    This is super easy, look into some tutorials.

    Make a table:
    Enter the information in the same way as the pictures, the grey cell is where you want to add the title, these are called fields

    Make a query:
    Create> Query Design
    Double click on the table you just made
    In the box that shows up in the gray space, click all the fields you want (in you case all of them)
    In the white table below, set the criteria in the Criteria row
    Enter 5 and press enter and it will automatically make it into "5", this is what you want
    Do the same for anything you want to choose.

    If you want to make user-friendly form, buttons and selections, it's not that hard but I'm not going to explain it. Look up how forms work, how to search with textboxes, check boxes and option buttons et cetera

  3. #3
    Eeshan is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    5
    Exactly I want to make it user friendly where i dont want to show Mastertable data and Security protection on Mastertable..

    User can use only grey box and after execute data will extract as per the selection.

    Plz help me ........

    Thank you in Advance...............

  4. #4
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176
    Seriously, this is very basic stuff, have you even tried to learn access?
    Just look up simple video on how to make a search form.

    Make the table, make the query, then make a form.

    Form:
    Create > Create blank form
    Make either unbound text boxes or combo boxes, name them (in properties)
    >> If you want to use combo boxes, I would make another table that has all of the possible selections, but only once, then make the combo lists from that separate table.
    Go back into the query and change the Criteria to match what you just made
    Ex: [Forms]![FormName]![Combo or text box name]
    Drag and drop the query onto the form
    Test it

  5. #5
    Eeshan is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    5
    i want to make it as app from where we can see only above menioned grey box and hidden master table...if it is possible in other way which is offline work plz suggest..

  6. #6
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176
    What? Ya, when there is a form all you see is what is on a form when the form is opened, you can make it so that the form opens automatically when you open the file (File> Option> Current Database > Display Form).

    What do you mean by offline? What is it that you want to do exactly? If you don't understand how access works, please take the time to learn.

    When you say app, you just mean program right? Are you looking to share this somehow or something?

  7. #7
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176
    Here. If you actually want to learn how to use access, try to recreate it.
    Attached Files Attached Files

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

Similar Threads

  1. Update sql using currentdb.execute
    By laavista in forum Access
    Replies: 13
    Last Post: 08-15-2011, 03:51 PM
  2. How to execute Line of Code
    By jo15765 in forum Programming
    Replies: 4
    Last Post: 06-22-2011, 05:37 PM
  3. db.Execute Error 3061
    By JimG in forum Programming
    Replies: 5
    Last Post: 05-17-2010, 09:34 AM
  4. Can't get any of my code to execute!
    By blacksaibot in forum Programming
    Replies: 4
    Last Post: 03-16-2010, 08:08 AM
  5. Execute Command Interactively
    By zephaneas in forum Programming
    Replies: 1
    Last Post: 11-08-2008, 09:56 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